mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 15:21:13 +02:00
Item => Shape
This commit is contained in:
12 files changed
+125
-125
No files matched your search
@@ -16,13 +16,13 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
ITEM_OBJECT_SCHEMA = {
|
||||
SHAPE_OBJECT_SCHEMA = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "An item object",
|
||||
"description": "An shape object",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item_id": {
|
||||
"description": "Link UUID",
|
||||
"shape_id": {
|
||||
"description": "Shape UUID",
|
||||
"type": "string",
|
||||
"minLength": 36,
|
||||
"maxLength": 36,
|
||||
@@ -48,7 +48,7 @@ ITEM_OBJECT_SCHEMA = {
|
||||
"type": "integer"
|
||||
},
|
||||
"svg": {
|
||||
"description": "SVG content of the item",
|
||||
"description": "SVG content of the shape",
|
||||
"type": "string",
|
||||
"pattern": "^<.+>$"
|
||||
}
|
||||
Reference in new issue
Block a user