Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

As a User I want to validate if metadata is HIP-412 compliant #26

Open
michalrozekariane opened this issue Feb 7, 2024 · 0 comments
Open
Assignees

Comments

@michalrozekariane
Copy link
Contributor

michalrozekariane commented Feb 7, 2024

Acceptance criteria:

  • the SDK can validate an array of objects
  • the SDK can validate local directory with JSON files (using validation of an array of objects)
  • the SDK can validate single, local JSON file (using validation of an array of objects with single entry)
  • the SDK can validate all NFTs JSON metadata from an on-chain collection
    • Download collection metadata to memory
    • validate locally (using validation of an array of objects with a single entry)
  • the SDK can validate single, on-chain NFT metadata (using validation of an array of objects with single entry)
  • the SDK should return:
    • an object that contains validation errors
      • In case of non-compliant files/nfts, it should have a separate object with errors for each non-compliant file/nft.
    • a success flag that should be true if there are no validation errors
  • the validation logic should try to use code from hedera-nft-utilities / mintbox
@michalrozekariane michalrozekariane self-assigned this Feb 7, 2024
@michalrozekariane michalrozekariane converted this from a draft issue Feb 7, 2024
@michalrozekariane michalrozekariane moved this from In Progress to Code review in Hedera-NFT-SDK Feb 18, 2024
@michalrozekariane michalrozekariane moved this from Code review to Done in Hedera-NFT-SDK Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.