| Field | Value |
| Identifier | urn:obsp:schema:v3.1:productmanifest |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Exchange |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
productId | yes | string | |
name | yes | reference | |
authorityOwner | yes | string | |
inputs | yes | array | |
methodRef | no | string | |
modelRef | no | string | |
stateModel | yes | string | |
outputs | yes | array | |
apiRefs | no | array | |
uiSurfaces | no | array | |
freshnessPolicy | no | string | |
correctionPolicy | yes | string | |
acceptanceTests | no | array | |
extensions | no | reference | |
Positive fixtures
product-manifest.valid.json
Negative fixtures
product-manifest.empty-outputs.json: a product declares at least one output; outputs must not be emptyproduct-manifest.missing-correction-policy.json: every product states how corrections are handled (spec 5.10 correction state); correctionPolicy is required
Mappings to open standards
A mapping to a standard, never a conformance statement.
- maps to NS-1 Identifier and artifact catalog (UNI) (relation REL-NS-1)
- maps to NS-3b Dataset and product metadata profile (relation REL-NS-3B)
- maps to W3C DCAT (relation EXT-DCAT)
- maps to SpatioTemporal Asset Catalog (relation EXT-STAC)
- maps to OGC API - Features, proposed (OIP-0001)
- maps to OGC API - Records, proposed (OIP-0001)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:productmanifest",
"title": "ProductManifest",
"type": "object",
"required": [
"productId",
"name",
"authorityOwner",
"inputs",
"stateModel",
"outputs",
"correctionPolicy",
"schemaVersion"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"productId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"name": {
"$ref": "#/$defs/NonEmptyString"
},
"authorityOwner": {
"type": "string",
"minLength": 1
},
"inputs": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"methodRef": {
"type": "string",
"minLength": 1
},
"modelRef": {
"type": "string",
"minLength": 1
},
"stateModel": {
"type": "string",
"minLength": 1
},
"outputs": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"apiRefs": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"uiSurfaces": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"freshnessPolicy": {
"type": "string",
"minLength": 1
},
"correctionPolicy": {
"type": "string",
"minLength": 1
},
"acceptanceTests": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"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
}