API Docs for: 1.3.12
Show:

TrainStation Class

Schema.org/TrainStation A train station.

Methods

getDescription

() String

Returns the description of the thing

Returns:

String:

description of Thing

getName

() String

Returns the name of the thing

Returns:

String:

name of Thing

setDescription

(
  • description
)

Method to set Thing description

Parameters:

  • description String

    Description to set for its Thing

setName

(
  • name
)

Method to set Thing name

Parameters:

  • name String

    Name to set for this Thing

Properties

additionalProperty

PropertyValue

Schema.org/additionalProperty A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\n\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. schema:width, schema:color, schema:gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.

additionalType

URL

Schema.org/additionalType An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.

address

PostalAddress

Schema.org/address Physical address of the item.

addressCountry

LangString

http://purl.org/ctdl/terms/addressCountry Nation with its own government and occupying a particular territory identified by the two-letter ISO 3166-1 alpha-2 country code.

addressLocality

LangString

http://purl.org/ctdl/terms/addressLocality Town, city, or village in which a particular location is situtated.

addressRegion

LangString

http://purl.org/ctdl/terms/addressRegion State or province in which a particular location is situtated.

aggregateRating

AggregateRating

Schema.org/aggregateRating The overall rating, based on a collection of reviews or ratings, of the item.

alternateName

Text

Schema.org/alternateName An alias for the item.

amenityFeature

LocationFeatureSpecification

Schema.org/amenityFeature 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.

branchCode

Text

Schema.org/branchCode A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.\n\nFor example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.

containedIn

Place

Schema.org/containedIn The basic containment relation between a place and one that contains it.

containedInPlace

Place

Schema.org/containedInPlace The basic containment relation between a place and one that contains it.

containsPlace

Place

Schema.org/containsPlace The basic containment relation between a place and another that it contains.

description

LangString

Inherited from Thing but overwritten in src/main/js/cass/org.credentialengine.js:3078

http://purl.org/ctdl/terms/description Statement, characterization or account of the entity.

disambiguatingDescription

Text

Schema.org/disambiguatingDescription A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.

event

SchemaEvent

Schema.org/event Upcoming or past event associated with this place, organization, or action.

events

SchemaEvent

Schema.org/events Upcoming or past events associated with this place or organization.

faxNumber

Text

Schema.org/faxNumber The fax number.

geo

GeoCoordinates

Schema.org/geo The geo coordinates of the place.

geoURI

AnyURI

http://purl.org/ctdl/terms/geoURI Entity that describes the longitude, latitude and other location details of a place. This may define a place at any scale. Examples include a city, state, province, country, or continent.

globalLocationNumber

Text

Schema.org/globalLocationNumber The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.

hasMap

Object

Schema.org/hasMap A URL to a map of the place.

identifier

Schema, URL | schema,Text | schema,PropertyValue

Schema.org/identifier The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.

image

Schema, URL | schema,ImageObject

Schema.org/image An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].

isicV4

Text

Schema.org/isicV4 The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.

latitude

Float

http://purl.org/ctdl/terms/latitude Latitude of a location. For example 37.42242 (WGS 84)

longitude

Float

http://purl.org/ctdl/terms/longitude The longitude of a location. For example -122.08585 (WGS 84).

mainEntityOfPage

Schema, URL | schema,CreativeWork

Schema.org/mainEntityOfPage Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.

map

URL

Schema.org/map A URL to a map of the place.

maps

URL

Schema.org/maps A URL to a map of the place.

maximumAttendeeCapacity

Integer

Schema.org/maximumAttendeeCapacity The total number of individuals that may attend an event or venue.

name

LangString

Inherited from Thing but overwritten in src/main/js/cass/org.credentialengine.js:3109

http://purl.org/ctdl/terms/name Name or title of the entity.

openingHours

Text

Schema.org/openingHours 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 time. For example, 3pm is specified as 15: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>.

openingHoursSpecification

OpeningHoursSpecification

Schema.org/openingHoursSpecification The opening hours of a certain place.

photo

ImageObject

Schema.org/photo A photograph of this place.

photos

Photograph

Schema.org/photos Photographs of this place.

postalCode

String

http://purl.org/ctdl/terms/postalCode The postal code. For example, 94043.

postOfficeBoxNumber

String

http://purl.org/ctdl/terms/postOfficeBoxNumber Post office box number for post office addresses.

potentialAction

Action

Schema.org/potentialAction Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.

review

Review

Schema.org/review A review of the item.

reviews

Review

Schema.org/reviews Review of the item.

sameAs

URL

Schema.org/sameAs URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.

smokingAllowed

Boolean

Schema.org/smokingAllowed Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.

specialOpeningHoursSpecification

OpeningHoursSpecification

Schema.org/specialOpeningHoursSpecification The special opening hours of a certain place.\n\nUse this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].

streetAddress

LangString

http://purl.org/ctdl/terms/streetAddress Street address. e.g. "1600 Amphitheatre Pkwy".

targetContactPoint

ContactPoint

http://purl.org/ctdl/terms/targetContactPoint Options for contacting the organization or person.

telephone

Text

Schema.org/telephone The telephone number.

url

URL

Schema.org/url URL of the item.