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
AttestationResult
Verifier appraisal of AttestationEvidence (RFC 9334 attestation result, AR4SI tiers), bound to the nonce and the evidence digest it appraised and valid only until expiresAt. CONTRAINDICATED and NONE never permit identity issuance; a software root never affirms hardware.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:attestationresult |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | Join |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
kind | yes | constant | |
protocolVersion | yes | constant | |
resultUni | yes | reference | |
conceptualMessage | yes | constant | RFC 9334 conceptual message |
verifier | yes | object | |
attester | yes | object | |
nonce | yes | reference | The nonce the appraised evidence answered; binds result to evidence freshness |
evidenceRef | yes | object | |
rootOfTrustClass | yes | reference | |
status | yes | reference | Overall appraisal (AR4SI trustworthiness tier) |
trustVector | no | object | |
appraisalPolicyRef | yes | reference | |
issuedAt | yes | reference | |
expiresAt | yes | reference | Required. A result without expiry is never accepted |
permitsIdentityIssuance | yes | boolean | |
signature | yes | ||
timeQualityRef | no | reference | |
diagnostics | no | array | |
recordedAt | yes | reference | |
extensions | no | reference |
Positive fixtures
attestation-result.valid.json
Negative fixtures
attestation-result.contraindicated-issues-identity.json: CONTRAINDICATED never permits identity issuanceattestation-result.missing-evidence-digest.json: a result is bound to the evidence digestattestation-result.missing-expiry.json: a result is bound to an expiryattestation-result.missing-nonce.json: a result is bound to the nonceattestation-result.pass-status.json: status from AFFIRMING|WARNING|CONTRAINDICATED|NONE onlyattestation-result.signed-by-node.json: only the verifier signs a resultattestation-result.software-root-affirms-hardware.json: a software root never affirms hardware
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-11 Verification and monitoring (relation REL-NS-11)
- maps to RFC 9334 (remote attestation procedures architecture) (relation EXT-RFC9334)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:attestationresult",
"title": "AttestationResult",
"description": "Verifier appraisal of AttestationEvidence (RFC 9334 attestation result, AR4SI tiers), bound to the nonce and the evidence digest it appraised and valid only until expiresAt. CONTRAINDICATED and NONE never permit identity issuance; a software root never affirms hardware.",
"type": "object",
"required": [
"schemaVersion",
"apiVersion",
"kind",
"protocolVersion",
"resultUni",
"conceptualMessage",
"verifier",
"attester",
"nonce",
"evidenceRef",
"rootOfTrustClass",
"status",
"appraisalPolicyRef",
"issuedAt",
"expiresAt",
"permitsIdentityIssuance",
"signature",
"recordedAt"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/attestation-result/v3.1"
},
"kind": {
"const": "AttestationResult"
},
"protocolVersion": {
"const": "obsp/0.1"
},
"resultUni": {
"$ref": "#/$defs/Uni"
},
"conceptualMessage": {
"const": "ATTESTATION_RESULT",
"description": "RFC 9334 conceptual message"
},
"verifier": {
"type": "object",
"required": [
"role",
"verifierUni"
],
"properties": {
"role": {
"const": "VERIFIER"
},
"verifierUni": {
"$ref": "#/$defs/Uni"
}
},
"additionalProperties": false
},
"attester": {
"type": "object",
"required": [
"role",
"nodeUni"
],
"properties": {
"role": {
"const": "NODE"
},
"nodeUni": {
"$ref": "#/$defs/Uni"
},
"deviceClass": {
"$ref": "#/$defs/DeviceClass"
}
},
"additionalProperties": false
},
"nonce": {
"$ref": "#/$defs/Nonce",
"description": "The nonce the appraised evidence answered; binds result to evidence freshness"
},
"evidenceRef": {
"type": "object",
"required": [
"evidenceUni",
"evidenceDigest"
],
"properties": {
"evidenceUni": {
"$ref": "#/$defs/Uni"
},
"evidenceDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"rootOfTrustClass": {
"$ref": "#/$defs/RootOfTrustClass"
},
"status": {
"$ref": "#/$defs/TrustTier",
"description": "Overall appraisal (AR4SI trustworthiness tier)"
},
"trustVector": {
"type": "object",
"minProperties": 1,
"properties": {
"instanceIdentity": {
"$ref": "#/$defs/TrustTier"
},
"configuration": {
"$ref": "#/$defs/TrustTier"
},
"executables": {
"$ref": "#/$defs/TrustTier"
},
"fileSystem": {
"$ref": "#/$defs/TrustTier"
},
"hardware": {
"$ref": "#/$defs/TrustTier"
},
"runtimeOpaque": {
"$ref": "#/$defs/TrustTier"
},
"storageOpaque": {
"$ref": "#/$defs/TrustTier"
},
"sourcedData": {
"$ref": "#/$defs/TrustTier"
}
},
"additionalProperties": false
},
"appraisalPolicyRef": {
"$ref": "#/$defs/RecordRef"
},
"issuedAt": {
"$ref": "#/$defs/Timestamp"
},
"expiresAt": {
"$ref": "#/$defs/Timestamp",
"description": "Required. A result without expiry is never accepted"
},
"permitsIdentityIssuance": {
"type": "boolean"
},
"signature": {
"allOf": [
{
"$ref": "#/$defs/Signature"
},
{
"properties": {
"signerRole": {
"const": "VERIFIER"
}
}
}
]
},
"timeQualityRef": {
"$ref": "#/$defs/RecordRef"
},
"diagnostics": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"pattern": "^OBS-[A-Z0-9]+-[0-9]{4}$"
},
"message": {
"$ref": "#/$defs/NonEmptyString"
}
},
"additionalProperties": false
}
},
"recordedAt": {
"$ref": "#/$defs/Timestamp"
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"allOf": [
{
"if": {
"properties": {
"status": {
"enum": [
"CONTRAINDICATED",
"NONE"
]
}
},
"required": [
"status"
]
},
"then": {
"properties": {
"permitsIdentityIssuance": {
"const": false
}
}
}
},
{
"if": {
"properties": {
"rootOfTrustClass": {
"const": "SOFTWARE_ROOT"
}
},
"required": [
"rootOfTrustClass"
]
},
"then": {
"properties": {
"trustVector": {
"properties": {
"hardware": {
"not": {
"const": "AFFIRMING"
}
}
}
}
}
}
}
],
"$defs": {
"SchemaVersion": {
"type": "string",
"const": "3.1.0"
},
"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
},
"Timestamp": {
"type": "string",
"format": "date-time"
},
"RecordVersion": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+){0,2}$"
},
"Extensions": {
"type": "object",
"description": "Namespaced extension bag; unknown top-level fields remain forbidden.",
"propertyNames": {
"pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
},
"additionalProperties": true
},
"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": {
"$ref": "#/$defs/Timestamp"
}
},
"additionalProperties": false
},
"ProtocolRole": {
"enum": [
"NODE",
"SITE_CELL",
"CLUSTER",
"FED_PEER",
"GRID_OPERATOR",
"PROVIDER",
"VERIFIER",
"CONSUMER",
"STEWARD"
],
"description": "OBSP 0.1 participant role (specification section 3). Roles, never company names."
},
"RecordRef": {
"type": "object",
"required": [
"uni",
"digest"
],
"properties": {
"uni": {
"$ref": "#/$defs/Uni"
},
"version": {
"$ref": "#/$defs/RecordVersion"
},
"digest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"VersionedRecordRef": {
"type": "object",
"required": [
"uni",
"version",
"digest"
],
"properties": {
"uni": {
"$ref": "#/$defs/Uni"
},
"version": {
"$ref": "#/$defs/RecordVersion"
},
"digest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"CorrectionState": {
"enum": [
"CURRENT",
"DISPUTED",
"SUPERSEDED",
"WITHDRAWN",
"RECALLED"
]
},
"DeviceClass": {
"type": "string",
"pattern": "^ndc\\.[a-z0-9-]+\\.[a-z0-9-]+$",
"description": "Device class id (ndc.<family>.<class>)"
},
"Nonce": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{22,512}$",
"description": "Fresh verifier-issued nonce, base64url without padding, at least 128 bits (22 characters)"
},
"RootOfTrustClass": {
"enum": [
"TPM2",
"DICE",
"SECURE_ELEMENT",
"SOFTWARE_ROOT"
],
"description": "Root-of-trust class. Always stated; SOFTWARE_ROOT is an explicit declaration and is never a default."
},
"TrustTier": {
"enum": [
"AFFIRMING",
"WARNING",
"CONTRAINDICATED",
"NONE"
]
},
"Signature": {
"type": "object",
"required": [
"algorithm",
"signatureDigest",
"keyRef",
"signerRole"
],
"properties": {
"algorithm": {
"enum": [
"ED25519",
"ECDSA_P256_SHA256",
"ECDSA_P384_SHA384"
]
},
"signatureDigest": {
"$ref": "#/$defs/Digest"
},
"keyRef": {
"type": "string",
"pattern": "^(secret|key)://[A-Za-z0-9][A-Za-z0-9:._/@-]{2,250}$"
},
"signerRole": {
"$ref": "#/$defs/ProtocolRole"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}