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