@@ -152,8 +152,8 @@ discard block |
||
152 | 152 | * @var array |
153 | 153 | */ |
154 | 154 | static protected $_schemaPropertyExpectedTypes = [ |
155 | - 'itemListElement' => ['ListItem','Text','Thing'], |
|
156 | - 'itemListOrder' => ['ItemListOrderType','Text'], |
|
155 | + 'itemListElement' => ['ListItem', 'Text', 'Thing'], |
|
156 | + 'itemListOrder' => ['ItemListOrderType', 'Text'], |
|
157 | 157 | 'numberOfItems' => ['Integer'] |
158 | 158 | ]; |
159 | 159 | |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['itemListElement','itemListOrder','numberOfItems'], 'validateJsonSchema'], |
|
229 | + [['itemListElement', 'itemListOrder', 'numberOfItems'], 'validateJsonSchema'], |
|
230 | 230 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
231 | 231 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
232 | 232 | ]); |
@@ -202,7 +202,7 @@ |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['fromLocation','toLocation'], 'validateJsonSchema'], |
|
205 | + [['fromLocation', 'toLocation'], 'validateJsonSchema'], |
|
206 | 206 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
207 | 207 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
208 | 208 | ]); |
@@ -172,8 +172,8 @@ discard block |
||
172 | 172 | static protected $_schemaPropertyExpectedTypes = [ |
173 | 173 | 'engineDisplacement' => ['QuantitativeValue'], |
174 | 174 | 'enginePower' => ['QuantitativeValue'], |
175 | - 'engineType' => ['QualitativeValue','Text','URL'], |
|
176 | - 'fuelType' => ['QualitativeValue','Text','URL'], |
|
175 | + 'engineType' => ['QualitativeValue', 'Text', 'URL'], |
|
176 | + 'fuelType' => ['QualitativeValue', 'Text', 'URL'], |
|
177 | 177 | 'torque' => ['QuantitativeValue'] |
178 | 178 | ]; |
179 | 179 | |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | { |
249 | 249 | $rules = parent::rules(); |
250 | 250 | $rules = array_merge($rules, [ |
251 | - [['engineDisplacement','enginePower','engineType','fuelType','torque'], 'validateJsonSchema'], |
|
251 | + [['engineDisplacement', 'enginePower', 'engineType', 'fuelType', 'torque'], 'validateJsonSchema'], |
|
252 | 252 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
253 | 253 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
254 | 254 | ]); |
@@ -219,7 +219,7 @@ |
||
219 | 219 | { |
220 | 220 | $rules = parent::rules(); |
221 | 221 | $rules = array_merge($rules, [ |
222 | - [['dropoffLocation','dropoffTime','pickupLocation','pickupTime'], 'validateJsonSchema'], |
|
222 | + [['dropoffLocation', 'dropoffTime', 'pickupLocation', 'pickupTime'], 'validateJsonSchema'], |
|
223 | 223 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
224 | 224 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
225 | 225 | ]); |
@@ -147,10 +147,10 @@ discard block |
||
147 | 147 | * @var array |
148 | 148 | */ |
149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
150 | - 'pageEnd' => ['Integer','Text'], |
|
151 | - 'pageStart' => ['Integer','Text'], |
|
150 | + 'pageEnd' => ['Integer', 'Text'], |
|
151 | + 'pageStart' => ['Integer', 'Text'], |
|
152 | 152 | 'pagination' => ['Text'], |
153 | - 'volumeNumber' => ['Integer','Text'] |
|
153 | + 'volumeNumber' => ['Integer', 'Text'] |
|
154 | 154 | ]; |
155 | 155 | |
156 | 156 | /** |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $rules = parent::rules(); |
225 | 225 | $rules = array_merge($rules, [ |
226 | - [['pageEnd','pageStart','pagination','volumeNumber'], 'validateJsonSchema'], |
|
226 | + [['pageEnd', 'pageStart', 'pagination', 'volumeNumber'], 'validateJsonSchema'], |
|
227 | 227 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
228 | 228 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
229 | 229 | ]); |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | 138 | 'album' => ['MusicAlbum'], |
139 | - 'genre' => ['Text','URL'], |
|
140 | - 'track' => ['ItemList','MusicRecording'] |
|
139 | + 'genre' => ['Text', 'URL'], |
|
140 | + 'track' => ['ItemList', 'MusicRecording'] |
|
141 | 141 | ]; |
142 | 142 | |
143 | 143 | /** |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['album','genre','track'], 'validateJsonSchema'], |
|
212 | + [['album', 'genre', 'track'], 'validateJsonSchema'], |
|
213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
215 | 215 | ]); |
@@ -218,7 +218,7 @@ |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['assemblyVersion','executableLibraryName','programmingModel','targetPlatform'], 'validateJsonSchema'], |
|
221 | + [['assemblyVersion', 'executableLibraryName', 'programmingModel', 'targetPlatform'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['audienceType','geographicArea'], 'validateJsonSchema'], |
|
202 | + [['audienceType', 'geographicArea'], 'validateJsonSchema'], |
|
203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
205 | 205 | ]); |
@@ -211,7 +211,7 @@ |
||
211 | 211 | { |
212 | 212 | $rules = parent::rules(); |
213 | 213 | $rules = array_merge($rules, [ |
214 | - [['downvoteCount','parentItem','upvoteCount'], 'validateJsonSchema'], |
|
214 | + [['downvoteCount', 'parentItem', 'upvoteCount'], 'validateJsonSchema'], |
|
215 | 215 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
216 | 216 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
217 | 217 | ]); |