import { array , object , Schema , string } from '../schema' ; /** The query filter to return the search result whose searchable attribute values contain all of the specified keywords or tokens, independent of the token order or case. */ export interface CatalogQueryText { /** A list of 1, 2, or 3 search keywords. Keywords with fewer than 3 characters are ignored. */ keywords : string [ ] ; } export const catalogQueryTextSchema = object ( { keywords : [ 'keywords' , array ( string ( ) ) ] , } ) ;