// Test inputs for array schema validation export const arraySchemaInputs = [ { name: 'array-valid-string-items', lexicon: { lexicon: 1, id: 'test.array.stringitems', defs: { main: { type: 'array', items: { type: 'string' }, minLength: 1, maxLength: 10, }, }, }, }, { name: 'array-valid-object-items', lexicon: { lexicon: 1, id: 'test.array.objectitems', defs: { main: { type: 'array', items: { type: 'object', properties: { name: { type: 'string' }, }, }, }, }, }, }, { name: 'array-valid-nested-array', lexicon: { lexicon: 1, id: 'test.array.nested', defs: { main: { type: 'array', items: { type: 'array', items: { type: 'integer' }, }, }, }, }, }, { name: 'array-invalid-missing-items', lexicon: { lexicon: 1, id: 'test.array.noitems', defs: { main: { type: 'array', maxLength: 10, }, }, }, }, { name: 'array-invalid-length-constraints', lexicon: { lexicon: 1, id: 'test.array.badlength', defs: { main: { type: 'array', items: { type: 'string' }, minLength: 10, maxLength: 5, }, }, }, }, { name: 'array-valid-no-constraints', lexicon: { lexicon: 1, id: 'test.array.noconstraints', defs: { main: { type: 'array', items: { type: 'string' }, }, }, }, }, ];