Token URI Resource Object
Resource object and functionalities are subject to change
#
Attributes#
name stringName attribute of the Unit Card object
#
image multi typeFirst occurrence in imageUrls or videoUrls from Unit Card object it is highly recommended using a permanent file storage system, (i.e. IPFS).
#
description stringThis field is extracted from a metadata field where the key is description, and the creator is the same as the one that initiated the unit card resource.
note
In order to detect this field the following parameters need to be detected in the metadata resource.
- key: description
- value: {string format}
- createdBy: {same ORG than unit card}
- metaType: NO_TYPE
- visibility: PUBLIC
For example,
If the metadata resource does not exists, or it's not properly defined. Description field will be filled with the following paragraph.
"Olyn Unit cards represent a digitized version of the real asset that can act as a Proof-of-Ownership of such asset."
#
externalUrl stringThis is the URL that will be attached in the token of the unit card.
If the parameter is not defined, the following URL will act a placeholder.
"https://rolywallet.com"
#
attributes hashArray of objects which defines certain descriptors of the unit card in the token.
By default, the following attributes are defined. In the future, all metadata resources with visibility.PUBLIC will be included in this set.