The schema for this endpoint is fantastic. I would love to see that for all of them! It makes creating the structs and reasoning about the expectations a lot easier.
However, while implementing it I had to flip over to the Snapcraft source for some context and noticed this:
"required": [
"architectures",
# "attributes",
# "base",
# "build-url",
# "confinement",
# "created-at",
# "epoch",
# "grade",
"revision",
# "sha3-384",
# "size",
# "status",
"version",
],
So my assumption then is that those aren’t actually all required and don’t comeback in the result from the endpoint?