forked from cardano-foundation/CIPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CIP-0017.json
54 lines (54 loc) · 1.31 KB
/
CIP-0017.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
44
45
46
47
48
49
50
51
52
53
54
{ "title": "CIP-0017 - Cardano Delegation Portfolio"
, "$schema": "https://json-schema.org/draft-07/schema"
, "type": "object"
, "required":
[ "name"
, "pools"
]
, "properties":
{ "name":
{ "type": "string"
, "minLength": 1
}
, "description":
{ "type": "string"
, "minLength": 1
}
, "author":
{ "type": "string"
, "minLength": 1
}
, "pools":
{ "type": "array"
, "minItems": 1
, "items":
{ "type": "object"
, "required":
[ "id"
, "weight"
]
, "properties":
{ "id":
{ "type": "string"
, "minLength": 56
, "maxLength": 56
, "contentEncoding": "base16"
}
, "name":
{ "type": "string"
, "minLength": 1
}
, "ticker":
{ "type": "string"
, "minLength": 3
, "maxLength": 5
}
, "weight":
{ "type": "integer"
, "minimum": 1
}
}
}
}
}
}