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

Simple properties in lists are never validated #326

Closed
sebdeleze opened this issue Dec 14, 2020 · 0 comments
Closed

Simple properties in lists are never validated #326

sebdeleze opened this issue Dec 14, 2020 · 0 comments
Assignees
Labels
f: editor Concerns editor based on JSON schema AND custom editor

Comments

@sebdeleze
Copy link

Describe the issue
With a list of a simple property, this property is not validated, even with a pattern.

To Reproduce
Check this kind of property:

"simple_not_required": {
    "title": "[issue] Simple element of list are not required.",
    "description": "Simple element must not pass the validation if they are required and empty.",
    "type": "array",
    "minItems": 1,
    "items": {
        "title": "Item",
        "type": "string",
        "pattern": "^.+$",
        "minLength": 1
    }
}
@sebdeleze sebdeleze added the f: editor Concerns editor based on JSON schema AND custom editor label Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: editor Concerns editor based on JSON schema AND custom editor
Projects
None yet
Development

No branches or pull requests

2 participants