| Field | Value |
| Identifier | urn:obsp:schema:v3.1:sourcemanifest |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Admit, Describe |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
sourceId | yes | string | |
authority | yes | string | |
distribution | yes | string | |
rightsState | yes | enumeration | |
schemaState | yes | string | |
admissionState | yes | enumeration | |
connectorRef | no | string | |
healthProbe | no | string | |
correctionModel | no | string | |
evidenceRefs | no | array | |
extensions | no | reference | |
Positive fixtures
source-manifest.valid.json
Negative fixtures
source-manifest.missing-rights-state.json: a source never enters without a recorded rights state (spec 5.2 rights review); an absent rightsState must not be read as approvedsource-manifest.rights-state-granted.json: rightsState is a closed vocabulary (UNKNOWN, REVIEW_REQUIRED, APPROVED_FOR_SCOPE, DENIED); an unscoped GRANTED is not allowed (spec 5.2: admission is for a stated scope)
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-3b Dataset and product metadata profile (relation REL-NS-3B)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:sourcemanifest",
"title": "SourceManifest",
"type": "object",
"required": [
"sourceId",
"authority",
"distribution",
"rightsState",
"schemaState",
"admissionState",
"schemaVersion"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"sourceId": {
"type": "string",
"minLength": 1
},
"authority": {
"type": "string",
"minLength": 1
},
"distribution": {
"type": "string",
"minLength": 1
},
"rightsState": {
"enum": [
"UNKNOWN",
"REVIEW_REQUIRED",
"APPROVED_FOR_SCOPE",
"DENIED"
]
},
"schemaState": {
"type": "string",
"minLength": 1
},
"admissionState": {
"enum": [
"CANDIDATE",
"TERMS_REVIEWED",
"TECHNICALLY_PROBED",
"SCHEMA_PROFILED",
"RESPONSIBILITY_REVIEWED",
"CONNECTOR_VALIDATED",
"OBSERVING",
"OPERATIONALLY_ACCEPTED",
"SUSPENDED"
],
"$comment": "SUSPENDED is a material post-acceptance admission state; kept aligned with runtime/DB CHECK constraints."
},
"connectorRef": {
"type": "string",
"minLength": 1
},
"healthProbe": {
"type": "string",
"minLength": 1
},
"correctionModel": {
"type": "string",
"minLength": 1
},
"evidenceRefs": {
"type": "array",
"items": {
"$ref": "#/$defs/EvidenceRef"
}
},
"extensions": {
"$ref": "#/$defs/Extensions"
}
},
"$defs": {
"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-Fa-f0-9]{32,128}$",
"description": "alg:hex digest"
},
"IsoDateTime": {
"type": "string",
"format": "date-time"
},
"NonEmptyString": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"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/IsoDateTime"
}
},
"additionalProperties": false
},
"StateVector": {
"type": "object",
"required": [
"implementationState",
"verificationState",
"operationalState",
"claimState",
"correctionState"
],
"properties": {
"implementationState": {
"enum": [
"NOT_STARTED",
"DECLARED",
"SCAFFOLDED",
"IMPLEMENTED",
"INTEGRATED"
]
},
"serviceState": {
"enum": [
"NOT_DEPLOYED",
"STARTING",
"AVAILABLE",
"DEGRADED",
"UNAVAILABLE"
]
},
"verificationState": {
"enum": [
"NOT_TESTED",
"TESTED",
"INTEGRATION_VERIFIED",
"INDEPENDENTLY_ASSESSED"
]
},
"operationalState": {
"enum": [
"NOT_OBSERVED",
"LAB_OBSERVED",
"PILOT_OBSERVED",
"PRODUCTION_OBSERVED"
]
},
"releaseState": {
"enum": [
"INTERNAL",
"LAB",
"PILOT",
"CONTROLLED_RELEASE",
"CONTROLLED_GA",
"RETIRED"
]
},
"claimState": {
"enum": [
"NOT_PERMITTED",
"QUALIFIED",
"PERMITTED_FOR_SCOPE"
]
},
"correctionState": {
"enum": [
"CURRENT",
"DISPUTED",
"SUPERSEDED",
"WITHDRAWN",
"RECALLED"
]
}
},
"additionalProperties": false
},
"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
},
"SchemaVersion": {
"type": "string",
"const": "3.1.0"
}
},
"additionalProperties": false
}