changedInput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "create",
- "type": "string"
- },
- "data": {
- "additionalProperties": false,
- "properties": {
- "avgSpeedKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "distanceM": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationMovingS": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationTotalS": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "endLat": {
- "anyOf": [
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "endLon": {
- "anyOf": [
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "endName": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "endTime": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed10mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed1mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed5mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "seaState": {
- "anyOf": [
- {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "startLat": {
- "anyOf": [
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "startLon": {
- "anyOf": [
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "startName": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "startTime": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "windDirDeg": {
- "anyOf": [
- {
- "maximum": 359,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "windSpeedKn": {
- "anyOf": [
- {
- "maximum": 200,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "startName",
- "endName"
- ],
- "type": "object"
- },
- "tripId": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- }
- },
- "required": [
- "action",
- "tripId",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "update",
- "type": "string"
- },
- "expectedUpdatedAt": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
- "type": "string"
- },
- "id": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- },
- "patch": {
- "additionalProperties": false,
- "minProperties": 1,
- "properties": {
- "avgSpeedKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "distanceM": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationMovingS": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "durationTotalS": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "endLat": {
- "anyOf": [
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "endLon": {
- "anyOf": [
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "endName": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "endTime": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed10mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed1mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxSpeed5mKn": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "anyOf": [
- {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "seaState": {
- "anyOf": [
- {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "startLat": {
- "anyOf": [
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "startLon": {
- "anyOf": [
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "startName": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "startTime": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "windDirDeg": {
- "anyOf": [
- {
- "maximum": 359,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "windSpeedKn": {
- "anyOf": [
- {
- "maximum": 200,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- }
- },
- "required": [
- "action",
- "id",
- "patch"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "delete",
- "type": "string"
- },
- "id": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- }
- },
- "required": [
- "action",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "reorder",
- "type": "string"
- },
- "legIds": {
- "items": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- },
- "maxItems": 200,
- "minItems": 1,
- "type": "array"
- },
- "tripId": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- }
- },
- "required": [
- "action",
- "tripId",
- "legIds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "fetch_weather",
- "type": "string"
- },
- "id": {
- "pattern": "^[0-9A-Za-z]{6}$",
- "type": "string"
- }
- },
- "required": [
- "action",
- "id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "create",
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "avgSpeedKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "distanceM": {
+ "anyOf": [
+ {
+ "maximum": 266688000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationMovingS": {
+ "anyOf": [
+ {
+ "maximum": 5184000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationTotalS": {
+ "anyOf": [
+ {
+ "maximum": 5184000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endLat": {
+ "anyOf": [
+ {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endLon": {
+ "anyOf": [
+ {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endName": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "endTime": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed10mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed1mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed5mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "seaState": {
+ "anyOf": [
+ {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startLat": {
+ "anyOf": [
+ {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startLon": {
+ "anyOf": [
+ {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startName": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "startTime": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "windDirDeg": {
+ "anyOf": [
+ {
+ "maximum": 359,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "windSpeedKn": {
+ "anyOf": [
+ {
+ "maximum": 200,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "startName",
+ "endName"
+ ],
+ "type": "object"
+ },
+ "tripId": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "tripId",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "update",
+ "type": "string"
+ },
+ "expectedUpdatedAt": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ },
+ "patch": {
+ "additionalProperties": false,
+ "minProperties": 1,
+ "properties": {
+ "avgSpeedKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "distanceM": {
+ "anyOf": [
+ {
+ "maximum": 266688000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationMovingS": {
+ "anyOf": [
+ {
+ "maximum": 5184000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "durationTotalS": {
+ "anyOf": [
+ {
+ "maximum": 5184000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endLat": {
+ "anyOf": [
+ {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endLon": {
+ "anyOf": [
+ {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endName": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "endTime": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed10mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed1mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxSpeed5mKn": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "seaState": {
+ "anyOf": [
+ {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startLat": {
+ "anyOf": [
+ {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startLon": {
+ "anyOf": [
+ {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "startName": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "startTime": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,3})?Z$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "windDirDeg": {
+ "anyOf": [
+ {
+ "maximum": 359,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "windSpeedKn": {
+ "anyOf": [
+ {
+ "maximum": 200,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "action",
+ "id",
+ "patch"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "delete",
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "reorder",
+ "type": "string"
+ },
+ "legIds": {
+ "items": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ },
+ "maxItems": 200,
+ "minItems": 1,
+ "type": "array"
+ },
+ "tripId": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "tripId",
+ "legIds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "fetch_weather",
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[0-9A-Za-z]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "id"
+ ],
+ "type": "object"
+ }
+]