removedInput schema / properties / ops / items / anyOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "op": {
- "const": "set_title"
- },
- "title": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "op",
- "title"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "op": {
- "const": "set_start_date"
- },
- "startDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "op",
- "startDate"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "op": {
- "const": "add_day"
- }
- },
- "required": [
- "op",
- "date"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "op": {
- "const": "remove_day"
- }
- },
- "required": [
- "op",
- "date"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "op": {
- "const": "set_day"
- },
- "summary": {
- "type": [
- "string",
- "null"
- ]
- },
- "town": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "op",
- "date"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "op": {
- "const": "add_stop"
- },
- "position": {
- "minimum": 0,
- "type": "integer"
- },
- "stop": {
- "properties": {
- "category": {
- "maxLength": 60,
- "type": "string"
- },
- "meridian_url": {
- "description": "The url of a Meridian Dispatch place (from get_place, get_destination or search_guides). Sets the title and town from the guide, so the stop lands on the map.",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 2000,
- "type": "string"
- },
- "prose": {
- "maxLength": 2000,
- "type": "string"
- },
- "ticketsURL": {
- "format": "uri",
- "type": "string"
- },
- "time": {
- "description": "HH:mm, 24-hour.",
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 200,
- "type": "string"
- },
- "town": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "description": "freeform for a transfer or a note.",
- "enum": [
- "activity",
- "restaurant",
- "freeform"
- ],
- "type": "string"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "op",
- "date",
- "stop"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "description": "null on a field clears it.",
- "properties": {
- "category": {
- "maxLength": 60,
- "type": "string"
- },
- "meridian_url": {
- "description": "The url of a Meridian Dispatch place (from get_place, get_destination or search_guides). Sets the title and town from the guide, so the stop lands on the map.",
- "type": "string"
- },
- "minutes": {
- "maximum": 1440,
- "minimum": 1,
- "type": "integer"
- },
- "note": {
- "maxLength": 2000,
- "type": "string"
- },
- "prose": {
- "maxLength": 2000,
- "type": "string"
- },
- "ticketsURL": {
- "format": "uri",
- "type": "string"
- },
- "time": {
- "description": "HH:mm, 24-hour.",
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "title": {
- "maxLength": 200,
- "type": "string"
- },
- "town": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "description": "freeform for a transfer or a note.",
- "enum": [
- "activity",
- "restaurant",
- "freeform"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "id": {
- "description": "A stop or booking id from get_plan.",
- "type": "string"
- },
- "op": {
- "const": "update_stop"
- }
- },
- "required": [
- "op",
- "id",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "id": {
- "description": "A stop or booking id from get_plan.",
- "type": "string"
- },
- "op": {
- "const": "move_stop"
- },
- "position": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "op",
- "id",
- "date"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "A stop or booking id from get_plan.",
- "type": "string"
- },
- "op": {
- "const": "remove_stop"
- }
- },
- "required": [
- "op",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "booking": {
- "properties": {
- "booked": {
- "type": "boolean"
- },
- "city": {
- "maxLength": 100,
- "type": "string"
- },
- "countryCode": {
- "pattern": "^[A-Za-z]{2}$",
- "type": "string"
- },
- "details": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "endDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "endTime": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "startDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "startTime": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "subtitle": {
- "maxLength": 200,
- "type": "string"
- },
- "title": {
- "maxLength": 200,
- "type": "string"
- },
- "type": {
- "enum": [
- "hotel",
- "flight",
- "train",
- "carRental",
- "restaurant",
- "activity",
- "other"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "title"
- ],
- "type": "object"
- },
- "op": {
- "const": "add_booking"
- }
- },
- "required": [
- "op",
- "booking"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "properties": {
- "booked": {
- "type": "boolean"
- },
- "city": {
- "maxLength": 100,
- "type": "string"
- },
- "countryCode": {
- "pattern": "^[A-Za-z]{2}$",
- "type": "string"
- },
- "details": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "endDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "endTime": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "startDate": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "startTime": {
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "subtitle": {
- "maxLength": 200,
- "type": "string"
- },
- "title": {
- "maxLength": 200,
- "type": "string"
- },
- "type": {
- "enum": [
- "hotel",
- "flight",
- "train",
- "carRental",
- "restaurant",
- "activity",
- "other"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "id": {
- "description": "A stop or booking id from get_plan.",
- "type": "string"
- },
- "op": {
- "const": "update_booking"
- }
- },
- "required": [
- "op",
- "id",
- "fields"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "A stop or booking id from get_plan.",
- "type": "string"
- },
- "op": {
- "const": "remove_booking"
- }
- },
- "required": [
- "op",
- "id"
- ],
- "type": "object"
- }
-]