Class definition for Asset¶
IRI: https://w3id.org/ascs-ev/envited-x/tzip21/v1/Asset
A class representing a rich metadata asset, acting as a Virtual Resource in Gaia-X.
Class Diagram¶
Inheritance¶
- Asset
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| artifactUri | 0..1anyURI |
A URI to the asset. Format: uri-reference. (Recommended for semi‑fungible and NFT tokens) | direct |
| assets | 0..* AssetShape |
An array of asset objects for describing collections or composite resources. (Optional) | direct |
| attributes | 0..* AttributeShape |
An array of attribute objects providing custom properties. Attribute names must be unique within the array. (Optional) | direct |
| blockLevel | 0..1integer |
Chain block level associated with the asset. (Optional) | direct |
| contributors | 0..*string |
Array of unique strings representing those who made substantial creative contributions. (Optional) | direct |
| creators | 0..*string |
Array of unique strings representing the primary creators of the asset. (Recommended for semi‑fungible and NFT tokens) | direct |
| date | 0..1dateTime |
A date associated with the creation or availability of the asset, per JSON Schema. (Optional) | direct |
| decimals | 1integer |
An integer defining the position of the decimal point in token balances for display purposes. (Required by TZIP-012) | direct |
| description | 0..1string |
General notes, abstracts, or summaries about the contents of an asset. (Optional) | direct |
| displayUri | 0..1anyURI |
A URI to an image of the asset for display purposes. Format: uri-reference. (Recommended for semi‑fungible and NFT tokens) | direct |
| externalUri | 0..1anyURI |
A URI with additional information about the asset. Format: uri-reference. (Optional) | direct |
| formats | 0..* FormatShape |
An array of format objects describing various representations of the asset. (Optional) | direct |
| genres | 0..*string |
Array of unique strings that describe the genres of the asset. (Optional) | direct |
| identifier | 0..1 SimulationAsset |
Links to the specific envited-x:SimulationAsset (e.g., hdmap:HdMap) that this TZIP21 service offering represents. | direct |
| isBooleanAmount | 0..1boolean |
Indicates whether an account’s balance can only be 0 or 1. Default is false. (Recommended for nonfungible tokens) | direct |
| isTransferable | 0..1boolean |
Indicates if tokens are transferable. Default is true. | direct |
| language | 0..1language |
The language of the asset’s intellectual content (per RFC 1766). (Optional) | direct |
| minter | 0..1string |
The tz address responsible for minting the asset. Expected format: tzaddress. (Recommended for semi‑fungible and NFT tokens) | direct |
| name | 0..1string |
A UTF-8 string giving a display name to the token. (Highly recommended from TZIP-012) | direct |
| publishers | 0..*string |
Array of unique strings representing those primarily responsible for distributing the asset. (Optional) | direct |
| rights | 0..1string |
A statement about the asset rights. (Optional) | direct |
| rightsUri | 0..1anyURI |
A URI linking to a statement of rights. Format: uri-reference. (Optional) | direct |
| shouldPreferSymbol | 0..1boolean |
Indicates if a symbol should be shown instead of a name. Default is false. | direct |
| symbol | 0..1string |
A UTF-8 string for the short identifier of the token (e.g. XTZ, EUR, etc.). (Highly recommended from TZIP-012) | direct |
| tags | 0..*string |
Array of unique strings that describe the subject or content of the asset. (Recommended for Multimedia NFTs) | direct |
| thumbnailUri | 0..1anyURI |
A URI to a scaled-down image for wallets/clients (max recommended size: 350x350px). Format: uri-reference. (Recommended for fungible and NFT tokens) | direct |
| ttl | 0..1integer |
Time-to-live (in seconds) for metadata caching. Default is 0 (indefinite caching). If used, it is advised not to set below 600 seconds. | direct |
| type | 0..1string |
A broad definition of the content type of the asset. (Optional) | direct |
Source¶
- OWL:
tzip21.owl.ttl - SHACL:
tzip21.shacl.ttl