Files
flex-auth/schemas/relationship_fact.schema.json
tegwick 7fdf6d63d5
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
Implement canonical schema foundation
2026-05-17 04:59:18 +02:00

25 lines
1.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://flex-auth.netkingdom/schemas/relationship_fact.schema.json",
"title": "RelationshipFact",
"type": "object",
"additionalProperties": false,
"required": ["id", "subject", "relation", "object"],
"properties": {
"id": {"type": "string", "minLength": 1},
"system": {"type": "string", "minLength": 1},
"subject": {"type": "string", "minLength": 1},
"relation": {"type": "string", "minLength": 1},
"object": {"type": "string", "minLength": 1},
"tenant": {"type": "string", "minLength": 1},
"conditions": {
"type": "array",
"items": {"$ref": "https://flex-auth.netkingdom/schemas/caring_access_descriptor.schema.json#/$defs/condition"},
"uniqueItems": true
},
"caring": {"$ref": "https://flex-auth.netkingdom/schemas/caring_access_descriptor.schema.json"},
"provenance": {"type": "object", "additionalProperties": true},
"metadata": {"type": "object", "additionalProperties": true}
}
}