{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "councilId": "example-council",
      "reference": "DEMO/2026/0001",
      "url": "https://example.invalid/planning/DEMO-2026-0001",
      "address": "1 Example Street, London",
      "postcode": "N16 0AA",
      "lat": null,
      "lng": null,
      "uprn": null,
      "uprnMatchMethod": null,
      "uprnMatchConfidence": null,
      "uprnMatchedAt": null,
      "description": "Fictional single-storey rear extension for API demonstration.",
      "applicationType": "Full",
      "status": "Pending consideration",
      "decision": null,
      "decisionOutcome": "unknown",
      "receivedDate": "2026-11-02",
      "validatedDate": "2026-11-03",
      "decisionDate": null,
      "decisionFirstSeenAt": null,
      "sourceCheckedAt": "2026-11-05T09:30:00.000Z",
      "sourceCheckFailedAt": null,
      "sourceCheckError": null,
      "applicationDate": "2026-11-03",
      "applicationDateSource": "validatedDate",
      "applicantName": null,
      "agentName": null,
      "documents": [],
      "createdAt": "2026-11-03T12:00:00.000Z",
      "updatedAt": "2026-11-05T10:00:00.000Z",
      "council": {
        "id": "example-council",
        "name": "Example Council (fictional)"
      },
      "source": {
        "type": "idox",
        "label": "Council planning portal",
        "lastScrapedAt": "2026-11-05T10:00:00.000Z"
      },
      "propertyIdentity": {
        "uprn": null,
        "uprnMatchMethod": null,
        "uprnMatchConfidence": null,
        "uprnMatchedAt": null
      },
      "freshness": {
        "sourceCheckStatus": "fresh",
        "sourceAgeHours": 2,
        "dataStatus": "fresh",
        "applicationAgeDays": 2,
        "applicationDate": "2026-11-03",
        "applicationDateSource": "validatedDate",
        "firstSeenAt": "2026-11-03T12:00:00.000Z",
        "lastSeenAt": "2026-11-05T10:00:00.000Z",
        "recordCheckedAt": "2026-11-05T09:30:00.000Z",
        "recordCheckFailedAt": null,
        "recordCheckError": null,
        "lastScrapedAt": "2026-11-05T10:00:00.000Z",
        "decisionDate": null,
        "decisionFirstSeenAt": null,
        "note": "recordCheckedAt is the last successful check of this application detail page. lastSeenAt records database writes, not source checks. lastScrapedAt is council-wide."
      },
      "dates": {
        "applicationDate": "2026-11-03",
        "applicationDateSource": "validatedDate",
        "receivedDate": "2026-11-02",
        "validatedDate": "2026-11-03",
        "decisionDate": null,
        "decisionFirstSeenAt": null,
        "firstSeenAt": "2026-11-03T12:00:00.000Z",
        "lastSeenAt": "2026-11-05T10:00:00.000Z"
      }
    }
  ],
  "meta": {
    "total": null,
    "page": 1,
    "limit": 1,
    "pages": null,
    "maxLimit": 25,
    "dataAccess": "production",
    "sort": "applicationDate desc, firstSeenAt desc",
    "pagination": {
      "requestedLimit": 1,
      "appliedLimit": 1,
      "maxLimit": 25,
      "note": "Postcode lookups are returned without a total count so they stay fast. Use page to continue."
    }
  }
}
