Schema: DeliveryMethod
Schema: DeliveryMethod Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: DeliveryMethod.
DeliveryEvent JSON-LD example for a XooTee order pickup from the Dunmore store. Covers accessCode, availableFrom, availableThrough, and hasDeliveryMethod with DeliveryMethod enum (the 4 properties unique to DeliveryEvent).
OrderAction JSON-LD example for ordering a product for delivery. OrderAction adds one property (deliveryMethod) on top of TradeAction's price properties.
ParcelDelivery JSON-LD example for a shipping notification email. Covers the 11 ParcelDelivery properties (trackingNumber, trackingUrl, carrier, expectedArrivalFrom, expectedArrivalUntil, hasDeliveryMethod, itemShipped, deliveryAddress, originAddress, partOfOrder, deliveryStatus) and how Gmail uses this for package tracking.
DeliveryChargeSpecification JSON-LD example for shipping-fee rules on Offers and OfferShippingDetails. PriceSpecification subtype adding appliesToDeliveryMethod and areaServed.
DeliveryMethod JSON-LD reference. 8-value Enumeration (ParcelService, LockerDelivery, OnSitePickup + 5 DeliveryMode* values) plus named-carrier subclasses (DHL, FederalExpress, UPS). Used as appliesToDeliveryMethod / availableDeliveryMethod / hasDeliveryMethod.
SendAction JSON-LD reference — TransferAction subtype with recipient and deliveryMethod. Sending an object.
ReceiveAction JSON-LD reference — TransferAction subtype with sender and deliveryMethod. Receiving an object.
TrackAction JSON-LD reference — FindAction subtype with deliveryMethod. Tracking an Order / shipment.