changedInput schema / properties / operations / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "body",
- "breath",
- "gratitude",
- "mind",
- "care",
- "other"
- ],
- "type": "string"
- },
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_task",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 500,
- "type": "string"
- },
- "time": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "title",
- "time",
- "minutes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "body",
- "breath",
- "gratitude",
- "mind",
- "care",
- "other"
- ],
- "type": "string"
- },
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "days": {
- "maximum": 365,
- "minimum": 1,
- "type": "integer"
- },
- "kind": {
- "const": "create_habit",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "time": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "title",
- "time",
- "minutes",
- "days"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "move_task",
- "type": "string"
- },
- "time": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "toDate": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key",
- "toDate",
- "time"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "complete_task",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "uncomplete_task",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_event",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 500,
- "type": "string"
- },
- "time": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "title",
- "time",
- "minutes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "update_task",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 500,
- "type": "string"
- },
- "time": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "delete_task",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "set_task_meta",
- "type": "string"
- },
- "priority": {
- "enum": [
- "normal",
- "high",
- "low"
- ],
- "type": "string"
- },
- "tags": {
- "items": {
- "maxLength": 24,
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "date",
- "key",
- "priority",
- "tags"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cycles": {
- "maximum": 20,
- "minimum": 1,
- "type": "integer"
- },
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "kind": {
- "const": "create_course",
- "type": "string"
- },
- "phases": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "active": {
- "type": "boolean"
- },
- "days": {
- "maximum": 365,
- "minimum": 1,
- "type": "integer"
- },
- "dose": {
- "maxLength": 80,
- "type": "string"
- },
- "name": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "days"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "tag": {
- "maxLength": 24,
- "type": "string"
- },
- "times": {
- "items": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "title",
- "times",
- "phases"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cycles": {
- "maximum": 20,
- "minimum": 1,
- "type": "integer"
- },
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "update_course",
- "type": "string"
- },
- "phases": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "active": {
- "type": "boolean"
- },
- "days": {
- "maximum": 365,
- "minimum": 1,
- "type": "integer"
- },
- "dose": {
- "maxLength": 80,
- "type": "string"
- },
- "name": {
- "maxLength": 40,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "days"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "startDate": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "tag": {
- "maxLength": 24,
- "type": "string"
- },
- "times": {
- "items": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "stop_course",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "delete_habit",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "every": {
- "maximum": 30,
- "minimum": 2,
- "type": "integer"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "maxLength": 40,
- "type": "string"
- },
- "label": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label"
- ],
- "type": "object"
- },
- "maxItems": 15,
- "type": "array"
- },
- "kind": {
- "const": "create_meal",
- "type": "string"
- },
- "offset": {
- "maximum": 29,
- "minimum": 0,
- "type": "integer"
- },
- "scope": {
- "enum": [
- "one",
- "forward",
- "all"
- ],
- "type": "string"
- },
- "time": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "weekdays": {
- "items": {
- "maximum": 6,
- "minimum": 0,
- "type": "integer"
- },
- "maxItems": 7,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "kind",
- "date",
- "time",
- "title"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "maxLength": 40,
- "type": "string"
- },
- "label": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "label"
- ],
- "type": "object"
- },
- "maxItems": 15,
- "type": "array"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "update_meal",
- "type": "string"
- },
- "scope": {
- "enum": [
- "one",
- "forward"
- ],
- "type": "string"
- },
- "time": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "A calendar date in the user’s local time, YYYY-MM-DD",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "delete_meal",
- "type": "string"
- },
- "scope": {
- "enum": [
- "one",
- "forward",
- "all"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "date",
- "key"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "description": "App section of the entry: body = exercise and sport, breath = breathing practice, gratitude = gratitude notes, mind = meditation, reading and calm, care = rest, sleep and recovery, other = work, study, errands, shopping, calls, meetings and everything else. When unsure, use other.",
+ "enum": [
+ "body",
+ "breath",
+ "gratitude",
+ "mind",
+ "care",
+ "other"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "create_task",
+ "type": "string"
+ },
+ "minutes": {
+ "maximum": 1440,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "note": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "title",
+ "time",
+ "minutes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "description": "App section of the entry: body = exercise and sport, breath = breathing practice, gratitude = gratitude notes, mind = meditation, reading and calm, care = rest, sleep and recovery, other = work, study, errands, shopping, calls, meetings and everything else. When unsure, use other.",
+ "enum": [
+ "body",
+ "breath",
+ "gratitude",
+ "mind",
+ "care",
+ "other"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "days": {
+ "maximum": 365,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "kind": {
+ "const": "create_habit",
+ "type": "string"
+ },
+ "minutes": {
+ "maximum": 1440,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "time": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "title",
+ "time",
+ "minutes",
+ "days"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "move_task",
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "toDate": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key",
+ "toDate",
+ "time"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "complete_task",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "uncomplete_task",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "create_event",
+ "type": "string"
+ },
+ "minutes": {
+ "maximum": 1440,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "note": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "title",
+ "time",
+ "minutes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "update_task",
+ "type": "string"
+ },
+ "minutes": {
+ "maximum": 1440,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "note": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "delete_task",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "set_task_meta",
+ "type": "string"
+ },
+ "priority": {
+ "enum": [
+ "normal",
+ "high",
+ "low"
+ ],
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "maxLength": 24,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key",
+ "priority",
+ "tags"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cycles": {
+ "maximum": 20,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "create_course",
+ "type": "string"
+ },
+ "phases": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "active": {
+ "type": "boolean"
+ },
+ "days": {
+ "maximum": 365,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "dose": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "days"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "tag": {
+ "maxLength": 24,
+ "type": "string"
+ },
+ "times": {
+ "items": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "title",
+ "times",
+ "phases"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cycles": {
+ "maximum": 20,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "update_course",
+ "type": "string"
+ },
+ "phases": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "active": {
+ "type": "boolean"
+ },
+ "days": {
+ "maximum": 365,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "dose": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "days"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "startDate": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "tag": {
+ "maxLength": 24,
+ "type": "string"
+ },
+ "times": {
+ "items": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "stop_course",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "delete_habit",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "every": {
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "maxLength": 40,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 15,
+ "type": "array"
+ },
+ "kind": {
+ "const": "create_meal",
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 29,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "scope": {
+ "enum": [
+ "one",
+ "forward",
+ "all"
+ ],
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "weekdays": {
+ "items": {
+ "maximum": 6,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 7,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "time",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "maxLength": 40,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 15,
+ "type": "array"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "update_meal",
+ "type": "string"
+ },
+ "scope": {
+ "enum": [
+ "one",
+ "forward"
+ ],
+ "type": "string"
+ },
+ "time": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A calendar date in the user’s local time, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "delete_meal",
+ "type": "string"
+ },
+ "scope": {
+ "enum": [
+ "one",
+ "forward",
+ "all"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "date",
+ "key"
+ ],
+ "type": "object"
+ }
+]