| Field | Value |
| Identifier | urn:obsp:schema:v3.1:systempack |
|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
|---|
| Used by functions | Orchestrate |
Properties
| Property | Required | Type | Description |
schemaVersion | yes | reference | |
apiVersion | yes | constant | |
metadata | yes | object | |
deploymentProfile | yes | string | |
topology | yes | object | |
roles | yes | array | |
capabilityRequirements | yes | array | |
providers | no | array | |
dataSources | no | array | |
models | no | array | |
agents | no | array | |
products | no | array | |
policies | yes | object | |
acceptance | yes | array | |
extensions | no | reference | |
Positive fixtures
Negative fixtures
system-pack.wrong-apiversion.json: const at /apiVersion: 'obsp/system-pack/v3.1' was expected
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-12 Software, models and AI/ML artifacts (relation REL-NS-12)
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:obsp:schema:v3.1:systempack",
"title": "SystemPack",
"type": "object",
"required": [
"apiVersion",
"metadata",
"deploymentProfile",
"topology",
"roles",
"capabilityRequirements",
"policies",
"acceptance",
"schemaVersion"
],
"properties": {
"schemaVersion": {
"$ref": "#/$defs/SchemaVersion"
},
"apiVersion": {
"const": "obsp/system-pack/v3.1"
},
"metadata": {
"type": "object",
"required": [
"name",
"version",
"ownerUni"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"minLength": 1
},
"ownerUni": {
"$ref": "#/$defs/Uni"
},
"description": {
"type": "string"
}
},
"additionalProperties": false
},
"deploymentProfile": {
"type": "string",
"minLength": 1
},
"topology": {
"type": "object",
"required": [
"nodeCountMin"
],
"properties": {
"nodeCountMin": {
"type": "integer",
"minimum": 1
},
"nodeCountMax": {
"type": "integer",
"minimum": 1
},
"siteCells": {
"type": "integer",
"minimum": 1
},
"clusterMode": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"roles": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"capabilityRequirements": {
"type": "array",
"items": {
"type": "object",
"required": [
"capability",
"required"
],
"properties": {
"capability": {
"type": "string",
"minLength": 1
},
"required": {
"type": "boolean"
},
"constraints": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
}
},
"additionalProperties": false
}
},
"providers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"dataSources": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"models": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"agents": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"products": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"policies": {
"type": "object",
"required": [
"offline",
"retention",
"update"
],
"properties": {
"offline": {
"type": "string",
"minLength": 1
},
"retention": {
"type": "string",
"minLength": 1
},
"update": {
"type": "string",
"minLength": 1
},
"sovereignty": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"acceptance": {
"type": "array",
"minItems": 1,
"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
}