mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-06 15:48:51 -06:00
Update JSON schema
This commit is contained in:
@@ -18,6 +18,9 @@ const schema = {
|
||||
"time horizon (years)": {
|
||||
type: "number",
|
||||
},
|
||||
"distance metric": {
|
||||
type: "string",
|
||||
},
|
||||
},
|
||||
required: ["time horizon (years)"],
|
||||
},
|
||||
@@ -159,6 +162,15 @@ const schema = {
|
||||
"initial amounts": {
|
||||
$ref: "#/definitions/InitialAmount",
|
||||
},
|
||||
"disposal limit (tonne)": {
|
||||
$ref: "#/definitions/TimeSeries",
|
||||
},
|
||||
"disposal cost ($/tonne)": {
|
||||
$ref: "#/definitions/TimeSeries",
|
||||
},
|
||||
"acquisition cost ($/tonne)": {
|
||||
$ref: "#/definitions/TimeSeries",
|
||||
},
|
||||
},
|
||||
required: ["transportation cost ($/km/tonne)"],
|
||||
},
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"time horizon (years)"
|
||||
]
|
||||
"required": ["time horizon (years)"]
|
||||
},
|
||||
"Plant": {
|
||||
"type": "object",
|
||||
@@ -50,10 +48,7 @@
|
||||
"$ref": "#/definitions/PlantLocation"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"input",
|
||||
"locations"
|
||||
]
|
||||
"required": ["input", "locations"]
|
||||
}
|
||||
},
|
||||
"PlantLocation": {
|
||||
@@ -82,9 +77,7 @@
|
||||
"$ref": "#/definitions/TimeSeries"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"cost ($/tonne)"
|
||||
]
|
||||
"required": ["cost ($/tonne)"]
|
||||
}
|
||||
},
|
||||
"storage": {
|
||||
@@ -97,10 +90,7 @@
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"cost ($/tonne)",
|
||||
"limit (tonne)"
|
||||
]
|
||||
"required": ["cost ($/tonne)", "limit (tonne)"]
|
||||
},
|
||||
"capacities (tonne)": {
|
||||
"type": "object",
|
||||
@@ -125,9 +115,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"capacities (tonne)"
|
||||
]
|
||||
"required": ["capacities (tonne)"]
|
||||
}
|
||||
},
|
||||
"InitialAmount": {
|
||||
@@ -148,9 +136,7 @@
|
||||
"$ref": "#/definitions/TimeSeries"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"amount (tonne)"
|
||||
]
|
||||
"required": ["amount (tonne)"]
|
||||
}
|
||||
},
|
||||
"Product": {
|
||||
@@ -178,11 +164,12 @@
|
||||
},
|
||||
"disposal cost ($/tonne)": {
|
||||
"$ref": "#/definitions/TimeSeries"
|
||||
},
|
||||
"acquisition cost ($/tonne)": {
|
||||
"$ref": "#/definitions/TimeSeries"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"transportation cost ($/km/tonne)"
|
||||
]
|
||||
"required": ["transportation cost ($/km/tonne)"]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -198,9 +185,5 @@
|
||||
"$ref": "#/definitions/Product"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"parameters",
|
||||
"plants",
|
||||
"products"
|
||||
]
|
||||
"required": ["parameters", "plants", "products"]
|
||||
}
|
||||
Reference in New Issue
Block a user