57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://yao.example/runtime-conformance-report.schema.json",
|
|
"title": "Yao Runtime Conformance Report",
|
|
"description": "Runtime target conformance matrix for Skill OS 2.0.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["ok", "skill", "targets", "summary", "artifacts"],
|
|
"properties": {
|
|
"ok": {"type": "boolean"},
|
|
"skill": {"type": "string"},
|
|
"targets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["target", "status", "checks", "failures", "warnings"],
|
|
"properties": {
|
|
"target": {"type": "string"},
|
|
"status": {"enum": ["pass", "fail"]},
|
|
"checks": {
|
|
"type": "array",
|
|
"items": {"type": "string"}
|
|
},
|
|
"failures": {
|
|
"type": "array",
|
|
"items": {"type": "string"}
|
|
},
|
|
"warnings": {
|
|
"type": "array",
|
|
"items": {"type": "string"}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["target_count", "pass_count", "fail_count"],
|
|
"properties": {
|
|
"target_count": {"type": "integer"},
|
|
"pass_count": {"type": "integer"},
|
|
"fail_count": {"type": "integer"}
|
|
}
|
|
},
|
|
"artifacts": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["json", "markdown"],
|
|
"properties": {
|
|
"json": {"type": "string"},
|
|
"markdown": {"type": "string"}
|
|
}
|
|
}
|
|
}
|
|
}
|