Unit Card Resource Object
Resource object and functionalities are subject to change
#
Attributes#
id stringA unique identifier for the object
#
name stringThe name of the unit card. This is any name the user wants to give their card.
#
media hashThe photos the owner of the unit card has uploaded. Each photo object is described below:
Property | Description |
---|---|
imageUrls list[strings] | URL pointer of the image resource |
videoUrls list[strings] | URL pointer of the video resource |
#
registry hashThe public and private registry information for the object.
Property | Description |
---|---|
public hash (see schema below) | The public registry data |
private hash (see schema below) | The private registry data |
#
public hashProperty | Description |
---|---|
status string | The status of the unit card, such as OWNED |
tokenRegistry hash (see schema below) | Set of token properties from the blockchain |
#
tokenRegistry hashProperty | Description |
---|---|
tokenId string | The ID of the token in the blockchain |
signature string | Signature of the transaction that took place to verify the owner's wallet |
#
private hashProperty | Description |
---|---|
userId string | The ID of the user that this unit card belongs to (globaliD uuid) |
createdAt datetime | The timestamp (UTC) of when this unit card was first created. |
#
redemption hashProperty | Description |
---|---|
userId string | The ID of the user that this unit card belongs to (globaliD uuid) |
createdAt datetime | The timestamp (UTC) of when this unit card was first created. |
#
metadata hashAny additional metadata associated with the object. Metadata can be anything. It is user defined, so key value pairs could be strings, ints, nested objects, etc. This is completely up to the implementation of the developer.
For more information see, Metadata object