{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-internet-insights-api-api-catalog-provider-details-schema.json",
  "title": "Internet_Insights_API_ApiCatalogProviderDetails",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-internet-insights-catalog-providers-api-openapi.yml#/components/schemas/Internet_Insights_API_ApiCatalogProviderDetails",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/Internet_Insights_API_CatalogId"
    },
    "providerName": {
      "$ref": "#/$defs/Internet_Insights_API_ProviderName"
    },
    "providerType": {
      "$ref": "#/$defs/Internet_Insights_API_ProviderType"
    },
    "region": {
      "$ref": "#/$defs/Internet_Insights_API_Region"
    },
    "dataType": {
      "$ref": "#/$defs/Internet_Insights_API_DataType"
    },
    "asns": {
      "uniqueItems": true,
      "type": "array",
      "description": "List of ASN's covered by the Provider.",
      "items": {
        "$ref": "#/$defs/Internet_Insights_API_ApiAsn"
      }
    },
    "locations": {
      "uniqueItems": true,
      "type": "array",
      "description": "List of locations covered by the Provider.",
      "items": {
        "$ref": "#/$defs/Internet_Insights_API_ProviderLocation"
      }
    },
    "_links": {
      "$ref": "#/$defs/Internet_Insights_API_SelfLinks"
    }
  },
  "$defs": {
    "Internet_Insights_API_ApiAsn": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ASN (Autonomous Systems Number)"
        },
        "name": {
          "type": "string",
          "description": "ASN (Autonomous Systems Number) name"
        }
      }
    },
    "Internet_Insights_API_CatalogId": {
      "type": "string",
      "format": "uuid",
      "description": "The catalog provider ID."
    },
    "Internet_Insights_API_DataType": {
      "type": "string",
      "description": "The type of data produced by the provider."
    },
    "Internet_Insights_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Internet_Insights_API_ProviderLocation": {
      "type": "object",
      "properties": {
        "location": {
          "type": "string",
          "description": "The location covered by the Provider."
        },
        "interfacesCount": {
          "type": "integer",
          "description": "The number of interfaces covered by the Provider at this location."
        }
      }
    },
    "Internet_Insights_API_ProviderName": {
      "type": "string",
      "description": "The name of the catalog provider."
    },
    "Internet_Insights_API_ProviderType": {
      "type": "string",
      "description": "The type of catalog provider."
    },
    "Internet_Insights_API_Region": {
      "type": "string",
      "description": "The catalog provider region."
    },
    "Internet_Insights_API_SelfLinks": {
      "type": "object",
      "description": "A links object containing the self link.",
      "readOnly": true,
      "properties": {
        "self": {
          "$ref": "#/$defs/Internet_Insights_API_Link"
        }
      }
    }
  }
}