|
27 | 27 | "title": "Impression",
|
28 | 28 | "bookmarkTarget": "impression",
|
29 | 29 | "type": "object",
|
| 30 | + "metatype" : "struct Impression", |
30 | 31 | "properties": {
|
31 | 32 | "id": {
|
32 |
| - "type": "string" |
| 33 | + "type": "string", |
| 34 | + "metatype": "std::string" |
33 | 35 | },
|
34 | 36 | "banner": {
|
35 | 37 | "type": "object",
|
| 38 | + "metatype" : "struct Banner", |
36 | 39 | "metainfo": "not implemented",
|
37 | 40 | "scope": "required for banner impressions"
|
38 | 41 | },
|
39 | 42 | "audio": {
|
40 | 43 | "type": "object",
|
| 44 | + "metatype" : "struct Audio", |
41 | 45 | "metainfo": "not implemented",
|
42 | 46 | "scope": "required for audio impressions"
|
43 | 47 | },
|
44 | 48 | "video": {
|
45 | 49 | "type": "object",
|
| 50 | + "metatype" : "struct Video", |
46 | 51 | "metainfo": "not implemented",
|
47 | 52 | "scope": "required for video impressions"
|
48 | 53 | },
|
49 | 54 | "native": {
|
50 | 55 | "title" : "Native",
|
| 56 | + "metatype" : "struct Native", |
51 | 57 | "type": "object",
|
52 | 58 | "scope": "required for native impressions",
|
53 | 59 | "properties": {
|
54 | 60 | "request": {
|
55 |
| - "type": "string" |
| 61 | + "type": "string", |
| 62 | + "metatype": "std::string" |
56 | 63 | },
|
57 | 64 | "ver": {
|
58 | 65 | "type": "string",
|
| 66 | + "metatype": "std::string", |
59 | 67 | "default": "1.1"
|
60 | 68 | },
|
61 | 69 | "api": {
|
62 | 70 | "type": "array",
|
| 71 | + "metatype": "std::vector<unsigned int>", |
63 | 72 | "items": {
|
64 |
| - "type": "integer" |
| 73 | + "type": "integer", |
| 74 | + "metatype": "unsigned int" |
65 | 75 | }
|
66 | 76 | }
|
67 | 77 | },
|
|
72 | 82 | "pmp": {
|
73 | 83 | "title" : "PMP",
|
74 | 84 | "type": "object",
|
| 85 | + "metatype": "struct PMP", |
75 | 86 | "properties": {
|
76 | 87 | "private_auction": {
|
77 | 88 | "type": "integer",
|
| 89 | + "metatype": "unsigned int", |
78 | 90 | "minimum": 0,
|
79 | 91 | "maximum": 1,
|
80 | 92 | "default": 0
|
81 | 93 | },
|
82 | 94 | "deals": {
|
83 | 95 | "type": "array",
|
| 96 | + "metatype": "std::vector<Deal>", |
84 | 97 | "items": {
|
85 | 98 | "title": "Deal",
|
86 | 99 | "type": "object",
|
| 100 | + "metatype": "struct Deal", |
87 | 101 | "properties": {
|
88 | 102 | "id": {
|
89 |
| - "type": "string" |
| 103 | + "type": "string", |
| 104 | + "metatype": "std::string" |
90 | 105 | },
|
91 | 106 | "bidfloor": {
|
92 | 107 | "type": "number",
|
| 108 | + "metatype": "double", |
93 | 109 | "minimum": 0.0,
|
94 | 110 | "default": 0.0
|
95 | 111 | },
|
96 | 112 | "bidfloorcur": {
|
97 | 113 | "type": "string",
|
| 114 | + "metatype": "std::string", |
98 | 115 | "enum": [
|
99 | 116 | "USD"
|
100 | 117 | ]
|
101 | 118 | },
|
102 | 119 | "at": {
|
103 |
| - "type": "integer" |
| 120 | + "type": "integer", |
| 121 | + "metatype": "int" |
104 | 122 | },
|
105 | 123 | "wseat": {
|
106 | 124 | "type": "array",
|
| 125 | + "metatype": "std::vector<std::string>", |
107 | 126 | "items": {
|
108 | 127 | "type": "string"
|
109 | 128 | }
|
110 | 129 | },
|
111 | 130 | "wadomain": {
|
112 | 131 | "type": "array",
|
| 132 | + "metatype": "std::vector<std::string>", |
113 | 133 | "items": {
|
114 | 134 | "type": "string"
|
115 | 135 | }
|
|
124 | 144 | }
|
125 | 145 | },
|
126 | 146 | "displaymanager": {
|
127 |
| - "type": "string" |
| 147 | + "type": "string", |
| 148 | + "metatype": "std::string" |
128 | 149 | },
|
129 | 150 | "displaymanagerver": {
|
130 |
| - "type": "string" |
| 151 | + "type": "string", |
| 152 | + "metatype": "std::string" |
131 | 153 | },
|
132 | 154 | "instl": {
|
133 | 155 | "type": "integer",
|
| 156 | + "metatype": "unsigned int", |
134 | 157 | "minimum": 0,
|
135 | 158 | "maximum": 1,
|
136 | 159 | "default": 0
|
137 | 160 | },
|
138 | 161 | "tagid": {
|
139 |
| - "type": "string" |
| 162 | + "type": "string", |
| 163 | + "metatype": "std::string" |
140 | 164 | },
|
141 | 165 | "bidfloor": {
|
142 | 166 | "type": "number",
|
| 167 | + "metatype": "double", |
143 | 168 | "minimum": 0.0,
|
144 | 169 | "default": 0.0
|
145 | 170 | },
|
146 | 171 | "bidfloorcur": {
|
147 | 172 | "type": "string",
|
| 173 | + "metatype": "std::string", |
148 | 174 | "enum": [
|
149 | 175 | "USD"
|
150 | 176 | ]
|
151 | 177 | },
|
152 | 178 | "clickbrowser": {
|
153 | 179 | "type": "integer",
|
| 180 | + "metatype": "unsigned int", |
154 | 181 | "minimum": 0,
|
155 | 182 | "maximum": 1,
|
156 | 183 | "default": 0
|
157 | 184 | },
|
158 | 185 | "secure": {
|
159 | 186 | "type": "integer",
|
| 187 | + "metatype": "unsigned int", |
160 | 188 | "minimum": 0,
|
161 | 189 | "maximum": 1,
|
162 | 190 | "default": 0
|
163 | 191 | },
|
164 | 192 | "iframabuster": {
|
165 | 193 | "type": "array",
|
| 194 | + "metatype": "std::vector<std::string>", |
166 | 195 | "items": {
|
167 | 196 | "type": "string"
|
168 | 197 | }
|
169 | 198 | },
|
170 | 199 | "exp": {
|
171 |
| - "type": "integer" |
| 200 | + "type": "integer", |
| 201 | + "metatype": "int" |
172 | 202 | },
|
173 | 203 | "ext": {
|
174 | 204 | "title": "Extension",
|
175 | 205 | "type": "object",
|
| 206 | + "metatype": "struct Extension", |
176 | 207 | "properties": {
|
177 | 208 | "strictbannersize": {
|
178 | 209 | "type": "integer",
|
| 210 | + "metatype": "unsigned int", |
179 | 211 | "minimum": 0,
|
180 | 212 | "maximum": 1,
|
181 | 213 | "default": 0
|
|
0 commit comments