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": "POI category breakdown, terrain scalars and landmark flags.",
- "example": {
- "area_level": "suburb",
- "area_name": "Belmont North",
- "has_beach": true,
- "has_hospital": true,
- "nearest_beach_km": 1.5,
- "nearest_hospital_km": 1.4,
- "nearest_shop": {
- "category": "Supermarket",
- "dist_km": 1.2,
- "name": "Coles"
- },
- "nearest_train": {
- "dist_km": 1.4,
- "name": "Jewells railway station"
- },
- "poi_categories": [
- {
- "category": "Education",
- "count": 9,
- "top_subtypes": [
- {
- "count": 5,
- "label": "School"
- },
- {
- "count": 3,
- "label": "Childcare"
- },
- {
- "count": 1,
- "label": "Preschool"
- }
- ]
- }
- ],
- "terrain": {
- "aspect_compass": "SE",
- "avg_aspect_deg": 149,
- "median_elevation_m": 26,
- "median_slope_deg": 5.6,
- "n_flat": 698,
- "n_moderate": 830,
- "n_properties": 1759,
- "n_steep": 231,
- "pct_steep": 13
- },
- "total_pois": 43
- },
- "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"
- },
- "has_beach": {
- "description": "A beach exists within ~50 km.",
- "title": "Has Beach",
- "type": "boolean"
- },
- "has_hospital": {
- "description": "A hospital exists within ~50 km.",
- "title": "Has Hospital",
- "type": "boolean"
- },
- "nearest_beach_km": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Distance to the nearest beach (km); null when none within ~50 km.",
- "title": "Nearest Beach Km"
- },
- "nearest_hospital_km": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Distance to the nearest hospital (km); null when none within ~50 km.",
- "title": "Nearest Hospital Km"
- },
- "nearest_shop": {
- "anyOf": [
- {
- "additionalProperties": true,
- "description": "Nearest major shop / shopping centre to the suburb centroid.",
- "properties": {
- "category": {
- "description": "Shop category (e.g. 'Supermarket').",
- "title": "Category",
- "type": "string"
- },
- "dist_km": {
- "description": "Straight-line distance (km).",
- "title": "Dist Km",
- "type": "number"
- },
- "name": {
- "description": "Shop name (e.g. 'Coles').",
- "title": "Name",
- "type": "string"
- }
- },
- "required": [
- "name",
- "category",
- "dist_km"
- ],
- "title": "NearestShop",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Nearest major shop."
- },
- "nearest_train": {
- "anyOf": [
- {
- "description": "Nearest train station to the suburb centroid.",
- "properties": {
- "dist_km": {
- "description": "Straight-line distance (km).",
- "title": "Dist Km",
- "type": "number"
- },
- "name": {
- "description": "Station name.",
- "title": "Name",
- "type": "string"
- }
- },
- "required": [
- "name",
- "dist_km"
- ],
- "title": "NearestTrain",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Nearest train station."
- },
- "poi_categories": {
- "description": "Per-category POI counts, largest first.",
- "items": {
- "additionalProperties": true,
- "description": "One L1 POI category with its top subtypes.",
- "properties": {
- "category": {
- "description": "Friendly category name (e.g. 'Food Drink').",
- "title": "Category",
- "type": "string"
- },
- "count": {
- "description": "Total POIs in this category.",
- "title": "Count",
- "type": "integer"
- },
- "top_subtypes": {
- "description": "Most common subtypes inside the category.",
- "items": {
- "description": "One L2 subtype count inside a POI category.",
- "properties": {
- "count": {
- "description": "Number of POIs of this subtype.",
- "title": "Count",
- "type": "integer"
- },
- "label": {
- "description": "Subtype label, title-cased (e.g. 'Restaurant').",
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "label",
- "count"
- ],
- "title": "PoiSubtypeCount",
- "type": "object"
- },
- "title": "Top Subtypes",
- "type": "array"
- }
- },
- "required": [
- "category",
- "count",
- "top_subtypes"
- ],
- "title": "PoiCategoryBreakdown",
- "type": "object"
- },
- "title": "Poi Categories",
- "type": "array"
- },
- "terrain": {
- "anyOf": [
- {
- "additionalProperties": true,
- "description": "Pre-aggregated terrain scalars across the suburb's properties.",
- "properties": {
- "aspect_compass": {
- "description": "Average aspect as a compass point (e.g. 'SE').",
- "title": "Aspect Compass",
- "type": "string"
- },
- "avg_aspect_deg": {
- "description": "Average aspect (compass degrees, 0 = N).",
- "title": "Avg Aspect Deg",
- "type": "integer"
- },
- "median_elevation_m": {
- "description": "Median elevation (metres).",
- "title": "Median Elevation M",
- "type": "number"
- },
- "median_slope_deg": {
- "description": "Median block slope (degrees).",
- "title": "Median Slope Deg",
- "type": "number"
- },
- "n_flat": {
- "description": "Properties on flat blocks.",
- "title": "N Flat",
- "type": "integer"
- },
- "n_moderate": {
- "description": "Properties on moderate slopes.",
- "title": "N Moderate",
- "type": "integer"
- },
- "n_properties": {
- "description": "Properties with terrain data.",
- "title": "N Properties",
- "type": "integer"
- },
- "n_steep": {
- "description": "Properties on steep slopes.",
- "title": "N Steep",
- "type": "integer"
- },
- "pct_steep": {
- "description": "Share of properties on steep slopes (%).",
- "title": "Pct Steep",
- "type": "integer"
- }
- },
- "required": [
- "n_properties",
- "median_slope_deg",
- "median_elevation_m",
- "avg_aspect_deg",
- "aspect_compass",
- "n_steep",
- "n_moderate",
- "n_flat",
- "pct_steep"
- ],
- "title": "TerrainSummary",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Terrain scalars; null when no terrain data."
- },
- "total_pois": {
- "description": "Total POIs across all categories.",
- "title": "Total Pois",
- "type": "integer"
- }
- },
- "required": [
- "area_name",
- "area_level",
- "total_pois",
- "poi_categories",
- "has_beach",
- "has_hospital"
- ],
- "title": "LifestyleSummary",
- "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[LifestyleSummary]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_LifestyleSummary_"
-}New value: +null