Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing 1.0 spec examples #110

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add missing 1.0 spec examples #110

wants to merge 2 commits into from

Conversation

zimeon
Copy link
Collaborator

@zimeon zimeon commented Oct 26, 2024

We have spec-ex-full but not other examples in the 1.0 spec. This PR adds the first and third examples.

rosy1280
rosy1280 previously approved these changes Nov 7, 2024
neilsjefferies
neilsjefferies previously approved these changes Nov 7, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

validating this fixture results in a warning because v1 is missing a message (edit: and user). Given that this is based on an example from the spec, I wonder if it's worth updating the example to include a message. Otherwise, should this fixture be moved warn-objects?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree, moved:

./ocfl-validate.py fixtures/1.0/warn-objects/W007_spec-ex-diff-paths
[W007a] OCFL Object root inventory v1 version block SHOULD include a message key (see https://ocfl.io/1.0/spec/#W007)
[W007b] OCFL Object root inventory v1 version block SHOULD include a user key (see https://ocfl.io/1.0/spec/#W007)
OCFL v1.0 Object at fixtures/1.0/warn-objects/W007_spec-ex-diff-paths is VALID

1.0/good-objects/spec-ex-minimal/inventory.json Outdated Show resolved Hide resolved
@zimeon zimeon dismissed stale reviews from neilsjefferies and rosy1280 via 8b0f50c November 12, 2024 18:08
@zimeon
Copy link
Collaborator Author

zimeon commented Nov 12, 2024

Thanks @srerickson ! Have moved both into warn-objects

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