@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | 141 | 'about' => ['Thing'], |
142 | - 'inLanguage' => ['Language','Text'], |
|
143 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
142 | + 'inLanguage' => ['Language', 'Text'], |
|
143 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
144 | 144 | ]; |
145 | 145 | |
146 | 146 | /** |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | { |
213 | 213 | $rules = parent::rules(); |
214 | 214 | $rules = array_merge($rules, [ |
215 | - [['about','inLanguage','recipient'], 'validateJsonSchema'], |
|
215 | + [['about', 'inLanguage', 'recipient'], 'validateJsonSchema'], |
|
216 | 216 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
217 | 217 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
218 | 218 | ]); |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * @var array |
123 | 123 | */ |
124 | 124 | static protected $_schemaPropertyExpectedTypes = [ |
125 | - 'numberOfRooms' => ['Number','QuantitativeValue'] |
|
125 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'] |
|
126 | 126 | ]; |
127 | 127 | |
128 | 128 | /** |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * @var array |
137 | 137 | */ |
138 | 138 | static protected $_schemaPropertyExpectedTypes = [ |
139 | - 'foodEstablishment' => ['FoodEstablishment','Place'], |
|
139 | + 'foodEstablishment' => ['FoodEstablishment', 'Place'], |
|
140 | 140 | 'foodEvent' => ['FoodEvent'], |
141 | 141 | 'recipe' => ['Recipe'] |
142 | 142 | ]; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['foodEstablishment','foodEvent','recipe'], 'validateJsonSchema'], |
|
213 | + [['foodEstablishment', 'foodEvent', 'recipe'], 'validateJsonSchema'], |
|
214 | 214 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
215 | 215 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
216 | 216 | ]); |
@@ -207,7 +207,7 @@ |
||
207 | 207 | { |
208 | 208 | $rules = parent::rules(); |
209 | 209 | $rules = array_merge($rules, [ |
210 | - [['game','playersOnline','serverStatus'], 'validateJsonSchema'], |
|
210 | + [['game', 'playersOnline', 'serverStatus'], 'validateJsonSchema'], |
|
211 | 211 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
212 | 212 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
213 | 213 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'actionOption' => ['Text','Thing'] |
|
122 | + 'actionOption' => ['Text', 'Thing'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -215,18 +215,18 @@ discard block |
||
215 | 215 | * @var array |
216 | 216 | */ |
217 | 217 | static protected $_schemaPropertyExpectedTypes = [ |
218 | - 'artEdition' => ['Integer','Text'], |
|
219 | - 'artMedium' => ['Text','URL'], |
|
220 | - 'artform' => ['Text','URL'], |
|
218 | + 'artEdition' => ['Integer', 'Text'], |
|
219 | + 'artMedium' => ['Text', 'URL'], |
|
220 | + 'artform' => ['Text', 'URL'], |
|
221 | 221 | 'artist' => ['Person'], |
222 | - 'artworkSurface' => ['Text','URL'], |
|
222 | + 'artworkSurface' => ['Text', 'URL'], |
|
223 | 223 | 'colorist' => ['Person'], |
224 | - 'depth' => ['Distance','QuantitativeValue'], |
|
225 | - 'height' => ['Distance','QuantitativeValue'], |
|
224 | + 'depth' => ['Distance', 'QuantitativeValue'], |
|
225 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
226 | 226 | 'inker' => ['Person'], |
227 | 227 | 'letterer' => ['Person'], |
228 | 228 | 'penciler' => ['Person'], |
229 | - 'width' => ['Distance','QuantitativeValue'] |
|
229 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
230 | 230 | ]; |
231 | 231 | |
232 | 232 | /** |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | { |
308 | 308 | $rules = parent::rules(); |
309 | 309 | $rules = array_merge($rules, [ |
310 | - [['artEdition','artMedium','artform','artist','artworkSurface','colorist','depth','height','inker','letterer','penciler','width'], 'validateJsonSchema'], |
|
310 | + [['artEdition', 'artMedium', 'artform', 'artist', 'artworkSurface', 'colorist', 'depth', 'height', 'inker', 'letterer', 'penciler', 'width'], 'validateJsonSchema'], |
|
311 | 311 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
312 | 312 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
313 | 313 | ]); |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | static protected $_schemaPropertyExpectedTypes = [ |
158 | 158 | 'actor' => ['Person'], |
159 | 159 | 'director' => ['Person'], |
160 | - 'musicBy' => ['MusicGroup','Person'], |
|
160 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
161 | 161 | 'productionCompany' => ['Organization'], |
162 | 162 | 'trailer' => ['VideoObject'] |
163 | 163 | ]; |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | { |
234 | 234 | $rules = parent::rules(); |
235 | 235 | $rules = array_merge($rules, [ |
236 | - [['actor','director','musicBy','productionCompany','trailer'], 'validateJsonSchema'], |
|
236 | + [['actor', 'director', 'musicBy', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
237 | 237 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
238 | 238 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
239 | 239 | ]); |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | */ |
165 | 165 | static protected $_schemaPropertyExpectedTypes = [ |
166 | 166 | 'broadcastChannelId' => ['Text'], |
167 | - 'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'], |
|
167 | + 'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'], |
|
168 | 168 | 'broadcastServiceTier' => ['Text'], |
169 | - 'genre' => ['Text','URL'], |
|
169 | + 'genre' => ['Text', 'URL'], |
|
170 | 170 | 'inBroadcastLineup' => ['CableOrSatelliteService'], |
171 | 171 | 'providesBroadcastService' => ['BroadcastService'] |
172 | 172 | ]; |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | { |
244 | 244 | $rules = parent::rules(); |
245 | 245 | $rules = array_merge($rules, [ |
246 | - [['broadcastChannelId','broadcastFrequency','broadcastServiceTier','genre','inBroadcastLineup','providesBroadcastService'], 'validateJsonSchema'], |
|
246 | + [['broadcastChannelId', 'broadcastFrequency', 'broadcastServiceTier', 'genre', 'inBroadcastLineup', 'providesBroadcastService'], 'validateJsonSchema'], |
|
247 | 247 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
248 | 248 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
249 | 249 | ]); |
@@ -181,8 +181,8 @@ discard block |
||
181 | 181 | static protected $_schemaPropertyExpectedTypes = [ |
182 | 182 | 'actor' => ['Person'], |
183 | 183 | 'director' => ['Person'], |
184 | - 'episodeNumber' => ['Integer','Text'], |
|
185 | - 'musicBy' => ['MusicGroup','Person'], |
|
184 | + 'episodeNumber' => ['Integer', 'Text'], |
|
185 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
186 | 186 | 'partOfSeason' => ['CreativeWorkSeason'], |
187 | 187 | 'partOfSeries' => ['CreativeWorkSeries'], |
188 | 188 | 'productionCompany' => ['Organization'], |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | { |
264 | 264 | $rules = parent::rules(); |
265 | 265 | $rules = array_merge($rules, [ |
266 | - [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'], |
|
266 | + [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
267 | 267 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
268 | 268 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
269 | 269 | ]); |