forked from DARPA-ASKEM/Model-Representations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base_schema.json
53 lines (53 loc) · 1.58 KB
/
base_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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"header": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the model."
},
"description": {
"type": "string",
"description": "A description of the model."
},
"schema": {
"type": "string",
"format": "uri",
"description": "URI of a JSON schema document that describes the model stored in the 'model' parameter."
},
"schema_name": {
"type": "string",
"description": "The ID of the schema name. E.g. `petrinet`"
},
"model_version": {
"type": "string",
"description": "The version of the model."
}
},
"required": [
"name",
"description",
"schema"
]
},
"model": {
"type": "object",
"description": "JSON representation of a model. This should contain everything needed to fully run the model, including all rates/initial parameters/distributions/etc."
},
"properties": {
"type": "object",
"description": "(Optional) Information about the model that may be used during modification or execution of the model."
},
"metadata": {
"type": "object",
"description": "(Optional) Information not useful for execution of the model, but that may be useful to some consumer in the future. E.g. creation timestamp or source paper's author."
}
},
"required": [
"header",
"model"
]
}