WooCommerce · JSON-LD Context

Woocommerce Rest Api Order Refund Context

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

OrderRefundInput

Properties

Property Type Container
amount string
reason string
refundedBy integer
apiRefund boolean
lineItems 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#",
    "OrderRefundInput": "woo:OrderRefundInput",
    "amount": {
      "@id": "woo:amount",
      "@type": "xsd:string"
    },
    "reason": {
      "@id": "woo:reason",
      "@type": "xsd:string"
    },
    "refundedBy": {
      "@id": "woo:refunded_by",
      "@type": "xsd:integer"
    },
    "apiRefund": {
      "@id": "woo:api_refund",
      "@type": "xsd:boolean"
    },
    "lineItems": {
      "@id": "woo:line_items",
      "@container": "@set"
    }
  }
}