Implement policy package loader
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled

This commit is contained in:
2026-05-17 05:30:40 +02:00
parent 2cce434d47
commit 550d096cb2
9 changed files with 1170 additions and 7 deletions

View File

@@ -8,9 +8,21 @@
"properties": {
"id": {"type": "string", "minLength": 1},
"name": {"type": "string", "minLength": 1},
"namespace": {"type": "string", "minLength": 1},
"version": {"type": "string", "minLength": 1},
"status": {"type": "string", "minLength": 1},
"package": {"type": "string", "minLength": 1},
"actions": {
"type": "array",
"items": {"type": "string", "minLength": 1},
"uniqueItems": true
},
"owner": {"type": "string", "minLength": 1},
"fixtures": {
"type": "array",
"items": {"type": "string", "minLength": 1},
"uniqueItems": true
},
"caring": {"$ref": "#/$defs/caring_policy_metadata"},
"activation": {"type": "object", "additionalProperties": true},
"metadata": {"type": "object", "additionalProperties": true}
@@ -22,6 +34,7 @@
"required": ["profile"],
"properties": {
"profile": {"const": "caring-0.4.0-rc2"},
"enforce": {"type": "boolean"},
"canonical_roles": {
"type": "array",
"items": {"$ref": "https://flex-auth.netkingdom/schemas/caring_access_descriptor.schema.json#/$defs/canonical_role"},