Skip to content

Missing Min/Max Character Lengths on Strings When Element is an Array #2824

@kentbulza

Description

@kentbulza

Given the following sample JSON Schema

{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "removals": { "type": "array", "items": { "type": "string", "minLength": 2, "maxLength": 50 }, "description": "Tags removed from the patient. **CAUTION**: This may remove tags you did not create." } }, "additionalProperties": false }

You only get this in the UI:

Image

which doesn't show the length restrictions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions