Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aascheck: fail to check against json schema #16

Open
jh-isw opened this issue Jun 1, 2023 · 0 comments
Open

aascheck: fail to check against json schema #16

jh-isw opened this issue Jun 1, 2023 · 0 comments
Assignees

Comments

@jh-isw
Copy link
Contributor

jh-isw commented Jun 1, 2023

The aascheck tool that comes with the Rust SDK fails to check against the metamodel V3.

Example of terminal output:

ValidationError {
        instance: String("^([\\t\\n\\r -\u{d7ff}\u{e000}-�]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"),
        kind: Format {
            format: "regex",
        },
        instance_path: JSONPointer(
            [
                Keyword(
                    "allOf",
                ),
                Index(
                    1,
                ),
                Keyword(
                    "properties",
                ),
                Property(
                    "id",
                ),
            ],
        ),
        schema_path: JSONPointer(
            [
                Keyword(
                    "allOf",
                ),
                Index(
                    0,
                ),
            ],
        ),
    }

Deeper inspection needed. Probably the underlying regex-crate may have problems with the POSIX Extended Regex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant