type: array uniqueItems: true items: type: object properties: dow: type: integer minimum: 0 maximum: 6 description: Day of week, 0 - monday, 6 - sunday opens: type: array minItems: 1 maxItems: 10 items: type: string format: time pattern: '^\d{2}:\d{2}$' description: Array of opens time, should be the same length as closes array closes: type: array minItems: 1 maxItems: 10 items: type: string format: time pattern: '^\d{2}:\d{2}$' description: Array of closes time, should be the same length as opens array example: dow: 0 opens: ['10:00'] closes: ['22:00'] minItems: 1 maxItems: 7