OpenActive Developers
Data ValidatorDataset DashboardW3C Community Group
  • Welcome to our community
  • Publishing Data
    • Data Feeds
      • How an RPDE data feed works
      • Types of RDPE feed
      • Implementing RPDE
      • Testing RPDE feeds
      • Scaling RPDE feeds
    • Activity list references
    • Including geo coordinates
    • Schedules
    • Dataset Sites
    • Virtual Events
    • On-Demand Events
    • Opening Hours
    • Data Quality
  • Using data
    • Harvesting opportunity data
      • Large Integers in JavaScript
    • Tutorial: Consuming an RPDE feed
    • Attribution
  • Open Booking API
    • Key Decisions
    • Implementing booking
    • Testing booking
      • Configuring Test Suite
      • Implementing the Test Interface
        • Test Interface Actions
        • Create Opportunity Endpoint
      • Random Mode: Generating Test Opportunity Data
      • Running Test Suite
      • Generating the Conformance Certificate
  • Data Model
    • Data Model Overview
    • @context and JSON-LD
    • Types Reference
      • Action
      • AudioObject
      • BabyChanging
      • Barcode
      • BookingService
      • BooleanFormFieldSpecification
      • Brand
      • ChangingFacilities
      • ConceptScheme
      • Concept
      • CourseInstance
      • Course
      • Creche
      • CustomerAccount
      • DataCatalog
      • DataDownload
      • Dataset
      • DropdownFormFieldSpecification
      • DynamicPayment
      • Entitlement
      • EventSeries
      • Event
      • FacilityUse
      • FileUploadFormFieldSpecification
      • GeoCoordinates
      • HeadlineEvent
      • ImageObject
      • IndividualFacilityUse
      • InternalApplicationError
      • InternalLibraryConfigurationError
      • InternalLibraryError
      • Lease
      • LocationFeatureSpecification
      • Lockers
      • MediaObject
      • OfferOverride
      • Offer
      • OnDemandEvent
      • OpenBookingError
      • OpeningHoursSpecification
      • OrderItem
      • OrderProposal
      • OrderQuote
      • Order
      • Organization
      • ParagraphFormFieldSpecification
      • Parking
      • PartialSchedule
      • Payment
      • Person
      • Place
      • PostalAddress
      • PriceSpecification
      • PrivacyPolicy
      • PropertyValueSpecification
      • PropertyValue
      • QuantitativeValue
      • Schedule
      • ScheduledSession
      • SessionSeries
      • ShortAnswerFormFieldSpecification
      • Showers
      • Slot
      • SportsActivityLocation
      • TaxChargeSpecification
      • TermsOfUse
      • Terms
      • Toilets
      • Towels
      • VideoObject
      • VirtualLocation
      • WebAPI
  • Specifications
    • Specifications Overview
  • Useful links
    • Data Visualiser
    • Data Validator
    • Dataset Dashboard
    • Non-technical Guidance
  • OpenActive on GitHub
    • Overview
    • Activity List
    • Community
    • Controlled Vocabularies
    • Dataset Publication
    • Documentation
    • Implementation Support
    • Programmes
    • RPDE
    • SKOS
    • Specifications
    • Validators
Powered by GitBook
On this page
  • Properties
  • Optional properties
Edit on GitHub
  1. Data Model
  2. Types Reference

OrderItem

This page describes the OrderItem type.

PreviousOpeningHoursSpecificationNextOrderProposal

Last updated 11 months ago

This type is derived from , which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Optional properties

Property
Expected Type
Description

@type

Must always be present and set to "@type": "OrderItem"

@id

A unique URI-based identifier for the record.

The primary purpose of the URI format in this context is to provide natural namespacing for the identifier. Hence, the URI itself may not resolve to a valid endpoint, but must use a domain name controlled by the resource owner (the organisation responsible for the OpenActive open data feed).

Example

"@id": "https://api.example.com/orders/1a80eca5-99f1-4e9a-81da-937e5621b246#/orderedItem/12345"

acceptedOffer

The offer from the associated orderedItem that has been selected by the Customer. The price of this includes or excludes tax depending on the taxMode of the Order.

accessChannel

Channel through which the user can participate in the Opportunity. Not applicable for an OrderQuote.

accessCode

PropertyValue that contains a text value usable for entrance. Not applicable for an OrderQuote.

accessPass

ImageObject or Barcode that contains reference to an asset (e.g. Barcode, QR code image or PDF) usable for entrance. Not applicable for an OrderQuote.

attendee

The person attending the Opportunity related to the OrderItem.

attendeeDetailsRequired

The properties of schema:Person that are required to describe an attendee for this OrderItem.

cancellationMessage

A message set by the Seller in the event of Opportunity cancellation, only applicable for an Order and where the OrderItem has orderItemStatus set to https://openactive.io/SellerCancelled

customerNotice

A message set by the Seller to trigger a notification to the Customer, only applicable for an Order and where the OrderItem has orderItemStatus set to https://openactive.io/OrderItemConfirmed or https://openactive.io/CustomerAttended

error

Array of errors related to the OrderItem being included in the Order, only applicable for an OrderQuote.

orderItemIntakeForm

PropertyValueSpecifications that describe fields in the orderItemIntakeForm.

orderItemIntakeFormResponse

PropertyValues that contains a text value responses to the orderItemIntakeForm.

orderItemStatus

Except as otherwise noted, the content of this page is licensed under the , and code samples are licensed under the , for anyone to access, use and share; using attribution "".

@id properties are used as identifiers for compatibility with JSON-LD. The value of such a property must always be an absolute URI that provides a stable globally unique identifier for the resource, as described in .

- or - @id reference

Array of

Array of

Array of

Array of

Array of

Array of

  </td>
</tr>
<tr>
  <td style="text-align:left"><b>orderedItem</b></td>
  <td style="text-align:left">
    <a href="https://developer.openactive.io/data-model/types/event"><code>Event</code></a><br/> - or - <br/><code>@id</code> reference
  </td>
  <td style="text-align:left">
    <p>The specific bookable Thing that has been selected by the Customer. See the [Modelling-Opportunity-Data] for more information on these types. Note that the Broker Request and Orders feed only require id within these objects to be included; in these contexts, all other properties are ignored.</p>
  </td>
</tr>
<tr>
  <td style="text-align:left"><b>position</b></td>
  <td style="text-align:left">
    <a href="https://schema.org/Integer"><code>Integer</code></a>
  </td>
  <td style="text-align:left">
    <p>An integer representing the order of OrderItems within the array.</p>
  </td>
</tr>
<tr>
  <td style="text-align:left"><b>unitTaxSpecification</b></td>
  <td style="text-align:left">
    Array of <a href="https://developer.openactive.io/data-model/types/taxchargespecification"><code>TaxChargeSpecification</code></a>
  </td>
  <td style="text-align:left">
    <p>Breakdown of tax payable for the OrderItem.</p>
  </td>
</tr>
https://schema.org/OrderItem
Creative Commons Attribution License (CC-BY V4.0)
MIT License
OpenActive
Text
URL
RFC3986
Offer
VirtualLocation
PropertyValue
ImageObject
Person
Property
Text
Text
OpenBookingError
PropertyValueSpecification
PropertyValue
OrderItemStatus