Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/opengeodeweb_viewer/rpc/generic/schemas/deregister.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
"properties": {
"viewer_object": {
"type": "string",
"enum": ["mesh", "model"]
"minLength": 1,
"enum": [
"mesh",
"model"
]
},
"id": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
12 changes: 9 additions & 3 deletions src/opengeodeweb_viewer/rpc/generic/schemas/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
"properties": {
"viewer_object": {
"type": "string",
"enum": ["mesh", "model"]
"minLength": 1,
"enum": [
"mesh",
"model"
]
},
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"file_name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/edges/schemas/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/edges/schemas/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"size": {
"type": "integer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/points/schemas/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/points/schemas/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"size": {
"type": "number"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/polygons/schemas/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
11 changes: 7 additions & 4 deletions src/opengeodeweb_viewer/rpc/mesh/schemas/apply_textures.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"textures": {
"type": "array",
"elements": {
"items": {
"type": "object",
"properties": {
"texture_name": {
"type": "string"
"type": "string",
"minLength": 1
},
"texture_file_name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
5 changes: 3 additions & 2 deletions src/opengeodeweb_viewer/rpc/mesh/schemas/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
"type": "object",
"properties": {
"r": {
"type": "integer",
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/schemas/deregister.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/schemas/opacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"opacity": {
"type": "number",
Expand Down
6 changes: 4 additions & 2 deletions src/opengeodeweb_viewer/rpc/mesh/schemas/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"file_name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/mesh/schemas/visibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
9 changes: 6 additions & 3 deletions src/opengeodeweb_viewer/rpc/model/schemas/apply_textures.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"textures": {
"type": "array",
"elements": {
"type": "object",
"properties": {
"texture_name": {
"type": "string"
"type": "string",
"minLength": 1
},
"texture_file_name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
3 changes: 2 additions & 1 deletion src/opengeodeweb_viewer/rpc/model/schemas/deregister.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
6 changes: 4 additions & 2 deletions src/opengeodeweb_viewer/rpc/model/schemas/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"file_name": {
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"color": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"visibility": {
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"minLength": 1
},
"size": {
"type": "integer"
Expand Down
Loading