mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-09-21 08:50:42 +02:00
96 lines
3.8 KiB
JSON
96 lines
3.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://obliteratus.dev/schemas/support-matrix-v1.schema.json",
|
|
"title": "OBLITERATUS Checkpoint and Runtime Support Matrix v1",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["schema_id", "schema_version", "generated_from", "status_vocabulary", "rows"],
|
|
"properties": {
|
|
"schema_id": {"const": "obliteratus.checkpoint-support-matrix"},
|
|
"schema_version": {"const": "1.0.0"},
|
|
"generated_from": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
|
|
"status_vocabulary": {
|
|
"type": "array",
|
|
"const": ["supported", "conditional", "deferred", "out_of_scope"]
|
|
},
|
|
"rows": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {"$ref": "#/$defs/row"}
|
|
}
|
|
},
|
|
"$defs": {
|
|
"id": {"type": "string", "minLength": 1, "maxLength": 512},
|
|
"status": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["value", "basis"],
|
|
"properties": {
|
|
"value": {"enum": ["supported", "conditional", "deferred", "out_of_scope"]},
|
|
"basis": {"type": "string", "minLength": 1, "maxLength": 2048}
|
|
}
|
|
},
|
|
"evidence": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["references", "candidate_commit", "fixture_digest", "environment", "topology", "retained_result"],
|
|
"properties": {
|
|
"references": {"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/id"}},
|
|
"candidate_commit": {"type": ["string", "null"], "pattern": "^[0-9a-f]{40}$"},
|
|
"fixture_digest": {"type": ["string", "null"], "pattern": "^sha256:[0-9a-f]{64}$"},
|
|
"environment": {"type": ["string", "null"], "maxLength": 1024},
|
|
"topology": {"type": ["string", "null"], "maxLength": 1024},
|
|
"retained_result": {"type": ["string", "null"], "maxLength": 2048}
|
|
}
|
|
},
|
|
"row": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"subject",
|
|
"format",
|
|
"producer_versions",
|
|
"adapter",
|
|
"model_mapping",
|
|
"state_scopes",
|
|
"safety_level",
|
|
"optional_extras",
|
|
"capabilities",
|
|
"canonical_output",
|
|
"evidence",
|
|
"limits"
|
|
],
|
|
"properties": {
|
|
"id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$"},
|
|
"subject": {"$ref": "#/$defs/id"},
|
|
"format": {"$ref": "#/$defs/id"},
|
|
"producer_versions": {"type": "array", "items": {"$ref": "#/$defs/id"}},
|
|
"adapter": {"type": ["string", "null"], "maxLength": 512},
|
|
"model_mapping": {"type": "string", "maxLength": 2048},
|
|
"state_scopes": {"type": "array", "items": {"$ref": "#/$defs/id"}},
|
|
"safety_level": {"enum": ["ordinary_hf_load", "safe_structure", "trusted_metadata", "not_applicable"]},
|
|
"optional_extras": {"type": "array", "items": {"$ref": "#/$defs/id"}},
|
|
"capabilities": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["detect", "safe_inspect", "trusted_inspect", "weights_canonicalize", "topology_reshard", "surgery", "exact_resume", "live_multi_node"],
|
|
"properties": {
|
|
"detect": {"$ref": "#/$defs/status"},
|
|
"safe_inspect": {"$ref": "#/$defs/status"},
|
|
"trusted_inspect": {"$ref": "#/$defs/status"},
|
|
"weights_canonicalize": {"$ref": "#/$defs/status"},
|
|
"topology_reshard": {"$ref": "#/$defs/status"},
|
|
"surgery": {"$ref": "#/$defs/status"},
|
|
"exact_resume": {"$ref": "#/$defs/status"},
|
|
"live_multi_node": {"$ref": "#/$defs/status"}
|
|
}
|
|
},
|
|
"canonical_output": {"type": ["string", "null"], "maxLength": 512},
|
|
"evidence": {"$ref": "#/$defs/evidence"},
|
|
"limits": {"type": "array", "minItems": 1, "items": {"type": "string", "maxLength": 2048}}
|
|
}
|
|
}
|
|
}
|
|
}
|