|
6 | 6 | "namespace": "boilerplate::Example",
|
7 | 7 | "cppFileName": "boilerplateExample",
|
8 | 8 | "cssClass": "boilerplateExample",
|
9 |
| - "metatype": "struct Data", |
| 9 | + "cpptype": "struct Data", |
| 10 | + "jsontype": "object", |
10 | 11 | "properties": {
|
11 | 12 | "test": {
|
12 | 13 | "type": "integer",
|
13 |
| - "metatype": "unsigned int", |
| 14 | + "cpptype": "unsigned int", |
| 15 | + "jsontype": "UInt", |
14 | 16 | "minimum": 0,
|
15 | 17 | "maximum": 1,
|
16 | 18 | "default": 0
|
17 | 19 | },
|
18 | 20 | "id": {
|
19 | 21 | "type": "string",
|
20 |
| - "metatype": "std::string" |
| 22 | + "cpptype": "std::string", |
| 23 | + "jsontype": "String" |
21 | 24 | },
|
22 | 25 | "imp": {
|
23 | 26 | "description": "Impressions rock",
|
24 | 27 | "type": "array",
|
25 | 28 | "title": "Impression",
|
26 |
| - "metatype": "std::vector<Impression>", |
| 29 | + "cpptype": "std::vector<Impression>", |
| 30 | + "jsontype": "object", |
27 | 31 | "items": {
|
28 | 32 | "type": "object",
|
29 | 33 | "title": "Impression",
|
30 |
| - "metatype" : "struct Impression", |
| 34 | + "cpptype" : "struct Impression", |
| 35 | + "jsontype" : "object", |
31 | 36 | "properties": {
|
32 | 37 | "id": {
|
33 | 38 | "type": "string",
|
34 |
| - "metatype": "std::string" |
| 39 | + "cpptype": "std::string", |
| 40 | + "jsontype": "String" |
35 | 41 | },
|
36 | 42 | "banner": {
|
37 | 43 | "type": "object",
|
38 |
| - "metatype" : "struct Banner", |
| 44 | + "cpptype" : "struct Banner", |
| 45 | + "jsontype" : "object", |
39 | 46 | "metainfo": "not implemented",
|
40 | 47 | "scope": "required for banner impressions"
|
41 | 48 | },
|
42 | 49 | "audio": {
|
43 | 50 | "type": "object",
|
44 |
| - "metatype" : "struct Audio", |
| 51 | + "cpptype" : "struct Audio", |
| 52 | + "jsontype" : "object", |
45 | 53 | "metainfo": "not implemented",
|
46 | 54 | "scope": "required for audio impressions"
|
47 | 55 | },
|
48 | 56 | "video": {
|
49 | 57 | "type": "object",
|
50 |
| - "metatype" : "struct Video", |
| 58 | + "cpptype" : "struct Video", |
| 59 | + "jsontype" : "object", |
51 | 60 | "metainfo": "not implemented",
|
52 | 61 | "scope": "required for video impressions"
|
53 | 62 | },
|
54 | 63 | "native": {
|
55 | 64 | "title" : "Native",
|
56 |
| - "metatype" : "struct Native", |
| 65 | + "cpptype" : "struct Native", |
| 66 | + "jsontype" : "object", |
57 | 67 | "type": "object",
|
58 | 68 | "scope": "required for native impressions",
|
59 | 69 | "properties": {
|
60 | 70 | "request": {
|
61 | 71 | "type": "string",
|
62 |
| - "metatype": "std::string" |
| 72 | + "cpptype": "std::string", |
| 73 | + "jsontype": "String" |
63 | 74 | },
|
64 | 75 | "ver": {
|
65 | 76 | "type": "string",
|
66 |
| - "metatype": "std::string", |
| 77 | + "cpptype": "std::string", |
| 78 | + "jsontype": "String", |
67 | 79 | "default": "1.1"
|
68 | 80 | },
|
69 | 81 | "api": {
|
70 | 82 | "type": "array",
|
71 |
| - "metatype": "std::vector<unsigned int>", |
| 83 | + "cpptype": "std::vector<unsigned int>", |
| 84 | + "jsontype": "object", |
72 | 85 | "items": {
|
73 | 86 | "type": "integer",
|
74 |
| - "metatype": "unsigned int" |
| 87 | + "cpptype": "unsigned int" |
75 | 88 | }
|
76 | 89 | }
|
77 | 90 | },
|
|
82 | 95 | "pmp": {
|
83 | 96 | "title" : "PMP",
|
84 | 97 | "type": "object",
|
85 |
| - "metatype": "struct PMP", |
| 98 | + "cpptype": "struct PMP", |
| 99 | + "jsontype": "object", |
86 | 100 | "properties": {
|
87 | 101 | "private_auction": {
|
88 | 102 | "type": "integer",
|
89 |
| - "metatype": "unsigned int", |
| 103 | + "cpptype": "unsigned int", |
| 104 | + "jsontype": "UInt", |
90 | 105 | "minimum": 0,
|
91 | 106 | "maximum": 1,
|
92 | 107 | "default": 0
|
93 | 108 | },
|
94 | 109 | "deals": {
|
95 | 110 | "type": "array",
|
96 |
| - "metatype": "std::vector<Deal>", |
| 111 | + "cpptype": "std::vector<Deal>", |
| 112 | + "jsontype": "object", |
97 | 113 | "title": "Deal",
|
98 | 114 | "items": {
|
99 | 115 | "title": "Deal",
|
100 | 116 | "type": "object",
|
101 |
| - "metatype": "struct Deal", |
| 117 | + "cpptype": "struct Deal", |
| 118 | + "jsontype": "object", |
102 | 119 | "properties": {
|
103 | 120 | "id": {
|
104 | 121 | "type": "string",
|
105 |
| - "metatype": "std::string" |
| 122 | + "cpptype": "std::string", |
| 123 | + "jsontype": "String" |
106 | 124 | },
|
107 | 125 | "bidfloor": {
|
108 | 126 | "type": "number",
|
109 |
| - "metatype": "double", |
| 127 | + "cpptype": "double", |
| 128 | + "jsontype": "Double", |
110 | 129 | "minimum": 0.0,
|
111 | 130 | "default": 0.0
|
112 | 131 | },
|
113 | 132 | "bidfloorcur": {
|
114 | 133 | "type": "string",
|
115 |
| - "metatype": "std::string", |
| 134 | + "cpptype": "std::string", |
| 135 | + "jsontype": "String", |
116 | 136 | "enum": [
|
117 | 137 | "USD"
|
118 | 138 | ]
|
119 | 139 | },
|
120 | 140 | "at": {
|
121 | 141 | "type": "integer",
|
122 |
| - "metatype": "int" |
| 142 | + "cpptype": "int", |
| 143 | + "jsontype": "Int" |
123 | 144 | },
|
124 | 145 | "wseat": {
|
125 | 146 | "type": "array",
|
126 |
| - "metatype": "std::vector<std::string>", |
| 147 | + "cpptype": "std::vector<std::string>", |
| 148 | + "jsontype": "StringVector", |
127 | 149 | "items": {
|
128 | 150 | "type": "string"
|
129 | 151 | }
|
130 | 152 | },
|
131 | 153 | "wadomain": {
|
132 | 154 | "type": "array",
|
133 |
| - "metatype": "std::vector<std::string>", |
| 155 | + "cpptype": "std::vector<std::string>", |
| 156 | + "jsontype": "StringVector", |
134 | 157 | "items": {
|
135 | 158 | "type": "string"
|
136 | 159 | }
|
|
146 | 169 | },
|
147 | 170 | "displaymanager": {
|
148 | 171 | "type": "string",
|
149 |
| - "metatype": "std::string" |
| 172 | + "cpptype": "std::string", |
| 173 | + "jsontype": "String" |
150 | 174 | },
|
151 | 175 | "displaymanagerver": {
|
152 | 176 | "type": "string",
|
153 |
| - "metatype": "std::string" |
| 177 | + "cpptype": "std::string", |
| 178 | + "jsontype": "String" |
154 | 179 | },
|
155 | 180 | "instl": {
|
156 | 181 | "type": "integer",
|
157 |
| - "metatype": "unsigned int", |
| 182 | + "cpptype": "unsigned int", |
| 183 | + "jsontype": "UInt", |
158 | 184 | "minimum": 0,
|
159 | 185 | "maximum": 1,
|
160 | 186 | "default": 0
|
161 | 187 | },
|
162 | 188 | "tagid": {
|
163 | 189 | "type": "string",
|
164 |
| - "metatype": "std::string" |
| 190 | + "cpptype": "std::string", |
| 191 | + "jsontype": "String" |
165 | 192 | },
|
166 | 193 | "bidfloor": {
|
167 | 194 | "type": "number",
|
168 |
| - "metatype": "double", |
| 195 | + "cpptype": "double", |
| 196 | + "jsontype": "Double", |
169 | 197 | "minimum": 0.0,
|
170 | 198 | "default": 0.0
|
171 | 199 | },
|
172 | 200 | "bidfloorcur": {
|
173 | 201 | "type": "string",
|
174 |
| - "metatype": "std::string", |
| 202 | + "cpptype": "std::string", |
| 203 | + "jsontype": "String", |
175 | 204 | "enum": [
|
176 | 205 | "USD"
|
177 | 206 | ]
|
178 | 207 | },
|
179 | 208 | "clickbrowser": {
|
180 | 209 | "type": "integer",
|
181 |
| - "metatype": "unsigned int", |
| 210 | + "cpptype": "unsigned int", |
| 211 | + "jsontype": "UInt", |
182 | 212 | "minimum": 0,
|
183 | 213 | "maximum": 1,
|
184 | 214 | "default": 0
|
185 | 215 | },
|
186 | 216 | "secure": {
|
187 | 217 | "type": "integer",
|
188 |
| - "metatype": "unsigned int", |
| 218 | + "cpptype": "unsigned int", |
| 219 | + "jsontype": "UInt", |
189 | 220 | "minimum": 0,
|
190 | 221 | "maximum": 1,
|
191 | 222 | "default": 0
|
192 | 223 | },
|
193 | 224 | "iframabuster": {
|
194 | 225 | "type": "array",
|
195 |
| - "metatype": "std::vector<std::string>", |
| 226 | + "cpptype": "std::vector<std::string>", |
| 227 | + "jsontype": "StringVector", |
196 | 228 | "items": {
|
197 | 229 | "type": "string"
|
198 | 230 | }
|
199 | 231 | },
|
200 | 232 | "exp": {
|
201 | 233 | "type": "integer",
|
202 |
| - "metatype": "int" |
| 234 | + "cpptype": "int", |
| 235 | + "jsontype": "Int" |
203 | 236 | },
|
204 | 237 | "ext": {
|
205 | 238 | "title": "Extension",
|
206 | 239 | "type": "object",
|
207 |
| - "metatype": "struct Extension", |
| 240 | + "cpptype": "struct Extension", |
| 241 | + "jsontype": "object", |
208 | 242 | "properties": {
|
209 | 243 | "strictbannersize": {
|
210 | 244 | "type": "integer",
|
211 |
| - "metatype": "unsigned int", |
| 245 | + "cpptype": "unsigned int", |
| 246 | + "jsontype": "UInt", |
212 | 247 | "minimum": 0,
|
213 | 248 | "maximum": 1,
|
214 | 249 | "default": 0
|
|
0 commit comments