Resource
The resource is an data structure that contains information about a file or a group of files, such as meshes, images, or sound files. The resource has three properties:
- Name: the name of the resource, represented as a string.
- Type: the type of resource, such as "mesh", "image", or "sound", represented as a string.
- Use: how do you use this reseource
The resource object provides a convenient way to store and access information about a file or a group of files.
| Key | Type | Description |
|---|---|---|
| name | string | Name of a resource |
| type | string | Type of a resource |
| use | string | How do you use this resource |
Example
Resource example
{
"name": "Great cover image of my collection",
"type": "image",
"use": "cover"
}