{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"controlId": { | |
"type": "string", | |
"pattern": "^[A-Z]+-[0-9]+$" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"controlCategory": { | |
"type": "string" | |
}, | |
"readableControlId": { | |
"type": "string" | |
}, | |
"severity": { | |
"type": "string", | |
"enum": ["low", "medium", "high"] | |
}, | |
"automationPlatforms": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"criteria": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"criteriaId": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
} | |
}, | |
"required": ["criteriaId", "title", "description"] | |
} | |
} | |
}, | |
"required": [ | |
"controlId", | |
"title", | |
"description", | |
"controlCategory", | |
"readableControlId", | |
"severity", | |
"criteria" | |
] | |
} | |
} | |