{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "bps/community-microclimate", "title": "Community-Scale Microclimate Schema", "description": "Microclimate parameters for community scale: urban heat island, wind correction, and surface albedo.", "$defs": { "_IdentifiedObject": { "type": "object", "properties": { "identifier": { "type": "string", "pattern": "^[.A-Za-z0-9_-]+$", "minLength": 1, "maxLength": 100 }, "display_name": { "type": [ "string", "null" ] }, "user_data": { "type": [ "object", "null" ] } }, "required": [ "identifier" ] }, "MicroClimate": { "type": "object", "allOf": [ { "$ref": "#/$defs/_IdentifiedObject" }, { "type": "object", "properties": { "type": { "const": "MicroClimate" }, "uhi_intensity": { "type": "number", "description": "Urban heat island intensity in degrees Celsius" }, "wind_correction_factor": { "type": "number", "default": 1 }, "albedo": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.2 } }, "required": [ "type" ], "additionalProperties": false } ] } } }