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

docs: add "how it works" section #57

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

kikkomep
Copy link
Member

a live preview is available here

will prompt the user to select a profile from the list of candidate
profiles;

- **Non-Interactive Mode:** the system will use all candidate profiles
Copy link
Member

Choose a reason for hiding this comment

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

still unclear

triggered the error. Note that multiple rules may have the same error message,
which can result in output with apparently duplicate errors.

Naturally, `rocrate-validator` is limited to validating conformance to RO-Crate
Copy link
Member

Choose a reason for hiding this comment

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

I'd remove the starting "Naturally, "

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in ec6efe2

Validation profiles can be related by inheritance -- i.e., where one validation
profile extends another one. Normally this happens with profiles that validate
conformance to RO-Crate profiles that themselves extend a base profile, such as
Workflow Testing RO-Crate, which extends Workflow RO-Crate.
Copy link
Member

@simleo simleo Dec 13, 2024

Choose a reason for hiding this comment

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

I find this remark confusing. I would simply say:

"Validation profiles can be related by inheritance -- i.e., where one validation profile extends another one. For instance, Workflow Testing RO-Crate extends Workflow RO-Crate".

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in ec6efe2


* **Automatic Profile Matching** (default):
By default, `rocrate-validator` will attempt to select the correct validation
profiles for the input RO-Crate based on the `conformsTo` property.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
profiles for the input RO-Crate based on the `conformsTo` property.
profiles for the input RO-Crate based on the `conformsTo` property of the Root Data Entity.

- If a precise match is found for the `conformsTo` property, that profile is selected
for validation.

- If no precise match is found, the system will:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- If no precise match is found, the system will:
- If no precise match is found:

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in ec6efe2

will prompt the user to select a profile from the list of candidate
profiles;

- **Non-Interactive Mode:** the system will use all candidate profiles
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- **Non-Interactive Mode:** the system will use all candidate profiles
- in **Non-Interactive Mode:** the system will use all candidate profiles

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in ec6efe2

@ilveroluca ilveroluca marked this pull request as ready for review December 17, 2024 15:00
@ilveroluca ilveroluca requested a review from simleo December 17, 2024 15:00
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.

3 participants