Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow null for some optional fields #273

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}