-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta-evidence.jq
89 lines (86 loc) · 3.26 KB
/
meta-evidence.jq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Arguments:
# - nft: true: NFT registry, false: NFT collection registry
# - reg: true: registration metaevidence, false: clearing metaevidence
# - policyURI: "/ipfs/Q.../policy.pdf"
def reg: $reg;
def nft: $nft;
def tcrTitle: if nft then "Authentic NFT Registry" else "Authentic NFT Collection Registry" end;
def itemName: if nft then "NFT" else "NFT collection" end;
{
"title": "\(if reg then "Add" else "Remove" end) an \(itemName) \(if reg then "to" else "from" end) the \(tcrTitle)",
"description": "Someone requested to \(if reg then "add" else "remove" end) an \(itemName) \(if reg then "to" else "from" end) the \(tcrTitle)",
"rulingOptions": {
"titles": [
"Yes, \(if reg then "Add" else "Remove" end) It",
"No, Don't \(if reg then "Add" else "Remove" end) It"
],
"descriptions": [
"Select this if you think the \(itemName) \(if reg then "complies with the required criteria and should be added" else "does not comply with the required criteria and should be removed" end).",
"Select this if you think the \(itemName) \(if reg then "does not comply with the required criteria and should not be added" else "complies with the required criteria and should not be removed" end)."
]
},
"category": "Curated Lists",
"question": "Does the \(itemName) comply with the required criteria?",
"fileURI": $policyURI,
"evidenceDisplayInterfaceURI": "/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html",
"metadata": {
"tcrTitle": tcrTitle,
"tcrDescription": "A list of authentic \(itemName)s",
"columns": [
{
"label": "Thumbnail",
"description": (if nft then "The NFT's thumbnail" else "A thumbnail representative of the collection" end),
"type": "image",
"isIdentifier": false
},
{
"label": "Name",
"description": "Official name of the \(if nft then "NFT" else "collection" end)",
"type": "text",
"isIdentifier": true
},
{
"label": "Author",
"description": "Author's name\(if nft then "" else " if relevant" end)",
"type": "text",
"isIdentifier": true
},
{
"label": "Collection",
"description": "The collection's address",
"type": "rich address",
"isIdentifier": true
},
(if nft then {
"label": "Token ID",
"description": "The token ID",
"type": "number",
"isIdentifier": true
} else empty end),
{
"label": "Webpage",
"description": "The \(if nft then "NFT" else "collection" end)'s canonical webpage",
"type": "link",
"isIdentifier": false
},
{
"label": "Proof",
"description": "Optional proof of authenticity",
"type": "file",
"allowedFileTypes": "pdf txt"
},
{
"label": "Attribution",
"description": "Optional attribution",
"type": "long text"
}
],
"itemName": "\(itemName)",
"itemNamePlural": "\(itemName)s",
"logoURI": (if nft then "/ipfs/QmVVBTtSvdvh6MyJr9XWgfFigvpxw3uG8wEcFTfdujjBai/kmanr.png"
else "/ipfs/QmV2vTfULSHwV34y4i9WDYCHy5dyBtfivYyZQKvR6botRq/kmancr.png" end),
"requireRemovalEvidence": true,
"isTCRofTCRs": false,
"relTcrDisabled": true
}
}