WhenIsBins · Schema

CompactSchedule

The Schedule with `?view=compact`: the same top-level fields, each collection reduced to its service facts, and `view` naming the view. A projection of the Schedule, never a different answer — it adds no date and changes no qualification. It carries no container or colour information at all; request the Schedule when a bin's appearance is needed. Field meanings are the Schedule's.

CompanyBin CollectionUnited KingdomWaste

Properties

Name Type Description
view string Names the view, so a body read later cannot be mistaken for a full Schedule.
property_id string
address_match string
council object
collections array
by_date array
date_confidence string
date_completeness string
evidence_granularity string
retrieved_at stringnull
refresh_due_at stringnull As `Schedule.refresh_due_at`.
source_revalidated_at string
artifact_version string
provisional boolean
notes string
source_url string
uprn string
council_id string
calendar_url string
View JSON Schema on GitHub

JSON Schema

whenisbins-com-compact-schedule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whenisbins-com/json-schema/whenisbins-com-compact-schedule-schema.json",
  "title": "CompactSchedule",
  "description": "The Schedule with `?view=compact`: the same top-level fields, each\ncollection reduced to its service facts, and `view` naming the view.\nA projection of the Schedule, never a different answer — it adds no\ndate and changes no qualification. It carries no container or colour\ninformation at all; request the Schedule when a bin's appearance is\nneeded. Field meanings are the Schedule's.\n",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whenisbins-com-openapi.yaml#/components/schemas/CompactSchedule",
  "type": "object",
  "required": [
    "view",
    "property_id",
    "address_match",
    "council",
    "collections",
    "by_date",
    "date_confidence",
    "date_completeness",
    "evidence_granularity",
    "retrieved_at",
    "refresh_due_at"
  ],
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "compact"
      ],
      "description": "Names the view, so a body read later cannot be mistaken for a full Schedule."
    },
    "property_id": {
      "type": "string"
    },
    "address_match": {
      "type": "string",
      "enum": [
        "exact",
        "street",
        "postcode",
        "postcode_representative"
      ]
    },
    "council": {
      "$ref": "#/$defs/CouncilRef"
    },
    "collections": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CompactCollection"
      }
    },
    "by_date": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CollectionDay"
      }
    },
    "date_confidence": {
      "type": "string",
      "enum": [
        "published_calendar",
        "council_projection",
        "next_collection_only"
      ]
    },
    "date_completeness": {
      "type": "string",
      "enum": [
        "next_only",
        "limited_horizon",
        "full_horizon",
        "weekday_only"
      ]
    },
    "evidence_granularity": {
      "type": "string",
      "enum": [
        "property",
        "street",
        "postcode",
        "area",
        "round"
      ]
    },
    "retrieved_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "refresh_due_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "As `Schedule.refresh_due_at`."
    },
    "source_revalidated_at": {
      "type": "string",
      "format": "date-time"
    },
    "artifact_version": {
      "type": "string"
    },
    "provisional": {
      "type": "boolean"
    },
    "notes": {
      "type": "string"
    },
    "source_url": {
      "type": "string",
      "format": "uri"
    },
    "uprn": {
      "type": "string"
    },
    "council_id": {
      "type": "string"
    },
    "calendar_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "$defs": {
    "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."
              }
            }
          }
        }
      }
    },
    "CompactCollection": {
      "type": "object",
      "description": "One waste service in the compact view - the service facts of a `Collection`, nothing about its container.",
      "required": [
        "name",
        "waste_type",
        "dates",
        "dates_complete"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The service exactly as the council words it."
        },
        "waste_type": {
          "type": "string",
          "enum": [
            "refuse",
            "recycling",
            "garden",
            "food",
            "glass",
            "textiles",
            "electricals",
            "paper_card",
            "plastics_cans",
            "other"
          ]
        },
        "dates": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "description": "As `Collection.dates`."
        },
        "dates_complete": {
          "type": "boolean",
          "description": "As `Collection.dates_complete`."
        },
        "schedule": {
          "type": "string",
          "description": "As `Collection.schedule`; present only when the council gave weekday or time wording."
        },
        "subscription_required": {
          "type": "boolean",
          "description": "Present and `true` exactly when the `Collection` carries it."
        }
      }
    },
    "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"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whenisbins-com-compact-schedule"
All schemas
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.