{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeatlas-com-br/json-schema/codeatlas-com-br-service-list-response-schema.json",
  "title": "ServiceListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeatlas-com-br-discovery-api-openapi.yml#/components/schemas/ServiceListResponse",
  "type": "object",
  "required": [
    "data",
    "count",
    "next_cursor"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Service"
      }
    },
    "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Total number of services, not the page size."
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as cursor to get the next page. null on the last page."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Service": {
      "type": "object",
      "required": [
        "slug",
        "name",
        "description",
        "serviceType",
        "url",
        "capabilities",
        "deliveryTimeline"
      ],
      "properties": {
        "slug": {
          "type": "string",
          "description": "Stable service identifier."
        },
        "name": {
          "type": "string",
          "description": "Human-readable service name."
        },
        "description": {
          "type": "string",
          "description": "Plain-language service description."
        },
        "serviceType": {
          "type": "string",
          "description": "Structured service category."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Canonical service page."
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Capabilities included in the service."
        },
        "deliveryTimeline": {
          "type": "string",
          "description": "Typical initial delivery timeline. An estimate, not a commitment."
        }
      },
      "additionalProperties": false
    }
  }
}