---
title: "Schemas | Observatory Protocol"
description: "Every object of the Observatory Protocol as an open JSON schema: fields, types, required fields and rules, with a valid example of each…"
url: https://nexusobservatory.com/schemas/
publisher: GCRI Canada
updated: 2026-11-20
---

[Observatory Protocol](https://nexusobservatory.com/)Schemas

# One contract, read the same way by every implementer.

Each object the protocol moves is published as a JSON schema (draft 2020-12). Select one to read its fields, the rules each value must meet and a document that passes, then check your own.

**Version**: 0.1.0-draft
**Status**: Draft specification
**Specification**: CC BY 4.0
**Code**: Apache-2.0
**Format**: JSON Schema 2020-12
**Steward**: GCRI Canada
**Source**: obsp-0.1-foundation

Explore the schemas

[Check a document](https://nexusobservatory.com/conformance/checker/)

## The schemas, field by field.

Filter by name or field. Required fields are marked; nested objects are shown to three levels.

### Attestation evidence

urn:obsp:schema:v3.1:attestationevidence

RATS (RFC 9334) evidence a node presents to a verifier during Join (OBSP 0.1 section 5.1): fresh verifier nonce, claims, measurement digests, root-of-trust class with its quote or certificate digests, and the time quality in force. Evidence is not an attestation result and grants nothing by itself.

[Check a document](https://nexusobservatory.com/conformance/checker/#s=attestation-evidence)

[Source](https://nexusobservatory.com/schemas/)

| Field | Type | Rules and meaning |
| --- | --- | --- |
| schemaVersionrequired | `string` | = "3.1.0" |
| apiVersionrequired | `string` | = "obsp/attestation-evidence/v3.1" |
| kindrequired | `string` | = "AttestationEvidence" |
| protocolVersionrequired | `string` | = "obsp/0.1" |
| evidenceUnirequired | `string` | pattern ^\[A-Za-z0-9\]\[A-Za-z0-9:.\_/@-\]{7,255}$ · ≥ 8 chars Durable UNI or typed unresolved identifier according to authority rules |
| conceptualMessagerequired | `string` | = "EVIDENCE" RFC 9334 conceptual message |
| ratsModelrequired | `enum` | one of "PASSPORT", "BACKGROUND\_CHECK" |
| attesterrequired | `object` |  |
| attester.rolerequired | `string` | = "NODE" |
| attester.nodeUnirequired | `string` | pattern ^\[A-Za-z0-9\]\[A-Za-z0-9:.\_/@-\]{7,255}$ · ≥ 8 chars Durable UNI or typed unresolved identifier according to authority rules |
| attester.deviceClassrequired | `string` | pattern ^ndc\\.\[a-z0-9-\]+\\.\[a-z0-9-\]+$ Device class id (ndc.<family>.<class>) |
| attester.siteUni | `string` | pattern ^\[A-Za-z0-9\]\[A-Za-z0-9:.\_/@-\]{7,255}$ · ≥ 8 chars Durable UNI or typed unresolved identifier according to authority rules |
| verifierNoncerequired | `object` |  |
| verifierNonce.noncerequired | `string` | pattern ^\[A-Za-z0-9\_-\]{22,512}$ Fresh verifier-issued nonce, base64url without padding, at least 128 bits (22 characters) |
| verifierNonce.issuedByrequired | `object` |  |
| verifierNonce.issuedBy.rolerequired | `string` | = "VERIFIER" |
| verifierNonce.issuedBy.verifierUnirequired | `string` | pattern ^\[A-Za-z0-9\]\[A-Za-z0-9:.\_/@-\]{7,255}$ · ≥ 8 chars Durable UNI or typed unresolved identifier according to authority rules |
| verifierNonce.issuedAtrequired | `string` | date-time |
| rootOfTrustrequired | `object` | Exactly one root-of-trust class with its own evidence block; the blocks of other classes are forbidden. |
| rootOfTrust.classrequired | `enum` | one of "TPM2", "DICE", "SECURE\_ELEMENT", "SOFTWARE\_ROOT" Root-of-trust class. Always stated; SOFTWARE\_ROOT is an explicit declaration and is never a default. |
| rootOfTrust.tpm | `object` |  |
| rootOfTrust.tpm.quoteDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.tpm.pcrBankrequired | `enum` | one of "SHA256", "SHA384", "SHA512" |
| rootOfTrust.tpm.pcrSelectionrequired | `array of integer` | ≥ 1 items |
| rootOfTrust.tpm.akPublicKeyDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.tpm.ekCertificateDigest | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.dice | `object` |  |
| rootOfTrust.dice.certificateChainDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.dice.layerCountrequired | `integer` | ≥ 1 |
| rootOfTrust.dice.tcbInfoDigest | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.secureElement | `object` |  |
| rootOfTrust.secureElement.attestationCertificateDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.secureElement.attestationSignatureDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| rootOfTrust.softwareRoot | `object` | Explicit software-root declaration. Required whenever the class is SOFTWARE\_ROOT so the weaker root is never implied. |
| rootOfTrust.softwareRoot.reasonrequired | `enum` | one of "NO\_HARDWARE\_ROOT\_IN\_DEVICE\_CLASS", "HARDWARE\_ROOT\_UNAVAILABLE", "LAB\_OR\_REFERENCE\_ONLY" |
| rootOfTrust.softwareRoot.keyProtectionrequired | `enum` | one of "OS\_KEYSTORE", "FILE\_SYSTEM\_PERMISSIONS", "NONE" |
| rootOfTrust.softwareRoot.statementrequired | `string` | = "SOFTWARE\_ROOT\_WITHOUT\_HARDWARE\_ASSURANCE" |
| claimsrequired | `array of object` | ≥ 1 items |
| claims\[\].namerequired | `string` | pattern ^\[a-z\]\[a-z0-9\_\]\*(\\.\[a-z0-9\_\]+)\*$ |
| claims\[\].valuerequired | `string \| number \| boolean` |  |
| measurementsrequired | `array of object` | ≥ 1 items |
| measurements\[\].componentrequired | `string` | ≥ 1 chars |
| measurements\[\].digestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| measurements\[\].register | `string` | ≥ 1 chars |
| measurements\[\].version | `string` | ≥ 1 chars |
| evidenceFormatrequired | `enum` | one of "EAT\_CWT", "EAT\_JWT", "TPM2\_QUOTE", "DICE\_TCB\_INFO", "CMW", "OBSP\_SOFTWARE\_ROOT\_STATEMENT" |
| evidenceDigestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Digest of the evidence bytes as conveyed to the verifier |
| timeQualityRefrequired | `object` | TimeQuality record in force when the evidence was collected |
| timeQualityRef.unirequired | `string` | pattern ^\[A-Za-z0-9\]\[A-Za-z0-9:.\_/@-\]{7,255}$ · ≥ 8 chars Durable UNI or typed unresolved identifier according to authority rules |
| timeQualityRef.version | `string` | pattern ^\[0-9\]+(\\.\[0-9\]+){0,2}$ |
| timeQualityRef.digestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| collectedAtrequired | `string` | date-time |
| evidenceRefs | `array of object` |  |
| evidenceRefs\[\].urirequired | `string` | ≥ 1 chars |
| evidenceRefs\[\].digestrequired | `string` | pattern ^\[a-z0-9\]\[a-z0-9.\_-\]{1,31}:\[A-Fa-f0-9\]{32,128}$ Algorithm-prefixed hexadecimal digest |
| evidenceRefs\[\].kind | `string` | ≥ 1 chars |
| evidenceRefs\[\].recordedAt | `string` | date-time |
| recordedAtrequired | `string` | date-time |
| extensions | `object` | Namespaced extension bag; unknown top-level fields remain forbidden. |

#### A document that passes

```
{ "schemaVersion": "3.1.0", "apiVersion": "obsp/attestation-evidence/v3.1", "kind": "AttestationEvidence", "protocolVersion": "obsp/0.1", "evidenceUni": "uni:attestation-evidence:site001-node01-0001", "conceptualMessage": "EVIDENCE", "ratsModel": "PASSPORT", "attester": { "role": "NODE", "nodeUni": "uni:node:site001-node01", "deviceClass": "ndc.edge.compute-small", "siteUni": "uni:site:site001" }, "verifierNonce": { "nonce": "q9V1c2tB7xYwZ3pL0mN4rT8u", "issuedBy": { "role": "VERIFIER", "verifierUni": "uni:verifier:site001-site" }, "issuedAt": "2026-10-27T10:00:00Z" }, "rootOfTrust": { "class": "SOFTWARE_ROOT", "softwareRoot": { "reason": "NO_HARDWARE_ROOT_IN_DEVICE_CLASS", "keyProtection": "OS_KEYSTORE", "statement": "SOFTWARE_ROOT_WITHOUT_HARDWARE_ASSURANCE" } }, "claims": [ { "name": "node_agent.version", "value": "0.4.0" }, { "name": "secure_boot.enabled", "value": true } ], "measurements": [ { "component": "node-agent", "digest": "sha256:3333333333333333333333333333333333333333333333333333333333333333", "register": "PCR10", "version": "0.4.0" } ], "evidenceFormat": "OBSP_SOFTWARE_ROOT_STATEMENT", "evidenceDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444", "timeQualityRef": { "uni": "uni:time-quality:site001-node01-0001", "digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555" }, "collectedAt": "2026-10-27T10:00:05Z", "recordedAt": "2026-10-27T10:00:05Z" }
```

## The same contract in four formats.

JSON schemas for documents, an OpenAPI description of the gateway, an AsyncAPI description of the field messages and protocol buffers for the control plane, all in the open repository.

- [Documents **JSON schemas** One schema per object, with valid and failing examples.](https://nexusobservatory.com/schemas/)
- [Gateway **OpenAPI** The exchange gateway, request by request.](https://nexusobservatory.com/schemas/)
- [Field messages **AsyncAPI** Topics and payloads on the field data plane.](https://nexusobservatory.com/schemas/)
- [Control plane **Protocol buffers** The shared message types of the control plane.](https://nexusobservatory.com/schemas/)

Schemas and examples: Observatory Protocol contributors, CC BY 4.0, copied from the open repository.

On this page

1. The schemas, field by field.
2. The same contract in four formats.

- [View the source](https://nexusobservatory.com/development/text/)
- [Report a defect](https://nexusobservatory.com/development/take-part/)
- [Propose a change](https://nexusobservatory.com/development/proposals/)
- [Changes](https://nexusobservatory.com/governance/changes/)
