Skip to content

Commit

Permalink
Merge pull request #261 from urbanopt/fix_schema
Browse files Browse the repository at this point in the history
modify connectors and junctions schema
  • Loading branch information
tanushree04 authored Aug 24, 2023
2 parents 98c32b3 + 8c19470 commit 8d1b886
Show file tree
Hide file tree
Showing 4 changed files with 998 additions and 9 deletions.
8 changes: 3 additions & 5 deletions lib/urbanopt/geojson/schema/thermal_connector_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,18 @@
"$ref": "#/definitions/TemperatureType"
},
"flow_direction": {
"description": "Charcterization of connector, relative to the central plant",
"description": "Characterization of connector, relative to the central plant",
"$ref": "#/definitions/FlowDirection"
},
"user_data": {
"description": "Arbitrary user data"
}
},
"required": [
"id",
"type",
"connector_type",
"startJunctionId",
"endJunctionId",
"fluid_temperature_type",
"flow_direction"
"endJunctionId"
],
"additionalProperties": false,
"definitions": {
Expand Down
5 changes: 2 additions & 3 deletions lib/urbanopt/geojson/schema/thermal_junction_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@
}
},
"required": [
"type",
"junction_type",
"connection_type"
"id",
"type"
],
"additionalProperties": false,
"definitions": {
Expand Down
Loading

0 comments on commit 8d1b886

Please sign in to comment.