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:
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/
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": 0setting.Here are a few of the errors:
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/