In this section: Specification
Specification
- Overview
- 1. Purpose and scope
- 2. Principles (normative)
- 3. Participant roles
- 4. Objects, identifiers and envelopes
- 5. The twelve functions
- 6. Wire bindings
- 7. Conformance
- 8. Security model
- 9. Gaps register
- 10. Versioning and change
- 11. Implementations
- 12. Operator sovereignty profile (OBSP-SOV)
- 13. Sovereign deployment for every operator and environment
Functions
Schemas
- Schema explorer
- attestation-evidence
- attestation-result
- calibration-record
- conformance-claim
- conformance-report
- correction-notice
- decommission-record
- error-problem
- event-envelope
- fleet-projection
- model-manifest
- name-pack
- native-envelope
- node-bootstrap-bundle
- node-manifest
- observation-record
- observed-state-receipt
- participant-manifest
- plan
- product-manifest
- proof-receipt
- provenance
- provider-manifest
- qualification-record
- quality-flag
- reconciliation-assignment
- reconciliation-receipt
- replay-batch-result
- replay-batch
- request-context
- sensor-passport
- source-manifest
- source-release
- supply-chain-receipt
- system-pack
- time-quality
Plan
Immutable governed deployment proposal produced by the System Pack compiler. Planning is not execution, acceptance, readiness, or field observation.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:plan |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | Orchestrate |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
planUni | yes | reference | |
planVersion | yes | string | |
compilerVersion | yes | string | |
source | yes | object | |
context | yes | object | |
authorityCut | yes | object | |
providers | yes | array | |
topology | yes | object | |
capabilities | yes | array | |
services | yes | array | |
resources | yes | object | |
network | yes | object | |
data | yes | object | |
trust | yes | object | |
placement | no | array | |
lifecycle | yes | object | |
diagnostics | yes | array | |
proofObligations | no | array | |
integrity | yes | object | |
executionPermitted | yes | constant | |
extensions | no | reference |
Positive fixtures
plan.sha3-digest.valid.jsonplan.valid.json
Negative fixtures
plan.digest-single-char-algorithm.json: plan digest algorithm prefix follows the shared Digest pattern (G-ID-1)plan.digest-uppercase-algorithm.json: plan digest algorithm is lowercase (G-ID-1)plan.digest-without-algorithm.json: plan digests are algorithm-prefixed (G-ID-1)plan.execution-true.json: const at /executionPermitted: False was expected
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-10 Policies and clauses (relation REL-NS-10)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:plan",
"title": "Plan",
"description": "Immutable governed deployment proposal produced by the System Pack compiler. Planning is not execution, acceptance, readiness, or field observation.",
"type": "object",
"required": [
"schemaVersion",
"apiVersion",
"planUni",
"planVersion",
"compilerVersion",
"source",
"context",
"authorityCut",
"providers",
"topology",
"capabilities",
"services",
"resources",
"network",
"data",
"trust",
"lifecycle",
"diagnostics",
"integrity",
"executionPermitted"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/plan/v3.1"
},
"planUni": {
"$ref": "#/$defs/Uni"
},
"planVersion": {
"type": "string",
"minLength": 1
},
"compilerVersion": {
"type": "string",
"minLength": 1
},
"source": {
"type": "object",
"required": [
"systemPackName",
"systemPackVersion",
"sourceArtifactDigest",
"canonicalNormalizedSourceDigest"
],
"properties": {
"systemPackName": {
"type": "string",
"minLength": 1
},
"systemPackVersion": {
"type": "string",
"minLength": 1
},
"ownerUni": {
"$ref": "#/$defs/Uni"
},
"sourceArtifactDigest": {
"$ref": "#/$defs/Digest"
},
"canonicalNormalizedSourceDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"tenantUni",
"workspaceUni",
"purpose",
"jurisdictionContext"
],
"properties": {
"tenantUni": {
"$ref": "#/$defs/Uni"
},
"workspaceUni": {
"$ref": "#/$defs/Uni"
},
"purpose": {
"$ref": "#/$defs/NonEmptyString"
},
"jurisdictionContext": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"chronotopeUni": {
"$ref": "#/$defs/Uni"
},
"dataCutUni": {
"$ref": "#/$defs/Uni"
},
"requestId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"authorityCut": {
"type": "object",
"required": [
"authorityCutId",
"deploymentProfileId",
"deploymentProfileVersion"
],
"properties": {
"authorityCutId": {
"type": "string",
"minLength": 1
},
"deploymentProfileId": {
"type": "string",
"minLength": 1
},
"deploymentProfileVersion": {
"type": "string",
"minLength": 1
},
"capabilityRegistryVersion": {
"type": "string",
"minLength": 1
},
"interopCompatibilityCut": {
"type": "string",
"minLength": 1
},
"policyDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"providers": {
"type": "array",
"items": {
"type": "object",
"required": [
"providerId",
"artifactDigest",
"admissionUni",
"capabilityOrProfile",
"jurisdictionContext",
"purpose",
"qualificationRevision",
"replacementPath",
"exitDataExport"
],
"properties": {
"providerId": {
"type": "string",
"minLength": 1
},
"artifactDigest": {
"$ref": "#/$defs/Digest"
},
"admissionUni": {
"$ref": "#/$defs/Uni"
},
"qualificationRevision": {
"type": "string",
"minLength": 1
},
"capabilityOrProfile": {
"type": "string",
"minLength": 1
},
"jurisdictionContext": {
"type": "array",
"items": {
"type": "string"
}
},
"purpose": {
"type": "string",
"minLength": 1
},
"replacementClass": {
"type": "string"
},
"replacementPath": {
"type": "string",
"minLength": 1
},
"exitDataExport": {
"type": "string",
"minLength": 1
},
"evidenceRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/EvidenceRef"
}
}
},
"additionalProperties": false
}
},
"topology": {
"type": "object",
"required": [
"kind",
"nodeCount",
"roles",
"quorumClaim"
],
"properties": {
"kind": {
"type": "string",
"minLength": 1
},
"nodeCount": {
"type": "integer",
"minimum": 1
},
"nodeCountMin": {
"type": "integer",
"minimum": 1
},
"nodeCountMax": {
"type": "integer",
"minimum": 1
},
"roles": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"count"
],
"properties": {
"role": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
}
},
"quorumClaim": {
"const": "NONE"
},
"siteCells": {
"type": "integer",
"minimum": 1
},
"clusterMode": {
"type": "string"
}
},
"additionalProperties": false
},
"capabilities": {
"type": "array",
"items": {
"type": "object",
"required": [
"capabilityId",
"required",
"resolved"
],
"properties": {
"capabilityId": {
"type": "string",
"minLength": 1
},
"required": {
"type": "boolean"
},
"resolved": {
"type": "boolean"
},
"version": {
"type": "string"
},
"interfaceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"providerId": {
"type": "string"
},
"constraints": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
},
"dependencies": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"serviceId",
"role"
],
"properties": {
"serviceId": {
"type": "string"
},
"role": {
"type": "string"
},
"dependencies": {
"type": "array",
"items": {
"type": "string"
}
},
"placementConstraints": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"resources": {
"type": "object",
"required": [
"evaluation"
],
"properties": {
"evaluation": {
"enum": [
"SATISFIED",
"INSUFFICIENT",
"UNKNOWN",
"UNAVAILABLE"
]
},
"requests": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
},
"projectionDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"network": {
"type": "object",
"required": [
"evaluation"
],
"properties": {
"evaluation": {
"enum": [
"SATISFIED",
"UNSATISFIED",
"UNKNOWN"
]
},
"connectivityIntent": {
"type": "string"
},
"latencyConstraintMs": {
"type": "number"
},
"timingRequirement": {
"type": "string"
},
"isolation": {
"type": "string"
},
"degradedOperation": {
"type": "string"
},
"disconnectedOperation": {
"type": "string"
},
"projectionDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"data": {
"type": "object",
"required": [
"evaluation"
],
"properties": {
"evaluation": {
"enum": [
"SATISFIED",
"RIGHTS_MISSING",
"LOCALITY_CONFLICT",
"UNKNOWN"
]
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"locality": {
"type": "string"
},
"retention": {
"type": "string"
},
"egress": {
"type": "string"
},
"computeToData": {
"type": "boolean"
},
"projectionDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"trust": {
"type": "object",
"required": [
"evaluation",
"prerequisites"
],
"properties": {
"evaluation": {
"enum": [
"SATISFIED",
"MISSING",
"UNKNOWN"
]
},
"prerequisites": {
"type": "object",
"required": [
"identity",
"attestation",
"secrets",
"updateAuthorization",
"rollbackCapability",
"evidence"
],
"properties": {
"identity": {
"type": "boolean"
},
"attestation": {
"type": "boolean"
},
"secrets": {
"type": "boolean"
},
"updateAuthorization": {
"type": "boolean"
},
"rollbackCapability": {
"type": "boolean"
},
"evidence": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"placement": {
"type": "array",
"items": {
"type": "object",
"required": [
"nodeRole",
"services"
],
"properties": {
"nodeRole": {
"type": "string"
},
"services": {
"type": "array",
"items": {
"type": "string"
}
},
"rank": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}
},
"lifecycle": {
"type": "object",
"required": [
"updateConstraint",
"rollbackRequired",
"exitRequired"
],
"properties": {
"updateConstraint": {
"type": "string"
},
"rollbackRequired": {
"type": "boolean"
},
"exitRequired": {
"type": "boolean"
},
"correctionLineage": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"diagnostics": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"severity",
"phase",
"blocking",
"message"
],
"properties": {
"code": {
"type": "string"
},
"severity": {
"enum": [
"INFO",
"WARNING",
"ERROR"
]
},
"phase": {
"type": "string"
},
"blocking": {
"type": "boolean"
},
"message": {
"type": "string"
},
"subject": {
"type": "string"
},
"evidenceRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/EvidenceRef"
}
}
},
"additionalProperties": false
}
},
"proofObligations": {
"type": "array",
"items": {
"type": "string"
}
},
"integrity": {
"type": "object",
"required": [
"inputSetDigest",
"planDigest"
],
"properties": {
"inputSetDigest": {
"$ref": "#/$defs/Digest"
},
"policyDigest": {
"$ref": "#/$defs/Digest"
},
"planDigest": {
"$ref": "#/$defs/Digest"
},
"correctionOf": {
"$ref": "#/$defs/Uni"
},
"supersedes": {
"type": "array",
"items": {
"$ref": "#/$defs/Uni"
}
}
},
"additionalProperties": false
},
"executionPermitted": {
"const": false
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"$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-z0-9._-]{1,31}:[A-Fa-f0-9]{32,128}$",
"description": "Algorithm-prefixed hexadecimal digest"
},
"NonEmptyString": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"EvidenceRef": {
"type": "object",
"required": [
"uri",
"digest"
],
"properties": {
"uri": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"digest": {
"$ref": "#/$defs/Digest"
},
"kind": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"recordedAt": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"Extensions": {
"type": "object",
"propertyNames": {
"pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
},
"additionalProperties": true
},
"SchemaVersion": {
"type": "string",
"const": "3.1.0"
}
},
"additionalProperties": false
}