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']
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
55object UserDefUnionBase
56    base UserDefZero
57    member string: str optional=False
58    member enum1: EnumOne optional=False
59object q_obj_UserDefFlatUnion2-base
60    member integer: int optional=True
61    member string: str optional=False
62    member enum1: QEnumTwo optional=False
63object UserDefFlatUnion2
64    base q_obj_UserDefFlatUnion2-base
65    tag enum1
66    case value1: UserDefC
67    case value2: UserDefB
68object WrapAlternate
69    member alt: UserDefAlternate optional=False
70alternate UserDefAlternate
71    tag type
72    case udfu: UserDefFlatUnion
73    case e: EnumOne
74    case i: int
75    case n: null
76object UserDefC
77    member string1: str optional=False
78    member string2: str optional=False
79alternate AltEnumBool
80    tag type
81    case e: EnumOne
82    case b: bool
83alternate AltEnumNum
84    tag type
85    case e: EnumOne
86    case n: number
87alternate AltNumEnum
88    tag type
89    case n: number
90    case e: EnumOne
91alternate AltEnumInt
92    tag type
93    case e: EnumOne
94    case i: int
95alternate AltStrObj
96    tag type
97    case s: str
98    case o: TestStruct
99object q_obj_intList-wrapper
100    member data: intList optional=False
101object q_obj_int8List-wrapper
102    member data: int8List optional=False
103object q_obj_int16List-wrapper
104    member data: int16List optional=False
105object q_obj_int32List-wrapper
106    member data: int32List optional=False
107object q_obj_int64List-wrapper
108    member data: int64List optional=False
109object q_obj_uint8List-wrapper
110    member data: uint8List optional=False
111object q_obj_uint16List-wrapper
112    member data: uint16List optional=False
113object q_obj_uint32List-wrapper
114    member data: uint32List optional=False
115object q_obj_uint64List-wrapper
116    member data: uint64List optional=False
117object q_obj_numberList-wrapper
118    member data: numberList optional=False
119object q_obj_boolList-wrapper
120    member data: boolList optional=False
121object q_obj_strList-wrapper
122    member data: strList optional=False
123object q_obj_sizeList-wrapper
124    member data: sizeList optional=False
125object q_obj_anyList-wrapper
126    member data: anyList optional=False
127enum UserDefNativeListUnionKind ['integer', 's8', 's16', 's32', 's64', 'u8', 'u16', 'u32', 'u64', 'number', 'boolean', 'string', 'sizes', 'any']
128object UserDefNativeListUnion
129    member type: UserDefNativeListUnionKind optional=False
130    tag type
131    case integer: q_obj_intList-wrapper
132    case s8: q_obj_int8List-wrapper
133    case s16: q_obj_int16List-wrapper
134    case s32: q_obj_int32List-wrapper
135    case s64: q_obj_int64List-wrapper
136    case u8: q_obj_uint8List-wrapper
137    case u16: q_obj_uint16List-wrapper
138    case u32: q_obj_uint32List-wrapper
139    case u64: q_obj_uint64List-wrapper
140    case number: q_obj_numberList-wrapper
141    case boolean: q_obj_boolList-wrapper
142    case string: q_obj_strList-wrapper
143    case sizes: q_obj_sizeList-wrapper
144    case any: q_obj_anyList-wrapper
145command user_def_cmd None -> None
146   gen=True success_response=True boxed=False oob=False preconfig=False
147object q_obj_user_def_cmd1-arg
148    member ud1a: UserDefOne optional=False
149command user_def_cmd1 q_obj_user_def_cmd1-arg -> None
150   gen=True success_response=True boxed=False oob=False preconfig=False
151object q_obj_user_def_cmd2-arg
152    member ud1a: UserDefOne optional=False
153    member ud1b: UserDefOne optional=True
154command user_def_cmd2 q_obj_user_def_cmd2-arg -> UserDefTwo
155   gen=True success_response=True boxed=False oob=False preconfig=False
156object q_obj_guest-get-time-arg
157    member a: int optional=False
158    member b: int optional=True
159command guest-get-time q_obj_guest-get-time-arg -> int
160   gen=True success_response=True boxed=False oob=False preconfig=False
161object q_obj_guest-sync-arg
162    member arg: any optional=False
163command guest-sync q_obj_guest-sync-arg -> any
164   gen=True success_response=True boxed=False oob=False preconfig=False
165command boxed-struct UserDefZero -> None
166   gen=True success_response=True boxed=True oob=False preconfig=False
167command boxed-union UserDefNativeListUnion -> None
168   gen=True success_response=True boxed=True oob=False preconfig=False
169command test-flags-command None -> None
170   gen=True success_response=True boxed=False oob=True preconfig=True
171object UserDefOptions
172    member i64: intList optional=True
173    member u64: uint64List optional=True
174    member u16: uint16List optional=True
175    member i64x: int optional=True
176    member u64x: uint64 optional=True
177object EventStructOne
178    member struct1: UserDefOne optional=False
179    member string: str optional=False
180    member enum2: EnumOne optional=True
181event EVENT_A None
182   boxed=False
183event EVENT_B None
184   boxed=False
185object q_obj_EVENT_C-arg
186    member a: int optional=True
187    member b: UserDefOne optional=True
188    member c: str optional=False
189event EVENT_C q_obj_EVENT_C-arg
190   boxed=False
191object q_obj_EVENT_D-arg
192    member a: EventStructOne optional=False
193    member b: str optional=False
194    member c: str optional=True
195    member enum3: EnumOne optional=True
196event EVENT_D q_obj_EVENT_D-arg
197   boxed=False
198event EVENT_E UserDefZero
199   boxed=True
200event EVENT_F UserDefAlternate
201   boxed=True
202enum __org.qemu_x-Enum ['__org.qemu_x-value']
203object __org.qemu_x-Base
204    member __org.qemu_x-member1: __org.qemu_x-Enum optional=False
205object __org.qemu_x-Struct
206    base __org.qemu_x-Base
207    member __org.qemu_x-member2: str optional=False
208    member wchar-t: int optional=True
209object q_obj_str-wrapper
210    member data: str optional=False
211enum __org.qemu_x-Union1Kind ['__org.qemu_x-branch']
212object __org.qemu_x-Union1
213    member type: __org.qemu_x-Union1Kind optional=False
214    tag type
215    case __org.qemu_x-branch: q_obj_str-wrapper
216object __org.qemu_x-Struct2
217    member array: __org.qemu_x-Union1List optional=False
218object __org.qemu_x-Union2
219    base __org.qemu_x-Base
220    tag __org.qemu_x-member1
221    case __org.qemu_x-value: __org.qemu_x-Struct2
222alternate __org.qemu_x-Alt
223    tag type
224    case __org.qemu_x-branch: str
225    case b: __org.qemu_x-Base
226event __ORG.QEMU_X-EVENT __org.qemu_x-Struct
227   boxed=False
228object q_obj___org.qemu_x-command-arg
229    member a: __org.qemu_x-EnumList optional=False
230    member b: __org.qemu_x-StructList optional=False
231    member c: __org.qemu_x-Union2 optional=False
232    member d: __org.qemu_x-Alt optional=False
233command __org.qemu_x-command q_obj___org.qemu_x-command-arg -> __org.qemu_x-Union1
234   gen=True success_response=True boxed=False oob=False preconfig=False
235