Skip to main content

Unit Card Resource Object

Resource object and functionalities are subject to change

Attributes#

id string#

A unique identifier for the object


name string#

The name of the unit card. This is any name the user wants to give their card.


media hash#

The photos the owner of the unit card has uploaded. Each photo object is described below:

PropertyDescription
imageUrls list[strings]URL pointer of the image resource
videoUrls list[strings]URL pointer of the video resource

registry hash#

The public and private registry information for the object.

PropertyDescription
public hash (see schema below)The public registry data
private hash (see schema below)The private registry data

public hash#

PropertyDescription
status stringThe status of the unit card, such as OWNED
tokenRegistry hash (see schema below)Set of token properties from the blockchain

tokenRegistry hash#

PropertyDescription
tokenId stringThe ID of the token in the blockchain
signature stringSignature of the transaction that took place to verify the owner's wallet

private hash#

PropertyDescription
userId stringThe ID of the user that this unit card belongs to (globaliD uuid)
createdAt datetimeThe timestamp (UTC) of when this unit card was first created.

redemption hash#

PropertyDescription
userId stringThe ID of the user that this unit card belongs to (globaliD uuid)
createdAt datetimeThe timestamp (UTC) of when this unit card was first created.

metadata hash#

Any 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


Unit Card Object#

{
"id": "12f8e893eb6e4b2745750fd1",
"name": "PRO TOUR 4000",
"media": {
"imageUrls": ["https://uploads-ssl.webflow.com/5fde4907e66c0818f26338d8/5fde4a0839e49a3e2ff5cf2f_olyn_rgb_k.svg"],
"videoUrls": []
},
"registry": {
"public": {
"status": null,
"nft": {
"tokenId": null,
"blockAddress": null,
"signature": null
}
},
"private": {
"ownerId": "61533893eb922bc1567f7bd7",
"createdAt": "2021-09-28T15:46:18.893000"
}
},
"metadata": [
{
"key": "itemMetadata",
"value": {
"id": "141249953214522980",
"variant_id": 40660648558782,
"title": "PRO TOUR 4000"
}
},
{
"key": "productId",
"value": "141249953214522980",
"metaType": "RETAIL_IDENTIFIER",
"visibility": "PUBLIC"
},
{
"key": "retialPrice",
"value": [0.0, "USD"],
"metaType": "PRICE",
"visibility": "PRIVATE"
}
]
}