big tings
This commit is contained in:
70
registry/schema-org/LodgingBusiness.schema.json
Normal file
70
registry/schema-org/LodgingBusiness.schema.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:LodgingBusiness",
|
||||
"title": "LodgingBusiness",
|
||||
"description": "A lodging business, such as a motel, hotel, or inn.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"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.",
|
||||
"$ref": "schema:LocalBusiness"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"amenityFeature": {
|
||||
"description": "An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:LocationFeatureSpecification" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": { "$ref": "schema:LocationFeatureSpecification" }
|
||||
}
|
||||
]
|
||||
},
|
||||
"audience": {
|
||||
"description": "An intended audience, i.e. a group for whom something was created.",
|
||||
"$ref": "schema:Audience"
|
||||
},
|
||||
"availableLanguage": {
|
||||
"description": "A language someone may use with or at the item, service or place. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]].",
|
||||
"oneOf": [
|
||||
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:Language" }] },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:Language" }]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"checkinTime": {
|
||||
"description": "The earliest someone may check into a lodging establishment.",
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "date-time" },
|
||||
{ "type": "string", "format": "time" }
|
||||
]
|
||||
},
|
||||
"checkoutTime": {
|
||||
"description": "The latest someone may check out of a lodging establishment.",
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "date-time" },
|
||||
{ "type": "string", "format": "time" }
|
||||
]
|
||||
},
|
||||
"numberOfRooms": {
|
||||
"description": "The number of rooms (excluding bathrooms and closets) of the accommodation or lodging business.\nTypical unit code(s): ROM for room or C62 for no unit. The type of room can be put in the unitText property of the QuantitativeValue.",
|
||||
"anyOf": [{ "type": "number" }, { "$ref": "schema:QuantitativeValue" }]
|
||||
},
|
||||
"petsAllowed": {
|
||||
"description": "Indicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.",
|
||||
"anyOf": [{ "type": "boolean" }, { "type": "string" }]
|
||||
},
|
||||
"starRating": {
|
||||
"description": "An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars).",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:Rating" },
|
||||
{ "type": "array", "items": { "$ref": "schema:Rating" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user