Skip to content

Build with dpp-criteria 9655c4c; test DPP-CAR-002 v2 and DPP-REG-024 - #29

Merged
fabianekc merged 1 commit into
mainfrom
criteria-9655c4c
Oct 23, 2026
Merged

fabianekc merged 1 commit into
mainfrom
criteria-9655c4c

Conversation

@fabianekc

Copy link
Copy Markdown
Member

Builds dpplint with dpp-criteria 9655c4c (OwnYourData/dpp-criteria#36) and tests the two changed passport checks. No change to the application code: the checks are SHACL shapes of the SOyA structure DigitalProductPassport, which the image takes from dpp-criteria.

Checks in this build

  • DPP-CAR-002, version 2 (proposed): a GS1 Digital Link whose GTIN carries the GS1 prefix 952 gives a warning. GS1 uses this prefix for demonstrations and examples. The prefix is the first three digits of a GTIN-13, or the three digits after the indicator digit of a GTIN-14.
  • DPP-REG-024 (proposed): the unique product identifier is an https:// URL of at most 2000 characters, the form in which the EU DPP registry accepts it.

Both are proposed and do not count in "N of M". The reference passports of the OwnYourData DPP Service use the prefix 952 and get the DPP-CAR-002 warning on purpose.

Changes

  • test/integration/validations_test.rb: three integration tests against the structures in the image.
  • kubernetes/deployment.yaml: digest of the new image, written by DOCKERHUB=1 ./build.sh.

Tests

docker run --rm --platform linux/amd64 oydeu/dpplint:latest test: 256 runs, 0 failures. Against the previous criteria, two of the three new tests fail, as expected.

- The image is built with dpp-criteria 9655c4c. DPP-CAR-002 version 2
  gives a warning for a GTIN with the GS1 prefix 952, which GS1 uses for
  demonstrations and examples; DPP-REG-024 checks that the unique product
  identifier is an https URL of at most 2000 characters.
- Integration tests: the prefix 952 gives the warning, other prefixes
  do not (also 952 after the indicator digit 9); DPP-REG-024 passes for
  the reference passport and fails for a DID and for 2001 characters.
- kubernetes/deployment.yaml names the digest of the new image.
@fabianekc
fabianekc merged commit 7c6db7a into main Oct 23, 2026
2 checks passed
@fabianekc
fabianekc deleted the criteria-9655c4c branch October 23, 2026 19:03
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.

1 participant