WooCommerce · JSON-LD Context

Woocommerce Order Schema.Json Context

JSON-LD context defining the semantic vocabulary for Woocommerce Order Schema.Json from WooCommerce.

4 Classes 36 Properties 4 Namespaces
View Context View on GitHub

Namespaces

woo: https://woocommerce.dev/schema/
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

WooCommerce Order version dateCreated dateModified

Properties

Property Type Container
id integer
parentId integer
number string
orderKey string
createdVia string
status string
currency string
dateCreatedGmt dateTime
dateModifiedGmt dateTime
dateCompleted dateTime
datePaid dateTime
discountTotal string
discountTax string
shippingTotal string
shippingTax string
cartTax string
total string
totalTax string
pricesIncludeTax boolean
customerId integer
customerIpAddress string
customerUserAgent string
customerNote string
billing string
shipping string
paymentMethod string
paymentMethodTitle string
transactionId string
paymentUrl reference
lineItems string set
taxLines string set
shippingLines string set
feeLines string set
couponLines string set
refunds string set
metaData string set

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "woo": "https://woocommerce.dev/schema/",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "WooCommerce Order": "woo:WooCommerce Order",
    "id": {
      "@id": "woo:id",
      "@type": "xsd:integer"
    },
    "parentId": {
      "@id": "woo:parent_id",
      "@type": "xsd:integer"
    },
    "number": {
      "@id": "woo:number",
      "@type": "xsd:string"
    },
    "orderKey": {
      "@id": "woo:order_key",
      "@type": "xsd:string"
    },
    "createdVia": {
      "@id": "woo:created_via",
      "@type": "xsd:string"
    },
    "version": "schema:version",
    "status": {
      "@id": "woo:status",
      "@type": "xsd:string"
    },
    "currency": {
      "@id": "woo:currency",
      "@type": "xsd:string"
    },
    "dateCreated": "schema:dateCreated",
    "dateCreatedGmt": {
      "@id": "woo:date_created_gmt",
      "@type": "xsd:dateTime"
    },
    "dateModified": "schema:dateModified",
    "dateModifiedGmt": {
      "@id": "woo:date_modified_gmt",
      "@type": "xsd:dateTime"
    },
    "dateCompleted": {
      "@id": "woo:date_completed",
      "@type": "xsd:dateTime"
    },
    "datePaid": {
      "@id": "woo:date_paid",
      "@type": "xsd:dateTime"
    },
    "discountTotal": {
      "@id": "woo:discount_total",
      "@type": "xsd:string"
    },
    "discountTax": {
      "@id": "woo:discount_tax",
      "@type": "xsd:string"
    },
    "shippingTotal": {
      "@id": "woo:shipping_total",
      "@type": "xsd:string"
    },
    "shippingTax": {
      "@id": "woo:shipping_tax",
      "@type": "xsd:string"
    },
    "cartTax": {
      "@id": "woo:cart_tax",
      "@type": "xsd:string"
    },
    "total": {
      "@id": "woo:total",
      "@type": "xsd:string"
    },
    "totalTax": {
      "@id": "woo:total_tax",
      "@type": "xsd:string"
    },
    "pricesIncludeTax": {
      "@id": "woo:prices_include_tax",
      "@type": "xsd:boolean"
    },
    "customerId": {
      "@id": "woo:customer_id",
      "@type": "xsd:integer"
    },
    "customerIpAddress": {
      "@id": "woo:customer_ip_address",
      "@type": "xsd:string"
    },
    "customerUserAgent": {
      "@id": "woo:customer_user_agent",
      "@type": "xsd:string"
    },
    "customerNote": {
      "@id": "woo:customer_note",
      "@type": "xsd:string"
    },
    "billing": {
      "@id": "woo:billing",
      "@type": "xsd:string"
    },
    "shipping": {
      "@id": "woo:shipping",
      "@type": "xsd:string"
    },
    "paymentMethod": {
      "@id": "woo:payment_method",
      "@type": "xsd:string"
    },
    "paymentMethodTitle": {
      "@id": "woo:payment_method_title",
      "@type": "xsd:string"
    },
    "transactionId": {
      "@id": "woo:transaction_id",
      "@type": "xsd:string"
    },
    "paymentUrl": {
      "@id": "woo:payment_url",
      "@type": "@id"
    },
    "lineItems": {
      "@id": "woo:line_items",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "taxLines": {
      "@id": "woo:tax_lines",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "shippingLines": {
      "@id": "woo:shipping_lines",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "feeLines": {
      "@id": "woo:fee_lines",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "couponLines": {
      "@id": "woo:coupon_lines",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "refunds": {
      "@id": "woo:refunds",
      "@container": "@set",
      "@type": "xsd:string"
    },
    "metaData": {
      "@id": "woo:meta_data",
      "@container": "@set",
      "@type": "xsd:string"
    }
  }
}