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": [
- {
- "description": "Statistical field values for one region.\n\nDefault: `fields` holds the region's values. At SAL level with `mode=sa1`,\n`fields` is omitted and `sa1s` holds a per-SA1 breakdown instead.",
- "example": {
- "fields": [
- {
- "field_code": "Median_rent_weekly",
- "field_name": "Median rent weekly",
- "label": "Median rent ($/weekly)",
- "topic": "Selected Medians and Averages",
- "value": 656
- }
- ],
- "region_code": "11303",
- "region_level": "SAL",
- "region_name": "Bondi",
- "year": 2021
- },
- "properties": {
- "fields": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": true,
- "description": "One field value for a region.",
- "properties": {
- "field_code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Stable field identifier.",
- "title": "Field Code"
- },
- "field_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Human-readable field name (e.g. 'Median rent weekly').",
- "title": "Field Name"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Clean column label for the field.",
- "title": "Label"
- },
- "topic": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Subject of the source table — context for cross-tab fields.",
- "title": "Topic"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Field value for the region.",
- "title": "Value"
- }
- },
- "title": "AreaStatValueRow",
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Field values for the region (default mode).",
- "title": "Fields"
- },
- "mode": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "'sa1' when this is a per-SA1 breakdown of a suburb.",
- "title": "Mode"
- },
- "region_code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Region code.",
- "title": "Region Code"
- },
- "region_level": {
- "description": "Region level (SAL, SA1-4, LGA, POA, …).",
- "title": "Region Level",
- "type": "string"
- },
- "region_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Region name (the SA1 code for SA1 — SA1s are unnamed).",
- "title": "Region Name"
- },
- "sa1_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Number of SA1s in the suburb (mode=sa1).",
- "title": "Sa1 Count"
- },
- "sa1s": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": true,
- "description": "Values for one SA1 within a suburb (mode=sa1).",
- "properties": {
- "fields": {
- "description": "Field values for this SA1.",
- "items": {
- "additionalProperties": true,
- "description": "One field value for a region.",
- "properties": {
- "field_code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Stable field identifier.",
- "title": "Field Code"
- },
- "field_name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Human-readable field name (e.g. 'Median rent weekly').",
- "title": "Field Name"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Clean column label for the field.",
- "title": "Label"
- },
- "topic": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Subject of the source table — context for cross-tab fields.",
- "title": "Topic"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Field value for the region.",
- "title": "Value"
- }
- },
- "title": "AreaStatValueRow",
- "type": "object"
- },
- "title": "Fields",
- "type": "array"
- },
- "region_code": {
- "description": "SA1 code.",
- "title": "Region Code",
- "type": "string"
- }
- },
- "required": [
- "region_code",
- "fields"
- ],
- "title": "AreaStatSa1",
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Per-SA1 values (mode=sa1).",
- "title": "Sa1S"
- },
- "year": {
- "default": 2021,
- "description": "Reference year.",
- "title": "Year",
- "type": "integer"
- }
- },
- "required": [
- "region_level"
- ],
- "title": "AreaStatValues",
- "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[AreaStatValues]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_AreaStatValues_"
-}New value: +null