forked from ethereum-lists/contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
43 lines (43 loc) · 1.6 KB
/
project.json
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/ethereum-lists/contracts/schemas/project.json",
"title": "Project",
"description": "A project in the Ethereum space",
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
"name": { "type": "string", "description": "User-friendly name of the project" },
"website": { "type": "string", "format": "url", "description": "Main website" },
"token": {
"type": "object",
"required": ["chainId", "address"],
"additionalProperties": false,
"properties": {
"chainId": { "type": "number" },
"address": { "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$" },
"name": { "type": "string" },
"symbol": { "type": "string" },
"decimals": { "type": "number" }
}
},
"social": {
"type": "object",
"additionalProperties": false,
"properties": {
"coingecko": { "type": "string", "description": "Coingecko path" },
"github": { "type": "string", "description": "Github organization" },
"twitter": { "type": "string", "description": "Twitter handle" },
"everest": { "type": "string", "description": "Everest.link project id", "pattern": "^0x[a-fA-F0-9]{40}$" }
}
},
"contacts": {
"type": "object",
"additionalProperties": false,
"properties": {
"security": { "type": "string", "format": "email", "description": "Security contact email" },
"contact": { "type": "string", "format": "email", "description": "Main contact email" }
}
}
}
}