29 lines
1002 B
JSON
29 lines
1002 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:DigitalDocumentPermission",
|
|
"title": "DigitalDocumentPermission",
|
|
"description": "A permission for a particular person or group to access a particular file.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.",
|
|
"$ref": "schema:Intangible"
|
|
}
|
|
],
|
|
"properties": {
|
|
"grantee": {
|
|
"description": "The person, organization, contact point, or audience that has been granted this permission.",
|
|
"anyOf": [
|
|
{ "$ref": "schema:Audience" },
|
|
{ "$ref": "schema:ContactPoint" },
|
|
{ "$ref": "schema:Organization" },
|
|
{ "$ref": "schema:Person" }
|
|
]
|
|
},
|
|
"permissionType": {
|
|
"description": "The type of permission granted the person, organization, or audience.",
|
|
"$ref": "schema:DigitalDocumentPermissionType"
|
|
}
|
|
}
|
|
}
|