changedOutput schema / (root)
Previous value: -{
- "properties": {
- "available": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "`false` on no-data responses. Omitted on success — branch on `data !== null` if you want a single discriminator.",
- "title": "Available"
- },
- "data": {
- "anyOf": [
- {
- "additionalProperties": true,
- "description": "Total crime rate per mesh block (choropleth-ready).",
- "example": {
- "area_level": "suburb",
- "area_name": "Belmont North",
- "definition": "Sum of the 8 modelled per-category crime rates for the mesh block (model trained on QLD Police mesh-block incidents averaged over 2020-2022, predicted for all Australian mesh blocks).",
- "mesh_blocks": {
- "10431160000": 12128.8,
- "10431170000": 1755.8,
- "10431200000": 2050.2
- },
- "metric": "total_predicted_crime_rate",
- "period": "annual",
- "unit": "predicted incidents per 100,000 residents per year"
- },
- "properties": {
- "area_level": {
- "description": "Always 'suburb' for these endpoints.",
- "title": "Area Level",
- "type": "string"
- },
- "area_name": {
- "description": "Suburb (SAL) name.",
- "title": "Area Name",
- "type": "string"
- },
- "definition": {
- "description": "One-sentence definition of the metric, including model provenance.",
- "title": "Definition",
- "type": "string"
- },
- "mesh_blocks": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "ABS 2021 mesh-block code → total crime rate: sum of all 8 modelled crime-type rates, predicted incidents per 100,000 residents per year.",
- "title": "Mesh Blocks",
- "type": "object"
- },
- "metric": {
- "description": "Always 'total_predicted_crime_rate' — what the mesh_blocks values measure.",
- "title": "Metric",
- "type": "string"
- },
- "period": {
- "description": "Always 'annual' — the rates are yearly figures.",
- "title": "Period",
- "type": "string"
- },
- "unit": {
- "description": "Unit of the mesh_blocks values — always 'predicted incidents per 100,000 residents per year'.",
- "title": "Unit",
- "type": "string"
- }
- },
- "required": [
- "area_name",
- "area_level",
- "metric",
- "unit",
- "period",
- "definition",
- "mesh_blocks"
- ],
- "title": "CrimeByMeshBlock",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The endpoint's payload, or `null` when Microburbs has no value."
- },
- "message": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Human-readable explanation. Omitted on success.",
- "title": "Message"
- },
- "reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Machine-readable slug naming the no-data condition (e.g. `no_avm_for_GANSW704074813`). Stable per endpoint. Omitted on success.",
- "title": "Reason"
- }
- },
- "title": "ApiResponse[CrimeByMeshBlock]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_CrimeByMeshBlock_"
-}New value: +null