Skip to content

How to create top level array validation? #8

@SatyamSharan

Description

@SatyamSharan

Array validation reference is given in documentation following

`{
credit_cards: {

    '@items': 'string:creditCard',

    max: 5
}

}`

But it is not working for top level array? How to validate that?

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