Skip to content

Commit

Permalink
#34 Fix app_data attribute types in pipeline-flow-ui-schema.json (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlyn authored Sep 19, 2020
1 parent 6ccbc08 commit 92ce149
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions common-pipeline/pipeline-flow/pipeline-flow-ui-v3-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the port.",
"type": "string"
"type": ["string", "object"]
},
"label": {
"description": "Port name",
Expand All @@ -98,31 +98,31 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the node.",
"type": "string"
"type": ["string", "object"]
},
"image": {
"description": "Image name (do not embed images inline!)",
"type": "string"
},
"x_pos": {
"description": "x-position",
"type": "integer"
"type": "number"
},
"y_pos": {
"description": "y-position",
"type": "integer"
"type": "number"
},
"is_expanded": {
"description": "Indicates whether a supernode is shown in expanded state or as a regular node.",
"type": "boolean"
},
"expanded_height": {
"description": "Height of expanded supernode. If not provided an appropriate height is calculated.",
"type": "string"
"type": "number"
},
"expanded_width": {
"description": "Width of expanded supernode. If not provided an appropriate width is calculated.",
"type": "string"
"type": "number"
},
"attributes": {
"description": "additional attributes",
Expand Down Expand Up @@ -173,7 +173,7 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the node to node link.",
"type": "string"
"type": ["string", "object"]
},
"decorations": {
"description": "Array of decorations used to decorate node links",
Expand Down Expand Up @@ -211,7 +211,7 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the association link.",
"type": "string"
"type": ["string", "object"]
},
"decorations": {
"description": "Array of decorations used to decorate association links",
Expand Down Expand Up @@ -320,22 +320,22 @@
},
"x_pos": {
"description": "Horizontal comment position",
"type": "integer",
"type": "number",
"minimum": 0
},
"y_pos": {
"description": "Vertical comment position",
"type": "integer",
"type": "number",
"minimum": 0
},
"width": {
"description": "Comment width",
"type": "integer",
"type": "number",
"minimum": 10
},
"height": {
"description": "Comment height",
"type": "integer",
"type": "number",
"minimum": 10
},
"class_name": {
Expand All @@ -344,7 +344,7 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the comment.",
"type": "string"
"type": ["string", "object"]
},
"attributes": {
"description": "Optional attributes to be added to this element. For example: \"attributes\": \"attr1='value1'; attr2='value2'\"",
Expand Down Expand Up @@ -387,7 +387,7 @@
},
"style": {
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the comment link.",
"type": "string"
"type": ["string", "object"]
}
},
"required": [
Expand Down

0 comments on commit 92ce149

Please sign in to comment.