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
ConformanceReport
Output of a conformance suite run (conformance/README.md): the suite version, the profile tested, each case result, the requirement coverage and the digests of the evidence tested. A report records what was tested; it grants nothing.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:conformancereport |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | none |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
kind | yes | constant | |
protocolVersion | yes | constant | |
reportUni | yes | reference | |
suiteVersion | yes | reference | |
profile | yes | reference | |
sovereigntyOverlay | no | boolean | |
implementation | no | object | |
runner | yes | object | |
evidence | yes | array | |
evidenceSetDigest | no | reference | |
cases | yes | array | |
coverage | yes | object | |
result | yes | enumeration | |
generatedAt | yes | reference | |
extensions | no | reference |
Positive fixtures
conformance-report.valid.json
Negative fixtures
conformance-report.bad-case-id.json: case ids are CT-<PROFILE>-NNNconformance-report.pass-with-failed-case.json: a report with a failed case cannot passconformance-report.pass-with-missing-coverage.json: a report with uncovered requirements cannot pass
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-11 Verification and monitoring (relation REL-NS-11)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:conformancereport",
"title": "ConformanceReport",
"description": "Output of a conformance suite run (conformance/README.md): the suite version, the profile tested, each case result, the requirement coverage and the digests of the evidence tested. A report records what was tested; it grants nothing.",
"type": "object",
"required": [
"schemaVersion",
"apiVersion",
"kind",
"protocolVersion",
"reportUni",
"suiteVersion",
"profile",
"runner",
"evidence",
"cases",
"coverage",
"result",
"generatedAt"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/conformance-report/v3.1"
},
"kind": {
"const": "ConformanceReport"
},
"protocolVersion": {
"const": "obsp/0.1"
},
"reportUni": {
"$ref": "#/$defs/Uni"
},
"suiteVersion": {
"$ref": "#/$defs/SemVer"
},
"profile": {
"$ref": "#/$defs/ProfileId"
},
"sovereigntyOverlay": {
"type": "boolean"
},
"implementation": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"implementationUni": {
"$ref": "#/$defs/Uni"
},
"name": {
"$ref": "#/$defs/NonEmptyString"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"additionalProperties": false
},
"runner": {
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"$ref": "#/$defs/NonEmptyString"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"additionalProperties": false
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"digest"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"digest": {
"$ref": "#/$defs/Digest"
},
"schema": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]*$"
}
},
"additionalProperties": false
}
},
"evidenceSetDigest": {
"$ref": "#/$defs/Digest"
},
"cases": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"id",
"result",
"requirements"
],
"properties": {
"id": {
"type": "string",
"pattern": "^CT-[A-Z]+-[0-9]{3}$"
},
"result": {
"enum": [
"PASS",
"FAIL",
"NOT_APPLICABLE",
"MANUAL"
]
},
"requirements": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"messages": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4096
}
}
},
"additionalProperties": false
}
},
"coverage": {
"type": "object",
"required": [
"required",
"covered",
"missing"
],
"properties": {
"required": {
"type": "integer",
"minimum": 0
},
"covered": {
"type": "integer",
"minimum": 0
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"result": {
"enum": [
"PASS",
"FAIL",
"INCOMPLETE"
]
},
"generatedAt": {
"$ref": "#/$defs/Timestamp"
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"result": {
"const": "PASS"
}
}
},
"then": {
"properties": {
"cases": {
"items": {
"properties": {
"result": {
"enum": [
"PASS",
"NOT_APPLICABLE"
]
}
}
}
},
"coverage": {
"properties": {
"missing": {
"maxItems": 0
}
}
}
}
}
}
],
"$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"
},
"SemVer": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?$"
},
"ProfileId": {
"enum": [
"OBSP-NODE",
"OBSP-SITE",
"OBSP-GRID",
"OBSP-PROVIDER",
"OBSP-CONSUMER"
]
},
"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
}
}
}