{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ContentRestriction", "title": "ContentRestriction", "required": [ "_expandable", "_links", "operation" ], "type": "object", "properties": { "operation": { "type": "string", "enum": [ "administer", "copy", "create", "delete", "export", "move", "purge", "purge_version", "read", "restore", "update", "use" ], "example": "administer" }, "restrictions": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/UserArray" }, "group": { "$ref": "#/components/schemas/GroupArray" }, "_expandable": { "type": "object", "properties": { "user": { "type": "string" }, "group": { "type": "string" } } } }, "example": "example_value" }, "content": { "$ref": "#/components/schemas/Content" }, "_expandable": { "type": "object", "properties": { "restrictions": { "type": "string" }, "content": { "type": "string" } }, "example": "example_value" }, "_links": { "$ref": "#/components/schemas/GenericLinks" } } }