Add new code new version
[sdc.git] / dox-sequence-diagram-ui / src / main / webapp / lib / ecomp / asdc / sequencer / model / schema / asdc_sequencer_meta_schema.json
1
2 {
3     "id":"#",
4     "definitions":{
5         "LifelinesType.Constraints":{
6             "type":"object",
7             "title":"LifelinesType.Constraints",
8             "required":[
9                 "create",
10                 "delete",
11                 "reorder"
12             ],
13             "properties":{
14                 "create":{
15                     "title":"create",
16                     "allOf":[
17                         {
18                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
19                         }
20                     ],
21                     "propertyType":"attribute",
22                     "attributeName":{
23                         "localPart":"create",
24                         "namespaceURI":""
25                     }
26                 },
27                 "delete":{
28                     "title":"delete",
29                     "allOf":[
30                         {
31                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
32                         }
33                     ],
34                     "propertyType":"attribute",
35                     "attributeName":{
36                         "localPart":"delete",
37                         "namespaceURI":""
38                     }
39                 },
40                 "reorder":{
41                     "title":"reorder",
42                     "allOf":[
43                         {
44                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
45                         }
46                     ],
47                     "propertyType":"attribute",
48                     "attributeName":{
49                         "localPart":"reorder",
50                         "namespaceURI":""
51                     }
52                 }
53             },
54             "typeType":"classInfo",
55             "propertiesOrder":[
56                 "create",
57                 "delete",
58                 "reorder"
59             ]
60         },
61         "LifelinesType":{
62             "required":[
63                 "constraints"
64             ],
65             "allOf":[
66                 {
67                     "$ref":"#/definitions/EntityType"
68                 },
69                 {
70                     "type":"object",
71                     "title":"LifelinesType",
72                     "properties":{
73                         "lifeline":{
74                             "title":"lifeline",
75                             "allOf":[
76                                 {
77                                     "type":"array",
78                                     "items":{
79                                         "$ref":"#/definitions/LifelineType"
80                                     },
81                                     "minItems":0
82                                 }
83                             ],
84                             "propertyType":"element",
85                             "elementName":{
86                                 "localPart":"lifeline",
87                                 "namespaceURI":""
88                             }
89                         },
90                         "constraints":{
91                             "title":"constraints",
92                             "allOf":[
93                                 {
94                                     "$ref":"#/definitions/LifelinesType.Constraints"
95                                 }
96                             ],
97                             "propertyType":"element",
98                             "elementName":{
99                                 "localPart":"constraints",
100                                 "namespaceURI":""
101                             }
102                         }
103                     }
104                 }
105             ],
106             "typeType":"classInfo",
107             "typeName":{
108                 "localPart":"lifelinesType",
109                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
110             },
111             "propertiesOrder":[
112                 "lifeline",
113                 "constraints"
114             ]
115         },
116         "EntityType.Notes":{
117             "type":"object",
118             "title":"EntityType.Notes",
119             "properties":{
120                 "note":{
121                     "title":"note",
122                     "allOf":[
123                         {
124                             "type":"array",
125                             "items":{
126                                 "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
127                             },
128                             "minItems":0
129                         }
130                     ],
131                     "propertyType":"element",
132                     "elementName":{
133                         "localPart":"note",
134                         "namespaceURI":""
135                     }
136                 }
137             },
138             "typeType":"classInfo",
139             "propertiesOrder":[
140                 "note"
141             ]
142         },
143         "MetadataType":{
144             "allOf":[
145                 {
146                     "$ref":"#/definitions/EntityType"
147                 },
148                 {
149                     "type":"object",
150                     "title":"MetadataType",
151                     "properties":{
152                     }
153                 }
154             ],
155             "typeType":"classInfo",
156             "typeName":{
157                 "localPart":"metadataType",
158                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
159             }
160         },
161         "EntityType":{
162             "type":"object",
163             "title":"EntityType",
164             "required":[
165                 "id",
166                 "name"
167             ],
168             "properties":{
169                 "notes":{
170                     "title":"notes",
171                     "allOf":[
172                         {
173                             "$ref":"#/definitions/EntityType.Notes"
174                         }
175                     ],
176                     "propertyType":"element",
177                     "elementName":{
178                         "localPart":"notes",
179                         "namespaceURI":""
180                     }
181                 },
182                 "id":{
183                     "title":"id",
184                     "allOf":[
185                         {
186                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
187                         }
188                     ],
189                     "propertyType":"attribute",
190                     "attributeName":{
191                         "localPart":"id",
192                         "namespaceURI":""
193                     }
194                 },
195                 "name":{
196                     "title":"name",
197                     "allOf":[
198                         {
199                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/string"
200                         }
201                     ],
202                     "propertyType":"attribute",
203                     "attributeName":{
204                         "localPart":"name",
205                         "namespaceURI":""
206                     }
207                 }
208             },
209             "typeType":"classInfo",
210             "typeName":{
211                 "localPart":"entityType",
212                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
213             },
214             "propertiesOrder":[
215                 "notes",
216                 "id",
217                 "name"
218             ]
219         },
220         "Diagram":{
221             "type":"object",
222             "title":"Diagram",
223             "required":[
224                 "metadata",
225                 "lifelines"
226             ],
227             "properties":{
228                 "metadata":{
229                     "title":"metadata",
230                     "allOf":[
231                         {
232                             "$ref":"#/definitions/MetadataType"
233                         }
234                     ],
235                     "propertyType":"element",
236                     "elementName":{
237                         "localPart":"metadata",
238                         "namespaceURI":""
239                     }
240                 },
241                 "lifelines":{
242                     "title":"lifelines",
243                     "allOf":[
244                         {
245                             "$ref":"#/definitions/LifelinesType"
246                         }
247                     ],
248                     "propertyType":"element",
249                     "elementName":{
250                         "localPart":"lifelines",
251                         "namespaceURI":""
252                     }
253                 }
254             },
255             "typeType":"classInfo",
256             "propertiesOrder":[
257                 "metadata",
258                 "lifelines"
259             ]
260         },
261         "LifelineType":{
262             "allOf":[
263                 {
264                     "$ref":"#/definitions/EntityType"
265                 },
266                 {
267                     "type":"object",
268                     "title":"LifelineType",
269                     "properties":{
270                         "mandatory":{
271                             "title":"mandatory",
272                             "allOf":[
273                                 {
274                                     "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/boolean"
275                                 }
276                             ],
277                             "propertyType":"attribute",
278                             "attributeName":{
279                                 "localPart":"mandatory",
280                                 "namespaceURI":""
281                             }
282                         }
283                     }
284                 }
285             ],
286             "typeType":"classInfo",
287             "typeName":{
288                 "localPart":"lifelineType",
289                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
290             },
291             "propertiesOrder":[
292                 "mandatory"
293             ]
294         }
295     },
296     "anyOf":[
297         {
298             "type":"object",
299             "properties":{
300                 "name":{
301                     "allOf":[
302                         {
303                             "$ref":"http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema#/definitions/QName"
304                         },
305                         {
306                             "type":"object",
307                             "properties":{
308                                 "localPart":{
309                                     "enum":[
310                                         "diagram"
311                                     ]
312                                 },
313                                 "namespaceURI":{
314                                     "enum":[
315                                         "http://ns.ecomp.com/asdc/sequencer"
316                                     ]
317                                 }
318                             }
319                         }
320                     ]
321                 },
322                 "value":{
323                     "$ref":"#/definitions/Diagram"
324                 }
325             },
326             "elementName":{
327                 "localPart":"diagram",
328                 "namespaceURI":"http://ns.ecomp.com/asdc/sequencer"
329             }
330         }
331     ]
332 }