aboutsummaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 12:57:33 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 13:47:13 +0200
commitefa037d34be7b1570efdc767c79fad8d4005f10e (patch)
treecf1036ba2728dea8a61492b678fa91954e629403 /dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json
parentf5f13c4f6b6fe3b4d98e349dfd7db59339803436 (diff)
Add new code new version
Change-Id: Ic02a76313503b526f17c3df29eb387a29fe6a42a Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json')
-rw-r--r--dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json582
1 files changed, 582 insertions, 0 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json
new file mode 100644
index 0000000000..d655826290
--- /dev/null
+++ b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/model/schema/asdc_sequencer_schema.json
@@ -0,0 +1,582 @@
+
+{
+ "id":"#",
+ "definitions":{
+ "EntityType.Notes":{
+ "type":"object",
+ "title":"EntityType.Notes",
+ "properties":{
+ "note":{
+ "title":"note",
+ "allOf":[
+ {
+ "type":"array",
+ "items":{
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ },
+ "minItems":0
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"note",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "propertiesOrder":[
+ "note"
+ ]
+ },
+ "GuardType":{
+ "type":"object",
+ "title":"GuardType",
+ "required":[
+ "guard",
+ "steps"
+ ],
+ "properties":{
+ "guard":{
+ "title":"guard",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"guard",
+ "namespaceURI":""
+ }
+ },
+ "steps":{
+ "title":"steps",
+ "allOf":[
+ {
+ "$ref":"#/definitions/StepsType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"steps",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"guardType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "guard",
+ "steps"
+ ]
+ },
+ "MetadataType":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType"
+ },
+ {
+ "type":"object",
+ "title":"MetadataType",
+ "properties":{
+ }
+ }
+ ],
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"metadataType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ }
+ },
+ "OccurrencesType":{
+ "type":"object",
+ "title":"OccurrencesType",
+ "properties":{
+ "start":{
+ "title":"start",
+ "allOf":[
+ {
+ "type":"array",
+ "items":{
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"start",
+ "namespaceURI":""
+ }
+ },
+ "stop":{
+ "title":"stop",
+ "allOf":[
+ {
+ "type":"array",
+ "items":{
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"stop",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"occurrencesType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "start",
+ "stop"
+ ]
+ },
+ "Diagram":{
+ "type":"object",
+ "title":"Diagram",
+ "required":[
+ "metadata",
+ "lifelines",
+ "steps"
+ ],
+ "properties":{
+ "metadata":{
+ "title":"metadata",
+ "allOf":[
+ {
+ "$ref":"#/definitions/MetadataType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"metadata",
+ "namespaceURI":""
+ }
+ },
+ "lifelines":{
+ "title":"lifelines",
+ "allOf":[
+ {
+ "$ref":"#/definitions/LifelinesType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"lifelines",
+ "namespaceURI":""
+ }
+ },
+ "steps":{
+ "title":"steps",
+ "allOf":[
+ {
+ "$ref":"#/definitions/StepsType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"steps",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "propertiesOrder":[
+ "metadata",
+ "lifelines",
+ "steps"
+ ]
+ },
+ "LifelineType":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType"
+ },
+ {
+ "type":"object",
+ "title":"LifelineType",
+ "properties":{
+ }
+ }
+ ],
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"lifelineType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ }
+ },
+ "LifelinesType":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType"
+ },
+ {
+ "type":"object",
+ "title":"LifelinesType",
+ "properties":{
+ "lifeline":{
+ "title":"lifeline",
+ "allOf":[
+ {
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/LifelineType"
+ },
+ "minItems":0
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"lifeline",
+ "namespaceURI":""
+ }
+ }
+ }
+ }
+ ],
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"lifelinesType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "lifeline"
+ ]
+ },
+ "FragmentType":{
+ "type":"object",
+ "title":"FragmentType",
+ "properties":{
+ "start":{
+ "title":"start",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"start",
+ "namespaceURI":""
+ }
+ },
+ "stop":{
+ "title":"stop",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"stop",
+ "namespaceURI":""
+ }
+ },
+ "operation":{
+ "title":"operation",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"operation",
+ "namespaceURI":""
+ }
+ },
+ "guard":{
+ "title":"guard",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"guard",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"fragmentType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "start",
+ "stop",
+ "operation",
+ "guard"
+ ]
+ },
+ "StepsType":{
+ "required":[
+ "message"
+ ],
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType"
+ },
+ {
+ "type":"object",
+ "title":"StepsType",
+ "properties":{
+ "message":{
+ "title":"message",
+ "allOf":[
+ {
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/MessageType"
+ },
+ "minItems":1
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"message",
+ "namespaceURI":""
+ }
+ }
+ }
+ }
+ ],
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"stepsType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "message"
+ ]
+ },
+ "EntityType":{
+ "type":"object",
+ "title":"EntityType",
+ "required":[
+ "id",
+ "name"
+ ],
+ "properties":{
+ "notes":{
+ "title":"notes",
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType.Notes"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"notes",
+ "namespaceURI":""
+ }
+ },
+ "id":{
+ "title":"id",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"id",
+ "namespaceURI":""
+ }
+ },
+ "ref":{
+ "title":"ref",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"ref",
+ "namespaceURI":""
+ }
+ },
+ "name":{
+ "title":"name",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"name",
+ "namespaceURI":""
+ }
+ }
+ },
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"entityType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "notes",
+ "id",
+ "ref",
+ "name"
+ ]
+ },
+ "MessageType":{
+ "required":[
+ "to",
+ "from"
+ ],
+ "allOf":[
+ {
+ "$ref":"#/definitions/EntityType"
+ },
+ {
+ "type":"object",
+ "title":"MessageType",
+ "properties":{
+ "occurrences":{
+ "title":"occurrences",
+ "allOf":[
+ {
+ "$ref":"#/definitions/OccurrencesType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"occurrences",
+ "namespaceURI":""
+ }
+ },
+ "fragment":{
+ "title":"fragment",
+ "allOf":[
+ {
+ "$ref":"#/definitions/FragmentType"
+ }
+ ],
+ "propertyType":"element",
+ "elementName":{
+ "localPart":"fragment",
+ "namespaceURI":""
+ }
+ },
+ "to":{
+ "title":"to",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"to",
+ "namespaceURI":""
+ }
+ },
+ "from":{
+ "title":"from",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"from",
+ "namespaceURI":""
+ }
+ },
+ "type":{
+ "title":"type",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"type",
+ "namespaceURI":""
+ }
+ },
+ "asynchronous":{
+ "title":"asynchronous",
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
+ }
+ ],
+ "propertyType":"attribute",
+ "attributeName":{
+ "localPart":"asynchronous",
+ "namespaceURI":""
+ }
+ }
+ }
+ }
+ ],
+ "typeType":"classInfo",
+ "typeName":{
+ "localPart":"messageType",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ },
+ "propertiesOrder":[
+ "occurrences",
+ "fragment",
+ "to",
+ "from",
+ "type",
+ "asynchronous"
+ ]
+ }
+ },
+ "anyOf":[
+ {
+ "type":"object",
+ "properties":{
+ "name":{
+ "allOf":[
+ {
+ "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/QName"
+ },
+ {
+ "type":"object",
+ "properties":{
+ "localPart":{
+ "enum":[
+ "diagram"
+ ]
+ },
+ "namespaceURI":{
+ "enum":[
+ "http://ns.ecomp.com/asdc/sequencer"
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "value":{
+ "$ref":"#/definitions/Diagram"
+ }
+ },
+ "elementName":{
+ "localPart":"diagram",
+ "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
+ }
+ }
+ ]
+} \ No newline at end of file