generated from coulomb/repo-seed
Add extension profile schema validation
This commit is contained in:
@@ -43,7 +43,21 @@
|
||||
},
|
||||
"supported_frameworks": { "type": "array", "items": { "type": "string" } },
|
||||
"authorities": { "type": "array", "items": { "type": "string" } },
|
||||
"profile_schemas": { "type": "array", "items": { "type": "string" } },
|
||||
"profile_schemas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["string", "object"],
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "profile_kind", "path"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"profile_kind": { "type": "string", "enum": ["target", "assessment"] },
|
||||
"path": { "type": "string" },
|
||||
"subject_type": { "type": ["string", "null"] },
|
||||
"description": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"check_groups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
Reference in New Issue
Block a user