77#[OA \Schema(
88 schema: "SummitOrderExtraQuestionType " ,
99 description: "Summit Order Extra Question Type " ,
10- type: "object "
10+ type: "object " ,
11+ properties: [
12+ new OA \Property (property: "id " , type: "integer " , format: "int64 " , example: 1 ),
13+ new OA \Property (property: "name " , type: "string " , example: "extra_question_1 " ),
14+ new OA \Property (property: "label " , type: "string " , example: "Extra Question 1 " ),
15+ new OA \Property (property: "type " , type: "string " , enum: ["Text " , "TextArea " , "DropDown " , "CheckBox " , "RadioButtonList " , "CheckBoxList " ], example: "Text " ),
16+ new OA \Property (property: "class " , type: "string " , enum: ["Main " , "SubQuestion " ], example: "Main " ),
17+ new OA \Property (property: "usage " , type: "string " , enum: ["BothQuestionUsage " , "TicketQuestionUsage " , "OrderQuestionUsage " ], example: "OrderQuestionUsage " ),
18+ new OA \Property (property: "printable " , type: "boolean " , example: true ),
19+ new OA \Property (property: "order " , type: "integer " , format: "int32 " , example: 1 ),
20+ new OA \Property (property: "mandatory " , type: "boolean " , example: false ),
21+ new OA \Property (property: "is_deletable " , type: "boolean " , example: true ),
22+ new OA \Property (property: "summit_id " , type: "integer " , format: "int64 " , example: 10 ),
23+ new OA \Property (
24+ property: "values " ,
25+ type: "array " ,
26+ items: new OA \Items (ref: "#/components/schemas/ExtraQuestionTypeValue " )
27+ ),
28+ new OA \Property (
29+ property: "sub_question_rules " ,
30+ type: "array " ,
31+ items: new OA \Items (ref: "#/components/schemas/SubQuestionRule " )
32+ ),
33+ new OA \Property (
34+ property: "allowed_ticket_types " ,
35+ type: "array " ,
36+ items: new OA \Items (type: "integer " , format: "int64 " )
37+ ),
38+ new OA \Property (
39+ property: "allowed_badge_features_types " ,
40+ type: "array " ,
41+ items: new OA \Items (type: "integer " , format: "int64 " )
42+ ),
43+ ]
1144)]
1245class SummitOrderExtraQuestionTypeSchemas
1346{
14- #[OA \Property(property: "id " , type: "integer " , format: "int64 " )]
15- public int $ id ;
16-
17- #[OA \Property(property: "name " , type: "string " )]
18- public string $ name ;
19-
20- #[OA \Property(property: "label " , type: "string " )]
21- public string $ label ;
22-
23- #[OA \Property(property: "type " , type: "string " , enum: ["Text " , "TextArea " , "DropDown " , "CheckBox " , "RadioButtonList " , "CheckBoxList " ])]
24- public string $ type ;
25-
26- #[OA \Property(property: "class " , type: "string " , enum: ["Main " , "SubQuestion " ])]
27- public string $ class ;
28-
29- #[OA \Property(property: "usage " , type: "string " , enum: ["BothQuestionUsage " , "TicketQuestionUsage " , "OrderQuestionUsage " ])]
30- public string $ usage ;
31-
32- #[OA \Property(property: "printable " , type: "boolean " )]
33- public bool $ printable ;
34-
35- #[OA \Property(property: "order " , type: "integer " , format: "int32 " )]
36- public int $ order ;
37-
38- #[OA \Property(property: "mandatory " , type: "boolean " )]
39- public bool $ mandatory ;
40-
41- #[OA \Property(property: "is_deletable " , type: "boolean " )]
42- public bool $ is_deletable ;
43-
44- #[OA \Property(property: "summit_id " , type: "integer " , format: "int64 " )]
45- public int $ summit_id ;
46-
47- #[OA \Property(
48- property: "values " ,
49- type: "array " ,
50- items: new OA \Items (ref: "#/components/schemas/ExtraQuestionTypeValue " )
51- )]
52- public array $ values ;
53-
54- #[OA \Property(
55- property: "sub_question_rules " ,
56- type: "array " ,
57- items: new OA \Items (ref: "#/components/schemas/SubQuestionRule " )
58- )]
59- public array $ sub_question_rules ;
60-
61- #[OA \Property(
62- property: "allowed_ticket_types " ,
63- type: "array " ,
64- items: new OA \Items (type: "integer " , format: "int64 " )
65- )]
66- public array $ allowed_ticket_types ;
67-
68- #[OA \Property(
69- property: "allowed_badge_features_types " ,
70- type: "array " ,
71- items: new OA \Items (type: "integer " , format: "int64 " )
72- )]
73- public array $ allowed_badge_features_types ;
74- }
47+ }
0 commit comments