| Field | Value |
| Identifier | urn:obsp:schema:v3.1:reconciliationassignment |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Orchestrate |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
claim | yes | string | Marks assignment as reference/test scope only; not fleet authority. |
assignmentId | yes | string | |
operationId | yes | string | |
nodeUni | yes | reference | |
deploymentUni | yes | reference | |
planDigest | yes | reference | |
adapterId | yes | string | |
desiredVersion | yes | string | |
configDigest | yes | reference | |
sandboxRelativePath | yes | string | |
resourceId | yes | reference | |
extensions | no | object | |
Positive fixtures
reconciliation-assignment.valid.json
Negative fixtures
reconciliation-assignment.bad-claim.json: const at /claim: 'REFERENCE_TEST_ONLY' was expected
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:reconciliationassignment",
"title": "ReconciliationAssignment",
"type": "object",
"required": [
"schemaVersion",
"claim",
"assignmentId",
"operationId",
"nodeUni",
"deploymentUni",
"planDigest",
"adapterId",
"desiredVersion",
"configDigest",
"sandboxRelativePath",
"resourceId"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"claim": {
"type": "string",
"const": "REFERENCE_TEST_ONLY",
"description": "Marks assignment as reference/test scope only; not fleet authority."
},
"assignmentId": {
"type": "string",
"minLength": 1
},
"operationId": {
"type": "string",
"minLength": 1
},
"nodeUni": {
"$ref": "#/$defs/Uni"
},
"deploymentUni": {
"$ref": "#/$defs/Uni"
},
"planDigest": {
"$ref": "#/$defs/Digest"
},
"adapterId": {
"type": "string",
"minLength": 1
},
"desiredVersion": {
"type": "string",
"enum": [
"v1",
"v2"
]
},
"configDigest": {
"$ref": "#/$defs/Digest"
},
"sandboxRelativePath": {
"type": "string",
"minLength": 1,
"pattern": "^[^.][^/]*(/[^./][^/]*)*$"
},
"resourceId": {
"$ref": "#/$defs/Uni"
},
"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
}