Metadata Standards

Please Use My Template

Music NFTs don't have an established standard for metadata, so that means we're all basically guessing. Having standardized metadata will make front ends easier to build. What standards do any NFT's really have for metadata besides the gold standard Opensea page?

The pieces of metadata needed for a web3 music dapp weren't in the metadata standards that I looked at. What I'm talking about are simple things like duration of the song, resized images, contract metadata, and more. This is why I had to come up with my own templates.

Thicc = Good

The more thicc the metadata, the better!

You can download a blank file of the metadata standards here

How To Improve Metadata Standards

We must improve metadata standards. It's important. One important first step is to make sure that you don't write things in different styles inside the same metadata file. Like using snake_case and camelCase in the same file, which some platforms do.

Standardizing music NFT metadata deserves serious attention. When everyone agrees on data organization, it becomes more efficient and enables builders to work from the same playbook. Having shared standards, with clear guidelines on where to find what, makes the entire ecosystem stronger, especially as those standards evolve over time. My goal is to see regular thicc metadata become ultra thicc one day.

snake_case vs camelCase

My suggested metadata standard files are all using snake case.

There's something called camelCase. And something else called snake_case. camelCaseLooksLikeThis. Camel case is seen a lot in Javascript. snake_case_is_all_underscores.

Is snake case named that way because the long snake of words, I don't know? I guess camel case is named that because the capitals are like humps on a camel?

Anyways, the Opensea metadata standard which to me is the base of all other metadata standards, it uses snake case exclusively. There are other metadata standards I've seen suggested by other people and they will literally use snake case and camel case in the same file which is insane to me, so for my version it's all snake case.

My take is that using snake_case and camelCase in the same piece of metadata invalidates someone's opinion.

Read even more about metadata standards here on Opensea's site.

Last updated