Place schema
The unified SocialCrawl place or business schema. Every field, its type, per-platform availability, and a machine-readable JSON Schema, generated from the canonical Zod source.
Place schema
Every SocialCrawl endpoint that returns a place or business gives you this exact shape, whatever the source platform. Write your parser once and the same code reads place data from every platform below. That is the unified schema: one contract instead of a dozen raw upstream formats.
Field reference
| Field | Type | Nullable | Description |
|---|---|---|---|
id | string | No | Place ID (Google cid for a business, hotel_identifier for a hotel) |
name | string | Yes | Business / hotel name |
url | string | Yes | Website or canonical URL |
category | string | Yes | Primary category (e.g. "Coffee shop", "Hotel") |
rating.value | integer | Yes | |
rating.max | integer | Yes | |
reviews_count | integer | Yes | Number of ratings |
price_level | string | Yes | Price band ("inexpensive" / "$$" / null) |
address | string | Yes | |
phone | string | Yes | |
latitude | integer | Yes | |
longitude | integer | Yes | |
verified | boolean | Yes | Claimed-business flag (Google is_claimed) |
description | string | Yes | |
image_urls | string or string[] | Yes | Union: string | array | null |
categories | string[] | Yes | |
hotel.stars | integer | Yes | |
hotel.stars_description | string | Yes | |
hotel.check_in_time | string | Yes | |
hotel.check_out_time | string | Yes | |
hotel.amenities | object[] | Yes | |
hotel.review_topics | object[] | Yes | |
hotel.prices | object[] | Yes |
Platform availability
2 platforms return the Place shape. id are never null on any platform. The fields below vary: yes means the platform populates it (the value may still be null); a blank means the platform never provides it, so it is always null.
| Platform | address | categories | description | image_urls | latitude | longitude | phone | url | verified |
|---|---|---|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | yes | yes | yes | |
| Tripadvisor |
Machine-readable schema
Validate responses programmatically against the JSON Schema (2020-12):
Point a validator (Ajv, jsonschema, or your framework's) at that URL, or hand it to an agent so it can check the shape without a live call.
Returned by
Endpoints with the Place / PlaceList archetype return this shape:
See how the same fields map to each platform's raw upstream names in the cross-platform field equivalence table.
Seller schema
The unified SocialCrawl seller offer schema. Every field, its type, per-platform availability, and a machine-readable JSON Schema, generated from the canonical Zod source.
App schema
The unified SocialCrawl app-store listing schema. Every field, its type, per-platform availability, and a machine-readable JSON Schema, generated from the canonical Zod source.
