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
CalibrationRecord
One calibration of one observed property of a sensor (OBSP 0.1 section 5.3): reference standard, traceability chain, uncertainty with units, validity window, method and the role that performed it. A calibration record is evidence of a procedure, not an accreditation or certification.
| Field | Value |
|---|---|
| Identifier | urn:obsp:schema:v3.1:calibrationrecord |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Used by functions | Describe, Qualify |
Properties
| Property | Required | Type | Description |
|---|---|---|---|
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
kind | yes | constant | |
protocolVersion | yes | constant | |
calibrationUni | yes | reference | |
version | yes | reference | |
sensorPassportRef | yes | reference | |
observedProperty | yes | string | |
referenceStandard | yes | object | |
traceabilityChain | yes | array | Unbroken chain from the reference standard upward, level 0 nearest the instrument. Authority kinds, never organisation names |
method | yes | object | |
uncertainty | yes | object | Calibration uncertainty with its unit (GUM). An expanded uncertainty states its coverage factor |
validFrom | yes | reference | |
validUntil | yes | reference | |
performedBy | yes | object | |
performedAt | yes | reference | |
outcome | yes | enumeration | |
coefficients | no | array | |
correctionState | yes | reference | |
evidenceRefs | yes | array | |
recordedAt | yes | reference | |
extensions | no | reference |
Positive fixtures
calibration-record.valid.json
Negative fixtures
calibration-record.company-performer.json: performedBy is a role, never a company namecalibration-record.empty-traceability-chain.json: traceability chain is non-emptycalibration-record.expanded-without-coverage-factor.json: expanded uncertainty states its coverage factorcalibration-record.missing-valid-until.json: validity window is closedcalibration-record.uncertainty-without-unit.json: uncertainty carries unitscalibration-record.zero-uncertainty.json: a stated uncertainty is never zero
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NRS-S11 System profile: instruments, sensors and calibration (OPS) (relation REL-NRS-S11)
- maps to ISO/IEC 17025 (testing and calibration laboratories) (relation EXT-ISO17025)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:calibrationrecord",
"title": "CalibrationRecord",
"description": "One calibration of one observed property of a sensor (OBSP 0.1 section 5.3): reference standard, traceability chain, uncertainty with units, validity window, method and the role that performed it. A calibration record is evidence of a procedure, not an accreditation or certification.",
"type": "object",
"required": [
"schemaVersion",
"apiVersion",
"kind",
"protocolVersion",
"calibrationUni",
"version",
"sensorPassportRef",
"observedProperty",
"referenceStandard",
"traceabilityChain",
"method",
"uncertainty",
"validFrom",
"validUntil",
"performedBy",
"performedAt",
"outcome",
"correctionState",
"evidenceRefs",
"recordedAt"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/calibration-record/v3.1"
},
"kind": {
"const": "CalibrationRecord"
},
"protocolVersion": {
"const": "obsp/0.1"
},
"calibrationUni": {
"$ref": "#/$defs/Uni"
},
"version": {
"$ref": "#/$defs/RecordVersion"
},
"sensorPassportRef": {
"$ref": "#/$defs/VersionedRecordRef"
},
"observedProperty": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z0-9_]+)*$"
},
"referenceStandard": {
"type": "object",
"required": [
"identifier",
"standardKind",
"certificateDigest"
],
"properties": {
"identifier": {
"$ref": "#/$defs/NonEmptyString"
},
"standardKind": {
"enum": [
"PRIMARY",
"SECONDARY",
"WORKING",
"TRANSFER",
"CERTIFIED_REFERENCE_MATERIAL"
]
},
"certificateDigest": {
"$ref": "#/$defs/Digest"
},
"certificateValidUntil": {
"$ref": "#/$defs/Timestamp"
}
},
"additionalProperties": false
},
"traceabilityChain": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"level",
"authorityKind",
"standardIdentifier",
"certificateDigest"
],
"properties": {
"level": {
"type": "integer",
"minimum": 0
},
"authorityKind": {
"enum": [
"SI_REALISATION",
"NATIONAL_METROLOGY_INSTITUTE",
"ACCREDITED_CALIBRATION_LABORATORY",
"IN_HOUSE_REFERENCE_LABORATORY",
"FIELD_TRANSFER_STANDARD"
]
},
"standardIdentifier": {
"$ref": "#/$defs/NonEmptyString"
},
"certificateDigest": {
"$ref": "#/$defs/Digest"
}
},
"additionalProperties": false
},
"description": "Unbroken chain from the reference standard upward, level 0 nearest the instrument. Authority kinds, never organisation names"
},
"method": {
"type": "object",
"required": [
"procedureRef",
"procedureVersion"
],
"properties": {
"procedureRef": {
"$ref": "#/$defs/NonEmptyString"
},
"procedureVersion": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"additionalProperties": false
},
"uncertainty": {
"type": "object",
"required": [
"kind",
"value",
"unit"
],
"properties": {
"kind": {
"enum": [
"EXPANDED",
"STANDARD"
]
},
"value": {
"type": "number",
"exclusiveMinimum": 0
},
"unit": {
"$ref": "#/$defs/UcumUnit"
},
"coverageFactor": {
"type": "number",
"exclusiveMinimum": 0
},
"confidenceLevel": {
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
}
},
"additionalProperties": false,
"if": {
"properties": {
"kind": {
"const": "EXPANDED"
}
},
"required": [
"kind"
]
},
"then": {
"required": [
"coverageFactor"
]
},
"description": "Calibration uncertainty with its unit (GUM). An expanded uncertainty states its coverage factor"
},
"validFrom": {
"$ref": "#/$defs/Timestamp"
},
"validUntil": {
"$ref": "#/$defs/Timestamp"
},
"performedBy": {
"type": "object",
"required": [
"role",
"uni"
],
"properties": {
"role": {
"$ref": "#/$defs/ProtocolRole"
},
"uni": {
"$ref": "#/$defs/Uni"
},
"accreditationRef": {
"$ref": "#/$defs/RecordRef"
}
},
"additionalProperties": false
},
"performedAt": {
"$ref": "#/$defs/Timestamp"
},
"outcome": {
"enum": [
"WITHIN_TOLERANCE",
"ADJUSTED_WITHIN_TOLERANCE",
"OUT_OF_TOLERANCE",
"ABORTED"
]
},
"coefficients": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value",
"unit"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z][a-zA-Z0-9_]{0,63}$"
},
"value": {
"type": "number"
},
"unit": {
"$ref": "#/$defs/UcumUnit"
}
},
"additionalProperties": false
}
},
"correctionState": {
"$ref": "#/$defs/CorrectionState"
},
"evidenceRefs": {
"type": "array",
"minItems": 1,
"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"
]
},
"UcumUnit": {
"type": "string",
"pattern": "^[A-Za-z0-9%\\[\\]{}*./'_+-]{1,64}$",
"description": "UCUM case-sensitive unit code (for example Cel, m/s, hPa, W/m2, 1, %). Spaces and non-ASCII symbols are rejected."
}
},
"additionalProperties": false
}