-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathminimal_model_schema.json
103 lines (103 loc) · 3.02 KB
/
minimal_model_schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"overview": {
"title": "Overview",
"description": "Summary of the model functionality.",
"type": "object",
"properties": {
"modelSummary": {
"title": "What does the model do?",
"description": "A description of what the model does.",
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"datasets": {
"title": "Are there any datasets related to this model?",
"type": "array",
"widget": "dataCardSelector",
"items": {
"type": "string"
},
"uniqueItems": true
},
"metrics": {
"type": "array",
"title": "Metrics",
"widget": "metricsWidget",
"items": {
"type": "object",
"title": "",
"properties": {
"name": {
"title": "Metric name",
"type": "string"
},
"value": {
"title": "Model performance metric value",
"type": "number"
}
}
}
},
"tags": {
"title": "Descriptive tags for the model.",
"description": "These tags will be searchable and will help others find this model. Type in a tag, then press the 'enter key' to add it.",
"type": "array",
"widget": "tagSelector",
"items": {
"type": "string"
},
"uniqueItems": true
}
},
"required": [],
"additionalProperties": false
},
"anotherPage": {
"title": "Another Page",
"description": "This is a second page",
"type": "object",
"properties": {
"sectionOne": {
"title": "Section one",
"description": "This is a section",
"type": "object",
"properties": {
"q1": { "title": "Question one", "description": "This is a question", "type": "string" },
"q2": { "title": "Question two", "description": "This is a question", "type": "string" },
"q3": {
"title": "Question three",
"description": "This is a date question",
"type": "string",
"format": "date"
}
}
},
"sectionTwo": {
"title": "Section two",
"description": "This is another section",
"type": "object",
"properties": {
"questionThree": {
"title": "Question three",
"description": "This is number question",
"type": "number"
},
"questionFour": {
"title": "Question four",
"description": "This is a checkbox question",
"type": "boolean"
}
}
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}