Added
- Planning applications can now return structured, citation-backed extractions. Pass
include=extractionson GET /v1/planning/{applicationIds} and GET /v1/planning/sources/{sourceIds}, or send"include": ["extractions"]in the body of POST /v1/planning/query, to attach anextractionsobject to each application. - The
extractionsobject holds sub-extractions fordecision,development,s106,officerAssessmentandconsulteeResponses. Each field is cited back to the source document, and each sub-extraction reports a verification status ofverified(checked by the verifier) orextracted(machine-extracted, not yet checked). Sub-extractions are null when that data was not extracted; the object is omitted entirely unless requested. - Address geography now includes the Local Planning Authority. When you request
include=geographyon GET /v1/address/postcodes/{postcode} or GET /v1/address/uprn/{uprn}, thegeographyobject now carries anlpacode/name pair. This can differ fromdistrictfor National Parks, mayoral development corporations and joint planning boards.
Changed
- Planning documents now describe their type with two fields instead of one. The single
typefield on each document in thedocumentsarray has been removed and replaced bydocumentCategory(broad category, e.g.drawing_plan,decision) anddocumentTypeDetailed(specific sub-type, e.g.floor_plan,decision_notice). This affects the document objects returned by all three planning endpoints.