Table of Contents

icarFeedReferenceType

Description

Feed Reference defines a feed product.

The icarFeedReferenceType schema inherits from icarProductReferenceType.

Properties

Name Description Required Type
Category Defines the category of the feed product. No icarFeedCategoryType
Type The scheme + id identifying the type of feed. No icarIdentifierType
Reason No icarFeedTransactionReasonType
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

{
  "category": "Concentrate",
  "type": {
    "id": "id",
    "scheme": "scheme"
  },
  "reason": "Purchased",
  "identifiers": [
    {
      "id": "id",
      "scheme": "scheme"
    }
  ],
  "family": "Animal Feeds",
  "name": "name",
  "gtin": "gtin",
  "unspc": "unspc"
}