-
Notifications
You must be signed in to change notification settings - Fork 7
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
base: develop
Are you sure you want to change the base?
Conversation
docs/4_how_it_works.rst
Outdated
will prompt the user to select a profile from the list of candidate | ||
profiles; | ||
|
||
- **Non-Interactive Mode:** the system will use all candidate profiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still unclear
docs/4_how_it_works.rst
Outdated
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 |
There was a problem hiding this comment.
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, "
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in ec6efe2
docs/4_how_it_works.rst
Outdated
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. |
There was a problem hiding this comment.
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".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in ec6efe2
docs/4_how_it_works.rst
Outdated
|
||
* **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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
docs/4_how_it_works.rst
Outdated
- 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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- If no precise match is found, the system will: | |
- If no precise match is found: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in ec6efe2
docs/4_how_it_works.rst
Outdated
will prompt the user to select a profile from the list of candidate | ||
profiles; | ||
|
||
- **Non-Interactive Mode:** the system will use all candidate profiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Non-Interactive Mode:** the system will use all candidate profiles | |
- in **Non-Interactive Mode:** the system will use all candidate profiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in ec6efe2
a live preview is available here