WooCommerce · JSON-LD Context

Woocommerce Store Api Add Cart Item Context

JSON-LD context defining the semantic vocabulary for Woocommerce Store Api Add Cart Item from WooCommerce.

1 Classes 5 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

AddCartItemInput

Properties

Property Type Container
id integer
quantity integer
variationId integer
variation set
itemData 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#",
    "AddCartItemInput": "woo:AddCartItemInput",
    "id": {
      "@id": "woo:id",
      "@type": "xsd:integer"
    },
    "quantity": {
      "@id": "woo:quantity",
      "@type": "xsd:integer"
    },
    "variationId": {
      "@id": "woo:variation_id",
      "@type": "xsd:integer"
    },
    "variation": {
      "@id": "woo:variation",
      "@container": "@set"
    },
    "itemData": {
      "@id": "woo:item_data",
      "@container": "@set"
    }
  }
}