@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'lesser' => ['QualitativeValue'], |
194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
195 | 195 | 'nonEqual' => ['QualitativeValue'], |
196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
197 | 197 | ]; |
198 | 198 | |
199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | 'minValue' => ['Number'], |
172 | 172 | 'validFrom' => ['DateTime'], |
173 | 173 | 'validThrough' => ['DateTime'], |
174 | - 'value' => ['Boolean','Number','StructuredValue','Text'] |
|
174 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'] |
|
175 | 175 | ]; |
176 | 176 | |
177 | 177 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | { |
247 | 247 | $rules = parent::rules(); |
248 | 248 | $rules = array_merge($rules, [ |
249 | - [['currency','maxValue','minValue','validFrom','validThrough','value'], 'validateJsonSchema'], |
|
249 | + [['currency', 'maxValue', 'minValue', 'validFrom', 'validThrough', 'value'], 'validateJsonSchema'], |
|
250 | 250 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
251 | 251 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
252 | 252 | ]); |
@@ -186,11 +186,11 @@ discard block |
||
186 | 186 | * @var array |
187 | 187 | */ |
188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
189 | - 'address' => ['PostalAddress','Text'], |
|
190 | - 'addressCountry' => ['Country','Text'], |
|
189 | + 'address' => ['PostalAddress', 'Text'], |
|
190 | + 'addressCountry' => ['Country', 'Text'], |
|
191 | 191 | 'box' => ['Text'], |
192 | 192 | 'circle' => ['Text'], |
193 | - 'elevation' => ['Number','Text'], |
|
193 | + 'elevation' => ['Number', 'Text'], |
|
194 | 194 | 'line' => ['Text'], |
195 | 195 | 'polygon' => ['Text'], |
196 | 196 | 'postalCode' => ['Text'] |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['address','addressCountry','box','circle','elevation','line','polygon','postalCode'], 'validateJsonSchema'], |
|
273 | + [['address', 'addressCountry', 'box', 'circle', 'elevation', 'line', 'polygon', 'postalCode'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'], |
|
202 | + [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], '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 | ]); |
@@ -203,14 +203,14 @@ discard block |
||
203 | 203 | * @var array |
204 | 204 | */ |
205 | 205 | static protected $_schemaPropertyExpectedTypes = [ |
206 | - 'breadcrumb' => ['BreadcrumbList','Text'], |
|
206 | + 'breadcrumb' => ['BreadcrumbList', 'Text'], |
|
207 | 207 | 'lastReviewed' => ['Date'], |
208 | 208 | 'mainContentOfPage' => ['WebPageElement'], |
209 | 209 | 'primaryImageOfPage' => ['ImageObject'], |
210 | 210 | 'relatedLink' => ['URL'], |
211 | - 'reviewedBy' => ['Organization','Person'], |
|
211 | + 'reviewedBy' => ['Organization', 'Person'], |
|
212 | 212 | 'significantLink' => ['URL'], |
213 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
213 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
214 | 214 | 'specialty' => ['Specialty'] |
215 | 215 | ]; |
216 | 216 | |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | { |
290 | 290 | $rules = parent::rules(); |
291 | 291 | $rules = array_merge($rules, [ |
292 | - [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'], |
|
292 | + [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'], |
|
293 | 293 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
294 | 294 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
295 | 295 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
122 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -198,7 +198,7 @@ |
||
198 | 198 | { |
199 | 199 | $rules = parent::rules(); |
200 | 200 | $rules = array_merge($rules, [ |
201 | - [['childMaxAge','childMinAge'], 'validateJsonSchema'], |
|
201 | + [['childMaxAge', 'childMinAge'], 'validateJsonSchema'], |
|
202 | 202 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
203 | 203 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
204 | 204 | ]); |
@@ -218,13 +218,13 @@ discard block |
||
218 | 218 | */ |
219 | 219 | static protected $_schemaPropertyExpectedTypes = [ |
220 | 220 | 'actionStatus' => ['ActionStatusType'], |
221 | - 'agent' => ['Organization','Person'], |
|
221 | + 'agent' => ['Organization', 'Person'], |
|
222 | 222 | 'endTime' => ['DateTime'], |
223 | 223 | 'error' => ['Thing'], |
224 | 224 | 'instrument' => ['Thing'], |
225 | - 'location' => ['Place','PostalAddress','Text'], |
|
225 | + 'location' => ['Place', 'PostalAddress', 'Text'], |
|
226 | 226 | 'object' => ['Thing'], |
227 | - 'participant' => ['Organization','Person'], |
|
227 | + 'participant' => ['Organization', 'Person'], |
|
228 | 228 | 'result' => ['Thing'], |
229 | 229 | 'startTime' => ['DateTime'], |
230 | 230 | 'target' => ['EntryPoint'] |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | { |
308 | 308 | $rules = parent::rules(); |
309 | 309 | $rules = array_merge($rules, [ |
310 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
310 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], '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 | ]); |
@@ -210,7 +210,7 @@ |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['hoursAvailable','validFrom','validThrough'], 'validateJsonSchema'], |
|
213 | + [['hoursAvailable', 'validFrom', 'validThrough'], '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 | ]); |