作为NFT的元数据json的描述,有可能有多行单词吗?我在互联网上浏览了几个例子,它们都只使用了一行,比如来自NFTSchool的这一行:
{
"title": "Asset Metadata",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifies the asset to which this NFT represents"
},
"description": {
"type": "string",
"description": "Describes the asset to which this NFT represents"
},
"image": {
"type": "string",
"description": "A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive."
}
}
}这个例子的描述:
Describes the asset to which this NFT represents有可能有这样的东西可以改变像Opensea和Rarible这样的市场吗?(下面的示例应该有三行描述)
{
"title": "Asset Metadata",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Identifies the asset to which this NFT represents"
},
"description": {
"type": "string",
"description": "Describes the asset to which this NFT represents\nDescribes the asset to which this NFT represents\nDescribes the asset to which this NFT represents"
},
"image": {
"type": "string",
"description": "A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive."
}
}
}这个例子是想要的描述:
Describes the asset to which this NFT represents
Describes the asset to which this NFT represents
Describes the asset to which this NFT represents发布于 2022-10-21 05:33:09
\n可以让这些描述在Opensea上改变行。还没有在其他平台上进行测试,但它应该在任何地方都能工作。
示例:
{
description: "Line one \nLine two \nLine three"
}它将显示什么:
Line one
Line two
Line three它将自动忽略\n前后的额外空格。
https://stackoverflow.com/questions/73982041
复制相似问题