Skip to content

Commit e45df6a

Browse files
committed
shemas rpc's
1 parent 9ce3c0c commit e45df6a

14 files changed

+72
-39
lines changed

src/opengeodeweb_viewer/rpc/schemas/apply_textures.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".toggle_object_visibility",
2+
"rpc": "toggle_object_visibility",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -13,6 +13,9 @@
1313
"minItems": 1
1414
}
1515
},
16-
"required": ["id", "textures"],
16+
"required": [
17+
"id",
18+
"textures"
19+
],
1720
"additionalProperties": false
18-
}
21+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".create_object_pipeline",
2+
"rpc": "create_object_pipeline",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "string"
1010
}
1111
},
12-
"required": ["id", "file_name"],
12+
"required": [
13+
"id",
14+
"file_name"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"rpc": ".create_visualization",
2+
"rpc": "create_visualization",
33
"type": "object",
44
"properties": {},
55
"required": [],
66
"additionalProperties": false
7-
}
7+
}
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"rpc": ".delete_object_pipeline",
2+
"rpc": "delete_object_pipeline",
33
"type": "object",
44
"properties": {
55
"id": {
66
"type": "string"
77
}
88
},
9-
"required": ["id"],
9+
"required": [
10+
"id"
11+
],
1012
"additionalProperties": false
11-
}
13+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".get_point_position",
2+
"rpc": "get_point_position",
33
"type": "object",
44
"properties": {
55
"x": {
@@ -9,6 +9,9 @@
99
"type": "int16"
1010
}
1111
},
12-
"required": ["x", "y"],
12+
"required": [
13+
"x",
14+
"y"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".point_size",
2+
"rpc": "point_size",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "float64"
1010
}
1111
},
12-
"required": ["id", "size"],
12+
"required": [
13+
"id",
14+
"size"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"rpc": ".reset",
2+
"rpc": "reset",
33
"type": "object",
44
"properties": {},
55
"required": [],
66
"additionalProperties": false
7-
}
7+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"rpc": ".reset_camera",
2+
"rpc": "reset_camera",
33
"type": "object",
44
"properties": {},
55
"required": [],
66
"additionalProperties": false
7-
}
7+
}

src/opengeodeweb_viewer/rpc/schemas/set_color.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".set_color",
2+
"rpc": "set_color",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -15,6 +15,11 @@
1515
"type": "uint8"
1616
}
1717
},
18-
"required": ["id", "red", "green", "blue"],
18+
"required": [
19+
"id",
20+
"red",
21+
"green",
22+
"blue"
23+
],
1924
"additionalProperties": false
20-
}
25+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".set_vertex_attribute",
2+
"rpc": "set_vertex_attribute",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "string"
1010
}
1111
},
12-
"required": ["id", "name"],
12+
"required": [
13+
"id",
14+
"name"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".toggle_edge_visibility",
2+
"rpc": "toggle_edge_visibility",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "boolean"
1010
}
1111
},
12-
"required": ["id", "visibility"],
12+
"required": [
13+
"id",
14+
"visibility"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".toggle_object_visibility",
2+
"rpc": "toggle_object_visibility",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "boolean"
1010
}
1111
},
12-
"required": ["id", "is_visible"],
12+
"required": [
13+
"id",
14+
"is_visible"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rpc": ".toggle_point_visibility",
2+
"rpc": "toggle_point_visibility",
33
"type": "object",
44
"properties": {
55
"id": {
@@ -9,6 +9,9 @@
99
"type": "boolean"
1010
}
1111
},
12-
"required": ["id", "visibility"],
12+
"required": [
13+
"id",
14+
"visibility"
15+
],
1316
"additionalProperties": false
14-
}
17+
}
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"rpc": ".update_data",
2+
"rpc": "update_data",
33
"type": "object",
44
"properties": {
55
"id": {
66
"type": "string"
77
}
88
},
9-
"required": ["id"],
9+
"required": [
10+
"id"
11+
],
1012
"additionalProperties": false
11-
}
13+
}

0 commit comments

Comments
 (0)