Add extension profile schema validation

This commit is contained in:
2026-05-15 15:13:03 +02:00
parent 955643554f
commit ab7914890e
7 changed files with 466 additions and 9 deletions

View File

@@ -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": {