frameworks / schema /framework_schema.json
backnotprop's picture
Update schema/framework_schema.json (#8)
6e81579 verified
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"framework": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"iconUrl": {
"type": "string"
},
"stages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stageName": {
"type": "string"
},
"systemComponents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"componentName": {
"type": "string"
},
"risks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"riskId": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"title": {
"type": "string"
},
"definition": {
"type": "string"
},
"addressedByControls": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]+-[0-9]+$"
}
}
},
"required": ["riskId", "title", "definition", "addressedByControls"]
}
}
},
"required": ["componentName", "risks"]
}
}
},
"required": ["stageName", "systemComponents"]
}
}
},
"required": ["name", "description", "iconUrl", "stages"]
}
},
"required": ["framework"]
}