Skip to content

TypeAndQuantityNode

A TypeAndQuantityNode is one content of a bundle, a Product whose additionalType is ProductCollection: the good (typeOfGood, a Product, ProductModel or Service), how many of it, its unit and what is done with it (BusinessFunction, Sell by default).

Modeled on schema.org/TypeAndQuantityNode ยท JSON Schema

Example

{
  "typeOfGood": {
    "at_id": "https://apis.objectsgrid.com/products/2b5f8f0e-1d0c-4d61-9a7e-5a1f0c3e9d21"
  },
  "amountOfThisGood": 2,
  "unitCode": "C62"
}

Fields

Required: typeOfGood.

Field Type Required Description
at_type TypeAndQuantityNode JSON-LD @type, the object's type name.
typeOfGood Reference to Product or ProductModel or Service Yes The good: a Product, ProductModel or Service
amountOfThisGood number How many of the good; 1 when not given
unitCode string The unit of the amount, a UN/CEFACT Common Code (3 characters) or a URL, e.g. C62 for pieces
unitText string The unit of the amount as text
businessFunction BusinessFunction What is done with the good; Sell when not given