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

Duration properties not properly parsed #11

Open
hexylena opened this issue May 11, 2023 · 0 comments
Open

Duration properties not properly parsed #11

hexylena opened this issue May 11, 2023 · 0 comments

Comments

@hexylena
Copy link

Describe the bug

I see the following error message:

For property:timeRequired , 'PT2H30M' is not valid under any of the given schemas
We are expecting "Duration" in an array or as a single object

however that is a valid ISO8601 time spec: https://schema.org/Duration

https://schema.org/timeRequired shows an example that's essentially the same (PT1H)

To Reproduce
Steps to reproduce the behavior:

  1. python src/command.py validate --target_data=https://training.galaxyproject.org/training-material/topics/admin/tutorials/ansible-galaxy/tutorial.html --static_jsonld
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

No branches or pull requests

1 participant