WebSchemas/Orders enhancement

From W3C Wiki


This is an archived WebSchemas proposal Orders Schema update for schema.org. See Proposals listing for more. Note: active schema.org development is now based at github



Proposal for OrderItem and parcelDelivery addition to the Orders Schema

This page tracks a proposal to update the Orders Schema. This update has been discussed first on the public vocabs mailing list.

Overview (extracted from the mailing list)

The current Orders Schema has some drawbacks:

  • Many merchants such as Amazon, CDiscount or La Redoute handle status at the order line level: one item can be "Processing" while another of the same order (ordered in the same time) is "In Transit". In the current Orders Schema, the status is stored at the Order level, not at the Order item level, so it's impossible to represent case explained above.
  • In the current Orders Schema, there is no notion of quantity for an order item. However, in almost all e-commerce platforms, a customer can order several times the same "Offer". (For instance, you can buy 3 t-shirts with SKU ABCDE).
  • The Orders Schema does not include shipment details. However, a ParcelDelivery type already exists and a reverse property from Order to ParcelDelivery is sufficient.

Vocabulary

See the RDFa file for details.

The main additions / changes are:

  • The new type Thing > Intangible > OrderItem
  • Two new properties on Thing > Intangible > Order

RDFa proposal