Advertisement
Guest User

JSON Scheme for Token Data

a guest
Aug 1st, 2022
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.81 KB | None | 0 0
  1. {
  2.     "$schema": "http://json-schema.org/draft/2019-09/schema",
  3.     "$id": "https://be.namasteapis.com/metadata/v1/137/686532091154097864185604369256683352843745515808/90328538185724285248483367863442551516755612730211791150672788743419206828034.json",
  4.     "type": "object",
  5.     "default": {},
  6.     "title": "Root Schema",
  7.     "required": [
  8.         "name",
  9.         "description",
  10.         "image",
  11.         "external_url",
  12.         "animation_url",
  13.         "attributes"
  14.     ],
  15.     "properties": {
  16.         "name": {
  17.             "type": "string",
  18.             "default": "",
  19.             "title": "The name Schema",
  20.             "examples": [
  21.                 "Prime 10th Anniversary welcomes Zupay"
  22.             ]
  23.         },
  24.         "description": {
  25.             "type": "string",
  26.             "default": "",
  27.             "title": "The description Schema",
  28.             "examples": [
  29.                 "Marking the 10th Anniversary of Prime Venture Partners. This pass belongs to parth"
  30.             ]
  31.         },
  32.         "image": {
  33.             "type": "string",
  34.             "default": "",
  35.             "title": "The image Schema",
  36.             "examples": [
  37.                 "https://live-nft-hosted-assets.s3.ap-south-1.amazonaws.com/prime-anniversary/PVP_NFT_Zupay.gif"
  38.             ]
  39.         },
  40.         "external_url": {
  41.             "type": "string",
  42.             "default": "",
  43.             "title": "The external_url Schema",
  44.             "examples": [
  45.                 "https://primevp.in/"
  46.             ]
  47.         },
  48.         "animation_url": {
  49.             "type": "string",
  50.             "default": "",
  51.             "title": "The animation_url Schema",
  52.             "examples": [
  53.                 "https://glip.gg/primevp/137/686532091154097864185604369256683352843745515808/90328538185724285248483367863442551516755612730211791150672788743419206828034"
  54.             ]
  55.         },
  56.         "attributes": {
  57.             "type": "array",
  58.             "default": [],
  59.             "title": "The attributes Schema",
  60.             "items": {
  61.                 "type": "object",
  62.                 "title": "A Schema",
  63.                 "required": [
  64.                     "trait_type",
  65.                     "value"
  66.                 ],
  67.                 "properties": {
  68.                     "trait_type": {
  69.                         "type": "string",
  70.                         "title": "The trait_type Schema",
  71.                         "examples": [
  72.                             "Prime Anniversary Year",
  73.                             "Created",
  74.                             "Serial",
  75.                             "Company"
  76.                         ]
  77.                     },
  78.                     "value": {
  79.                         "type": [
  80.                             "string",
  81.                             "integer"
  82.                         ],
  83.                         "title": "The value Schema",
  84.                         "examples": [
  85.                             "10",
  86.                             1648783800,
  87.                             1,
  88.                             "Zupay"
  89.                         ]
  90.                     },
  91.                     "display_type": {
  92.                         "type": "string",
  93.                         "title": "The display_type Schema",
  94.                         "examples": [
  95.                             "date",
  96.                             "number"
  97.                         ]
  98.                     }
  99.                 },
  100.                 "examples": [{
  101.                     "trait_type": "Prime Anniversary Year",
  102.                     "value": "10"
  103.                 },
  104.                 {
  105.                     "display_type": "date",
  106.                     "trait_type": "Created",
  107.                     "value": 1648783800
  108.                 },
  109.                 {
  110.                     "display_type": "number",
  111.                     "trait_type": "Serial",
  112.                     "value": 1
  113.                 },
  114.                 {
  115.                     "trait_type": "Company",
  116.                     "value": "Zupay"
  117.                 }]
  118.             },
  119.             "examples": [
  120.                 [{
  121.                     "trait_type": "Prime Anniversary Year",
  122.                     "value": "10"
  123.                 },
  124.                 {
  125.                     "display_type": "date",
  126.                     "trait_type": "Created",
  127.                     "value": 1648783800
  128.                 },
  129.                 {
  130.                     "display_type": "number",
  131.                     "trait_type": "Serial",
  132.                     "value": 1
  133.                 },
  134.                 {
  135.                     "trait_type": "Company",
  136.                     "value": "Zupay"
  137.                 }]
  138.             ]
  139.         }
  140.     },
  141.     "examples": [{
  142.         "name": "Prime 10th Anniversary welcomes Zupay",
  143.         "description": "Marking the 10th Anniversary of Prime Venture Partners. This pass belongs to parth",
  144.         "image": "https://live-nft-hosted-assets.s3.ap-south-1.amazonaws.com/prime-anniversary/PVP_NFT_Zupay.gif",
  145.         "external_url": "https://primevp.in/",
  146.         "animation_url": "https://glip.gg/primevp/137/686532091154097864185604369256683352843745515808/90328538185724285248483367863442551516755612730211791150672788743419206828034",
  147.         "attributes": [{
  148.             "trait_type": "Prime Anniversary Year",
  149.             "value": "10"
  150.         },
  151.         {
  152.             "display_type": "date",
  153.             "trait_type": "Created",
  154.             "value": 1648783800
  155.         },
  156.         {
  157.             "display_type": "number",
  158.             "trait_type": "Serial",
  159.             "value": 1
  160.         },
  161.         {
  162.             "trait_type": "Company",
  163.             "value": "Zupay"
  164.         }],
  165.         "buyer_name": "parth",
  166.         "creator_name": "sirfnorth",
  167.         "video_url": "https://live-nft-hosted-assets.s3.ap-south-1.amazonaws.com/prime-anniversary/PVP_NFT_Zupay.gif"
  168.     }]
  169. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement