changedInput schema / properties / move / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "type": {
- "enum": [
- "distance",
- "bearing",
- "pulse",
- "locate"
- ],
- "type": "string"
- },
- "x": {
- "maximum": 7,
- "minimum": 0,
- "type": "integer"
- },
- "y": {
- "maximum": 7,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "type",
- "x",
- "y"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cell": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "rotate",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cell"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actions": {
- "items": {
- "enum": [
- "north",
- "east",
- "south",
- "west",
- "fire",
- "shield",
- "capture",
- "wait"
- ],
- "type": "string"
- },
- "maxItems": 3,
- "minItems": 3,
- "type": "array"
- },
- "type": {
- "const": "program",
- "type": "string"
- }
- },
- "required": [
- "type",
- "actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "enum": [
- "north",
- "east",
- "south",
- "west"
- ],
- "type": "string"
- },
- "type": {
- "const": "walk",
- "type": "string"
- }
- },
- "required": [
- "type",
- "direction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cell": {
- "maximum": 24,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "press",
- "type": "string"
- }
- },
- "required": [
- "type",
- "cell"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "enum": [
- "north",
- "east",
- "south",
- "west"
- ],
- "type": "string"
- },
- "type": {
- "const": "sail",
- "type": "string"
- }
- },
- "required": [
- "type",
- "direction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "type": {
- "const": "wait",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "enum": [
+ "distance",
+ "bearing",
+ "pulse",
+ "locate"
+ ],
+ "type": "string"
+ },
+ "x": {
+ "maximum": 7,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "y": {
+ "maximum": 7,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "type",
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cell": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "rotate",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cell"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actions": {
+ "items": {
+ "enum": [
+ "north",
+ "east",
+ "south",
+ "west",
+ "fire",
+ "shield",
+ "capture",
+ "wait"
+ ],
+ "type": "string"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ },
+ "type": {
+ "const": "program",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "enum": [
+ "north",
+ "east",
+ "south",
+ "west"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "walk",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "direction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cell": {
+ "maximum": 24,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "press",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cell"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "enum": [
+ "north",
+ "east",
+ "south",
+ "west"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "sail",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "direction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "enum": [
+ "clockwise",
+ "counterclockwise"
+ ],
+ "type": "string"
+ },
+ "ring": {
+ "maximum": 2,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "turn",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "ring",
+ "direction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "wait",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]