Schedule
The stable address-free answer (dictionary section 2). Says how the property was matched and how much to trust the dates without publishing the exact address.
Properties
| Name | Type | Description |
|---|---|---|
| property_id | string | Echo of the requested property id (mockup amendment 5) — clients should assert it matches what they asked for. |
| address_match | string | `exact` includes a citizen's own pick. `street`/`postcode` = council publishes at that granularity (notes explain). `postcode_representative` = a labelled same-postcode neighbour answer. It may follow |
| council | object | |
| collections | array | |
| by_date | array | The same dates as `collections[].dates`, regrouped: one entry per day on which anything is collected, soonest first, each naming its weekday and every service due. It adds no date, moves none and proj |
| date_confidence | string | `published_calendar` = real dates the council publishes. `council_projection` = dates published by the council's own projected calendar, or one next date calculated by the service's bounded normal-wee |
| date_completeness | string | Separate from validity: `next_only` is concrete next date(s), `limited_horizon` is a valid incomplete slice, `full_horizon` was verified across the serving horizon, and `weekday_only` contains council |
| evidence_granularity | string | The level at which the council publishes the schedule evidence; separate from how the requested address was matched. |
| retrieved_at | stringnull | When we fetched this from the council (answers are cached). Null for historical cached lookups whose original retrieval time was not retained; never substitute the time the cache was read. |
| refresh_due_at | stringnull | The instant this answer stops being fresh under the service's refresh policy — `retrieved_at` plus 28 days, or plus 7 days while today is within a fortnight of a UK bank holiday. Before it, the answer |
| source_revalidated_at | string | When a shared source artifact was most recently conditionally revalidated. |
| artifact_version | string | Opaque content-hash and parser-version identity for a deterministic shared calendar. |
| provisional | boolean | Present and `true` only on an INTERIM answer: a same-postcode neighbour's schedule, served in under a second while the lookup for this exact property is still running. It is always accompanied by `add |
| notes | string | Plain-English caveats written for the citizen (assisted collections, communal bins, granularity, …). |
| source_url | string | The council's own checker page ("check on your council's site"): the page the serving run actually read, else the council's known checker page from our council intel. https only. |
| uprn | string | The property's Unique Property Reference Number, present only when the service has verified it against OS Open UPRN AND public feeds are on (`PUBLIC_FEEDS=1`). It keys the shareable public calendar `h |
| council_id | string | The council's own identifier for the property (the value its address list uses), canonical form, present only when the service captured it from an exact match AND public feeds are on. Keys `https://wh |
| calendar_url | string | The property's public, subscribable iCalendar feed, present only when public feeds are on AND the Schedule carries a `uprn` or a `council_id`. Always the `uprn` form when there is a `uprn`, otherwise |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/whenisbins-com/json-schema/whenisbins-com-schedule-schema.json",
"title": "Schedule",
"description": "The stable address-free answer (dictionary section 2). Says how the property was matched and how much to trust the dates without publishing the exact address.",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/whenisbins-com-openapi.yaml#/components/schemas/Schedule",
"type": "object",
"required": [
"property_id",
"address_match",
"council",
"collections",
"by_date",
"date_confidence",
"date_completeness",
"evidence_granularity",
"retrieved_at",
"refresh_due_at"
],
"properties": {
"property_id": {
"type": "string",
"description": "Echo of the requested property id (mockup amendment 5) — clients should assert it matches what they asked for."
},
"address_match": {
"type": "string",
"description": "`exact` includes a citizen's own pick. `street`/`postcode`\n= council publishes at that granularity (notes explain).\n`postcode_representative` = a labelled same-postcode neighbour\nanswer. It may follow explicit consent, measured evidence that\npermits automatic serving, or the narrower `provisional` interim\ngate. It is never presented as an exact-property result.\n",
"enum": [
"exact",
"street",
"postcode",
"postcode_representative"
]
},
"council": {
"$ref": "#/$defs/CouncilRef"
},
"collections": {
"type": "array",
"items": {
"$ref": "#/$defs/Collection"
}
},
"by_date": {
"type": "array",
"description": "The same dates as `collections[].dates`, regrouped: one entry per\nday on which anything is collected, soonest first, each naming its\nweekday and every service due. It adds no date, moves none and\nprojects none, so it carries exactly the evidence `dates` carries\nand the same `date_confidence` and `date_completeness` apply. Empty\nwhen no service has a concrete date (`weekday_only`). Use it to\nanswer \"what is collected on this day?\" without calendar\narithmetic.\n",
"items": {
"$ref": "#/$defs/CollectionDay"
}
},
"date_confidence": {
"type": "string",
"description": "`published_calendar` = real dates the council publishes.\n`council_projection` = dates published by the council's own\nprojected calendar, or one next date calculated by the service's\nbounded normal-weekday rule (holiday changes may be missing).\nCouncil-published dates are retained through the 92-day horizon;\nonly the service's own calculation is limited to one occurrence.\n`next_collection_only` = nothing beyond the next date(s)\nexists — do not imply more is coming.\n",
"enum": [
"published_calendar",
"council_projection",
"next_collection_only"
]
},
"date_completeness": {
"type": "string",
"description": "Separate from validity: `next_only` is concrete next date(s),\n`limited_horizon` is a valid incomplete slice, `full_horizon`\nwas verified across the serving horizon, and `weekday_only`\ncontains council-published weekday wording that could not safely\nbe translated into dates. Weekday projections are\n`limited_horizon` and contain at most the next date for each\ncollection type. A nearby UK bank holiday does not suppress that\ndate; any explicit council exception the run saw takes precedence.\n",
"enum": [
"next_only",
"limited_horizon",
"full_horizon",
"weekday_only"
]
},
"evidence_granularity": {
"type": "string",
"description": "The level at which the council publishes the schedule evidence; separate from how the requested address was matched.",
"enum": [
"property",
"street",
"postcode",
"area",
"round"
]
},
"retrieved_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When we fetched this from the council (answers are cached). Null for historical cached lookups whose original retrieval time was not retained; never substitute the time the cache was read."
},
"refresh_due_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The instant this answer stops being fresh under the service's\nrefresh policy — `retrieved_at` plus 28 days, or plus 7 days while\ntoday is within a fortnight of a UK bank holiday. Before it, the\nanswer is an acceptable cache and no refresh is owed. After it, a\nread of the schedule resource queues a background refresh and\nstill returns the answer as it stands; a later read returns the\nrefreshed answer with a new `retrieved_at`, `refresh_due_at` and\n`ETag`. It is policy, not a promise of when the refresh runs. Null\nwhen `retrieved_at` is null.\n"
},
"source_revalidated_at": {
"type": "string",
"format": "date-time",
"description": "When a shared source artifact was most recently conditionally revalidated."
},
"artifact_version": {
"type": "string",
"description": "Opaque content-hash and parser-version identity for a deterministic shared calendar."
},
"provisional": {
"type": "boolean",
"description": "Present and `true` only on an INTERIM answer: a same-postcode\nneighbour's schedule, served in under a second while the lookup for\nthis exact property is still running. It is always accompanied by\n`address_match: postcode_representative`, `dates_complete: false`\non every collection, and a `notes` caveat naming the neighbour.\nThe lookup carrying it is `partial`, never `done`.\n\nAn interim is never cached: it does not appear at\n`GET /v1/schedules/{property_token}`, in a calendar feed, in a\nreminder or in an email, and it is replaced in place by the exact\nanswer as soon as that arrives. A client that treats it as final\nis misreading it — keep polling the lookup.\n\nIt is fail-closed: the council must pass the measured zero-mismatch\ngate and the postcode's held comparable neighbours must also pass\nthe serve-time verification gate. See\ndocs/interim-then-upgrade-serving-2026-08-27.md for the internal\nevidence thresholds; clients must rely on `provisional`, not\nreproduce those policies.\n"
},
"notes": {
"type": "string",
"description": "Plain-English caveats written for the citizen (assisted collections, communal bins, granularity, …)."
},
"source_url": {
"type": "string",
"format": "uri",
"description": "The council's own checker page (\"check on your council's site\"):\nthe page the serving run actually read, else the council's known\nchecker page from our council intel. https only.\n"
},
"uprn": {
"type": "string",
"description": "The property's Unique Property Reference Number, present only\nwhen the service has verified it against OS Open UPRN AND public\nfeeds are on (`PUBLIC_FEEDS=1`). It keys the shareable public\ncalendar `https://whenisbins.com/{uprn}.ics` and the\n`/schedules/uprn/{uprn}` form of this resource. Canonical digits,\nno zero padding.\n"
},
"council_id": {
"type": "string",
"description": "The council's own identifier for the property (the value its\naddress list uses), canonical form, present only when the service\ncaptured it from an exact match AND public feeds are on. Keys\n`https://whenisbins.com/{council.id}/{council_id}.ics` and the\n`/schedules/council/{gss}/{id}` form of this resource — the\npublic calendar for councils whose identifiers are not UPRNs.\n"
},
"calendar_url": {
"type": "string",
"format": "uri",
"description": "The property's public, subscribable iCalendar feed, present only\nwhen public feeds are on AND the Schedule carries a `uprn` or a\n`council_id`. Always the `uprn` form when there is a `uprn`,\notherwise `https://whenisbins.com/{council.id}/{council_id}.ics`.\nUse this value as given rather than assembling a link. It is a\nwebsite resource, not a `/v1` route: collection dates only, no\naddress or personal details, one event per collection date\n(`?per=service` for one per service, `?download=1` for a one-off\nfile). Reading it never creates a lookup. Give it to a person to\nsubscribe to; its dates are this Schedule's dates, so read\n`date_confidence` and `date_completeness` here before describing\nhow far ahead it reaches. Absent means there is no public\ncalendar for this property; never build one from `property_id`.\n"
}
},
"$defs": {
"Collection": {
"type": "object",
"description": "One waste service. Kerbside-sort councils genuinely run 6–8; never merged.",
"required": [
"name",
"waste_type",
"dates",
"dates_complete",
"bin_colour",
"lid_colour",
"colour_source",
"bin_colour_source",
"lid_colour_source",
"container",
"contents"
],
"properties": {
"name": {
"type": "string",
"description": "The service exactly as the council words it — never rewritten."
},
"waste_type": {
"type": "string",
"enum": [
"refuse",
"recycling",
"garden",
"food",
"glass",
"textiles",
"electricals",
"paper_card",
"plastics_cans",
"other"
]
},
"dates": {
"type": "array",
"description": "Upcoming dates from today through 92 days ahead, sorted. Normally council-published; a council-published normal weekday may be translated into its single next occurrence by the bounded deterministic projection rule and is labelled with schedule-level `date_confidence: council_projection`. Clients render weekday + date (\"Wednesday 12th August\") — derived, not shipped.",
"items": {
"type": "string",
"format": "date"
}
},
"schedule": {
"type": "string",
"description": "Council wording such as a weekday/time. Required when `date_completeness` is `weekday_only` and retained when it is the basis of a labelled weekday projection. Consumers must not expand it themselves."
},
"dates_complete": {
"type": "boolean",
"description": "False while a fuller calendar is being fetched, or whenever this service has no dates (including weekday_only answers). For a done lookup with missing dates, request a fresh lookup; polling the old lookup does not refresh it."
},
"bin_colour": {
"type": "string",
"description": "Legacy lookup colour field, else neutral `light_grey`. Historically includes overall wording such as blue bin. Prefer appearance for authoritative component distinctions and reviewed council profiles."
},
"lid_colour": {
"type": "string",
"description": "Defaults to the bin's colour when unstated."
},
"colour_source": {
"type": "string",
"enum": [
"council",
"default"
],
"description": "Legacy combined flag; council means at least one component was stated. Use the component flags before describing or colouring a body or lid."
},
"bin_colour_source": {
"type": "string",
"enum": [
"council",
"default"
],
"description": "Legacy provenance for bin_colour, which can describe an overall container rather than an explicit body. A default value is presentation only. Prefer appearance_occurrences for dated instructions."
},
"lid_colour_source": {
"type": "string",
"enum": [
"council",
"default"
],
"description": "Whether the lid colour was independently council-stated. A lid inherited from the body colour is default."
},
"container": {
"type": "string",
"description": "Shape derived from the service label or an explicit container noun phrase from a gated deterministic browser route, otherwise wheelie_bin. Untrusted container_kind fields and contradictory descriptions are ignored. Colour provenance alone does not establish shape evidence.",
"enum": [
"wheelie_bin",
"caddy",
"box",
"bag",
"sack",
"communal"
]
},
"appearance": {
"$ref": "#/$defs/ContainerAppearance"
},
"contents": {
"type": [
"object",
"null"
],
"description": "Compact union of the council material labels in appearance_occurrences, with markup removed and whitespace trimmed. Null means no contents evidence is held, not that the service accepts nothing. Never inferred from colour, service name or waste type. The list is not exhaustive and does not say every container takes every material: occurrence items and their conditions remain authoritative. No separate not_accepted list is available in the source material type.",
"required": [
"accepted",
"source",
"varies_by_date"
],
"properties": {
"accepted": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
},
"description": "Council labels kept whole, not split or interpreted; may include qualifications or exclusions in the council wording."
},
"source": {
"type": "string",
"enum": [
"council"
]
},
"varies_by_date": {
"type": "boolean",
"description": "True if material assignments, conditions or evidence coverage differ across dates or variants, including unknown occurrences. Consult the per-occurrence items before giving sorting instructions. False does not establish completeness."
}
}
},
"appearance_occurrences": {
"type": "array",
"description": "Preferred dated container projection. Each row belongs to an existing collection date or the existing single-weekday projection; null date means this service has no usable date. Never apply one row to another date. Missing rows are unknown. The legacy fields and appearance v1 retain their previous meanings. This field creates no dates or services.",
"items": {
"$ref": "#/$defs/ContainerOccurrence"
}
},
"subscription_required": {
"type": "boolean",
"description": "Present and true when the council's own text says this service is\npaid or opt-in. Also true for garden waste on a representative\nanswer, because dates may transfer while the exact property's\nsubscription entitlement remains unproven.\n"
}
}
},
"CollectionDay": {
"type": "object",
"description": "One day on which at least one service is collected. A view over `Schedule.collections`, never a separate source of dates.",
"required": [
"date",
"weekday",
"collections"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "A local calendar date in Europe/London, exactly as it appears in the `dates` of each service listed here."
},
"weekday": {
"type": "string",
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"description": "The weekday of `date`, worked out by the service so that a client need not. It states nothing about the council's usual collection day."
},
"collections": {
"type": "array",
"minItems": 1,
"description": "Every service due on `date`, in the order of `Schedule.collections`.",
"items": {
"type": "object",
"required": [
"name",
"waste_type"
],
"properties": {
"name": {
"type": "string",
"description": "The service's `name` in `Schedule.collections`."
},
"waste_type": {
"type": "string",
"description": "The service's `waste_type` in `Schedule.collections`."
},
"subscription_required": {
"type": "boolean",
"description": "Present and `true` when the service carries `subscription_required` in `Schedule.collections`, so an answer built from this entry alone still names the subscription."
}
}
}
}
}
},
"ContainerAppearance": {
"type": "object",
"description": "Compatible v1 appearance resolved conservatively across all dates from verified\nlookup wording or an applicable reviewed council profile. Overall colour\nis not proof of either body or lid colour. No unknown component is filled\nfrom a different source. The legacy collection colour/container fields\nremain compatibility fields and do not contain profile enrichment.\nProfile evidence must apply to every emitted date in the collection.\nSource dates are preserved; public content currently has no age expiry.\n",
"required": [
"schema_version",
"origin",
"container_kind",
"lid_presence",
"attributes",
"profile_id",
"checked_at",
"sources"
],
"properties": {
"schema_version": {
"type": "integer",
"enum": [
1
]
},
"origin": {
"type": "string",
"enum": [
"lookup",
"profile",
"unknown"
]
},
"container_kind": {
"type": "string",
"enum": [
"wheelie_bin",
"bin",
"caddy",
"box",
"bag",
"sack",
"communal",
"unknown"
]
},
"description_kind": {
"type": "string",
"description": "Optional profile wording category; container when the profile does not establish a single shape."
},
"lid_presence": {
"type": "string",
"enum": [
"present",
"absent",
"unknown"
]
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"required": [
"component",
"attribute",
"value",
"qualifier"
],
"properties": {
"component": {
"type": "string",
"enum": [
"overall",
"body",
"lid"
]
},
"attribute": {
"type": "string",
"enum": [
"colour",
"transparency"
]
},
"value": {
"type": "string"
},
"qualifier": {
"type": [
"string",
"null"
],
"description": "Qualified descriptions must not become definitive colour imagery."
}
}
}
},
"profile_id": {
"type": [
"string",
"null"
]
},
"checked_at": {
"type": [
"string",
"null"
],
"description": "Original profile evidence check timestamp; lookup observations instead use the schedule retrieval provenance."
},
"sources": {
"type": "array",
"description": "Public council guidance sources for profile evidence; lookup evidence remains attributed to the schedule source_url.",
"items": {
"type": "object",
"required": [
"url",
"title",
"publisher"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"ContainerOccurrence": {
"type": "object",
"required": [
"schema_version",
"date",
"status",
"complete",
"variants",
"sources"
],
"properties": {
"schema_version": {
"type": "integer",
"enum": [
1
]
},
"date": {
"type": [
"string",
"null"
],
"format": "date"
},
"status": {
"type": "string",
"enum": [
"resolved",
"conditional",
"partial",
"unknown"
],
"description": "Resolved describes supported objects, not proof that all household containers are known."
},
"complete": {
"type": "boolean",
"description": "True only for an unconditional, reviewed exhaustive group. A directly observed object alone does not establish completeness."
},
"sources": {
"$ref": "#/$defs/sources"
},
"variants": {
"type": "array",
"description": "Objects within a variant go together. Different variants are alternatives, never additions. Keep their conditions visible. Unknown has no variants.",
"items": {
"type": "object",
"required": [
"id",
"condition",
"complete",
"items",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"condition": {
"type": [
"string",
"null"
]
},
"complete": {
"type": "boolean"
},
"sources": {
"$ref": "#/$defs/sources"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"appearance",
"material",
"quantity"
],
"properties": {
"id": {
"type": "string",
"description": "Reviewed object identity; do not deduplicate by colour or shape."
},
"material": {
"type": [
"string",
"null"
]
},
"quantity": {
"type": [
"integer",
"null"
],
"minimum": 1,
"description": "Only an explicitly evidenced quantity; null does not imply one."
},
"appearance": {
"$ref": "#/$defs/OccurrenceContainerAppearance"
}
}
}
}
}
}
}
}
},
"CouncilRef": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "GSS code — the canonical, rename-proof council identity."
},
"name": {
"type": "string"
},
"lookup_url": {
"type": "string",
"format": "uri",
"description": "The council's own bin-day checker page, when known (https only).\nThe honest fallback for the citizen on every wait and failure —\nthe same page a served Schedule reports as `source_url`.\n"
},
"missed_bin_url": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Council-specific HTTPS operational missed-collection reporting page,\nfrom the approved verified reporting registry. Null when unavailable;\nnever substituted with the checker, broader problem or formal complaint\nroute. Returned on council discovery, lookup and schedule council objects.\nThe council's page sets its own reporting rules. WhenIsBins reads\ncollection dates only: it does not set reminders or report missed bins.\n"
},
"missed_bin_checked_at": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Registry verification date (YYYY-MM-DD) for the published reporting\nroute, not the schedule retrieval time or a live availability check.\nNull when missed_bin_url is null. Approved links remain published until\nreviewed and withdrawn or updated, even when their review date has passed.\n"
}
}
},
"OccurrenceContainerAppearance": {
"type": "object",
"description": "Same supported component semantics as appearance v1, with explicit shape evidence and the extended kind vocabulary. An overall colour may fill an identifying silhouette without becoming body/lid facts. Unknown shape is never a wheelie-bin fallback. Bare bag does not establish reusable handles.",
"required": [
"schema_version",
"origin",
"container_kind",
"lid_presence",
"attributes",
"profile_id",
"checked_at",
"sources"
],
"properties": {
"schema_version": {
"type": "integer",
"enum": [
1
]
},
"origin": {
"type": "string",
"enum": [
"lookup",
"profile",
"unknown"
]
},
"container_kind": {
"type": "string",
"enum": [
"wheelie_bin",
"bin",
"caddy",
"box",
"crate",
"bag",
"reusable_bag",
"sack",
"communal",
"bank",
"unknown"
]
},
"description_kind": {
"type": "string"
},
"lid_presence": {
"type": "string",
"enum": [
"present",
"absent",
"unknown"
]
},
"attributes": {
"$ref": "#/$defs/attributes"
},
"profile_id": {
"type": [
"string",
"null"
]
},
"checked_at": {
"type": [
"string",
"null"
]
},
"sources": {
"$ref": "#/$defs/sources"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/whenisbins-com-schedule"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.