Replies: 1 comment
-
Could this be related to this issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First, thank you very much for your work on
vscode-yaml
! I'm very grateful to be able to use it!I have the following schema, which uses a
$ref
to refer to apatternProperties
element within a remote schema:I then am using
vscode-yaml
to validate the following YAML file:I see an error in VSCode when viewing this file:
$ref '/patternProperties/^[a-z0-9-_]+$/properties/type/' in 'https://raw.githubusercontent.com/kedro-org/kedro/develop/static/jsonschema/kedro-catalog-0.18.json' can not be resolved.
This schema and content seem to be valid, to my understanding: Entering the schema above and the equivalent JSON into this JSON Schema Validator tool reports no errors.
Is the schema parser used by
vscode-yaml
failing to resolve a valid$ref
? Or does something in the example content above look incorrect? I would be grateful for any advice!Beta Was this translation helpful? Give feedback.
All reactions