grubhub · Schema

Customer

Customer information associated with an order.

Properties

Name Type Description
first_name string The customer's first name.
last_name string The customer's last name.
phone string The customer's phone number.
View JSON Schema on GitHub

JSON Schema

grubhub-customer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Customer",
  "title": "Customer",
  "type": "object",
  "description": "Customer information associated with an order.",
  "properties": {
    "first_name": {
      "type": "string",
      "description": "The customer's first name."
    },
    "last_name": {
      "type": "string",
      "description": "The customer's last name."
    },
    "phone": {
      "type": "string",
      "description": "The customer's phone number."
    }
  }
}