-
Notifications
You must be signed in to change notification settings - Fork 6
Milestone
Description
Using this schema: https://github.com/stac-extensions/mlm/blob/fix-mlm-artefact/json-schema/schema.json
Which employs "$schema": "https://json-schema.org/draft/2019-09/schema#"
Running stac-node-validator
hangs on this example: https://github.com/stac-extensions/mlm/blob/fix-mlm-artefact/examples/item_bands_expression.json
Example: https://github.com/stac-extensions/mlm/actions/runs/11696331893/job/32573240886?pr=52
Simply changing back to "$schema": "http://json-schema.org/draft-07/schema#"
directly validates without issue.
However, I need 2019-09
in this case because of "unevaluatedProperties": false
feature.
vprivat-ads
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]Validator hands with other `$schema` than `draft-07`[/-][+]Validator hangs with other `$schema` than `draft-07`[/+]mlm:artifact_type
check missing stac-extensions/mlm#52fmigneault commentedon Nov 6, 2024
@m-mohr I guess the
ajv
reference must be updated, as per https://ajv.js.org/json-schema.html#draft-2019-09 ?edit: confirmed with local test, will create a PR
fmigneault commentedon Nov 7, 2024
Found a workaround (stac-extensions/mlm#59).
Given that, 2019-09 support is not needed anymore.
m-mohr commentedon Nov 7, 2024
I'll reopen because it's nevertheless an issue that should be fixed. A software should never hang...