Standard Metadata
Standard Metadata
Standard Metadata
APIs MUST use the names listed below for commonly used metadata fields.
Name | Description | DataType | Sample Value |
---|---|---|---|
id | Globally Unique Resource Identifier | UUID/GUID | c9b0d1db-8123-4849-960e-f8e917ffd6c5 |
createdAtDateTime | Resource Create Timestamp | DateTime | 2019-10-12T07:20:50.52Z |
createdByUserTrn | The TID User that created this resource. | TRN | trn:tid:users |
createdByApplicationTrn | The TID Application that created this resource. | TRN | trn:tid:applications |
createdByDeviceTrn | The TID Device that created this resource. | TRN | trn:tid:devices |
updatedAtDateTime | Resource Update Timestamp | DateTime | 2019-10-12T07:20:50.52Z |
updatedByUserTrn | The TID User that updated this resource. | TRN | trn:tid:users |
updatedByApplicationTrn | The TID Application that updated this resource | TRN | trn:tid:applications |
updatedByDeviceTrn | The TID Device that updated this resource | TRN | trn:tid:devices |
deletedAtDateTime | Resource Delete Timestamp | DateTime | 2019-10-12T07:20:50.52Z |
deletedByUserTrn | The TID User that deleted this resource. | TRN | trn:tid:users |
deletedByApplicationTrn | The TID Application that deleted this resource. | TRN | trn:tid:applications |
deletedByDeviceTrn | The TID Device that deleted this resource. | TRN | trn:tid:devices |
The following restrictions apply to all standard metadata fields above:
-
JSON encoded date-times conforming to this requirement can be validated using JSON Schema, e.g.:
-
All change attribution (e.g., created, updated, or deleted attributes) MUST be identified by a URI. In the case of attribution by a Trimble user, attribution MUST NOT include: given name, family name, or email address. It is recommended that change attribution be identified by a Trimble Identity TRN.