Last active
November 17, 2022 13:40
-
-
Save 0xm1kr/5831976dc3791b8e6b22bd552da393ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"doctype": "tile", | |
"content": { | |
"$id": "http://niftyschema.com/opensea.json", | |
"type": "object", | |
"title": "OpenSea NFT Metadata Schema", | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"default": {}, | |
"examples": [ | |
{ | |
"name": "Nifty Narwhal", | |
"image": "ipfs://QmPDJ136mrc1uoNALaBmwDBcDj7dkZh89yhU98pofFRy5e/nifty-narwhal.gif", | |
"attributes": [ | |
{ | |
"value": "narwhal", | |
"trait_type": "Base" | |
} | |
], | |
"description": "A rare narwhal from the depths of the internet.", | |
"external_url": "https://opensea.io/assets/0x60f80121c31a0d46b5279700f9df786054aa5ee5/616431" | |
} | |
], | |
"required": [ | |
"name", | |
"image" | |
], | |
"properties": { | |
"name": { | |
"$id": "#/properties/name", | |
"type": "string", | |
"title": "Name", | |
"default": "", | |
"examples": [ | |
"Nifty Narwhal" | |
], | |
"description": "OpenSea NFT name" | |
}, | |
"image": { | |
"$id": "#/properties/image", | |
"type": "string", | |
"title": "Image", | |
"default": "", | |
"examples": [ | |
"ipfs://QmPDJ136mrc1uoNALaBmwDBcDj7dkZh89yhU98pofFRy5e/nifty-narwhal.gif" | |
], | |
"description": "OpenSea NFT image" | |
}, | |
"attributes": { | |
"$id": "#/properties/attributes", | |
"type": "array", | |
"items": { | |
"$id": "#/properties/attributes/items", | |
"anyOf": [ | |
{ | |
"$id": "#/properties/attributes/items/anyOf/0", | |
"type": "object", | |
"title": "Attributes Item", | |
"default": {}, | |
"examples": [ | |
{ | |
"value": "narwhal", | |
"trait_type": "Base" | |
} | |
], | |
"required": [ | |
"trait_type", | |
"value" | |
], | |
"properties": { | |
"value": { | |
"$id": "#/properties/attributes/items/anyOf/0/properties/value", | |
"type": "string", | |
"title": "Trait Value", | |
"default": "", | |
"examples": [ | |
"narwhal" | |
], | |
"description": "OpenSea NFT attribute value type" | |
}, | |
"trait_type": { | |
"$id": "#/properties/attributes/items/anyOf/0/properties/trait_type", | |
"type": "string", | |
"title": "Trait Type", | |
"default": "", | |
"examples": [ | |
"Base" | |
], | |
"description": "OpenSea NFT attribute trait type" | |
} | |
}, | |
"description": "OpenSea NFT attribute" | |
} | |
] | |
}, | |
"title": "Attributes", | |
"default": [], | |
"examples": [ | |
[ | |
{ | |
"value": "narwhal", | |
"trait_type": "Base" | |
} | |
] | |
], | |
"description": "OpenSea NFT attributes" | |
}, | |
"description": { | |
"$id": "#/properties/description", | |
"type": "string", | |
"title": "Description", | |
"default": "", | |
"examples": [ | |
"A rare narwhal from the depths of the internet." | |
], | |
"description": "OpenSea NFT description" | |
}, | |
"external_url": { | |
"$id": "#/properties/external_url", | |
"type": "string", | |
"title": "External URL", | |
"default": "", | |
"examples": [ | |
"https://opensea.io/assets/0x60f80121c31a0d46b5279700f9df786054aa5ee5/616431" | |
], | |
"description": "OpenSea NFT external URL" | |
} | |
}, | |
"description": "OpenSea non-fungible token metadata schema by NiftySchema" | |
}, | |
"metadata": { | |
"schema": null, | |
"controllers": [ | |
"did:key:z6MkoC1rs2jM6EiVC5cBnhfU6i7T8BZnCzj2uacYB8uVdAJF" | |
] | |
}, | |
"signature": 2, | |
"anchorStatus": "ANCHORED", | |
"log": [ | |
{ | |
"cid": "bagcqcerafnjtkhzdgsgs65tk3qgnol4hzr7ulvmigviuuyttydg53mruuy5a", | |
"type": 0 | |
}, | |
{ | |
"cid": "bafyreidnlibxpkuhf6ni35mmb42mstiui7fz425hkp5okv3mobijjx3qyi", | |
"type": 2, | |
"timestamp": 1616761895 | |
} | |
], | |
"anchorProof": { | |
"root": "bafyreiclzzknqnumh4h22qckcrnfbglsqjdbbf5nzwic6lub4oiill2mwe", | |
"txHash": "bagjqcgzaixdocrpqivyxlxlnz76v5kmsk5pcya74zasxkkm72q3aiplh7bna", | |
"chainId": "eip155:3", | |
"blockNumber": 9912378, | |
"blockTimestamp": 1616761895 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment