Skip to content

Invalid fields declared for the 'development/watch' array  #534

@AnaMManolache

Description

@AnaMManolache

What is the problem you're trying to solve
The definition of 'development/watch' contains 2 extra fields which are invalid. 'Watch' is an array type, so 'additionalProperties' and 'patternProperties' shouldn't be used in this case.
In jsonschema, 'additionalProperties' and 'patternProperties' are keywords used for objects, they are not applicable to arrays.

This is causing issues when converting this jsonschema to other formats, like cue (https://cuelang.org).

Describe the solution you'd like
These fields are already specified for the items of this array, so these extra fields can be removed.

Additional context

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