1object q_empty
2enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool']
3    prefix QTYPE
4module qapi-schema-test.json
5object TestStruct
6    member integer: int optional=False
7    member boolean: bool optional=False
8    member string: str optional=False
9object NestedEnumsOne
10    member enum1: EnumOne optional=False
11    member enum2: EnumOne optional=True
12    member enum3: EnumOne optional=False
13    member enum4: EnumOne optional=True
14enum MyEnum []
15object Empty1
16object Empty2
17    base Empty1
18command user_def_cmd0 Empty2 -> Empty2
19   gen=True success_response=True boxed=False oob=False preconfig=False
20enum QEnumTwo ['value1', 'value2']
21    prefix QENUM_TWO
22object UserDefOne
23    base UserDefZero
24    member string: str optional=False
25    member enum1: EnumOne optional=True
26enum EnumOne ['value1', 'value2', 'value3', 'value4']
27object UserDefZero
28    member integer: int optional=False
29object UserDefTwoDictDict
30    member userdef: UserDefOne optional=False
31    member string: str optional=False
32object UserDefTwoDict
33    member string1: str optional=False
34    member dict2: UserDefTwoDictDict optional=False
35    member dict3: UserDefTwoDictDict optional=True
36object UserDefTwo
37    member string0: str optional=False
38    member dict1: UserDefTwoDict optional=False
39object ForceArrays
40    member unused1: UserDefOneList optional=False
41    member unused2: UserDefTwoList optional=False
42    member unused3: TestStructList optional=False
43object UserDefA
44    member boolean: bool optional=False
45    member a_b: int optional=True
46object UserDefB
47    member intb: int optional=False
48    member a-b: bool optional=True
49object UserDefFlatUnion
50    base UserDefUnionBase
51    tag enum1
52    case value1: UserDefA
53    case value2: UserDefB
54    case value3: UserDefB
55    case value4: q_empty
56object UserDefUnionBase
57    base UserDefZero
58    member string: str optional=False
59    member enum1: EnumOne optional=False
60object q_obj_UserDefFlatUnion2-base
61    member integer: int optional=True
62    member string: str optional=False
63    member enum1: QEnumTwo optional=False
64object UserDefFlatUnion2
65    base q_obj_UserDefFlatUnion2-base
66    tag enum1
67    case value1: UserDefC
68    case value2: UserDefB
69object WrapAlternate
70    member alt: UserDefAlternate optional=False
71alternate UserDefAlternate
72    tag type
73    case udfu: UserDefFlatUnion
74    case e: EnumOne
75    case i: int
76    case n: null
77object UserDefC
78    member string1: str optional=False
79    member string2: str optional=False
80alternate AltEnumBool
81    tag type
82    case e: EnumOne
83    case b: bool
84alternate AltEnumNum
85    tag type
86    case e: EnumOne
87    case n: number
88alternate AltNumEnum
89    tag type
90    case n: number
91    case e: EnumOne
92alternate AltEnumInt
93    tag type
94    case e: EnumOne
95    case i: int
96alternate AltStrObj
97    tag type
98    case s: str
99    case o: TestStruct
100object q_obj_intList-wrapper
101    member data: intList optional=False
102object q_obj_int8List-wrapper
103    member data: int8List optional=False
104object q_obj_int16List-wrapper
105    member data: int16List optional=False
106object q_obj_int32List-wrapper
107    member data: int32List optional=False
108object q_obj_int64List-wrapper
109    member data: int64List optional=False
110object q_obj_uint8List-wrapper
111    member data: uint8List optional=False
112object q_obj_uint16List-wrapper
113    member data: uint16List optional=False
114object q_obj_uint32List-wrapper
115    member data: uint32List optional=False
116object q_obj_uint64List-wrapper
117    member data: uint64List optional=False
118object q_obj_numberList-wrapper
119    member data: numberList optional=False
120object q_obj_boolList-wrapper
121    member data: boolList optional=False
122object q_obj_strList-wrapper
123    member data: strList optional=False
124object q_obj_sizeList-wrapper
125    member data: sizeList optional=False
126object q_obj_anyList-wrapper
127    member data: anyList optional=False
128enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
129object UserDefNativeListUnion
130    member type: UserDefNativeListUnionKind optional=False
131    tag type
132    case integer: q_obj_intList-wrapper
133    case s8: q_obj_int8List-wrapper
134    case s16: q_obj_int16List-wrapper
135    case s32: q_obj_int32List-wrapper
136    case s64: q_obj_int64List-wrapper
137    case u8: q_obj_uint8List-wrapper
138    case u16: q_obj_uint16List-wrapper
139    case u32: q_obj_uint32List-wrapper
140    case u64: q_obj_uint64List-wrapper
141    case number: q_obj_numberList-wrapper
142    case boolean: q_obj_boolList-wrapper
143    case string: q_obj_strList-wrapper
144    case sizes: q_obj_sizeList-wrapper
145    case any: q_obj_anyList-wrapper
146command user_def_cmd None -> None
147   gen=True success_response=True boxed=False oob=False preconfig=False
148object q_obj_user_def_cmd1-arg
149    member ud1a: UserDefOne optional=False
150command user_def_cmd1 q_obj_user_def_cmd1-arg -> None
151   gen=True success_response=True boxed=False oob=False preconfig=False
152object q_obj_user_def_cmd2-arg
153    member ud1a: UserDefOne optional=False
154    member ud1b: UserDefOne optional=True
155command user_def_cmd2 q_obj_user_def_cmd2-arg -> UserDefTwo
156   gen=True success_response=True boxed=False oob=False preconfig=False
157object q_obj_guest-get-time-arg
158    member a: int optional=False
159    member b: int optional=True
160command guest-get-time q_obj_guest-get-time-arg -> int
161   gen=True success_response=True boxed=False oob=False preconfig=False
162object q_obj_guest-sync-arg
163    member arg: any optional=False
164command guest-sync q_obj_guest-sync-arg -> any
165   gen=True success_response=True boxed=False oob=False preconfig=False
166command boxed-struct UserDefZero -> None
167   gen=True success_response=True boxed=True oob=False preconfig=False
168command boxed-union UserDefNativeListUnion -> None
169   gen=True success_response=True boxed=True oob=False preconfig=False
170command test-flags-command None -> None
171   gen=True success_response=True boxed=False oob=True preconfig=True
172object UserDefOptions
173    member i64: intList optional=True
174    member u64: uint64List optional=True
175    member u16: uint16List optional=True
176    member i64x: int optional=True
177    member u64x: uint64 optional=True
178object EventStructOne
179    member struct1: UserDefOne optional=False
180    member string: str optional=False
181    member enum2: EnumOne optional=True
182event EVENT_A None
183   boxed=False
184event EVENT_B None
185   boxed=False
186object q_obj_EVENT_C-arg
187    member a: int optional=True
188    member b: UserDefOne optional=True
189    member c: str optional=False
190event EVENT_C q_obj_EVENT_C-arg
191   boxed=False
192object q_obj_EVENT_D-arg
193    member a: EventStructOne optional=False
194    member b: str optional=False
195    member c: str optional=True
196    member enum3: EnumOne optional=True
197event EVENT_D q_obj_EVENT_D-arg
198   boxed=False
199event EVENT_E UserDefZero
200   boxed=True
201event EVENT_F UserDefAlternate
202   boxed=True
203enum __org.qemu_x-Enum ['__org.qemu_x-value']
204object __org.qemu_x-Base
205    member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
206object __org.qemu_x-Struct
207    base __org.qemu_x-Base
208    member __org.qemu_x-member2: str optional=False
209    member wchar-t: int optional=True
210object q_obj_str-wrapper
211    member data: str optional=False
212enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
213object __org.qemu_x-Union1
214    member type: __org.qemu_x-Union1Kind optional=False
215    tag type
216    case __org.qemu_x-branch: q_obj_str-wrapper
217object __org.qemu_x-Struct2
218    member array: __org.qemu_x-Union1List optional=False
219object __org.qemu_x-Union2
220    base __org.qemu_x-Base
221    tag __org.qemu_x-member1
222    case __org.qemu_x-value: __org.qemu_x-Struct2
223alternate __org.qemu_x-Alt
224    tag type
225    case __org.qemu_x-branch: str
226    case b: __org.qemu_x-Base
227event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
228   boxed=False
229object q_obj___org.qemu_x-command-arg
230    member a: __org.qemu_x-EnumList optional=False
231    member b: __org.qemu_x-StructList optional=False
232    member c: __org.qemu_x-Union2 optional=False
233    member d: __org.qemu_x-Alt optional=False
234command __org.qemu_x-command q_obj___org.qemu_x-command-arg -> __org.qemu_x-Union1
235   gen=True success_response=True boxed=False oob=False preconfig=False
236