{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paytronix/json-schema/paytronix-restaurant-schema.json",
  "title": "Restaurant",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paytronix-restaurants-api-openapi.yml#/components/schemas/Restaurant",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "distance": {
      "type": "number"
    },
    "coordinates": {
      "$ref": "#/$defs/Coordinates"
    },
    "address": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "website": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "imageUrl": {
      "type": "string"
    },
    "description": {
      "type": "string"
    }
  },
  "$defs": {
    "Coordinates": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "format": "double"
        },
        "lon": {
          "type": "number",
          "format": "double"
        }
      }
    }
  }
}