https://ns.adobe.com/xdm/classes/restaurant
For restaurant information such as address, cuisine, ID and name.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Stable | No | Forbidden | Permitted | classes/restaurant.schema.json |
- Restaurant
https://ns.adobe.com/xdm/classes/restaurant- Record Schema
https://ns.adobe.com/xdm/data/record - Postal address
https://ns.adobe.com/xdm/common/address
- Record Schema
{
"xdm:acceptsReservations": true,
"xdm:restaurantName": "Sugarfire",
"xdm:restaurantID": "SFSC63301",
"xdm:cuisine": [
"barbecue"
],
"xdm:deliveryPartners": [
"grubhub",
"doordash"
],
"xdm:diningOptions": [
"delivery",
"takeout"
]
}| Property | Type | Required | Defined by |
|---|---|---|---|
| @id | string |
Optional | Record Schema |
| xdm:acceptsReservations | boolean |
Optional | Restaurant (this schema) |
| xdm:address | Postal address | Optional | Restaurant (this schema) |
| xdm:cuisine | enum[] |
Optional | Restaurant (this schema) |
| xdm:deliveryPartners | enum[] |
Optional | Restaurant (this schema) |
| xdm:diningOptions | enum[] |
Optional | Restaurant (this schema) |
| xdm:restaurantID | string |
Optional | Restaurant (this schema) |
| xdm:restaurantName | string |
Optional | Restaurant (this schema) |
* |
any | Additional | this schema allows additional properties |
A unique identifier for the record.
@id
- is optional
- type:
string - defined in Record Schema
string
- format:
uri-reference– URI Reference (according to RFC3986)
Flags if the restaurant accepts reservations.
xdm:acceptsReservations
- is optional
- type:
boolean - defined in this schema
boolean
Physicial address where the restaurant is located.
xdm:address
- is optional
- type: Postal address
- defined in this schema
- Postal address –
https://ns.adobe.com/xdm/common/address
Type of restaurant cuisine(s).
xdm:cuisine
-
is optional
-
type:
enum[] -
defined in this schema
Array type: enum[]
All items must be of the type:
string
Delivery partners available from the restaurant.
xdm:deliveryPartners
-
is optional
-
type:
enum[] -
defined in this schema
Array type: enum[]
All items must be of the type:
string
Delivery and dining options available from the restaurant.
xdm:diningOptions
-
is optional
-
type:
enum[] -
defined in this schema
Array type: enum[]
All items must be of the type:
string
ID associated with the restaurant.
xdm:restaurantID
- is optional
- type:
string - defined in this schema
string
Name associated with the restaurant.
xdm:restaurantName
- is optional
- type:
string - defined in this schema
string