OPEN FORMAT. OWNER CONTROL.
Passport Schema
Your property facts, ready to travel.
An Openstays Property Passport gives people and AI a structured description of your property: what it is, who it suits and how to contact you directly. Create and host your own without an OpenStays.AI account.
Make it yours
Start with your facts
Download the blank file and edit it as JSON. Replace empty identity fields with your property name and your own public URLs. The blank is a starting point, not a valid listing.
Describe the actual stay
Keep the property and its separately bookable units distinct. Give each unit a stable identifier and URL. Leave unknown numbers as null: zero and false mean something different from unknown.
Share only what belongs in public
Include only public information you have permission to share. Leave out private addresses, personal contact details, guest information, passwords and access codes. Publish photos only when you have the rights. A checker cannot detect every private detail inside your text.
Check, then host
Check your JSON below, download it and put it on your own HTTPS website. Serve it as application/json and link to it from your property page. Keep its URL stable and update the file when your facts change.
Check your Passport
Paste JSON or choose a file. Checking happens in your browser. Your file contents are not uploaded or included in analytics.
Start with the blank download or your own public Passport JSON.
Check without a connection
Download the offline checker and keep it with your JSON file. With Node.js 20 or later installed, run the command below. No account, application credentials or network connection is needed to check a file.
node validate.mjs passport.jsonThe checker reports field paths and issue codes, never your file contents. A non-zero exit status means the check did not pass.
Full Passport conformance requires the JSON Schema structure and the shared checker's consistency rules. JSON Schema alone cannot compare a unit count with an array length, detect repeated unit identifiers, compare dates or match currencies across fields. Our browser and offline checkers apply the same rules. Neither verifies property facts or ownership.
What to do with your Passport
Add it to OpenStays
Import your file from your dashboard, or paste the link where you host it. We check it, you review it, and it goes live on its own Passport page, in OpenStays search and to AI agents. It's free.
Import your Passport fileHost it on your own website too
Put the file on your website at an address that won't change, for example https://your-site.com/passport.json, and serve it as application/json. Link to it from your property page with this line:
<link rel="alternate" type="application/json" href="https://your-site.com/passport.json">Give us that link when you import, and we read it every day to keep your OpenStays Passport up to date.
AI agents find Passports through OpenStays search. A file hosted only on your own site won't appear there until you add it to OpenStays.
What the fields mean
- passport
- Your property name, document URLs, whether this describes one unit or a multi-unit property, where the facts came from, when the owner last checked them, and your logo (hosted by OpenStays, apart from the photos; null when none). An unknown check date stays null.
- location
- Your chosen public location: country as an ISO code and name, region and town, and the time zone we work out from them (for example Europe/Lisbon), so an assistant knows when your check-in time is for a guest abroad. Property type, room type, bed type and rate unit elsewhere in the file also come from fixed lists. A town-only or approximate location must not contain a street address, postcode or coordinates. Since 2.15 also distances: how far the beach, the town centre, the airport and other places are, in your own unit, with the time on foot, by car or otherwise when you give it.
- units
- The actual bookable units with their stable identifiers, guest capacity, bedrooms, beds, bathrooms and layout. Null means not stated; zero means none.
- key_facts
- Check-in and check-out times, pets, children, smoking, events and weddings (allowed, not_allowed or by_request), the most guests for an event, minimum stay, lowest published price, quiet hours, cancellation category, booking confirmation, deposit and balance due. Since 2.14 also the latest arrival time, and whether early check-in and late check-out are offered, with their charge. Every field is present; null means not stated.
- suitability and accessibility
- Yes or no answers for families, business travel and long stays, and for step-free access, a lift, wheelchair access and stairs. Since 2.13 also: a front door at least 81 cm wide, accessible parking, a lit path, a bedroom and a bathroom reached without steps, wide inside doors, grab rails by the toilet and in the shower, a step-free shower, a shower seat, a raised toilet, a basin a wheelchair can roll under, an emergency pull cord, and a hoist for a wheelchair or for the pool. Each is the owner's own answer. Null means not stated.
- child_safety
- Yes or no answers to four questions parents of small children ask: whether the pool is fenced with a gate that closes by itself, whether there are gates for the stairs, whether outside doors have a lock or latch placed high, and whether the garden is fenced on all sides. Each is your own statement about your property. Null means not stated.
- amenity_codes
- Amenities from a fixed list, such as wifi, pool, ac or ev_charger. A code means the property has it. Anything the list cannot express goes in information.amenities in your own words.
- registration
- Your short-term rental licence or registration number and who issued it, where the law requires one. Null when none applies.
- rates and cancellation_policy
- Published rates with their dates, currency and unit, and the cancellation terms as you state them. Prices are not live quotes. Never apply a whole-property price to every unit.
- descriptions and information
- Your own words: descriptions, highlights, spaces, location notes, pricing and fees, booking rules, policies and critical caveats. One fact per entry. An empty list means nothing stated, not that a feature is absent.
- contact_routes
- The owner's public contact routes, in their order of preference. The owner's website is the place to book. Email, phone, WhatsApp and iMessage routes are for questions.
- external_links
- Your other public pages: listings on other sites, your guests' reviews on Google, Tripadvisor, Airbnb or elsewhere, and social profiles. Each link carries its kind and platform, read from the address. We show the link only, never the reviews or ratings.
- electricity
- Your property's voltage, frequency and plug types, as you state them, and the voltage of any sockets that differ, such as 110 V sockets beside 220 V. The editor offers your country's standard to confirm. Null and an empty list mean not stated.
- photos
- Images you have the rights to. You remain responsible for permission and continued access to externally hosted images.
- availability
- Booked dates from your live calendar (iCal), read every 3 hours, for the next 24 months. Each stay ends on its departure day. A date not listed as booked is not confirmed as available; the owner's calendar may not open that far. Your calendar link stays private; only the dates are shown. Null when no calendar is shared or it has not been read for 2 days.
Better for which job?
Our focus is a small, checkable property description you can keep and share. That is a different job from search markup, distribution feeds and reservation messages. These are three established approaches, not a popularity ranking.
Schema.org VacationRental
A strong choice for describing your property on the wider web. It already supports partial descriptions, website links and independent publication. Our toolkit adds a focused authoring scaffold and explicit consistency checks for the Passport format; it does not replace Schema.org's reach or prove better search visibility.
Google Vacation Rentals XML
Designed for Google's Vacation Rentals integration, with listing requirements and separate price and availability feeds. A Passport can start without photos, prices or an exact address. It is not a Google distribution integration and does not satisfy Google's eligibility requirements by itself.
OpenTravel lodging messages
Built for exchanges between travel systems. The 2021A descriptive-message family already supports owner-maintained content, partial updates and source information. Our standalone JSON workflow is narrower. It does not replace OpenTravel's transaction coverage or trading-partner agreements.
Open format. Clear boundaries.
The Passport schema and DIY toolkit are MIT-licensed. That does not license customer content, photography or OpenStays.AI branding. You can create, validate and host your own Passport without an account.
Self-hosting does not add your property to OpenStays.AI search or MCP, verify ownership, guarantee AI recommendations or make bookings. Platform JSON-LD is a separate, potentially lossy projection, not this JSON Schema and not a guarantee of Google display.
Existing platform exports retain their wire-version labels. The published schema describes that public envelope and an independent-hosting mode. Neither mode includes private drafts or owner account data.