Skip to content

Commit

Permalink
Music Token Metadata CIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWestberg committed Jul 26, 2022
1 parent bc16d56 commit e83dcb8
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions CIP-0060/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
CIP: 60
Title: Music Token Metadata
Authors: Andrew Westberg <[email protected]>, Ryan Jones <[email protected]>, Justin Morgan <[email protected]>, Ian Singer <[email protected]>, Anthony Eizmendiz <[email protected]>,
Comments-URI: no comments yet
Status: Draft
Type: Informational
Created: 2022-07-26
License: CC-BY-4.0
---

# Abstract

This proposal defines an extension to CIP-25 for token metadata specific to music tokens.

# Motivation

Music tokens on Cardano can be either NFTs or FTs and contain links to audio files. In order for players, indexers, and wallets to be able to properly search and categorize a user's music collection, we need to define a common schema for creating music on Cardano. If all parties creating these music tokens follow similar patterns, apps can consume this information and make proper use of it. The existing CIP-25 is a good base to build upon, but for a good music experience, we need to standardize additional fields that will be required specifically for music tokens.

# Specification

This CIP divides the additional metadata parameters into two categories of `Required` and `Optional`. When minting a music token on Cardano, you are expected to include ALL of the required fields. If you choose to include one or more of the optional fields, they must be named exactly as defined in this CIP. This will properly allow indexing apps and music players to utilize as much of your token metadata as possible without issues.

## Required Fields ###
| Field | Type | Example(s) | Notes |
| -------- | -------- | -------- | -------- |
| Artist | String \| Array\<String\> | "Artist": "Freddy Mercury"<br/>*or*<br/>"Artist": [<br/> "Stevie Nicks",<br/>"Tom Petty"<br/>] | |
| Album Title| String | "Album Title": "Mr. Bad Guy" | |
| Track | Integer | "Track": 1 | |
| Song Title | String | "Song Title": "Let's Turn it On" | |
| Song Duration | Integer | "Song Duration": 201000 | duration in milliseconds |
| Genre | String | "Genre": "Classic Rock" | |
| Copyright | String | "℗ 1985 Sony Records" | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |
| todo | todo | todo | |

### TODO ###
List of optional metadata fields, data type, and examples

## Examples ##

TODO

# Rationale

Implementing this simplifies and commonizes the process for creating music tokens on Cardano. It greatly simplifies the work that apps have to make when consuming such tokens.

# Copyright

This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode)

0 comments on commit e83dcb8

Please sign in to comment.