Table of Contents

icarProductReferenceType

Description

Product Reference defines a specific product.

The icarProductReferenceType schema inherits from icarResourceReferenceType.

Properties

Name Description Required Type
Identifiers An array of product identifiers. No Array of  icarIdentifierType
Family The product family this product belongs to. Yes icarProductFamilyType
Name The name of the product. No string
Gtin GS1 global trade item number No string
Unspc UN service and product code No string
Context Deprecated. Tells us the type of the referenced resource object (eg. icarAnimalCore). No string
Id Deprecated - use href and identifier. Uniform resource idendentifier (URI) of the referenced resource. No uri
Type Deprecated - use reltype. Specifies whether this is a single resource Link or a Collection. No icarResourceReferenceTypeType
Identifier Provides the identifier of the referenced resource. No icarIdentifierType
Reltype Defines the relationship between the current resource and the referenced resource. Defined in well-known/relationshipCatalog.md No string
Href Where provided, this is the URI to the referenced resource. No uri

Examples

Example 1

{
  "identifiers": [
    {
      "id": "id",
      "scheme": "scheme"
    }
  ],
  "family": "Animal Feeds",
  "name": "name",
  "gtin": "gtin",
  "unspc": "unspc",
  "@context": "@context",
  "@id": "@id",
  "@type": "Link",
  "identifier": {
    "id": "id",
    "scheme": "scheme"
  },
  "reltype": "reltype",
  "href": "href"
}