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": "Per-crime-type breakdown table, highest rate first.",
- "example": {
- "area_level": "suburb",
- "area_name": "Belmont North",
- "breakdown": [
- {
- "diff_pct": 12,
- "label": "Property",
- "national_median": 898,
- "rate": 1008,
- "type": "property",
- "verdict": "Above average"
- },
- {
- "diff_pct": -12,
- "label": "Drugs",
- "national_median": 409,
- "rate": 358,
- "type": "drugs",
- "verdict": "Below average"
- }
- ],
- "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"
- },
- "breakdown": {
- "description": "One row per crime type, sorted by rate descending.",
- "items": {
- "additionalProperties": true,
- "description": "One crime type's suburb rate vs the national median.",
- "properties": {
- "diff_pct": {
- "description": "Suburb rate vs national median, rounded percentage delta.",
- "title": "Diff Pct",
- "type": "integer"
- },
- "label": {
- "description": "Display label (e.g. 'Property', 'Public Order').",
- "title": "Label",
- "type": "string"
- },
- "national_median": {
- "description": "National per-mesh-block median rate for this crime type.",
- "title": "National Median",
- "type": "number"
- },
- "rate": {
- "description": "Average rate across this suburb's mesh blocks — predicted incidents per 100,000 residents per year — rounded.",
- "title": "Rate",
- "type": "integer"
- },
- "type": {
- "description": "Machine key (e.g. 'property', 'public_order').",
- "title": "Type",
- "type": "string"
- },
- "verdict": {
- "description": "Band for the delta: 'Very low', 'Below average', 'Average', 'Above average' or 'High'.",
- "title": "Verdict",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "rate",
- "national_median",
- "diff_pct",
- "verdict"
- ],
- "title": "CrimeBreakdownRow",
- "type": "object"
- },
- "title": "Breakdown",
- "type": "array"
- },
- "unit": {
- "description": "Unit of every rate / national_median value — always 'predicted incidents per 100,000 residents per year'.",
- "title": "Unit",
- "type": "string"
- }
- },
- "required": [
- "area_name",
- "area_level",
- "unit",
- "breakdown"
- ],
- "title": "CrimeBreakdown",
- "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[CrimeBreakdown]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_CrimeBreakdown_"
-}New value: +null