{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://cardano.blockfrost.io/schema/asset_onchain_metadata_cip25", "title": "Asset Onchain Metadata Cip25", "type": "object", "additionalProperties": true, "description": "On-chain metadata stored in the minting transaction under label 721,\nwhich adheres to https://cips.cardano.org/cips/cip25/\n", "properties": { "name": { "type": "string", "description": "Name of the asset", "example": "My NFT token" }, "image": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "URI(s) of the associated asset", "example": "ipfs://ipfs/QmfKyJ4tuvHowwKQCbCHj4L5T3fSj8cjs7Aau8V7BWv226" }, "description": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "Additional description", "example": "My NFT token description" }, "mediaType": { "type": "string", "description": "Mime sub-type of image", "example": "image/jpeg" }, "files": { "type": "array", "items": { "type": "object", "additionalProperties": true, "properties": { "name": { "type": "string", "description": "Name of the file", "example": "myimage" }, "mediaType": { "type": "string", "description": "Mime sub-type of image", "example": "image/jpeg" }, "src": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ], "description": "URI pointing to a resource of this mime type", "example": "My NFT token description" } }, "required": [ "mediaType", "src" ] } } }, "required": [ "name", "image" ] }