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
SupplyChainReceipt
Supply-chain receipt for an admitted software artifact (OBSP 0.1 section 5.2): artifact digest, SBOM (SPDX or CycloneDX) reference and digest, SLSA provenance reference and build level, and an optional SCITT transparency receipt. A receipt records verification for a stated scope; it is not admission.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:supplychainreceipt |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | Admit |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
kind | yes | constant | |
protocolVersion | yes | constant | |
receiptUni | yes | reference | |
artifact | yes | object | |
sbom | yes | object | |
provenance | yes | object | |
transparency | no | object | Optional SCITT transparency receipt. When present it is complete. |
verification | yes | object | |
evidenceRefs | no | array | |
recordedAt | yes | reference | |
extensions | no | reference |
Positive fixtures
supply-chain-receipt.valid.json
Negative fixtures
supply-chain-receipt.floating-version.json: artifact version is pinnedsupply-chain-receipt.missing-artifact-digest.json: artifact digest requiredsupply-chain-receipt.partial-scitt-receipt.json: a SCITT receipt when present is completesupply-chain-receipt.sbom-without-digest.json: SBOM reference is digest-boundsupply-chain-receipt.slsa-level-out-of-range.json: SLSA build level 0..3supply-chain-receipt.unknown-sbom-format.json: SBOM format SPDX or CycloneDX only
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-12 Software, models and AI/ML artifacts (relation REL-NS-12)
- maps to SLSA and in-toto (relation EXT-SLSA)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:supplychainreceipt",
"title": "SupplyChainReceipt",
"description": "Supply-chain receipt for an admitted software artifact (OBSP 0.1 section 5.2): artifact digest, SBOM (SPDX or CycloneDX) reference and digest, SLSA provenance reference and build level, and an optional SCITT transparency receipt. A receipt records verification for a stated scope; it is not admission.",
"type": "object",
"required": [
"schemaVersion",
"apiVersion",
"kind",
"protocolVersion",
"receiptUni",
"artifact",
"sbom",
"provenance",
"verification",
"recordedAt"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/supply-chain-receipt/v3.1"
},
"kind": {
"const": "SupplyChainReceipt"
},
"protocolVersion": {
"const": "obsp/0.1"
},
"receiptUni": {
"$ref": "#/$defs/Uni"
},
"artifact": {
"type": "object",
"required": [
"name",
"version",
"artifactType",
"digest"
],
"properties": {
"name": {
"$ref": "#/$defs/NonEmptyString"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"not": {
"enum": [
"latest",
"LATEST",
"*"
]
}
},
"artifactType": {
"enum": [
"CONTAINER_IMAGE",
"FIRMWARE",
"SOFTWARE_PACKAGE",
"MODEL",
"SYSTEM_PACK",
"CONFIGURATION_BUNDLE"
]
},
"digest": {
"$ref": "#/$defs/Digest"
},
"providerUni": {
"$ref": "#/$defs/Uni"
}
},
"additionalProperties": false
},
"sbom": {
"type": "object",
"required": [
"format",
"specVersion",
"ref",
"digest"
],
"properties": {
"format": {
"enum": [
"SPDX",
"CycloneDX"
]
},
"specVersion": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+(\\.[0-9]+)?$"
},
"ref": {
"$ref": "#/$defs/NonEmptyString"
},
"digest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"provenance": {
"type": "object",
"required": [
"framework",
"predicateType",
"slsaBuildLevel",
"envelope",
"ref",
"digest"
],
"properties": {
"framework": {
"const": "SLSA"
},
"predicateType": {
"enum": [
"https://slsa.dev/provenance/v1",
"https://slsa.dev/provenance/v0.2"
],
"description": "in-toto predicate type identifier (a specification identifier, not an endpoint)"
},
"slsaBuildLevel": {
"enum": [
0,
1,
2,
3
],
"description": "SLSA v1.0 build track level"
},
"envelope": {
"const": "DSSE"
},
"ref": {
"$ref": "#/$defs/NonEmptyString"
},
"digest": {
"$ref": "#/$defs/Digest"
},
"builderUni": {
"$ref": "#/$defs/Uni"
}
},
"additionalProperties": false
},
"transparency": {
"type": "object",
"required": [
"service",
"transparencyServiceUni",
"receiptDigest",
"registeredAt"
],
"properties": {
"service": {
"const": "SCITT"
},
"transparencyServiceUni": {
"$ref": "#/$defs/Uni"
},
"entryId": {
"$ref": "#/$defs/NonEmptyString"
},
"receiptDigest": {
"$ref": "#/$defs/Digest"
},
"registeredAt": {
"$ref": "#/$defs/Timestamp"
}
},
"additionalProperties": false,
"description": "Optional SCITT transparency receipt. When present it is complete."
},
"verification": {
"type": "object",
"required": [
"verifierRole",
"state",
"verifiedAt",
"scope"
],
"properties": {
"verifierRole": {
"const": "VERIFIER"
},
"state": {
"enum": [
"VERIFIED_FOR_SCOPE",
"FAILED",
"NOT_VERIFIED"
]
},
"verifiedAt": {
"$ref": "#/$defs/Timestamp"
},
"scope": {
"$ref": "#/$defs/NonEmptyString"
}
},
"additionalProperties": false
},
"evidenceRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/EvidenceRef"
}
},
"recordedAt": {
"$ref": "#/$defs/Timestamp"
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"$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"
]
}
},
"additionalProperties": false
}