{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/searlo-tech/json-schema/searlo-tech-places-response-schema.json",
  "title": "PlacesResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/searlo-tech-openapi.yaml#/components/schemas/PlacesResponse",
  "type": "object",
  "properties": {
    "searchParameters": {
      "type": "object",
      "additionalProperties": true
    },
    "lite": {
      "type": "boolean",
      "description": "As on /search/maps."
    },
    "page": {
      "type": "integer"
    },
    "totalResults": {
      "type": "integer"
    },
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "position": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "rating": {
            "type": [
              "number",
              "null"
            ]
          },
          "ratingCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "priceLevel": {
            "type": [
              "string",
              "null"
            ]
          },
          "phoneNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "openState": {
            "type": [
              "string",
              "null"
            ],
            "description": "As on /search/maps."
          },
          "openNow": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "businessStatus": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "OPERATIONAL",
              "CLOSED_TEMPORARILY",
              "CLOSED_PERMANENTLY",
              null
            ]
          },
          "hours": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "openingDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "openingDateText": {
            "type": [
              "string",
              "null"
            ]
          },
          "attributes": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "thumbnailUrl": {
            "type": "string"
          },
          "cid": {
            "type": [
              "string",
              "null"
            ]
          },
          "featureId": {
            "type": [
              "string",
              "null"
            ],
            "description": "The 0x...:0x... id that /search/reviews takes as featureId."
          },
          "knowledgeGraphId": {
            "type": [
              "string",
              "null"
            ]
          },
          "placeId": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "source": {
      "type": "string"
    },
    "credits": {
      "type": "number"
    }
  }
}