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": "Projected voting profile, aggregated across the suburb's microburbs.",
- "example": {
- "lean": "Labor lean",
- "margin_pct": 6.7,
- "n_microburbs": 85,
- "parties": [
- {
- "label": "Labor",
- "party": "ALP",
- "pct": 38.2
- },
- {
- "label": "Liberal",
- "party": "LIB",
- "pct": 31.5
- },
- {
- "label": "Greens",
- "party": "GRN",
- "pct": 11.3
- }
- ],
- "projection": "Federal election held May 2026 (projected — not an actual vote)",
- "runner_up": {
- "label": "Liberal",
- "party": "LIB",
- "pct": 31.5
- },
- "suburb": "Belmont North",
- "winner": {
- "label": "Labor",
- "party": "ALP",
- "pct": 38.2
- }
- },
- "properties": {
- "lean": {
- "description": "Strong <party> (≥15pp) / <party> lean (≥5pp) / Marginal.",
- "title": "Lean",
- "type": "string"
- },
- "margin_pct": {
- "description": "Winner-minus-runner-up margin (pp).",
- "title": "Margin Pct",
- "type": "number"
- },
- "n_microburbs": {
- "description": "Microburbs in the aggregate.",
- "title": "N Microburbs",
- "type": "integer"
- },
- "parties": {
- "description": "All parties polling ≥0.5%, descending.",
- "items": {
- "additionalProperties": true,
- "description": "One party's projected first-preference share.",
- "properties": {
- "label": {
- "description": "Human party name.",
- "title": "Label",
- "type": "string"
- },
- "party": {
- "description": "Party code (LIB/ALP/GRN/TEAL/…).",
- "title": "Party",
- "type": "string"
- },
- "pct": {
- "description": "Projected first-preference share (%).",
- "title": "Pct",
- "type": "number"
- }
- },
- "required": [
- "party",
- "label",
- "pct"
- ],
- "title": "PartyResult",
- "type": "object"
- },
- "title": "Parties",
- "type": "array"
- },
- "projection": {
- "description": "What the projection represents (and its provenance).",
- "title": "Projection",
- "type": "string"
- },
- "runner_up": {
- "additionalProperties": true,
- "description": "Second-placed party.",
- "properties": {
- "label": {
- "description": "Human party name.",
- "title": "Label",
- "type": "string"
- },
- "party": {
- "description": "Party code (LIB/ALP/GRN/TEAL/…).",
- "title": "Party",
- "type": "string"
- },
- "pct": {
- "description": "Projected first-preference share (%).",
- "title": "Pct",
- "type": "number"
- }
- },
- "required": [
- "party",
- "label",
- "pct"
- ],
- "title": "PartyResult",
- "type": "object"
- },
- "suburb": {
- "description": "Canonical SAL name.",
- "title": "Suburb",
- "type": "string"
- },
- "winner": {
- "additionalProperties": true,
- "description": "Leading party.",
- "properties": {
- "label": {
- "description": "Human party name.",
- "title": "Label",
- "type": "string"
- },
- "party": {
- "description": "Party code (LIB/ALP/GRN/TEAL/…).",
- "title": "Party",
- "type": "string"
- },
- "pct": {
- "description": "Projected first-preference share (%).",
- "title": "Pct",
- "type": "number"
- }
- },
- "required": [
- "party",
- "label",
- "pct"
- ],
- "title": "PartyResult",
- "type": "object"
- }
- },
- "required": [
- "suburb",
- "n_microburbs",
- "projection",
- "winner",
- "runner_up",
- "margin_pct",
- "lean",
- "parties"
- ],
- "title": "SuburbVoting",
- "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[SuburbVoting]",
- "type": "object",
- "x-fastmcp-top-level-schema": "ApiResponse_SuburbVoting_"
-}New value: +null