TheFork · Schema

Customer

RestaurantReservationsBookingDiningPoint Of SaleMarketplace

Properties

Name Type Description
id string
firstName string
lastName string
allergies array
dietaryRestrictions array
View JSON Schema on GitHub

JSON Schema

thefork-pos-customer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thefork/main/json-schema/thefork-pos-customer-schema.json",
  "title": "Customer",
  "x-api-evangelist-source": "openapi/thefork-pos-openapi.yml",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "allergies": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "dietaryRestrictions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}