Paytronix · Schema

Location

Location schema from Paytronix Server API

RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Properties

Name Type Description
code string
name string
address object
latitude number
longitude number
hoursOfOperation string
distance number
metadata object
View JSON Schema on GitHub

JSON Schema

server-api-location-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Location",
  "description": "Location schema from Paytronix Server API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-schema/server-api-location-schema.json",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "example": "1"
    },
    "name": {
      "type": "string",
      "example": "Downtown"
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    },
    "latitude": {
      "type": "number",
      "format": "double",
      "example": 42.3601
    },
    "longitude": {
      "type": "number",
      "format": "double",
      "example": -71.0589
    },
    "hoursOfOperation": {
      "type": "string"
    },
    "distance": {
      "type": "number",
      "example": 1.2
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  }
}