Add enjin

This commit is contained in:
lash 2023-03-05 12:08:19 +00:00
parent e4e83bb0af
commit 4d1b6733fa
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 27 additions and 2 deletions

25
enjin.in.json Normal file
View File

@ -0,0 +1,25 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Enjin NFT metadata extension",
"$id": "/enjin",
"type": "object",
"properties": {
"simple_property": "example value",
"rich_property": {
"name": "Name",
"value": "123",
"display_value": "123 Example Value",
"class": "emphasis",
"css": {
"color": "#ffffff",
"font-weight": "bold",
"text-decoration": "underline"
}
},
"array_property": {
"name": "Name",
"value": [1,2,3,4],
"class": "emphasis"
}
}

View File

@ -14,8 +14,8 @@
"abcdef0123456789abcdef0123456789abcdef00abcdef0123456789abcdef00" "abcdef0123456789abcdef0123456789abcdef00abcdef0123456789abcdef00"
], ],
"attributes": { "attributes": {
"inky": "pinky", "trait_type": "Rating",
"blinky": "clyde" "value": 2.2
}, },
"namespace": "schmame", "namespace": "schmame",
"attachments": [ "attachments": [