{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-merchanteligibilityresponse-schema.json", "title": "MerchantEligibilityResponse", "x-generated": "2026-09-17", "x-method": "derived", "x-source": "openapi/grubhub-onboarding-openapi.yml#/components/schemas/MerchantEligibilityResponse", "type": "object", "properties": { "cust_id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "address": { "$ref": "#/$defs/Address" }, "pos_eligibility": { "type": "boolean" }, "reasons": { "uniqueItems": true, "type": "array", "items": { "type": "string" } } }, "description": "Merchant eligibility response containing merchant details and POS eligibility status", "$defs": { "Address": { "type": "object", "properties": { "street_address": { "maxLength": 255, "minLength": 0, "type": "string", "description": "Street address line 1", "example": "123 Main St" }, "street_address2": { "maxLength": 255, "minLength": 0, "type": "string", "description": "Street address line 2 (optional)", "example": "Suite 100" }, "locality": { "maxLength": 100, "minLength": 0, "type": "string", "description": "City or locality", "example": "New York" }, "region": { "maxLength": 50, "minLength": 0, "type": "string", "description": "State, province, or region", "example": "NY" }, "postal_code": { "maxLength": 20, "minLength": 0, "type": "string", "description": "Postal or ZIP code", "example": "10001" } }, "description": "Address information for the merchant" } } }