Paytronix · JSON Structure

Server Api Location Structure

Location schema from Paytronix Server API

Type: object Properties: 8
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

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

Properties

code name address latitude longitude hoursOfOperation distance metadata

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/server-api-location-structure.json",
  "name": "Location",
  "description": "Location schema from Paytronix Server API",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "example": "1"
    },
    "name": {
      "type": "string",
      "example": "Downtown"
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    },
    "latitude": {
      "type": "double",
      "example": 42.3601
    },
    "longitude": {
      "type": "double",
      "example": -71.0589
    },
    "hoursOfOperation": {
      "type": "string"
    },
    "distance": {
      "type": "double",
      "example": 1.2
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    }
  }
}