{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Service",
  "title": "Service",
  "type": "object",
  "properties": {
    "serviceId": {
      "type": "string",
      "description": "Unique service identifier"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the service is enabled"
    },
    "activeGeneration": {
      "type": "string",
      "description": "Currently active generation identifier"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Endpoint"
      },
      "description": "List of endpoints provided by this service"
    },
    "generationCount": {
      "type": "integer",
      "description": "Number of available generations"
    }
  }
}