Skip to content

Validation array of objects #118

Description

@neerajincaendo

Hello, i am validating array having objects how can i do that , i try putting object inside items but not working.

messages:{
type: 'array',
required: true,
items: {
type: 'object',
required: true,
properties:{
description: {
type: 'string',
required: true
}
}
}
}

Please help me out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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