{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApiDetail",
  "title": "ApiDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "petstore-api"
    },
    "name": {
      "type": "string",
      "example": "Petstore API"
    },
    "description": {
      "type": "string",
      "example": "Manage pet inventory and orders."
    },
    "serviceUrl": {
      "type": "string",
      "example": "https://petstore.example.com"
    },
    "protocols": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "https"
      ]
    },
    "subscriptionRequired": {
      "type": "boolean",
      "example": true
    }
  }
}