{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Visibility", "title": "Visibility", "additionalProperties": true, "description": "The group or role to which this item is visible.", "properties": { "identifier": { "description": "The ID of the group or the name of the role that visibility of this item is restricted to.", "nullable": true, "type": "string" }, "type": { "description": "Whether visibility of this item is restricted to a group or role.", "enum": [ "group", "role" ], "type": "string" }, "value": { "description": "The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use `identifier`.", "type": "string" } }, "type": "object" }