SchemaOrg.Accommodation (SchemaOrg v0.2.0)

Copy Markdown View Source

An accommodation is a place that can accommodate human beings, e.g. a hotel room, a camping pitch, or a meeting room. Many accommodations are for overnight stays, but this is not a mandatory requirement. For more specific types of accommodations not defined in schema.org, one can use additionalType with external vocabularies.

See also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.

Summary

Functions

Builds an empty SchemaOrg.Accommodation struct.

Functions

new()

Builds an empty SchemaOrg.Accommodation struct.