Table of Contents

icarResource

Description

Base class for a resource, defining self-link and meta data. Resources should use AllOf to incorporate this class.

Properties

Name Description Required Type
Self Uniform resource identifier (URI) of the resource (rel=self). No string
Meta Meta-data for the resource. Mandatory if you wish to support synchronisation. No icarMetaDataType
Location Unique location scheme and identifier combination. No icarIdentifierType

Examples

Example 1

{
  "resourceType": "resourceType",
  "@self": "@self",
  "meta": {
    "source": "source",
    "sourceId": "sourceId",
    "isDeleted": false,
    "modified": "2024-05-29T21:48:11.6409956+00:00",
    "created": "2024-05-29T21:48:11.6409972+00:00",
    "creator": "creator",
    "validFrom": "2024-05-29T21:48:11.6409997+00:00",
    "validTo": "2024-05-29T21:48:11.6410026+00:00"
  },
  "location": {
    "id": "id",
    "scheme": "scheme"
  }
}