Canonical Node-emitted observed-state receipt for central deployment-state ingestion. Evidence-oriented; not Fleet command authority.
| Field | Value |
| Identifier | urn:obsp:schema:v3.1:observedstatereceipt |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Time, Orchestrate |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
claim | yes | string | Receipt is observation evidence only; not Site/deployment readiness or Fleet authority. |
receiptUni | yes | reference | |
eventId | yes | string | |
producer | yes | string | |
producerVersion | yes | string | |
nodeUni | yes | reference | |
siteUni | yes | reference | |
deploymentUni | yes | reference | |
tenantUni | yes | reference | |
workspaceUni | yes | reference | |
purpose | yes | string | |
jurisdictionContext | yes | array | |
observationSequence | yes | integer | |
nodeStateVersion | yes | integer | |
observedAt | yes | string | |
recordedAt | yes | string | |
planBasis | yes | object | |
reconciliation | yes | object | |
resourceObservations | yes | array | |
statusDimensions | yes | object | Orthogonal dimensions only. No overallHealthy/ready boolean. |
timeIntegrity | yes | object | |
evidenceRefs | yes | array | |
preflightDigest | yes | reference | |
applyDigest | yes | reference | |
verificationDigest | yes | reference | |
observedDigest | yes | reference | |
payloadDigest | yes | reference | |
correctionOf | no | reference | |
supersedes | no | reference | |
extensions | no | object | |
Positive fixtures
observed-state-receipt.valid.json
Negative fixtures
observed-state-receipt.bad-claim.json: const at /claim: 'OBSERVED_STATE_RECEIPT_NOT_READINESS' was expected
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:observedstatereceipt",
"title": "ObservedStateReceipt",
"description": "Canonical Node-emitted observed-state receipt for central deployment-state ingestion. Evidence-oriented; not Fleet command authority.",
"type": "object",
"required": [
"schemaVersion",
"claim",
"receiptUni",
"eventId",
"producer",
"producerVersion",
"nodeUni",
"siteUni",
"deploymentUni",
"tenantUni",
"workspaceUni",
"purpose",
"jurisdictionContext",
"observationSequence",
"nodeStateVersion",
"observedAt",
"recordedAt",
"planBasis",
"reconciliation",
"resourceObservations",
"statusDimensions",
"timeIntegrity",
"evidenceRefs",
"preflightDigest",
"applyDigest",
"verificationDigest",
"observedDigest",
"payloadDigest"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"claim": {
"type": "string",
"const": "OBSERVED_STATE_RECEIPT_NOT_READINESS",
"description": "Receipt is observation evidence only; not Site/deployment readiness or Fleet authority."
},
"receiptUni": {
"$ref": "#/$defs/Uni"
},
"eventId": {
"type": "string",
"minLength": 8
},
"producer": {
"type": "string",
"minLength": 1
},
"producerVersion": {
"type": "string",
"minLength": 1
},
"nodeUni": {
"$ref": "#/$defs/Uni"
},
"siteUni": {
"$ref": "#/$defs/Uni"
},
"deploymentUni": {
"$ref": "#/$defs/Uni"
},
"tenantUni": {
"$ref": "#/$defs/Uni"
},
"workspaceUni": {
"$ref": "#/$defs/Uni"
},
"purpose": {
"type": "string",
"minLength": 1
},
"jurisdictionContext": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"observationSequence": {
"type": "integer",
"minimum": 1
},
"nodeStateVersion": {
"type": "integer",
"minimum": 0
},
"observedAt": {
"type": "string",
"format": "date-time"
},
"recordedAt": {
"type": "string",
"format": "date-time"
},
"planBasis": {
"type": "object",
"required": [
"planUni",
"planVersion",
"planDigest"
],
"properties": {
"planUni": {
"$ref": "#/$defs/Uni"
},
"planVersion": {
"type": "string",
"minLength": 1
},
"planDigest": {
"$ref": "#/$defs/Digest"
},
"desiredRevisionUni": {
"$ref": "#/$defs/Uni"
},
"desiredAggregateVersionAtAssignment": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"reconciliation": {
"type": "object",
"required": [
"assignmentId",
"operationId",
"reconciliationState",
"adapterId"
],
"properties": {
"assignmentId": {
"type": "string",
"minLength": 1
},
"operationId": {
"type": "string",
"minLength": 1
},
"reconciliationState": {
"type": "string",
"minLength": 1
},
"adapterId": {
"type": "string",
"minLength": 1
},
"adapterVersion": {
"type": "string"
},
"adapterDigest": {
"$ref": "#/$defs/Digest"
},
"verificationPassed": {
"type": "boolean"
}
},
"additionalProperties": false
},
"resourceObservations": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/ResourceObservation"
}
},
"statusDimensions": {
"type": "object",
"required": [
"bootstrap",
"reconciliation",
"resource",
"connectivity",
"synchronization",
"identity",
"policy",
"provider",
"planRelation",
"correction",
"timeIntegrity",
"evidenceFreshness"
],
"properties": {
"bootstrap": {
"$ref": "#/$defs/Dimension"
},
"reconciliation": {
"$ref": "#/$defs/Dimension"
},
"resource": {
"$ref": "#/$defs/Dimension"
},
"connectivity": {
"$ref": "#/$defs/Dimension"
},
"synchronization": {
"$ref": "#/$defs/Dimension"
},
"identity": {
"$ref": "#/$defs/Dimension"
},
"policy": {
"$ref": "#/$defs/Dimension"
},
"provider": {
"$ref": "#/$defs/Dimension"
},
"planRelation": {
"$ref": "#/$defs/Dimension"
},
"correction": {
"$ref": "#/$defs/Dimension"
},
"timeIntegrity": {
"$ref": "#/$defs/Dimension"
},
"evidenceFreshness": {
"$ref": "#/$defs/Dimension"
}
},
"additionalProperties": false,
"description": "Orthogonal dimensions only. No overallHealthy/ready boolean."
},
"timeIntegrity": {
"type": "object",
"required": [
"sourceClass",
"classification"
],
"properties": {
"sourceClass": {
"type": "string",
"minLength": 1
},
"classification": {
"type": "string",
"minLength": 1
},
"degraded": {
"type": "boolean"
}
},
"additionalProperties": false
},
"evidenceRefs": {
"type": "array",
"items": {
"type": "object",
"required": [
"uri",
"digest"
],
"properties": {
"uri": {
"type": "string",
"minLength": 1
},
"digest": {
"$ref": "#/$defs/Digest"
},
"kind": {
"type": "string"
}
},
"additionalProperties": false
}
},
"preflightDigest": {
"$ref": "#/$defs/Digest"
},
"applyDigest": {
"$ref": "#/$defs/Digest"
},
"verificationDigest": {
"$ref": "#/$defs/Digest"
},
"observedDigest": {
"$ref": "#/$defs/Digest"
},
"payloadDigest": {
"$ref": "#/$defs/Digest"
},
"correctionOf": {
"$ref": "#/$defs/Uni"
},
"supersedes": {
"$ref": "#/$defs/Uni"
},
"extensions": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
},
"additionalProperties": true
}
},
"additionalProperties": false,
"$defs": {
"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-Fa-f0-9]{32,128}$"
},
"SchemaVersion": {
"type": "string",
"const": "3.1.0"
},
"Dimension": {
"type": "object",
"required": [
"state",
"epistemic"
],
"properties": {
"state": {
"type": "string",
"minLength": 1
},
"epistemic": {
"type": "string",
"enum": [
"OBSERVED",
"COMPUTED",
"MODELLED",
"PROVISIONAL",
"DEGRADED",
"NO_DATA",
"INSUFFICIENT_EVIDENCE",
"NOT_APPLICABLE",
"WITHHELD",
"SUPERSEDED",
"UNKNOWN"
]
},
"detail": {
"type": "string"
}
},
"additionalProperties": false
},
"ResourceObservation": {
"type": "object",
"required": [
"resourceId",
"resourceClass",
"adapterId",
"observedVersion",
"configDigest",
"present",
"alive",
"observationTime",
"evidenceDigest",
"claim"
],
"properties": {
"resourceId": {
"$ref": "#/$defs/Uni"
},
"resourceClass": {
"type": "string",
"minLength": 1
},
"adapterId": {
"type": "string",
"minLength": 1
},
"observedVersion": {
"type": "string",
"minLength": 1
},
"configDigest": {
"$ref": "#/$defs/Digest"
},
"executionState": {
"type": "string"
},
"present": {
"type": "boolean"
},
"alive": {
"type": "boolean"
},
"sandboxRelativeIdentity": {
"type": "string"
},
"observationTime": {
"type": "string",
"format": "date-time"
},
"evidenceDigest": {
"$ref": "#/$defs/Digest"
},
"verificationResult": {
"type": "string"
},
"claim": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
}
}