35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://aas.example/schemas/v1/abstention-label.schema.json",
|
|
"title": "AAS v1 abstention expected label",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["schemaVersion", "labelVersion", "caseId", "expectedStatus", "expectedProposedStack", "reasonCodes", "reviews"],
|
|
"properties": {
|
|
"schemaVersion": { "const": 1 },
|
|
"labelVersion": { "const": "1.0.0" },
|
|
"caseId": { "type": "string", "pattern": "^abstention\\." },
|
|
"expectedStatus": { "const": "insufficientCoverage" },
|
|
"expectedProposedStack": { "type": "array", "maxItems": 0 },
|
|
"reasonCodes": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": { "enum": ["AAS_COVERAGE_OOD_CREATIVE_CONTENT", "AAS_COVERAGE_OOD_MEDIA_PRODUCTION", "AAS_COVERAGE_OOD_PERSONAL_PLANNING", "AAS_COVERAGE_OOD_PROFESSIONAL_ADVICE", "AAS_COVERAGE_OOD_PHYSICAL_SYSTEMS", "AAS_COVERAGE_OOD_NON_WEB_SOFTWARE"] }
|
|
},
|
|
"reviews": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["reviewer", "decision", "reviewedDigest"],
|
|
"properties": {
|
|
"reviewer": { "type": "string" },
|
|
"decision": { "enum": ["approved", "rejected"] },
|
|
"reviewedDigest": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|