Add new code new version
[sdc.git] / dox-sequence-diagram-ui / src / main / webapp / lib / ecomp / asdc / sequencer / model / schema / asdc_sequencer_schema.json
1
2 {
3     "id":"#",
4     "definitions":{
5         "EntityType.Notes":{
6             "type":"object",
7             "title":"EntityType.Notes",
8             "properties":{
9                 "note":{
10                     "title":"note",
11                     "allOf":[
12                         {
13                             "type":"array",
14                             "items":{
15                                 "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
16                             },
17                             "minItems":0
18                         }
19                     ],
20                     "propertyType":"element",
21                     "elementName":{
22                         "localPart":"note",
23                         "namespaceURI":""
24                     }
25                 }
26             },
27             "typeType":"classInfo",
28             "propertiesOrder":[
29                 "note"
30             ]
31         },
32         "GuardType":{
33             "type":"object",
34             "title":"GuardType",
35             "required":[
36                 "guard",
37                 "steps"
38             ],
39             "properties":{
40                 "guard":{
41                     "title":"guard",
42                     "allOf":[
43                         {
44                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
45                         }
46                     ],
47                     "propertyType":"element",
48                     "elementName":{
49                         "localPart":"guard",
50                         "namespaceURI":""
51                     }
52                 },
53                 "steps":{
54                     "title":"steps",
55                     "allOf":[
56                         {
57                             "$ref":"#/definitions/StepsType"
58                         }
59                     ],
60                     "propertyType":"element",
61                     "elementName":{
62                         "localPart":"steps",
63                         "namespaceURI":""
64                     }
65                 }
66             },
67             "typeType":"classInfo",
68             "typeName":{
69                 "localPart":"guardType",
70                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
71             },
72             "propertiesOrder":[
73                 "guard",
74                 "steps"
75             ]
76         },
77         "MetadataType":{
78             "allOf":[
79                 {
80                     "$ref":"#/definitions/EntityType"
81                 },
82                 {
83                     "type":"object",
84                     "title":"MetadataType",
85                     "properties":{
86                     }
87                 }
88             ],
89             "typeType":"classInfo",
90             "typeName":{
91                 "localPart":"metadataType",
92                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
93             }
94         },
95         "OccurrencesType":{
96             "type":"object",
97             "title":"OccurrencesType",
98             "properties":{
99                 "start":{
100                     "title":"start",
101                     "allOf":[
102                         {
103                             "type":"array",
104                             "items":{
105                                 "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
106                             }
107                         }
108                     ],
109                     "propertyType":"attribute",
110                     "attributeName":{
111                         "localPart":"start",
112                         "namespaceURI":""
113                     }
114                 },
115                 "stop":{
116                     "title":"stop",
117                     "allOf":[
118                         {
119                             "type":"array",
120                             "items":{
121                                 "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
122                             }
123                         }
124                     ],
125                     "propertyType":"attribute",
126                     "attributeName":{
127                         "localPart":"stop",
128                         "namespaceURI":""
129                     }
130                 }
131             },
132             "typeType":"classInfo",
133             "typeName":{
134                 "localPart":"occurrencesType",
135                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
136             },
137             "propertiesOrder":[
138                 "start",
139                 "stop"
140             ]
141         },
142         "Diagram":{
143             "type":"object",
144             "title":"Diagram",
145             "required":[
146                 "metadata",
147                 "lifelines",
148                 "steps"
149             ],
150             "properties":{
151                 "metadata":{
152                     "title":"metadata",
153                     "allOf":[
154                         {
155                             "$ref":"#/definitions/MetadataType"
156                         }
157                     ],
158                     "propertyType":"element",
159                     "elementName":{
160                         "localPart":"metadata",
161                         "namespaceURI":""
162                     }
163                 },
164                 "lifelines":{
165                     "title":"lifelines",
166                     "allOf":[
167                         {
168                             "$ref":"#/definitions/LifelinesType"
169                         }
170                     ],
171                     "propertyType":"element",
172                     "elementName":{
173                         "localPart":"lifelines",
174                         "namespaceURI":""
175                     }
176                 },
177                 "steps":{
178                     "title":"steps",
179                     "allOf":[
180                         {
181                             "$ref":"#/definitions/StepsType"
182                         }
183                     ],
184                     "propertyType":"element",
185                     "elementName":{
186                         "localPart":"steps",
187                         "namespaceURI":""
188                     }
189                 }
190             },
191             "typeType":"classInfo",
192             "propertiesOrder":[
193                 "metadata",
194                 "lifelines",
195                 "steps"
196             ]
197         },
198         "LifelineType":{
199             "allOf":[
200                 {
201                     "$ref":"#/definitions/EntityType"
202                 },
203                 {
204                     "type":"object",
205                     "title":"LifelineType",
206                     "properties":{
207                     }
208                 }
209             ],
210             "typeType":"classInfo",
211             "typeName":{
212                 "localPart":"lifelineType",
213                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
214             }
215         },
216         "LifelinesType":{
217             "allOf":[
218                 {
219                     "$ref":"#/definitions/EntityType"
220                 },
221                 {
222                     "type":"object",
223                     "title":"LifelinesType",
224                     "properties":{
225                         "lifeline":{
226                             "title":"lifeline",
227                             "allOf":[
228                                 {
229                                     "type":"array",
230                                     "items":{
231                                         "$ref":"#/definitions/LifelineType"
232                                     },
233                                     "minItems":0
234                                 }
235                             ],
236                             "propertyType":"element",
237                             "elementName":{
238                                 "localPart":"lifeline",
239                                 "namespaceURI":""
240                             }
241                         }
242                     }
243                 }
244             ],
245             "typeType":"classInfo",
246             "typeName":{
247                 "localPart":"lifelinesType",
248                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
249             },
250             "propertiesOrder":[
251                 "lifeline"
252             ]
253         },
254         "FragmentType":{
255             "type":"object",
256             "title":"FragmentType",
257             "properties":{
258                 "start":{
259                     "title":"start",
260                     "allOf":[
261                         {
262                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
263                         }
264                     ],
265                     "propertyType":"attribute",
266                     "attributeName":{
267                         "localPart":"start",
268                         "namespaceURI":""
269                     }
270                 },
271                 "stop":{
272                     "title":"stop",
273                     "allOf":[
274                         {
275                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
276                         }
277                     ],
278                     "propertyType":"attribute",
279                     "attributeName":{
280                         "localPart":"stop",
281                         "namespaceURI":""
282                     }
283                 },
284                 "operation":{
285                     "title":"operation",
286                     "allOf":[
287                         {
288                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
289                         }
290                     ],
291                     "propertyType":"attribute",
292                     "attributeName":{
293                         "localPart":"operation",
294                         "namespaceURI":""
295                     }
296                 },
297                 "guard":{
298                     "title":"guard",
299                     "allOf":[
300                         {
301                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
302                         }
303                     ],
304                     "propertyType":"attribute",
305                     "attributeName":{
306                         "localPart":"guard",
307                         "namespaceURI":""
308                     }
309                 }
310             },
311             "typeType":"classInfo",
312             "typeName":{
313                 "localPart":"fragmentType",
314                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
315             },
316             "propertiesOrder":[
317                 "start",
318                 "stop",
319                 "operation",
320                 "guard"
321             ]
322         },
323         "StepsType":{
324             "required":[
325                 "message"
326             ],
327             "allOf":[
328                 {
329                     "$ref":"#/definitions/EntityType"
330                 },
331                 {
332                     "type":"object",
333                     "title":"StepsType",
334                     "properties":{
335                         "message":{
336                             "title":"message",
337                             "allOf":[
338                                 {
339                                     "type":"array",
340                                     "items":{
341                                         "$ref":"#/definitions/MessageType"
342                                     },
343                                     "minItems":1
344                                 }
345                             ],
346                             "propertyType":"element",
347                             "elementName":{
348                                 "localPart":"message",
349                                 "namespaceURI":""
350                             }
351                         }
352                     }
353                 }
354             ],
355             "typeType":"classInfo",
356             "typeName":{
357                 "localPart":"stepsType",
358                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
359             },
360             "propertiesOrder":[
361                 "message"
362             ]
363         },
364         "EntityType":{
365             "type":"object",
366             "title":"EntityType",
367             "required":[
368                 "id",
369                 "name"
370             ],
371             "properties":{
372                 "notes":{
373                     "title":"notes",
374                     "allOf":[
375                         {
376                             "$ref":"#/definitions/EntityType.Notes"
377                         }
378                     ],
379                     "propertyType":"element",
380                     "elementName":{
381                         "localPart":"notes",
382                         "namespaceURI":""
383                     }
384                 },
385                 "id":{
386                     "title":"id",
387                     "allOf":[
388                         {
389                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
390                         }
391                     ],
392                     "propertyType":"attribute",
393                     "attributeName":{
394                         "localPart":"id",
395                         "namespaceURI":""
396                     }
397                 },
398                 "ref":{
399                     "title":"ref",
400                     "allOf":[
401                         {
402                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
403                         }
404                     ],
405                     "propertyType":"attribute",
406                     "attributeName":{
407                         "localPart":"ref",
408                         "namespaceURI":""
409                     }
410                 },
411                 "name":{
412                     "title":"name",
413                     "allOf":[
414                         {
415                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
416                         }
417                     ],
418                     "propertyType":"attribute",
419                     "attributeName":{
420                         "localPart":"name",
421                         "namespaceURI":""
422                     }
423                 }
424             },
425             "typeType":"classInfo",
426             "typeName":{
427                 "localPart":"entityType",
428                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
429             },
430             "propertiesOrder":[
431                 "notes",
432                 "id",
433                 "ref",
434                 "name"
435             ]
436         },
437         "MessageType":{
438             "required":[
439                 "to",
440                 "from"
441             ],
442             "allOf":[
443                 {
444                     "$ref":"#/definitions/EntityType"
445                 },
446                 {
447                     "type":"object",
448                     "title":"MessageType",
449                     "properties":{
450                         "occurrences":{
451                             "title":"occurrences",
452                             "allOf":[
453                                 {
454                                     "$ref":"#/definitions/OccurrencesType"
455                                 }
456                             ],
457                             "propertyType":"element",
458                             "elementName":{
459                                 "localPart":"occurrences",
460                                 "namespaceURI":""
461                             }
462                         },
463                         "fragment":{
464                             "title":"fragment",
465                             "allOf":[
466                                 {
467                                     "$ref":"#/definitions/FragmentType"
468                                 }
469                             ],
470                             "propertyType":"element",
471                             "elementName":{
472                                 "localPart":"fragment",
473                                 "namespaceURI":""
474                             }
475                         },
476                         "to":{
477                             "title":"to",
478                             "allOf":[
479                                 {
480                                     "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
481                                 }
482                             ],
483                             "propertyType":"attribute",
484                             "attributeName":{
485                                 "localPart":"to",
486                                 "namespaceURI":""
487                             }
488                         },
489                         "from":{
490                             "title":"from",
491                             "allOf":[
492                                 {
493                                     "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
494                                 }
495                             ],
496                             "propertyType":"attribute",
497                             "attributeName":{
498                                 "localPart":"from",
499                                 "namespaceURI":""
500                             }
501                         },
502                         "type":{
503                             "title":"type",
504                             "allOf":[
505                                 {
506                                     "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
507                                 }
508                             ],
509                             "propertyType":"attribute",
510                             "attributeName":{
511                                 "localPart":"type",
512                                 "namespaceURI":""
513                             }
514                         },
515                         "asynchronous":{
516                             "title":"asynchronous",
517                             "allOf":[
518                                 {
519                                     "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
520                                 }
521                             ],
522                             "propertyType":"attribute",
523                             "attributeName":{
524                                 "localPart":"asynchronous",
525                                 "namespaceURI":""
526                             }
527                         }
528                     }
529                 }
530             ],
531             "typeType":"classInfo",
532             "typeName":{
533                 "localPart":"messageType",
534                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
535             },
536             "propertiesOrder":[
537                 "occurrences",
538                 "fragment",
539                 "to",
540                 "from",
541                 "type",
542                 "asynchronous"
543             ]
544         }
545     },
546     "anyOf":[
547         {
548             "type":"object",
549             "properties":{
550                 "name":{
551                     "allOf":[
552                         {
553                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/QName"
554                         },
555                         {
556                             "type":"object",
557                             "properties":{
558                                 "localPart":{
559                                     "enum":[
560                                         "diagram"
561                                     ]
562                                 },
563                                 "namespaceURI":{
564                                     "enum":[
565                                         "http://ns.ecomp.com/asdc/sequencer"
566                                     ]
567                                 }
568                             }
569                         }
570                     ]
571                 },
572                 "value":{
573                     "$ref":"#/definitions/Diagram"
574                 }
575             },
576             "elementName":{
577                 "localPart":"diagram",
578                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
579             }
580         }
581     ]
582 }