Paytronix · JSON Structure

Online Ordering Api Restaurant Structure

Restaurant schema from Paytronix Online Ordering API

Type: object Properties: 13
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Restaurant is a JSON Structure definition published by Paytronix, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name distance coordinates address city state postalCode phone website organizationId imageUrl description

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-structure/online-ordering-api-restaurant-structure.json",
  "name": "Restaurant",
  "description": "Restaurant schema from Paytronix Online Ordering API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "4b96f1bafc9f100ca79231ef"
    },
    "name": {
      "type": "string",
      "example": "Taqueria Downtown"
    },
    "distance": {
      "type": "double",
      "example": 1.2
    },
    "coordinates": {
      "$ref": "#/components/schemas/Coordinates"
    },
    "address": {
      "type": "string",
      "example": "123 Main St"
    },
    "city": {
      "type": "string",
      "example": "Boston"
    },
    "state": {
      "type": "string",
      "example": "MA"
    },
    "postalCode": {
      "type": "string",
      "example": "02110"
    },
    "phone": {
      "type": "string",
      "example": "+16175551234"
    },
    "website": {
      "type": "string",
      "example": "https://example.com"
    },
    "organizationId": {
      "type": "string"
    },
    "imageUrl": {
      "type": "string"
    },
    "description": {
      "type": "string"
    }
  }
}