{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/admin-api-api-category-schema.json",
  "title": "API Category",
  "description": "APICategory schema from WSO2 API Manager",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "example": "01234567-0123-0123-0123-012345678901"
    },
    "name": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string",
      "example": "Finance"
    },
    "description": {
      "maxLength": 1024,
      "type": "string",
      "example": "Finance related APIs"
    },
    "numberOfAPIs": {
      "type": "integer",
      "readOnly": true,
      "example": 1
    }
  }
}