{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PermissionTarget", "title": "PermissionTarget", "type": "object", "properties": { "name": { "type": "string" }, "repo": { "type": "object", "properties": { "repositories": { "type": "array", "items": { "type": "string" } }, "actions": { "type": "object", "properties": { "users": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "groups": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } } }, "includePatterns": { "type": "array", "items": { "type": "string" } }, "excludePatterns": { "type": "array", "items": { "type": "string" } } } }, "build": { "type": "object", "properties": { "repositories": { "type": "array", "items": { "type": "string" } }, "actions": { "type": "object", "properties": { "users": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "groups": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } } } } } } } }