generated from coulomb/repo-seed
25 lines
1.0 KiB
JSON
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}
|
|
}
|
|
}
|