spacescan-io / Spacescan-discussion

Config files for my GitHub profile.
https://github.com/spacescan-io
3 stars 4 forks source link

NFT - Meta data validator under tools #64

Open natsabari opened 1 year ago

natsabari commented 1 year ago

As NFT creator I want to validate the metadata with CHIP-0007 so I could mint CHIP-0007 complaint NFTS

Acceptance Criteria: I know this is done when,

Case -1: When a user on spacescan home page then view a sub-menu "metadata-validator" under More -> tools menu Once clicked it loads NFT Metadata validator page

Case -2: When a user is in NFT metadata validator page and Paste a metadata string into the text area then the validator should validate and provide the status and corrections under the text area.

Case - 3 When a user is in NFT metadata validator page and Paste a metadata if the metadata is valid show the green Tick mark symbol with text saying "Follows CHIP-0007 standard"

Case - 4 When a user is in NFT metadata validator page and Paste a metadata if the metadata is not valid show the orange cross mark symbol with text saying "Not following CHIP-0007 standard" then show the error from the schema validator below that message so user can fix it.

Ganbin commented 1 year ago

Just for info for those who want to do that manually until the feature is on Spacescan.

There is a JSON Schema in the CHIP-0007 description.

You can use this website to validate your metadata: JSON Schema Validator CHIP-0007