|
22 | 22 | <formal-name>Short Description</formal-name> |
23 | 23 | <description>A text-based short-description for a rule.</description> |
24 | 24 | <model> |
25 | | - <define-field name="text" as-type="markup-line"/> |
| 25 | + <define-field name="text" as-type="markup-line" min-occurs="1" max-occurs="1"> |
| 26 | + <formal-name>Short Description Text</formal-name> |
| 27 | + <description>The short text of the description.</description> |
| 28 | + </define-field> |
26 | 29 | </model> |
27 | 30 | </define-assembly> |
28 | 31 | <define-field name="help-uri" as-type="uri" /> |
|
38 | 41 | <description>A declaration of requirements with identifiers and descriptions for the tool generating results from analyzing artifacts.</description> |
39 | 42 | <model> |
40 | 43 | <define-field name="id"/> |
41 | | - <field ref="short-description"> |
| 44 | + <assembly ref="short-description"> |
42 | 45 | <use-name>shortDescription</use-name> |
43 | | - </field> |
| 46 | + </assembly> |
44 | 47 | <field ref="help-uri"> |
45 | 48 | <use-name>helpUri</use-name> |
46 | 49 | </field> |
|
55 | 58 | <field ref="information-uri"> |
56 | 59 | <use-name>informationUri</use-name> |
57 | 60 | </field> |
58 | | - <assembly ref="rule"> |
| 61 | + <assembly ref="rule" min-occurs="1" max-occurs="unbounded"> |
59 | 62 | <group-as name="rules" in-json="ARRAY" /> |
60 | 63 | </assembly> |
61 | 64 | </model> |
|
85 | 88 | </assembly> |
86 | 89 | <assembly ref="artifact" min-occurs="0" max-occurs="unbounded"> |
87 | 90 | <group-as name="artifacts" in-json="ARRAY" /> |
88 | | - </assembly> |
| 91 | + </assembly> |
89 | 92 | </model> |
90 | 93 | </define-assembly> |
91 | 94 | <define-assembly name="root"> |
|
94 | 97 | <root-name>root</root-name> |
95 | 98 | <model> |
96 | 99 | <field ref="version" min-occurs="1" max-occurs="1"/> |
97 | | - <assembly ref="run" min-occurs="0" max-occurs="unbounded"> |
| 100 | + <assembly ref="run" min-occurs="1" max-occurs="unbounded"> |
98 | 101 | <group-as name="runs" in-json="ARRAY" /> |
99 | 102 | </assembly> |
100 | 103 | </model> |
|
0 commit comments