Skip to content

Alpha collections - #243

Draft
diegofiore83 wants to merge 53 commits into
mainfrom
alpha_collections
Draft

Alpha collections#243
diegofiore83 wants to merge 53 commits into
mainfrom
alpha_collections

Conversation

@diegofiore83

Copy link
Copy Markdown

No description provided.

diegofiore83 and others added 27 commits May 6, 2026 10:59
Diagram showing the processes and Key Identifiers in the Lifecycle of Waste
Updated the description to clarify the API's purpose and development context.
Reformatted the description for better readability.
Removed redundant text and clarified descriptions in the OpenAPI specification.
Comment thread docs/collections/decisions.md Outdated
drop-off per Movement, even if the loads physically arrive together.

<a id="d-011"></a>
### Static and transit collection collapsed into a single endpoint

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the collection is in transit, the user must be required to enter the details of the carrier the waste is being received from (this is different from static collection). So long as this requirement is met, I do not mind the implementation choice

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@perry-ellismay great, I am going to update the collection endpoint to support "transit" collection between carriers/drivers

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this be a sub resource? or data item?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to see it as a collection "driver-to-driver" instead of "producer-to-driver", but I need to see how to shape the data in the best possible way

Comment thread docs/collections/decisions.md Outdated
Comment thread docs/collections/decisions.md Outdated
Comment thread docs/collections/decisions.md Outdated
but is not a v1 priority.

<a id="d-033"></a>
### Per-event GET endpoints — parked

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get endpoint has got to be in scope, its crucial for operators to fulfil their DoC.

e.g. Waste arrives and they are given an ID, they need the ability to retrieve the details about that waste

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, we need to define together what to return from each endpoint

Comment thread docs/collections/decisions.md Outdated
Comment thread docs/collections/decisions.md Outdated
is clear.

<a id="d-021"></a>
### Cross-check granularity

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This forms most of the discussion around reclassification so should hopefully have an answer on this soon

@AWDMcIntyre AWDMcIntyre left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On D-028 — the note assumes Movement IDs are “created earlier, usually with signal.” Worth flagging that’s often not the case. My own work is mainly pre-planned hazardous collections (created days ahead, but a fair number of customers ring during the day and if it's non haz I’ll have the driver swing past on-route to collect. That movement didn’t exist when the round started ,it’s created at the point of collection. And I know SME waste firms that operate mostly from the vehicle and add collections mid-run as the norm, not the exception. Those movements can be created somewhere with poor signal — So the offline need looks like it applies to Movement IDs too, not only Transfer IDs, at least for ad-hoc and add-on collections

diegofiore83 and others added 23 commits June 21, 2026 08:40
This branch was never wired into mkdocs nav and has never been
deployed/live. The design work has moved to its new canonical home:
DEFRA/digital-waste-tracking-api-docs, docs/collections/. Each of the
15 markdown pages here now points to its new equivalent. openapi.yaml,
the data/ schemas, and .gitignore are left as-is (out of scope for
this pass).
…GitHub

Link to the live rendered page (defra.github.io/digital-waste-tracking-api-docs/preview/collections/...)
instead of the GitHub blob URL, so anyone following a shared link lands
on the actual docs site rather than a raw markdown file on GitHub.
collection-of-waste-getting-started-guide.md
collections-core-concepts.md
collections-error-handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants