Asset Definitions Explorer

This section shows you how to use the Asset Definitions Explorer to create and manage your asset definitions.

Digital asset definition

All digital assets contain a digital asset definition, which defines several properties.
A digital asset definition describes the specific asset type(s) used by your application and determines how your digital asset is handled.
Each new TBSP deployment comes with a number of preset Digital Asset definitions: system assets and sample assets.

Using the Asset Explorer on the TBSP UI

You can use the TBSP UI to create an asset definition.
In the side navigation bar, select Asset Definitions:
Screen Shot 2020-10-26 at 9.20.32 AM
Here, all existing asset definitions are displayed.
Screen Shot 2020-10-21 at 10.05.50 AM
To create a new asset definition, select the "+" symbol on the top right-hand corner.
In the following pop-up, enter the desired parameters to create a new asset definition:
Screen Shot 2020-10-26 at 9.21.18 AM
DA_UI2
In the asset definition, you can define a number of parameters:
  • digitalAsset: give your digital asset type a name
  • digitalAssetDescription: give your digital asset type a description

In addition, you must specify the following properties for your digital asset type:

  • createTransactionAllowedBySystem: enables the system to create this asset; it's a true or false value
  • transferOwnershipAllowedBySystem: enables the system to transfer this asset between different owners; it's a true or false value
  • createTransactionAllowedByUser: enables users to create this asset; it's a true or false value
  • transferOwnershipAllowedByUser: enables users to transfer this asset; it's a true or false value
  • Divisible Asset: indicates if the asset can be divided into smaller units; it's a true or false value

Divisible Asset

If the value forDivisible Asset is set to true, the following parameters are required:
Minimum Amount Value: indicate a maximum value
Maximum Amount Value: indicate a minimum value
Here, a boundary value as a maximum amount must be specified, and the minimum value of the divisible asset must be greater than "0".
To can see all digital asset definitions of your running system, use the following route::
GET <YOUR_URL_HERE>/ng-rt-digitalAsset/assetDefinitions

Sample assets

Each fresh TBSP deployment also contains a number of sample asset definitions for demo purposes:
  • sample_demoAsset
This is a sample asset type for demo purposes.
  • sample_car
This sample asset type is used in the track and trace sample application.
  • sample_divisibleAsset
This sample asset type is divisible.
  • sample_nonDivisibleAsset
This sample asset type is non-divisible.

Delete a digital asset definition

In addition to creating digital asset definitions, you can also delete asset definitions if the following conditions are met:

  • the asset type is a non-system asset
  • no assets of that asset types have been created.

To delete an asset definition, click on the trash can symbol on the bottom left of the window. 

Screen Shot 2020-10-26 at 11.33.45 AM

Navigation

Return to the main explorer page.