Table of Contents

icarFeedReferenceType

Description

Feed Reference defines a feed product.

The icarFeedReferenceType schema inherits from icarResourceReferenceType.

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
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",
  "@context": "@context",
  "@id": "@id",
  "@type": "Link",
  "identifier": {
    "id": "id",
    "scheme": "scheme"
  },
  "reltype": "reltype",
  "href": "href"
}