Skip to content

Commit

Permalink
allow null for some optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Mar 25, 2024
1 parent 305f7a5 commit 1d6d745
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/urbanopt/geojson/schema/site_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@
},
"underground_cables_ratio": {
"description": "Ratio of overall cables that are underground vs. overhead for RNM analysis.",
"type": "number"
"type": ["number", "null"]
},
"only_lv_consumers": {
"description": "If true, only low voltage consumers will be considered in the RNM analysis.",
"type": "boolean"
"type": ["boolean", "null"]
},
"max_number_of_lv_nodes_per_building": {
"description": "Maximum number of low voltage nodes to represent a single building.",
"type": "number"
"type": ["number", "null"]
},
"emissions": {
"description": "Should be set to true to calculate electricity emissions for the associated building.",
Expand Down Expand Up @@ -216,4 +216,4 @@
"required": [
],
"additionalProperties": false
}
}

0 comments on commit 1d6d745

Please sign in to comment.