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": "All nearby schools — list + ranking.",
- "example": {
- "nearby": [
- {
- "distance_m": 612,
- "name": "Belmont North Public School",
- "school_level_type": "Primary",
- "sector": "public"
- }
- ],
- "ranking": [
- {
- "attendance_rate": 0.89,
- "distance_m": 612,
- "name": "Belmont North Public School",
- "naplan_label": "Top 40%",
- "naplan_rank": 0.63,
- "school_level_type": "Primary",
- "sector": "public",
- "socioeconomic_label": "Bottom 20%",
- "socioeconomic_rank": 0.17
- }
- ]
- },
- "properties": {
- "nearby": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": true,
- "description": "One school within ~5km of the property.",
- "example": {
- "distance_m": 612,
- "id": 42002,
- "name": "Belmont North Public School",
- "school_level_type": "Primary",
- "sector": "public"
- },
- "properties": {
- "distance_m": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Distance from the property in metres.",
- "title": "Distance M"
- },
- "id": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "School identifier (MySchool ID).",
- "title": "Id"
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "School name.",
- "title": "Name"
- },
- "school_level_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Primary / Secondary / Combined.",
- "title": "School Level Type"
- },
- "sector": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "public / private.",
- "title": "Sector"
- }
- },
- "title": "SchoolNearby",
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "title": "Nearby"
- },
- "ranking": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": true,
- "description": "One school within ~5km, ranked by NAPLAN + socio-economic percentiles.",
- "example": {
- "attendance_rate": 0.89,
- "distance_m": 612,
- "id": 42002,
- "name": "Belmont North Public School",
- "naplan_label": "Top 40%",
- "naplan_rank": 0.63,
- "school_level_type": "Primary",
- "sector": "public",
- "socioeconomic_label": "Bottom 20%",
- "socioeconomic_rank": 0.17
- },
- "properties": {
- "attendance_rate": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Mean attendance rate (0–1).",
- "title": "Attendance Rate"
- },
- "distance_m": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Distance from the property in metres.",
- "title": "Distance M"
- },
- "id": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "School identifier (MySchool ID).",
- "title": "Id"
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "School name.",
- "title": "Name"
- },
- "naplan_label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Human-readable NAPLAN band — 'Top 5%', 'Top 40%', etc.",
- "title": "Naplan Label"
- },
- "naplan_rank": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "NAPLAN rank percentile (0–1, higher = better).",
- "title": "Naplan Rank"
- },
- "school_level_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Primary / Secondary / Combined.",
- "title": "School Level Type"
- },
- "sector": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "public / private.",
- "title": "Sector"
- },
- "socioeconomic_label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Human-readable affluence band.",
- "title": "Socioeconomic Label"
- },
- "socioeconomic_rank": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Socio-economic rank percentile (0–1, higher = more advantaged).",
- "title": "Socioeconomic Rank"
- }
- },
- "title": "SchoolRanking",
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "title": "Ranking"
- }
- },
- "title": "SchoolsAll",
- "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[SchoolsAll]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_SchoolsAll_"
-}New value: +null