Skip to content

Commit 509d393

Browse files
committed
refactor: Create JSON Schema file of transform_maps
Signed-off-by: Motsu-san <masahiro.sakamoto@tier4.jp>
1 parent 94f2ae4 commit 509d393

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Parameters for Transforming Maps",
4+
"type": "object",
5+
"definitions": {
6+
"transform_maps": {
7+
"type": "object",
8+
"properties": {
9+
"x": {
10+
"type": "number",
11+
"default": 0.0,
12+
"description": "x factor of Translation vector for transforming maps [m]"
13+
},
14+
"y": {
15+
"type": "number",
16+
"default": 0.0,
17+
"description": "y factor of Translation vector for transforming maps [m]"
18+
},
19+
"z": {
20+
"type": "number",
21+
"default": 0.0,
22+
"description": "z factor of Translation vector for transforming maps [m]"
23+
},
24+
"roll": {
25+
"type": "number",
26+
"default": 0.0,
27+
"description": "roll factor of Rotation vector for transforming maps [rad]"
28+
},
29+
"pitch": {
30+
"type": "number",
31+
"default": 0.0,
32+
"description": "pitch factor of Rotation vector for transforming maps [rad]"
33+
},
34+
"yaw": {
35+
"type": "number",
36+
"default": 0.0,
37+
"description": "yaw factor of Rotation vector for transforming maps [rad]"
38+
}
39+
},
40+
"required": [
41+
"x",
42+
"y",
43+
"z",
44+
"roll",
45+
"pitch",
46+
"yaw"
47+
]
48+
}
49+
},
50+
"properties": {
51+
"/**": {
52+
"type": "object",
53+
"properties": {
54+
"ros__parameters": {
55+
"$ref": "#/definitions/transform_maps"
56+
}
57+
},
58+
"required": [
59+
"ros__parameters"
60+
]
61+
}
62+
},
63+
"required": [
64+
"/**"
65+
]
66+
}

0 commit comments

Comments
 (0)