{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teliax/json-schema/teliax-internal-handlers-create-role-request-schema.json",
  "title": "internal_handlers.createRoleRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teliax-customer-team-api-openapi.yml#/components/schemas/internal_handlers.createRoleRequest",
  "type": "object",
  "required": [
    "display_name",
    "name",
    "scopes"
  ],
  "properties": {
    "description": {
      "type": "string",
      "maxLength": 512
    },
    "display_name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "name": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "scopes": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string"
      }
    }
  }
}