{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/api_consumer_rbac_v1_Policy", "title": "api_consumer_rbac_v1_Policy", "type": "object", "properties": { "roles": { "type": "array", "items": { "$ref": "#/components/schemas/api_consumer_rbac_v1_PolicyRole" }, "description": "An array of [Role objects](https://stytch.com/docs/api/rbac-role-object)." }, "resources": { "type": "array", "items": { "$ref": "#/components/schemas/api_consumer_rbac_v1_PolicyResource" }, "description": "An array of [Resource objects](https://stytch.com/docs/api/rbac-resource-object)." }, "scopes": { "type": "array", "items": { "$ref": "#/components/schemas/api_consumer_rbac_v1_PolicyScope" }, "description": "An array of [Scope objects](https://stytch.com/docs/api/rbac-scope-object)." } }, "required": [ "roles", "resources", "scopes" ] }