{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/outsystems/main/json-schema/outsystems-organization-role-create-request-schema.json", "title": "OrganizationRoleCreateRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/outsystems-organization-roles-api-openapi.yml#/components/schemas/OrganizationRoleCreateRequest", "type": "object", "properties": { "name": { "type": [ "string", "null" ], "description": "Gets or sets the name of Organization Role." }, "permissions": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/PermissionDetailsRequest" }, "description": "Gets or sets the list of permissions for the Organization Role." } }, "additionalProperties": false, "$defs": { "PermissionDetailsRequest": { "type": "object", "properties": { "permissionKey": { "type": "string", "description": "Gets or sets the permission key.", "format": "uuid" }, "environmentKeys": { "type": [ "array", "null" ], "items": { "type": "string", "format": "uuid" }, "description": "Gets or sets the environment keys." }, "portfolioKeys": { "type": [ "array", "null" ], "items": { "type": "string", "format": "uuid" }, "description": "Gets or sets the portfolio keys." }, "claimName": { "type": [ "string", "null" ], "description": "Gets or sets the claim name." }, "name": { "type": [ "string", "null" ], "description": "Gets or sets the permission name." } }, "additionalProperties": false } } }