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": "Every amenity point in the suburb as GeoJSON, with category counts.",
- "example": {
- "area_level": "suburb",
- "area_name": "Belmont North",
- "categories": [
- {
- "category": "Shopping",
- "count": 32
- },
- {
- "category": "Sport & Fitness",
- "count": 26
- }
- ],
- "count": 177,
- "pois": {
- "features": [
- {
- "geometry": {
- "coordinates": [
- 151.66231,
- -33.02463
- ],
- "type": "Point"
- },
- "properties": {
- "category": "Shopping",
- "dim": "convenience",
- "name": "Ampol Foodary",
- "subtype": "newsagent"
- },
- "type": "Feature"
- }
- ],
- "type": "FeatureCollection"
- }
- },
- "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"
- },
- "categories": {
- "description": "Per-category counts across the whole suburb, largest first.",
- "items": {
- "description": "Per-display-category POI count.",
- "properties": {
- "category": {
- "description": "Display category.",
- "title": "Category",
- "type": "string"
- },
- "count": {
- "description": "POIs in the category.",
- "title": "Count",
- "type": "integer"
- }
- },
- "required": [
- "category",
- "count"
- ],
- "title": "PoiCategoryCount",
- "type": "object"
- },
- "title": "Categories",
- "type": "array"
- },
- "count": {
- "description": "POIs available in the suburb (after any `category` filter), counted before `limit`/`offset`.",
- "title": "Count",
- "type": "integer"
- },
- "pois": {
- "description": "GeoJSON FeatureCollection of points.",
- "properties": {
- "features": {
- "description": "One feature per POI.",
- "items": {
- "description": "One POI as a GeoJSON Feature.",
- "properties": {
- "geometry": {
- "description": "Point location.",
- "properties": {
- "coordinates": {
- "description": "`[longitude, latitude]` — 2 numbers, lon first per GeoJSON.",
- "items": {
- "type": "number"
- },
- "title": "Coordinates",
- "type": "array"
- },
- "type": {
- "const": "Point",
- "description": "Always 'Point'.",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "type",
- "coordinates"
- ],
- "title": "GeoJsonPointGeometry",
- "type": "object"
- },
- "properties": {
- "additionalProperties": true,
- "description": "Name/category/dim props.",
- "properties": {
- "category": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Display category (e.g. 'Restaurant / Cafe').",
- "title": "Category"
- },
- "dim": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Livability dimension the POI contributes to (e.g. 'convenience').",
- "title": "Dim"
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "POI name; null for unnamed points.",
- "title": "Name"
- },
- "subtype": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "L2 subtype — the specific venue type. Filter/count on this for a question like 'how many pubs': e.g. 'pub', 'bar', 'cafe', 'restaurant', 'gym', 'supermarket', 'school', 'pharmacy'.",
- "title": "Subtype"
- }
- },
- "title": "PoiFeatureProperties",
- "type": "object"
- },
- "type": {
- "const": "Feature",
- "description": "Always 'Feature'.",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "type",
- "geometry",
- "properties"
- ],
- "title": "PoiFeature",
- "type": "object"
- },
- "title": "Features",
- "type": "array"
- },
- "type": {
- "const": "FeatureCollection",
- "description": "Always 'FeatureCollection'.",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "type",
- "features"
- ],
- "title": "PoiFeatureCollection",
- "type": "object"
- },
- "returned": {
- "description": "Features actually in this response — equals `count` when unpaged.",
- "title": "Returned",
- "type": "integer"
- }
- },
- "required": [
- "area_name",
- "area_level",
- "count",
- "returned",
- "categories",
- "pois"
- ],
- "title": "LifestylePois",
- "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[LifestylePois]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_LifestylePois_"
-}New value: +null