| Field | Value |
| Identifier | urn:obsp:schema:v3.1:reconciliationreceipt |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Orchestrate |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
claim | yes | string | Receipt is node-local reference evidence; not fleet control authority. |
receiptId | yes | string | |
assignmentId | yes | string | |
operationId | yes | string | |
nodeUni | yes | reference | |
reconciliationState | yes | string | |
preflightDigest | yes | reference | |
applyDigest | yes | reference | |
verificationDigest | yes | reference | |
observedDigest | yes | reference | |
recordedAt | yes | string | |
extensions | no | object | |
Positive fixtures
reconciliation-receipt.valid.json
Negative fixtures
reconciliation-receipt.bad-claim.json: const at /claim: 'NOT_FLEET_AUTHORITY' was expected
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:reconciliationreceipt",
"title": "ReconciliationReceipt",
"type": "object",
"required": [
"schemaVersion",
"claim",
"receiptId",
"assignmentId",
"operationId",
"nodeUni",
"reconciliationState",
"preflightDigest",
"applyDigest",
"verificationDigest",
"observedDigest",
"recordedAt"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"claim": {
"type": "string",
"const": "NOT_FLEET_AUTHORITY",
"description": "Receipt is node-local reference evidence; not fleet control authority."
},
"receiptId": {
"type": "string",
"minLength": 1
},
"assignmentId": {
"type": "string",
"minLength": 1
},
"operationId": {
"type": "string",
"minLength": 1
},
"nodeUni": {
"$ref": "#/$defs/Uni"
},
"reconciliationState": {
"type": "string",
"minLength": 1
},
"preflightDigest": {
"$ref": "#/$defs/Digest"
},
"applyDigest": {
"$ref": "#/$defs/Digest"
},
"verificationDigest": {
"$ref": "#/$defs/Digest"
},
"observedDigest": {
"$ref": "#/$defs/Digest"
},
"recordedAt": {
"type": "string",
"format": "date-time"
},
"extensions": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
},
"additionalProperties": true
}
},
"$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"
}
},
"additionalProperties": false
}