Skip to content

Commit

Permalink
Switch back to the new schema
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Oct 28, 2022
1 parent 7019fdc commit 068fa91
Showing 1 changed file with 49 additions and 66 deletions.
115 changes: 49 additions & 66 deletions daliuge-translator/dlg/dropmake/lg.graph.schema
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"modelData": {
"type": "object",
"properties": {
"fileType": {
"type": "string"
},
"repoService": {
"type": "string"
},
Expand All @@ -23,10 +20,7 @@
"filePath": {
"type": "string"
},
"sha": {
"type": "string"
},
"gitUrl": {
"fileType": {
"type": "string"
},
"eagleVersion": {
Expand All @@ -49,23 +43,38 @@
},
"numLGNodes": {
"type": "integer"
},
"commitHash": {
"type": "string"
},
"downloadUrl": {
"type": "string"
},
"repositoryUrl": {
"type": "string"
},
"signature": {
"type": "string"
}
},
"required": [
"filePath",
"fileType",
"gitUrl",
"readonly",
"repo",
"repoBranch",
"repoService",
"sha",
"eagleVersion",
"eagleCommitHash",
"schemaVersion",
"lastModifiedName",
"lastModifiedEmail",
"lastModifiedDatetime"
"lastModifiedDatetime",
"numLGNodes",
"commitHash",
"downloadUrl",
"repositoryUrl",
"signature"
]
},
"nodeDataArray": {
Expand All @@ -82,6 +91,12 @@
"color": {
"type": "string"
},
"commitHash": {
"type": "string"
},
"dataHash": {
"type": "string"
},
"drawOrderHint": {
"type": "integer"
},
Expand Down Expand Up @@ -109,22 +124,12 @@
"collapsed": {
"type": "boolean"
},
"streaming": {
"type": "boolean"
},
"subject": {
"type": "null"
},
"expanded": {
"type": "boolean"
},
"precious": {
"type": "boolean",
"deprecated": true
},
"persist": {
"type": "boolean"
},
"inputApplicationName": {
"type": "string"
},
Expand Down Expand Up @@ -261,6 +266,12 @@
]
}
},
"paletteDownloadUrl": {
"type": "string"
},
"repositoryUrl": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
Expand Down Expand Up @@ -296,58 +307,20 @@
"positional": {
"type": "boolean",
"default": false
}
},
"required": [
"description",
"name",
"text",
"value"
]
}
},
"applicationArgs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": ["string","boolean","number", "null"]
},
"defaultValue": {
"type": ["string","boolean","number", "null"]
},
"description": {
"type": "string"
},
"readonly": {
"keyAttribute": {
"type": "boolean"
},
"type": {
"type": "string"
},
"precious": {
"type": "boolean"
},
"options": {
"type": "array"
},
"positional": {
"type": "boolean",
"default": false
}
},
"required": [
"description",
"name",
"text",
"value"
"value",
"type",
"precious",
"options",
"positional"
]
}
},
Expand All @@ -359,11 +332,12 @@
"category",
"collapsed",
"color",
"commitHash",
"dataHash",
"description",
"drawOrderHint",
"expanded",
"fields",
"applicationArgs",
"height",
"inputAppFields",
"inputApplicationName",
Expand All @@ -377,7 +351,8 @@
"outputApplicationType",
"outputLocalPorts",
"outputPorts",
"streaming",
"paletteDownloadUrl",
"repositoryUrl",
"subject",
"text",
"width",
Expand All @@ -391,6 +366,12 @@
"items": {
"type": "object",
"properties": {
"closesLoop": {
"type": "boolean"
},
"dataType": {
"type": "string"
},
"from": {
"type": "integer"
},
Expand All @@ -408,6 +389,8 @@
}
},
"required": [
"closesLoop",
"dataType",
"from",
"fromPort",
"to",
Expand Down

0 comments on commit 068fa91

Please sign in to comment.