-
Notifications
You must be signed in to change notification settings - Fork 2
/
validationSchema.json
127 lines (127 loc) · 6.1 KB
/
validationSchema.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"Version": { "type": "string" },
"ID": { "type": "string" },
"Issue Number": { "type": "string" },
"Client": {
"type": "object",
"properties": {
"Name": { "type": "string" },
"Region": { "type": "string" },
"Industry": { "type": "string" },
"Website": { "type": "string" },
"Social Media": { "type": "string" },
"Role": { "type": "string" }
},
"required": ["Name", "Region", "Industry", "Website", "Social Media", "Role"]
},
"Project": {
"type": "object",
"properties": {
"Brief history of your project and organization": { "type": "string" },
"Is this project associated with other projects/ecosystem stakeholders?": { "type": "string" },
"Describe the data being stored onto Filecoin": { "type": "string" },
"Where was the data currently stored in this dataset sourced from": { "type": "string" },
"How do you plan to prepare the dataset": { "type": "string" },
"Please share a sample of the data (a link to a file, an image, a table, etc., are good ways to do this.)": { "type": "string" },
"Confirm that this is a public dataset that can be retrieved by anyone on the network (i.e., no specific permissions or access rights are required to view the data)": { "type": "string" },
"What is the expected retrieval frequency for this data": { "type": "string" },
"For how long do you plan to keep this dataset stored on Filecoin": { "type": "string" },
"In which geographies do you plan on making storage deals": { "type": "string" },
"How will you be distributing your data to storage providers": { "type": "string" },
"Please list the provider IDs and location of the storage providers you will be working with. Note that it is a requirement to list a minimum of 5 unique provider IDs, and that your client address will be verified against this list in the future": { "type": "string" },
"Can you confirm that you will follow the Fil+ guideline (Data owner should engage at least 4 SPs and no single SP ID should receive >30% of a client's allocated DataCap)": { "type": "string" }
},
"required": [
"Brief history of your project and organization",
"Is this project associated with other projects/ecosystem stakeholders?",
"Describe the data being stored onto Filecoin",
"Where was the data currently stored in this dataset sourced from",
"How do you plan to prepare the dataset",
"Please share a sample of the data (a link to a file, an image, a table, etc., are good ways to do this.)",
"Confirm that this is a public dataset that can be retrieved by anyone on the network (i.e., no specific permissions or access rights are required to view the data)",
"What is the expected retrieval frequency for this data",
"For how long do you plan to keep this dataset stored on Filecoin",
"In which geographies do you plan on making storage deals",
"How will you be distributing your data to storage providers",
"Please list the provider IDs and location of the storage providers you will be working with. Note that it is a requirement to list a minimum of 5 unique provider IDs, and that your client address will be verified against this list in the future",
"Can you confirm that you will follow the Fil+ guideline (Data owner should engage at least 4 SPs and no single SP ID should receive >30% of a client's allocated DataCap)"
]
},
"Datacap": {
"type": "object",
"properties": {
"Type": { "type": "string" },
"Data Type": { "type": "string" },
"Total Requested Amount": {
"type": "string",
"pattern": "\\d+(\\.\\d+)?\\s?(GiB|TiB|PiB|TB|Tb|PB|Pb)$"
},
"Single Size Dataset": { "type": "string",
"pattern": "\\d+(\\.\\d+)?\\s?(GiB|TiB|PiB|TB|Tb|PB|Pb)$"
},
"Replicas": { "type": "number" },
"Weekly Allocation": { "type": "string",
"pattern": "\\d+(\\.\\d+)?\\s?(GiB|TiB|PiB|TB|Tb|PB|Pb)$"
}
},
"required": ["Type", "Data Type", "Total Requested Amount", "Single Size Dataset", "Replicas", "Weekly Allocation"]
},
"Lifecycle": {
"type": "object",
"properties": {
"State": { "type": "string" },
"Validated At": { "type": "string" },
"Validated By": { "type": "string" },
"Active": { "type": "boolean" },
"Updated At": { "type": "string" },
"Active Request ID": { "type": "string" },
"On Chain Address": { "type": "string" },
"Multisig Address": { "type": "string" }
},
"required": [
"State",
"Validated At",
"Validated By",
"Active",
"Updated At",
"Active Request ID",
"On Chain Address",
"Multisig Address"
]
},
"Allocation Requests": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"properties": {
"ID": { "type": "string" },
"Request Type": { "type": "string" },
"Created At": { "type": "string" },
"Updated At": { "type": "string" },
"Active": { "type": "boolean" },
"Allocation Amount": { "type": "string" },
"Signers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Github Username": { "type": "string" },
"Signing Address": { "type": "string" },
"Created At": { "type": "string" },
"Message CID": { "type": "string" }
},
"required": ["Github Username", "Signing Address", "Created At", "Message CID"]
}
}
},
"required": ["ID", "Request Type", "Created At", "Updated At", "Active", "Allocation Amount", "Signers"]
}
}
},
"required": ["Version", "ID", "Issue Number", "Client", "Project", "Datacap", "Lifecycle", "Allocation Requests"],
"additionalProperties": false
}