52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://aas.example/schemas/v1/benchmark-gold.schema.json",
|
|
"title": "AAS v1 accepted-equivalent gold set",
|
|
"type": "object",
|
|
"required": ["schemaVersion", "caseId", "acceptedSolutions", "ambiguous", "provenance", "reviews"],
|
|
"properties": {
|
|
"schemaVersion": { "const": 1 },
|
|
"caseId": { "type": "string", "minLength": 1 },
|
|
"acceptedSolutions": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["solutionId", "allowedSkillIds", "requiredGroups"],
|
|
"properties": {
|
|
"solutionId": { "type": "string" },
|
|
"allowedSkillIds": { "type": "array", "minItems": 1, "items": { "type": "string" }, "uniqueItems": true },
|
|
"requiredGroups": {
|
|
"type": "array",
|
|
"items": { "type": "array", "minItems": 1, "items": { "type": "string" }, "uniqueItems": true }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ambiguous": { "type": "boolean" },
|
|
"provenance": {
|
|
"type": "object",
|
|
"required": ["source", "version", "reviewedAt"],
|
|
"properties": {
|
|
"source": { "type": "string", "minLength": 1 },
|
|
"version": { "type": "string", "minLength": 1 },
|
|
"reviewedAt": { "type": "string", "format": "date" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"reviews": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["reviewer", "decision", "reviewedDigest"],
|
|
"properties": {
|
|
"reviewer": { "type": "string" },
|
|
"decision": { "enum": ["approved", "rejected"] },
|
|
"reviewedDigest": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|