Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Specification
Specification
Functions
Schemas
Registers

FleetProjection

Source schemas/json/fleet-projection.schema.json

On this page
  1. Properties
  2. Positive fixtures
  3. Negative fixtures
  4. Mappings to open standards
  5. Schema

Canonical Fleet Site Cell projection. Derived from governed deployment-state events; not Site acceptance, readiness, or high-availability authority.

FieldValue
Identifierurn:obsp:schema:v3.1:fleetprojection
Dialecthttps://json-schema.org/draft/2020-12/schema
Used by functionsFederate

Properties

PropertyRequiredTypeDescription
schemaVersionyesreference
claimyesstringProjection is fleet coordination evidence only; not Site readiness/acceptance/HA.
projectionUniyesreference
tenantUniyesreference
workspaceUniyesreference
siteUniyesreference
deploymentUniyesreference
profileyesobject
topologyyesobject
desiredPlanyesobject
nodesyesobject
siteDimensionsyesobject
sourceCursoryesobject
projectionVersionyesinteger
projectionDigestyesreference
recordedAtyesstring
algorithmVersionnostring
extensionsnoobject

Positive fixtures

  • fleet-projection.valid.json

Negative fixtures

  • fleet-projection.quorum-ha.json: enum at /topology/quorumClaim: 'THREE_MEMBER' is not one of ['NONE']
  • fleet-projection.ready-boolean.json: additionalProperties at /: Additional properties are not allowed ('ready' was unexpected)

Mappings to open standards

A mapping to a standard, never a conformance statement.

  • maps to NS-9 Contextual UNI (relation REL-NS-9)

Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:obsp:schema:v3.1:fleetprojection",
  "title": "FleetProjection",
  "description": "Canonical Fleet Site Cell projection. Derived from governed deployment-state events; not Site acceptance, readiness, or high-availability authority.",
  "type": "object",
  "required": [
    "schemaVersion",
    "claim",
    "projectionUni",
    "tenantUni",
    "workspaceUni",
    "siteUni",
    "deploymentUni",
    "profile",
    "topology",
    "desiredPlan",
    "nodes",
    "siteDimensions",
    "sourceCursor",
    "projectionVersion",
    "projectionDigest",
    "recordedAt"
  ],
  "properties": {
    "schemaVersion": {
      "$ref": "#/$defs/SchemaVersion"
    },
    "claim": {
      "type": "string",
      "const": "REFERENCE_FLEET_PROJECTION_NOT_SITE_ACCEPTANCE",
      "description": "Projection is fleet coordination evidence only; not Site readiness/acceptance/HA."
    },
    "projectionUni": {
      "$ref": "#/$defs/Uni"
    },
    "tenantUni": {
      "$ref": "#/$defs/Uni"
    },
    "workspaceUni": {
      "$ref": "#/$defs/Uni"
    },
    "siteUni": {
      "$ref": "#/$defs/Uni"
    },
    "deploymentUni": {
      "$ref": "#/$defs/Uni"
    },
    "profile": {
      "type": "object",
      "required": [
        "profileId",
        "profileVersion"
      ],
      "properties": {
        "profileId": {
          "type": "string",
          "minLength": 1
        },
        "profileVersion": {
          "type": "string",
          "minLength": 1
        }
      },
      "additionalProperties": false
    },
    "topology": {
      "type": "object",
      "required": [
        "kind",
        "expectedNodeCount",
        "quorumClaim"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "expectedNodeCount": {
          "type": "integer",
          "minimum": 1
        },
        "quorumClaim": {
          "type": "string",
          "enum": [
            "NONE"
          ],
          "description": "Reference Site Cells must not invent consensus quorum."
        }
      },
      "additionalProperties": false
    },
    "desiredPlan": {
      "type": "object",
      "required": [
        "planUni",
        "planVersion",
        "planDigest"
      ],
      "properties": {
        "planUni": {
          "$ref": "#/$defs/Uni"
        },
        "planVersion": {
          "type": "string",
          "minLength": 1
        },
        "planDigest": {
          "$ref": "#/$defs/Digest"
        },
        "desiredRevisionUni": {
          "$ref": "#/$defs/Uni"
        },
        "sourceAggregateVersion": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    },
    "nodes": {
      "type": "object",
      "minProperties": 0,
      "additionalProperties": {
        "$ref": "#/$defs/NodeFleetProjection"
      }
    },
    "siteDimensions": {
      "type": "object",
      "required": [
        "topologyCompleteness",
        "connectivityCoverage",
        "observationCoverage",
        "desiredObservedCoverage",
        "synchronizationState",
        "evidenceFreshness",
        "correctionState",
        "policyCoverage",
        "providerCoverage",
        "profileConformance"
      ],
      "properties": {
        "topologyCompleteness": {
          "$ref": "#/$defs/CoverageState"
        },
        "connectivityCoverage": {
          "$ref": "#/$defs/CoverageState"
        },
        "observationCoverage": {
          "$ref": "#/$defs/CoverageState"
        },
        "desiredObservedCoverage": {
          "$ref": "#/$defs/CoverageState"
        },
        "synchronizationState": {
          "$ref": "#/$defs/SyncState"
        },
        "evidenceFreshness": {
          "$ref": "#/$defs/FreshnessState"
        },
        "correctionState": {
          "$ref": "#/$defs/CorrectionState"
        },
        "policyCoverage": {
          "$ref": "#/$defs/ValidityState"
        },
        "providerCoverage": {
          "$ref": "#/$defs/ValidityState"
        },
        "profileConformance": {
          "$ref": "#/$defs/CoverageState"
        }
      },
      "additionalProperties": false
    },
    "sourceCursor": {
      "type": "object",
      "required": [
        "producer",
        "aggregateUni",
        "sourceAggregateVersion",
        "eventId"
      ],
      "properties": {
        "producer": {
          "type": "string",
          "minLength": 1
        },
        "aggregateUni": {
          "$ref": "#/$defs/Uni"
        },
        "sourceAggregateVersion": {
          "type": "integer",
          "minimum": 0
        },
        "eventId": {
          "type": "string",
          "minLength": 8
        },
        "payloadDigest": {
          "$ref": "#/$defs/Digest"
        },
        "recordedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    "projectionVersion": {
      "type": "integer",
      "minimum": 0
    },
    "projectionDigest": {
      "$ref": "#/$defs/Digest"
    },
    "recordedAt": {
      "type": "string",
      "format": "date-time"
    },
    "algorithmVersion": {
      "type": "string",
      "minLength": 1
    },
    "extensions": {
      "type": "object",
      "propertyNames": {
        "pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": false,
  "$defs": {
    "SchemaVersion": {
      "type": "string",
      "const": "3.1.0"
    },
    "Uni": {
      "type": "string",
      "minLength": 8,
      "maxLength": 256,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9:._/@-]{7,255}$"
    },
    "Digest": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9._-]{1,31}:[A-Fa-f0-9]{32,128}$"
    },
    "CoverageState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "NONE",
        "PARTIAL",
        "COMPLETE",
        "CONFLICT"
      ]
    },
    "SyncState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "CURRENT",
        "STALE",
        "GAP_DETECTED",
        "PENDING"
      ]
    },
    "FreshnessState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "CURRENT",
        "STALE"
      ]
    },
    "CorrectionState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "CURRENT",
        "SUPERSEDED",
        "CORRECTION_PENDING",
        "ROLLBACK_OBSERVED"
      ]
    },
    "ValidityState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "VALID",
        "INVALID",
        "NOT_APPLICABLE"
      ]
    },
    "ConnectivityState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "CONNECTED",
        "DISCONNECTED",
        "STALE",
        "DEGRADED"
      ]
    },
    "DesiredObservedRelation": {
      "type": "string",
      "enum": [
        "CURRENT_MATCH",
        "CURRENT_DIVERGED",
        "PARTIAL",
        "STALE_PLAN",
        "NO_OBSERVATION",
        "CONFLICT",
        "UNKNOWN"
      ]
    },
    "NodeRole": {
      "type": "string",
      "enum": [
        "CONTROL_ORIENTED",
        "WORKLOAD_ORIENTED",
        "UNKNOWN"
      ]
    },
    "NodeFleetProjection": {
      "type": "object",
      "required": [
        "nodeUni",
        "role",
        "membershipState",
        "registrationState",
        "bootstrapState",
        "trustState",
        "desiredPlanRelation",
        "planDeliveryState",
        "localReconciliationState",
        "resourceServiceState",
        "connectivityState",
        "synchronizationState",
        "evidenceFreshness",
        "identityValidity",
        "policyValidity",
        "providerValidity",
        "correctionState",
        "releaseClaimState",
        "observationFreshness",
        "projectionVersion"
      ],
      "properties": {
        "nodeUni": {
          "$ref": "#/$defs/Uni"
        },
        "role": {
          "$ref": "#/$defs/NodeRole"
        },
        "membershipState": {
          "type": "string",
          "minLength": 1
        },
        "registrationState": {
          "type": "string",
          "minLength": 1
        },
        "bootstrapState": {
          "type": "string",
          "minLength": 1
        },
        "trustState": {
          "type": "string",
          "minLength": 1
        },
        "desiredPlanRelation": {
          "$ref": "#/$defs/DesiredObservedRelation"
        },
        "planDeliveryState": {
          "type": "string",
          "minLength": 1
        },
        "localReconciliationState": {
          "type": "string",
          "minLength": 1
        },
        "resourceServiceState": {
          "type": "string",
          "minLength": 1
        },
        "connectivityState": {
          "$ref": "#/$defs/ConnectivityState"
        },
        "synchronizationState": {
          "$ref": "#/$defs/SyncState"
        },
        "evidenceFreshness": {
          "$ref": "#/$defs/FreshnessState"
        },
        "identityValidity": {
          "$ref": "#/$defs/ValidityState"
        },
        "policyValidity": {
          "$ref": "#/$defs/ValidityState"
        },
        "providerValidity": {
          "$ref": "#/$defs/ValidityState"
        },
        "correctionState": {
          "$ref": "#/$defs/CorrectionState"
        },
        "releaseClaimState": {
          "type": "string",
          "minLength": 1
        },
        "observationFreshness": {
          "$ref": "#/$defs/FreshnessState"
        },
        "lastObservationSequence": {
          "type": "integer",
          "minimum": 0
        },
        "lastObservedReceiptUni": {
          "$ref": "#/$defs/Uni"
        },
        "lastObservedAt": {
          "type": "string",
          "format": "date-time"
        },
        "lastObservedPlanDigest": {
          "$ref": "#/$defs/Digest"
        },
        "projectionVersion": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    }
  }
}