{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-traffic-manager/json-schema/microsoft-azure-traffic-manager-profile-list-result-schema.json",
  "title": "ProfileListResult",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-traffic-manager-profiles-api-openapi.yml#/components/schemas/ProfileListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Profile"
      }
    }
  },
  "$defs": {
    "DnsConfig": {
      "type": "object",
      "properties": {
        "relativeName": {
          "type": "string"
        },
        "fqdn": {
          "type": "string"
        },
        "ttl": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "Endpoint": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "properties": {
          "type": "object",
          "properties": {
            "targetResourceId": {
              "type": "string"
            },
            "target": {
              "type": "string"
            },
            "endpointStatus": {
              "type": "string",
              "enum": [
                "Enabled",
                "Disabled"
              ]
            },
            "weight": {
              "type": "integer",
              "format": "int64"
            },
            "priority": {
              "type": "integer",
              "format": "int64"
            },
            "endpointLocation": {
              "type": "string"
            },
            "endpointMonitorStatus": {
              "type": "string"
            },
            "geoMapping": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "MonitorConfig": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "enum": [
            "HTTP",
            "HTTPS",
            "TCP"
          ]
        },
        "port": {
          "type": "integer",
          "format": "int64"
        },
        "path": {
          "type": "string"
        },
        "intervalInSeconds": {
          "type": "integer",
          "format": "int64"
        },
        "timeoutInSeconds": {
          "type": "integer",
          "format": "int64"
        },
        "toleratedNumberOfFailures": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "Profile": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "properties": {
          "type": "object",
          "properties": {
            "profileStatus": {
              "type": "string",
              "enum": [
                "Enabled",
                "Disabled"
              ]
            },
            "trafficRoutingMethod": {
              "type": "string",
              "enum": [
                "Performance",
                "Priority",
                "Weighted",
                "Geographic",
                "MultiValue",
                "Subnet"
              ]
            },
            "dnsConfig": {
              "$ref": "#/$defs/DnsConfig"
            },
            "monitorConfig": {
              "$ref": "#/$defs/MonitorConfig"
            },
            "endpoints": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/Endpoint"
              }
            },
            "trafficViewEnrollmentStatus": {
              "type": "string",
              "enum": [
                "Enabled",
                "Disabled"
              ]
            },
            "maxReturn": {
              "type": "integer",
              "format": "int64"
            }
          }
        }
      }
    }
  }
}