WooCommerce · JSON-LD Context

Woocommerce Rest Api Product Variation Context

JSON-LD context defining the semantic vocabulary for Woocommerce Rest Api Product Variation 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

ProductVariationInput name

Properties

Property Type Container
sku string
regularPrice string
salePrice string
status string
manageStock boolean
stockQuantity integer
stockStatus string
image reference
id integer
src reference
alt string
attributes 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#",
    "ProductVariationInput": "woo:ProductVariationInput",
    "sku": {
      "@id": "woo:sku",
      "@type": "xsd:string"
    },
    "regularPrice": {
      "@id": "woo:regular_price",
      "@type": "xsd:string"
    },
    "salePrice": {
      "@id": "woo:sale_price",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "woo:status",
      "@type": "xsd:string"
    },
    "manageStock": {
      "@id": "woo:manage_stock",
      "@type": "xsd:boolean"
    },
    "stockQuantity": {
      "@id": "woo:stock_quantity",
      "@type": "xsd:integer"
    },
    "stockStatus": {
      "@id": "woo:stock_status",
      "@type": "xsd:string"
    },
    "image": {
      "@id": "woo:image",
      "@type": "@id"
    },
    "id": {
      "@id": "woo:id",
      "@type": "xsd:integer"
    },
    "src": {
      "@id": "woo:src",
      "@type": "@id"
    },
    "name": "schema:name",
    "alt": {
      "@id": "woo:alt",
      "@type": "xsd:string"
    },
    "attributes": {
      "@id": "woo:attributes",
      "@container": "@set"
    }
  }
}