NFT Metadata File Schema

For me, either of the versioning approaches is fine. For collections, as an interim measure it depends what we’re comfortable with - having to handle more complications with mismatching information, or the downside of lacking basic collection information (like an icon) until we have an on-chain solution.
There are other off-chain solutions like the metadata file referring to another external collections file, but I think we can probably agree that’s getting too complex for an interim measure.

{
  "version": {
    "type": "offchain-metadata",
    "standard": "NFT1",
    "minting_tool": "link or name of minting tool",
    "update_policy": "link to the update policy"
  },
  "name": "Donatello",
  "description": "The smart one",
  "traits": [
    {
      "type": "Headband Color",
      "value": "Purple"
    },
    {
      "type": "Weapon",
      "value": "Bo Staff"
    },
    {
      "type": "Strength",
      "value": 80,
      "min_value": 0,
      "max_value": 100
    },
    {
      "type": "Intelligence",
      "value": 95,
      "min_value": 0,
      "max_value": 100
    },
    {
      "type": "Agility",
      "value": 40,
      "min_value": 0,
      "max_value": 100
    },
  ],
   "collection": {
    "name": "Ninja Turtles",
    "id": "49B83117-3C25-4848-AD9C-A57F320F90C5"
    },
   "project": [
     {
       "type": "icon",
       "value": "link to the icon"
     },
     {
       "type": "banner",
       "value": "link to the banner"
     },
     {
       "type": "description",
       "value": "Description text"
     },
     {
       "type": "twitter",
       "value": "twitter handle"
     },
     {
       "type": "website",
       "value": "link to website"
     },
   ],
  "data": {
   }
}
1 Like

OpenSea supports these formats:
Image, Video, Audio, or 3D Model
File types supported: JPG, PNG, GIF, SVG, MP4, WEBM, MP3, WAV, OGG, GLB, GLTF.

Max size: 100 MB

OpenSea’s attribute types

Properties

  • Textual traits that show up as rectangles
  • Array of name, value

Levels

  • Numerical traits that show as a progress bar
  • Array of name, value, max value

Stats

  • Numerical traits that just show as numbers
  • Array of name, value, max value

Unlockable Content

  • Include unlockable content that can only be revealed by the owner of the item.
  • Enter content (access key, code to redeem, link to a file, etc) (Markdown)

Explicit & Sensitive Content

  • Set this item as explicit and sensitive content

The closed dev alpha has ended.
This topic has been moved from restricted access to public.