Skip to content

Commit

Permalink
Merge 605a09f into 07654d4
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Feb 8, 2022
2 parents 07654d4 + 605a09f commit 24a529a
Show file tree
Hide file tree
Showing 3 changed files with 393 additions and 1 deletion.
377 changes: 377 additions & 0 deletions daliuge-translator/dlg-lg.graph.schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,377 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"modelData": {
"type": "object",
"properties": {
"fileType": {
"type": "string"
},
"repoService": {
"type": "string"
},
"repoBranch": {
"type": "string"
},
"readonly": {
"type": "boolean"
},
"repo": {
"type": "string"
},
"filePath": {
"type": "string"
},
"sha": {
"type": "string"
},
"gitUrl": {
"type": "string"
},
"eagleVersion": {
"type": "string"
},
"eagleCommitHash": {
"type": "string"
},
"schemaVersion": {
"type": "string"
},
"lastModifiedName": {
"type": "string"
},
"lastModifiedEmail": {
"type": "string"
},
"lastModifiedDatetime": {
"type": "integer"
}
},
"required": [
"filePath",
"fileType",
"gitUrl",
"readonly",
"repo",
"repoBranch",
"repoService",
"sha",
"eagleVersion",
"eagleCommitHash",
"schemaVersion",
"lastModifiedName",
"lastModifiedEmail",
"lastModifiedDatetime"
]
},
"nodeDataArray": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"isGroup": {
"type": "boolean"
},
"color": {
"type": "string"
},
"drawOrderHint": {
"type": "integer"
},
"key": {
"type": "integer"
},
"text": {
"type": "string"
},
"description": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"collapsed": {
"type": "boolean"
},
"streaming": {
"type": "boolean"
},
"subject": {
"type": "null"
},
"expanded": {
"type": "boolean"
},
"inputApplicationName": {
"type": "string"
},
"outputApplicationName": {
"type": "string"
},
"inputApplicationType": {
"type": "string"
},
"outputApplicationType": {
"type": "string"
},
"inputPorts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Id": {
"type": "string"
},
"IdText": {
"type": "string"
}
},
"required": [
"Id",
"IdText"
]
}
},
"outputPorts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Id": {
"type": "string"
},
"IdText": {
"type": "string"
}
},
"required": [
"Id",
"IdText"
]
}
},
"inputLocalPorts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Id": {
"type": "string"
},
"IdText": {
"type": "string"
}
},
"required": [
"Id",
"IdText"
]
}
},
"outputLocalPorts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Id": {
"type": "string"
},
"IdText": {
"type": "string"
}
},
"required": [
"Id",
"IdText"
]
}
},
"inputAppFields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": ["string","boolean","number"]
},
"description": {
"type": "string"
}
},
"required": [
"description",
"name",
"text",
"value"
]
}
},
"outputAppFields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": ["string","boolean","number"]
},
"description": {
"type": "string"
}
},
"required": [
"description",
"name",
"text",
"value"
]
}
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": ["string","boolean","number"]
},
"description": {
"type": "string"
}
},
"required": [
"description",
"name",
"text",
"value"
]
}
},
"applicationParams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": ["string","boolean","number"]
},
"description": {
"type": "string"
}
},
"required": [
"description",
"name",
"text",
"value"
]
}
},
"group": {
"type": "integer"
}
},
"required": [
"category",
"collapsed",
"color",
"description",
"drawOrderHint",
"expanded",
"fields",
"applicationParams",
"height",
"inputAppFields",
"inputApplicationName",
"inputApplicationType",
"inputLocalPorts",
"inputPorts",
"isGroup",
"key",
"outputAppFields",
"outputApplicationName",
"outputApplicationType",
"outputLocalPorts",
"outputPorts",
"streaming",
"subject",
"text",
"width",
"x",
"y"
]
}
},
"linkDataArray": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "integer"
},
"fromPort": {
"type": "string"
},
"to": {
"type": "integer"
},
"toPort": {
"type": "string"
},
"loop_aware": {
"type": "string"
}
},
"required": [
"from",
"fromPort",
"to",
"toPort",
"loop_aware"
]
}
}
},
"required": [
"linkDataArray",
"modelData",
"nodeDataArray"
]
}
Loading

0 comments on commit 24a529a

Please sign in to comment.