{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-external-feeds-get-all-external-feeds-response-200-schema.json",
  "title": "External Feeds_getAllExternalFeeds_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-external-feeds-api-openapi.yml#/components/schemas/External_Feeds_getAllExternalFeeds_Response_200",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of feeds"
    },
    "feeds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FeedsGetResponsesContentApplicationJsonSchemaFeedsItems"
      },
      "description": "List of external feeds"
    }
  },
  "required": [
    "count",
    "feeds"
  ],
  "$defs": {
    "FeedsGetResponsesContentApplicationJsonSchemaFeedsItems": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuidv4",
          "description": "Unique identifier of the feed"
        },
        "name": {
          "type": "string",
          "description": "Name of the feed"
        },
        "url": {
          "type": "string",
          "format": "url",
          "description": "URL of the external data source"
        },
        "authType": {
          "$ref": "#/$defs/FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsAuthType",
          "description": "Authentication type for accessing the feed"
        },
        "username": {
          "type": "string",
          "description": "Username for basic authentication. Only returned when authType is 'basic'. Excluded when authType is 'token'."
        },
        "password": {
          "type": "string",
          "description": "Password for basic authentication. Only returned when authType is 'basic'. Excluded when authType is 'token'."
        },
        "token": {
          "type": "string",
          "description": "Token for token-based authentication. Only returned when authType is 'token'. Excluded when authType is 'basic' or 'noAuth'."
        },
        "maxRetries": {
          "type": "integer",
          "description": "Maximum number of retry attempts for failed requests"
        },
        "cache": {
          "type": "boolean",
          "description": "Whether to cache the feed response"
        },
        "headers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsHeadersItems"
          },
          "description": "Custom HTTP headers for the feed request"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Feed creation timestamp"
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Feed last modification timestamp"
        }
      },
      "required": [
        "id",
        "name",
        "url",
        "authType",
        "maxRetries",
        "cache",
        "createdAt",
        "modifiedAt"
      ],
      "title": "FeedsGetResponsesContentApplicationJsonSchemaFeedsItems"
    },
    "FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsAuthType": {
      "type": "string",
      "enum": [
        "basic",
        "token",
        "noAuth"
      ],
      "description": "Authentication type for accessing the feed",
      "title": "FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsAuthType"
    },
    "FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsHeadersItems": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Header name"
        },
        "value": {
          "type": "string",
          "description": "Header value"
        }
      },
      "required": [
        "name",
        "value"
      ],
      "title": "FeedsGetResponsesContentApplicationJsonSchemaFeedsItemsHeadersItems"
    }
  }
}