43 lines
2.6 KiB
JSON
43 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:LocalBusiness",
|
|
"title": "LocalBusiness",
|
|
"description": "A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "An organization such as a school, NGO, corporation, club, etc.",
|
|
"$ref": "schema:Organization"
|
|
},
|
|
{
|
|
"description": "Entities that have a somewhat fixed, physical extension.",
|
|
"$ref": "schema:Place"
|
|
}
|
|
],
|
|
"properties": {
|
|
"branchOf": {
|
|
"description": "The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].",
|
|
"$ref": "schema:Organization"
|
|
},
|
|
"currenciesAccepted": {
|
|
"description": "The currency accepted.\\n\\nUse standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\".",
|
|
"type": "string"
|
|
},
|
|
"openingHours": {
|
|
"description": "The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' separating each day. Day or time ranges are specified using a hyphen '-'.\\n\\n* Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```.\\n* Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```. \\n* Here is an example: <time itemprop=\"openingHours\" datetime=\"Tu,Th 16:00-20:00\">Tuesdays and Thursdays 4-8pm</time>.\\n* If a business is open 7 days a week, then it can be specified as <time itemprop=\"openingHours\" datetime=\"Mo-Su\">Monday through Sunday, all day</time>.",
|
|
"type": "string"
|
|
},
|
|
"paymentAccepted": {
|
|
"description": "Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.",
|
|
"oneOf": [
|
|
{ "type": "string" },
|
|
{ "type": "array", "items": { "type": "string" } }
|
|
]
|
|
},
|
|
"priceRange": {
|
|
"description": "The price range of the business, for example ```$$$```.",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|