# Bookings public stay schema org

`GET /public/lodging/schema-org` · Rivier · bookings

schema.org markup for a property and its published room types (type from the kind of property, address, coordinates, star rating, check-in times, languages, amenities with hours, rooms with beds and size), ready to place on a page.

- Scope: bookings:read
- Graphql: Query.publicLodgingSchemaOrg
- Sdk: bookings.publicStay.schemaOrg
- Cli: bookings public stay schema org
- Publishable: yes

## Parameters

- `propertyId` (query, required), string
- `locale` (query), string
- `url` (query), string
- `mapUrl` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/public/lodging/schema-org' \
  -H 'Authorization: Bearer $KEY'
```
