{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RBACRoleEntity", "title": "RBACRoleEntity", "x-speakeasy-entity": "RbacRoleEntity", "type": "object", "properties": { "actions": { "type": "array", "items": { "type": "string" }, "format": "set" }, "comment": { "description": "Additional comment or description for the RBAC role entity.", "type": "string", "nullable": true }, "created_at": { "description": "Unix epoch when the resource was created.", "type": "integer", "nullable": true }, "entity_id": { "description": "The ID of the entity associated with the RBAC role.", "type": "string", "nullable": true }, "entity_type": { "description": "The type of the entity associated with the RBAC role.", "type": "string", "nullable": true }, "negative": { "description": "Indicates whether the RBAC role has negative permissions for the entity.", "type": "boolean", "default": false, "nullable": true }, "role": { "description": "The RBAC role associated with the entity.", "type": "object", "nullable": true, "properties": { "id": { "type": "string" } }, "x-foreign": true, "x-speakeasy-terraform-ignore": true }, "updated_at": { "description": "Unix epoch when the resource was last updated.", "type": "integer", "nullable": true }, "role_id": { "type": "string", "nullable": true } }, "additionalProperties": false, "required": [ "actions", "entity_id", "entity_type" ], "x-speakeasy-transform-from-api": { "jq": ".\n| if .role != null and .role.id != null then . + { role_id: .role.id } else . end\n| del(.role)\n" }, "x-speakeasy-transform-to-api": { "jq": ".\n| if .role_id != null then .role = { id: .role_id } else . end\n| del(.role_id)\n" } }