{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-front-door/json-schema/microsoft-azure-front-door-preconfigured-endpoint-list-schema.json",
  "title": "PreconfiguredEndpointList",
  "description": "Defines a list of preconfigured endpoints.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-front-door-preconfiguredendpoints-api-openapi.yml#/components/schemas/PreconfiguredEndpointList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The PreconfiguredEndpoint items on this page",
      "items": {
        "$ref": "#/$defs/PreconfiguredEndpoint"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "EndpointType": {
      "type": "string",
      "description": "The type of endpoint",
      "enum": [
        "AFD",
        "AzureRegion",
        "CDN",
        "ATM"
      ],
      "x-ms-enum": {
        "name": "EndpointType",
        "modelAsString": true,
        "values": [
          {
            "name": "AFD",
            "value": "AFD",
            "description": "AFD"
          },
          {
            "name": "AzureRegion",
            "value": "AzureRegion",
            "description": "AzureRegion"
          },
          {
            "name": "CDN",
            "value": "CDN",
            "description": "CDN"
          },
          {
            "name": "ATM",
            "value": "ATM",
            "description": "ATM"
          }
        ]
      }
    },
    "PreconfiguredEndpoint": {
      "type": "object",
      "description": "Defines the properties of a preconfigured endpoint",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PreconfiguredEndpointProperties",
          "description": "The properties of a preconfiguredEndpoint",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ResourcewithSettableName"
        }
      ]
    },
    "PreconfiguredEndpointProperties": {
      "type": "object",
      "description": "Defines the properties of a preconfigured endpoint",
      "properties": {
        "description": {
          "type": "string",
          "description": "The description of the endpoint"
        },
        "endpoint": {
          "type": "string",
          "description": "The endpoint that is preconfigured"
        },
        "endpointType": {
          "$ref": "#/$defs/EndpointType",
          "description": "The type of endpoint"
        },
        "backend": {
          "type": "string",
          "description": "The preconfigured endpoint backend"
        }
      }
    },
    "ResourcewithSettableName": {
      "type": "object",
      "description": "Common resource representation.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "x-ms-azure-resource": true
    }
  }
}