grubhub · Schema

EligibilityResponse

Merchant eligibility status for onboarding.

Properties

Name Type Description
merchant_id string The merchant identifier.
eligible boolean Whether the merchant is eligible for onboarding.
requirements array List of requirements that must be met for onboarding.
View JSON Schema on GitHub

JSON Schema

grubhub-eligibilityresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EligibilityResponse",
  "title": "EligibilityResponse",
  "type": "object",
  "description": "Merchant eligibility status for onboarding.",
  "properties": {
    "merchant_id": {
      "type": "string",
      "description": "The merchant identifier."
    },
    "eligible": {
      "type": "boolean",
      "description": "Whether the merchant is eligible for onboarding."
    },
    "requirements": {
      "type": "array",
      "description": "List of requirements that must be met for onboarding.",
      "items": {
        "type": "object",
        "properties": {
          "requirement": {
            "type": "string",
            "description": "Description of the requirement."
          },
          "met": {
            "type": "boolean",
            "description": "Whether this requirement has been met."
          }
        }
      }
    }
  }
}