{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-affiliate-schema.json",
  "title": "Affiliate",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-orders-openapi.yml#/components/schemas/Affiliate",
  "type": "object",
  "properties": {
    "affiliate_id": {
      "type": "string"
    },
    "affiliate_type": {
      "type": "string",
      "enum": [
        "CLASSIC",
        "WHITE_LABEL",
        "UNKNOWN"
      ]
    },
    "data": {
      "type": "string"
    }
  },
  "description": "GH Affiliate class containing the Affiliate Type and Affiliate Id."
}