WooCommerce · JSON-LD Context

Woocommerce Store Api Cart Customer Context

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

2 Classes 12 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

CartCustomerInput email

Properties

Property Type Container
billingAddress reference
firstName string
lastName string
company string
address1 string
address2 string
city string
state string
postcode string
country string
phone string
shippingAddress reference

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#",
    "CartCustomerInput": "woo:CartCustomerInput",
    "billingAddress": {
      "@id": "woo:billing_address",
      "@type": "@id"
    },
    "firstName": {
      "@id": "woo:first_name",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "woo:last_name",
      "@type": "xsd:string"
    },
    "company": {
      "@id": "woo:company",
      "@type": "xsd:string"
    },
    "address1": {
      "@id": "woo:address_1",
      "@type": "xsd:string"
    },
    "address2": {
      "@id": "woo:address_2",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "woo:city",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "woo:state",
      "@type": "xsd:string"
    },
    "postcode": {
      "@id": "woo:postcode",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "woo:country",
      "@type": "xsd:string"
    },
    "email": "schema:email",
    "phone": {
      "@id": "woo:phone",
      "@type": "xsd:string"
    },
    "shippingAddress": {
      "@id": "woo:shipping_address",
      "@type": "@id"
    }
  }
}