{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-external-product-reference-collection-schema.json",
  "title": "ExternalProductReferenceCollection",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-external-product-reference-api-openapi.yml#/components/schemas/ExternalProductReferenceCollection",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "title": "Object type",
      "description": "Will always be List."
    },
    "has_more": {
      "type": "boolean",
      "description": "Indicates there are more results on subsequent pages."
    },
    "next": {
      "type": "string",
      "description": "Path to subsequent page of results."
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExternalProductReferenceMini"
      }
    }
  },
  "$defs": {
    "ExternalProductReferenceMini": {
      "type": "object",
      "title": "External Product Reference details",
      "description": "External Product Reference details",
      "properties": {
        "id": {
          "type": "string",
          "title": "External Product ID",
          "description": "System-generated unique identifier for an external product ID, e.g. `e28zov4fw0v2`."
        },
        "object": {
          "type": "string",
          "title": "object"
        },
        "reference_code": {
          "type": "string",
          "title": "reference_code",
          "description": "A code which associates the external product to a corresponding object or resource in an external platform like the Apple App Store or Google Play Store."
        },
        "external_connection_type": {
          "type": "string",
          "title": "external_connection_type",
          "description": "Source connection platform."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the external product was created in Recurly."
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the external product was updated in Recurly."
        }
      }
    }
  }
}