generated from coulomb/repo-seed
Implement local registry store
This commit is contained in:
99
examples/caring/registry_snapshot.json
Normal file
99
examples/caring/registry_snapshot.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"systems": [
|
||||
{
|
||||
"id": "markitect-tool",
|
||||
"name": "Markitect Tool",
|
||||
"resource_types": [
|
||||
{
|
||||
"name": "document",
|
||||
"scope_level": "Resource",
|
||||
"planes": ["Data"]
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"name": "read",
|
||||
"capabilities": ["View"],
|
||||
"planes": ["Data"],
|
||||
"exposure_modes": ["Masked", "Plaintext"]
|
||||
}
|
||||
],
|
||||
"caring_profiles": ["caring-0.4.0-rc2"]
|
||||
}
|
||||
],
|
||||
"resource_manifests": [
|
||||
{
|
||||
"id": "markitect-example-knowledge-base",
|
||||
"system": "markitect-tool",
|
||||
"resources": [
|
||||
{
|
||||
"id": "document:internal-note",
|
||||
"type": "document",
|
||||
"parent": "knowledge-base:markitect-example",
|
||||
"labels": ["internal"],
|
||||
"trust_zone": "internal",
|
||||
"owner": "team:platform"
|
||||
}
|
||||
],
|
||||
"actions": ["read", "query", "search", "package", "export"],
|
||||
"caring_profile": "caring-0.4.0-rc2",
|
||||
"metadata": {
|
||||
"flex_auth_contract": "resource-registration-v0"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tenants": [
|
||||
{
|
||||
"id": "tenant:alpha",
|
||||
"name": "Tenant Alpha"
|
||||
}
|
||||
],
|
||||
"subjects": [
|
||||
{
|
||||
"id": "user:alice",
|
||||
"type": "Human",
|
||||
"display_name": "Alice Example",
|
||||
"organization_relation": "Customer",
|
||||
"roles": ["Doer"],
|
||||
"groups": ["group:platform-architecture"],
|
||||
"tenant": "tenant:alpha"
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"id": "group:platform-architecture",
|
||||
"display_name": "Platform Architecture",
|
||||
"members": ["user:alice"],
|
||||
"tenant": "tenant:alpha"
|
||||
}
|
||||
],
|
||||
"relationships": [
|
||||
{
|
||||
"id": "rel:alice-reader-internal-note",
|
||||
"system": "markitect-tool",
|
||||
"subject": "group:platform-architecture",
|
||||
"relation": "reader",
|
||||
"object": "document:internal-note",
|
||||
"tenant": "tenant:alpha",
|
||||
"conditions": ["Logged"],
|
||||
"caring": {
|
||||
"id": "descriptor:tenant-alpha-document-reader",
|
||||
"profile": "caring-0.4.0-rc2",
|
||||
"subject_type": "Group",
|
||||
"organization_relation": "Customer",
|
||||
"canonical_role": "Doer",
|
||||
"scope": {
|
||||
"level": "Resource",
|
||||
"id": "document:internal-note",
|
||||
"tenant": "tenant:alpha",
|
||||
"resource": "document:internal-note"
|
||||
},
|
||||
"planes": ["Data"],
|
||||
"capabilities": ["View"],
|
||||
"exposure_modes": ["Masked", "Plaintext"],
|
||||
"conditions": ["Logged"],
|
||||
"restrictions": ["ExportBlocked"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user