Skip to content

Duration properties not properly parsed #11

@hexylena

Description

@hexylena

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions