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
RequestContext
Observatory Protocol request context (OBSP 0.1 section 4.3). Repository and version provenance of an implementation is deployment metadata and MUST NOT be injected into each request context.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:requestcontext |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | Join |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
requestId | yes | string | |
tenantUni | yes | reference | |
workspaceUni | yes | reference | |
principalUni | yes | reference | |
workloadUni | no | reference | |
purpose | yes | reference | |
jurisdictionContext | yes | array | |
chronotopeUni | yes | reference | |
policyDigest | yes | reference | |
classification | no | string | |
dataCutUni | no | reference | |
correlationId | no | string | |
idempotencyKey | no | string | |
extensions | no | reference |
Positive fixtures
request-context.valid.json
Negative fixtures
request-context.extra-property.json: additionalProperties at /: Additional properties are not allowed ('unexpected', 'unknownBinding' were unexpected)request-context.missing-policy-digest.json: policyDigest is required
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:requestcontext",
"title": "RequestContext",
"description": "Observatory Protocol request context (OBSP 0.1 section 4.3). Repository and version provenance of an implementation is deployment metadata and MUST NOT be injected into each request context.",
"type": "object",
"required": [
"requestId",
"tenantUni",
"workspaceUni",
"principalUni",
"purpose",
"jurisdictionContext",
"chronotopeUni",
"policyDigest",
"schemaVersion"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"requestId": {
"type": "string",
"minLength": 8,
"maxLength": 128
},
"tenantUni": {
"$ref": "#/$defs/Uni"
},
"workspaceUni": {
"$ref": "#/$defs/Uni"
},
"principalUni": {
"$ref": "#/$defs/Uni"
},
"workloadUni": {
"$ref": "#/$defs/Uni"
},
"purpose": {
"$ref": "#/$defs/NonEmptyString"
},
"jurisdictionContext": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 2,
"maxLength": 128
}
},
"chronotopeUni": {
"$ref": "#/$defs/Uni"
},
"policyDigest": {
"$ref": "#/$defs/Digest"
},
"classification": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"dataCutUni": {
"$ref": "#/$defs/Uni"
},
"correlationId": {
"type": "string",
"minLength": 8,
"maxLength": 128
},
"idempotencyKey": {
"type": "string",
"minLength": 8,
"maxLength": 256
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"$defs": {
"Uni": {
"type": "string",
"minLength": 8,
"maxLength": 256,
"pattern": "^[A-Za-z0-9][A-Za-z0-9:._/@-]{7,255}$",
"description": "Durable UNI or typed unresolved identifier according to authority rules"
},
"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
},
"Extensions": {
"type": "object",
"description": "Namespaced extension bag. Extensions cannot override canonical top-level semantics.",
"propertyNames": {
"pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
},
"additionalProperties": true
},
"SchemaVersion": {
"type": "string",
"const": "3.1.0"
}
},
"additionalProperties": false,
"$comment": "tenantUni/workspaceUni/principalUni/policyDigest are authoritative security context. Implementations must derive or verify them server-side and must not trust caller-selected authority merely because the document validates structurally."
}