changedInput schema / properties / scene / anyOf
Previous value: -[
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "description": "a recipe: Scene.add_* calls as JSON",
- "properties": {
- "base": {
- "description": "start from this library scene or file",
- "type": "string"
- },
- "dt": {
- "description": "control period, s",
- "type": "number"
- },
- "friction": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "liquid_accuracy": {
- "description": "liquid particles 4 mm apart (default) or 2 mm (super)",
- "enum": [
- "default",
- "super"
- ]
- },
- "materials": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "objects": {
- "items": {
- "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds); a robot's path is a file or a library robot name (alloy list robots)",
- "properties": {
- "add": {
- "enum": [
- "block_with_hole",
- "box",
- "capsule",
- "cloth",
- "cylinder",
- "ground",
- "heater",
- "liquid",
- "mesh",
- "object",
- "open_box",
- "open_cylinder",
- "pour",
- "push",
- "robot",
- "rod",
- "sphere"
- ]
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "add"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "randomize": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "set": {
- "items": {
- "description": "keyword arguments of Scene.set_<set>, e.g. {\"set\": \"heater\", \"name\": \"pan_floor\", \"temperature\": 353.15} or {\"set\": \"heat\", \"time_scale\": 60}",
- "properties": {
- "set": {
- "enum": [
- "friction",
- "heat",
- "heater",
- "inertia_floor",
- "joint_yield",
- "quasi_static_mass_scale",
- "temperature"
- ]
- }
- },
- "required": [
- "set"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "worlds": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "description": "Scene JSON (Scene.to_dict())",
- "type": "object"
- }
-]New value: +[
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "description": "a recipe: Scene.add_* calls as JSON",
+ "properties": {
+ "base": {
+ "description": "start from this library scene or file",
+ "type": "string"
+ },
+ "dt": {
+ "description": "control period, s",
+ "type": "number"
+ },
+ "friction": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "liquid_accuracy": {
+ "description": "liquid particles 4 mm apart (default), 2 mm (super) or 1.5 mm (ultra)",
+ "enum": [
+ "default",
+ "super",
+ "ultra"
+ ]
+ },
+ "materials": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "objects": {
+ "items": {
+ "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds); a robot's path is a file or a library robot name (alloy list robots)",
+ "properties": {
+ "add": {
+ "enum": [
+ "block_with_hole",
+ "box",
+ "capsule",
+ "cloth",
+ "cylinder",
+ "ground",
+ "heater",
+ "liquid",
+ "mesh",
+ "object",
+ "open_box",
+ "open_cylinder",
+ "pour",
+ "push",
+ "robot",
+ "rod",
+ "sphere"
+ ]
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "add"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "randomize": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "set": {
+ "items": {
+ "description": "keyword arguments of Scene.set_<set>, e.g. {\"set\": \"heater\", \"name\": \"pan_floor\", \"temperature\": 353.15} or {\"set\": \"heat\", \"time_scale\": 60}",
+ "properties": {
+ "set": {
+ "enum": [
+ "friction",
+ "heat",
+ "heater",
+ "inertia_floor",
+ "joint_yield",
+ "quasi_static_mass_scale",
+ "temperature"
+ ]
+ }
+ },
+ "required": [
+ "set"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "worlds": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "description": "Scene JSON (Scene.to_dict())",
+ "type": "object"
+ }
+]