Contents

@context

The open standard reference for interpreting the markup contents.

Declaration

string @context

Possible Values

http://schema.org

Overview

For JSON-LD, the @context for a reservation should always be http://schema.org, as in this example:

<script type="application/ld+json">{ "@context": "http://schema.org", "@type": "TrainReservation", "reservationId": "ASDF1234" /* more data goes here */ }}</script>

For Microdata, provide the URL as part of the itemtype, as in this example:

<section itemscope itemtype="http://schema.org/TrainReservation">
Your reservation
<span itemprop="reservationId">ASDF1234</span>
is confirmed!
/* more data goes here */
</section>

See Also

Basic Data Types