{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teliax/json-schema/teliax-internal-handlers-scope-category-dto-schema.json",
  "title": "internal_handlers.scopeCategoryDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teliax-customer-account-api-openapi.yml#/components/schemas/internal_handlers.scopeCategoryDTO",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/internal_handlers.scopeEntryDTO"
      }
    }
  },
  "$defs": {
    "internal_handlers.scopeEntryDTO": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "display_order": {
          "type": "integer"
        },
        "is_superadmin_only": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "resource_patterns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}