Skip to content

Commit 47412ed

Browse files
chore: update examples of JSON schema additional_options to use latest (#8)
1 parent ffd17eb commit 47412ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ cpp_namespace:
376376
type: string
377377
default_value: "standby"
378378
description: "Operating mode of the robot."
379-
additional_constraints: "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"enum\":[\"standby\",\"navigation\",\"take_over_the_world\"]}"
379+
additional_constraints: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema#\",\"enum\":[\"standby\",\"navigation\",\"take_over_the_world\"]}"
380380
speed:
381381
type: double
382382
default_value: 5.0

generate_parameter_library_py/generate_parameter_library_py/test/valid_parameters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ admittance_controller:
77
type: string
88
default_value: "spline"
99
description: "specifies which algorithm to use for interpolation."
10-
additional_constraints: "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"enum\": [\"spline\", \"linear\"]}"
10+
additional_constraints: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema#\",\"enum\": [\"spline\", \"linear\"]}"
1111
validation:
1212
one_of<>: [ [ "spline", "linear" ] ]
1313
no_args_validator: null

0 commit comments

Comments
 (0)