{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-microservice-list-response-schema.json",
  "title": "MicroserviceListResponse",
  "description": "List of microservices",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-microservices-api-openapi.yml#/components/schemas/MicroserviceListResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Microservice"
      }
    },
    "totalCount": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "Microservice": {
      "type": "object",
      "description": "Represents a microservice within an application",
      "properties": {
        "microserviceId": {
          "type": "integer",
          "format": "int32",
          "description": "Unique identifier of the microservice"
        },
        "microserviceName": {
          "type": "string",
          "description": "Name of the microservice"
        },
        "applicationId": {
          "type": "integer",
          "format": "int32",
          "description": "Identifier of the parent application"
        }
      }
    }
  }
}