Skip to content

I need help with a 2020-12 schema. Perhaps I need unevaluated items or unevaluated properties? #253

Description

@coderextreme

I'm stupid. I need some finishing touches on aschema. I would like to run in strict mode, but I have these two issues related to prefixItems. I don't know how to write JavaScript to do this, even though I can validate against my own schema, and I can compile a schema (it gives these errors too).
I just can't validate/fix my own schema (attached) without a better message.

geoSystem.json

$ ajv --spec=draft2020 compile -s schemas/geoSystem.json
strict mode: "prefixItems" is 1-tuple, but minItems or maxItems/items are not specified or different at path "#"
strict mode: "prefixItems" is 2-tuple, but minItems or maxItems/items are not specified or different at path "#"
schema schemas/geoSystem.json is valid

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions