diff --git a/DDEX_messages/ERN_NewReleaseMessage_example.xml b/DDEX_messages/ERN_NewReleaseMessage_example.xml index 7d00684..0bc739b 100644 --- a/DDEX_messages/ERN_NewReleaseMessage_example.xml +++ b/DDEX_messages/ERN_NewReleaseMessage_example.xml @@ -70,9 +70,10 @@ 2023-01-01 2025-12-31 - ReproductionRight MakeAvailableRight + diff --git a/DDEX_messages/README.md b/DDEX_messages/README.md index eccf74b..c0b9696 100644 --- a/DDEX_messages/README.md +++ b/DDEX_messages/README.md @@ -70,3 +70,16 @@ All fields are tagged as `` or ``. `` are compulsary fields, and messages will be rejected if they are not included. `` can either exist or not. ` ` is a field that needs to exist in either the private or the public part of the message, but not required on both. + + +## Test validation + +For v4.3 +```bash +curl https://raw.githubusercontent.com/originalworks/protocol/main/DDEX_messages/ERN_NewReleaseMessage_example.xml | xmllint --noout --schema http://ddex.net/xml/ern/43/release-notification.xsd - +``` + +For v4.3.1 +```bash +curl https://raw.githubusercontent.com/originalworks/protocol/main/DDEX_messages/ERN_NewReleaseMessage_example.xml | xmllint --noout --schema http://ddex.net/xml/ern/431/release-notification.xsd - +``` \ No newline at end of file