Here is the translation of the AIT standard NFT JSON schema:
bashCopy code
{
"issuer": {
"type": "string",
"description": "Unique identifier of the NFT issuer"
},
"id": {
"type": "string",
"description": "Unique identifier of the NFT within the issuer"
},
"owner": {
"type": "string",
"description": "Ownership of the NFT, which can be a contract address"
},
"vest": {
"type": "string",
"description": "Belongs to another NFT"
},
"metadata": {
"type": "string",
"description": "Descriptive resource address, such as HTTP(s)/IPFS URI"
},
"protocol": {
"type": "string",
"description": "The protocol used by the NFT, in the format of protocol name:protocol contract address, where the address can be omitted"
},
"properties": {
"type": "array",
"description": "Set of properties for the NFT",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the property"
},
"data": {
"type": "integer" | "string" | "array",
"description": "Value of the property"
},
"slot": {
"type": "array",
"description": "Slot for inserting another NFT",
"items": {
"$ref": "#"
}
}
}
}
}
}
Issuer identifier, which should be a contract address.
Metadata should be used as much as possible to store data. It follows a MIM common standard while also being extensible to meet the data requirements of different protocols.
owner
represents the owner of the NFT but does not necessarily mean that the ownership user has actual management rights. The owner
only has management rights in the following cases:
vest
is empty.vest
does not exist.owner
of the NFT pointed to by vest
is the same as the owner
of this NFT.Vest represents the higher-level NFT to which the NFT belongs. A's vest can be B in the following two scenarios:
vest
must be B.vest
adds more flexibility to an NFT. For example, in the case of an advertising billboard NFT on a piece of land, it is not an indivisible part of the land or its essence. Therefore, it should not be designed as a property.
The original author of the NFT, which should be an address and should remain immutable.