Skip to content

locations.json schema fails common validator Ajv on multiple counts #490

Description

@jhobz

The schema definitions should be compliant with common validators so that plugins or other programs looking to share the same schema can also run their own validation. I'm creating a tool to assist in pack building and I want to be sure that my output is verified against the schema, but I currently can't run validation without errors. If I turn off strict mode for my validator I can, but then it will allow things like ignoring item_count's "minimum": 0 setting.

Here are a few of the errors:

Image Image

I also had to add in an exception for the keyword "example", but I think that provides a reasonable benefit in the schema.

Ajv package website, in case it's helpful: https://ajv.js.org/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions