@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | 'orderItemNumber' => ['Text'], |
156 | 156 | 'orderItemStatus' => ['OrderStatus'], |
157 | 157 | 'orderQuantity' => ['Number'], |
158 | - 'orderedItem' => ['OrderItem','Product'] |
|
158 | + 'orderedItem' => ['OrderItem', 'Product'] |
|
159 | 159 | ]; |
160 | 160 | |
161 | 161 | /** |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | { |
230 | 230 | $rules = parent::rules(); |
231 | 231 | $rules = array_merge($rules, [ |
232 | - [['orderDelivery','orderItemNumber','orderItemStatus','orderQuantity','orderedItem'], 'validateJsonSchema'], |
|
232 | + [['orderDelivery', 'orderItemNumber', 'orderItemStatus', 'orderQuantity', 'orderedItem'], 'validateJsonSchema'], |
|
233 | 233 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
234 | 234 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
235 | 235 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -401,32 +401,32 @@ discard block |
||
401 | 401 | 'about' => ['Thing'], |
402 | 402 | 'actor' => ['Person'], |
403 | 403 | 'aggregateRating' => ['AggregateRating'], |
404 | - 'attendee' => ['Organization','Person'], |
|
404 | + 'attendee' => ['Organization', 'Person'], |
|
405 | 405 | 'audience' => ['Audience'], |
406 | - 'composer' => ['Organization','Person'], |
|
407 | - 'contributor' => ['Organization','Person'], |
|
406 | + 'composer' => ['Organization', 'Person'], |
|
407 | + 'contributor' => ['Organization', 'Person'], |
|
408 | 408 | 'director' => ['Person'], |
409 | 409 | 'doorTime' => ['DateTime'], |
410 | 410 | 'duration' => ['Duration'], |
411 | - 'endDate' => ['Date','DateTime'], |
|
411 | + 'endDate' => ['Date', 'DateTime'], |
|
412 | 412 | 'eventStatus' => ['EventStatusType'], |
413 | - 'funder' => ['Organization','Person'], |
|
414 | - 'inLanguage' => ['Language','Text'], |
|
413 | + 'funder' => ['Organization', 'Person'], |
|
414 | + 'inLanguage' => ['Language', 'Text'], |
|
415 | 415 | 'isAccessibleForFree' => ['Boolean'], |
416 | - 'location' => ['Place','PostalAddress','Text'], |
|
416 | + 'location' => ['Place', 'PostalAddress', 'Text'], |
|
417 | 417 | 'maximumAttendeeCapacity' => ['Integer'], |
418 | 418 | 'offers' => ['Offer'], |
419 | - 'organizer' => ['Organization','Person'], |
|
420 | - 'performer' => ['Organization','Person'], |
|
419 | + 'organizer' => ['Organization', 'Person'], |
|
420 | + 'performer' => ['Organization', 'Person'], |
|
421 | 421 | 'previousStartDate' => ['Date'], |
422 | 422 | 'recordedIn' => ['CreativeWork'], |
423 | 423 | 'remainingAttendeeCapacity' => ['Integer'], |
424 | 424 | 'review' => ['Review'], |
425 | - 'sponsor' => ['Organization','Person'], |
|
426 | - 'startDate' => ['Date','DateTime'], |
|
425 | + 'sponsor' => ['Organization', 'Person'], |
|
426 | + 'startDate' => ['Date', 'DateTime'], |
|
427 | 427 | 'subEvent' => ['Event'], |
428 | 428 | 'superEvent' => ['Event'], |
429 | - 'translator' => ['Organization','Person'], |
|
429 | + 'translator' => ['Organization', 'Person'], |
|
430 | 430 | 'typicalAgeRange' => ['Text'], |
431 | 431 | 'workFeatured' => ['CreativeWork'], |
432 | 432 | 'workPerformed' => ['CreativeWork'] |
@@ -530,7 +530,7 @@ discard block |
||
530 | 530 | { |
531 | 531 | $rules = parent::rules(); |
532 | 532 | $rules = array_merge($rules, [ |
533 | - [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'], |
|
533 | + [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'], |
|
534 | 534 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
535 | 535 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
536 | 536 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | */ |
429 | 429 | static protected $_schemaPropertyExpectedTypes = [ |
430 | 430 | 'additionalProperty' => ['PropertyValue'], |
431 | - 'address' => ['PostalAddress','Text'], |
|
431 | + 'address' => ['PostalAddress', 'Text'], |
|
432 | 432 | 'aggregateRating' => ['AggregateRating'], |
433 | 433 | 'amenityFeature' => ['LocationFeatureSpecification'], |
434 | 434 | 'branchCode' => ['Text'], |
@@ -436,25 +436,25 @@ discard block |
||
436 | 436 | 'containsPlace' => ['Place'], |
437 | 437 | 'event' => ['Event'], |
438 | 438 | 'faxNumber' => ['Text'], |
439 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
440 | - 'geospatiallyContains' => ['GeospatialGeometry','Place'], |
|
441 | - 'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'], |
|
442 | - 'geospatiallyCovers' => ['GeospatialGeometry','Place'], |
|
443 | - 'geospatiallyCrosses' => ['GeospatialGeometry','Place'], |
|
444 | - 'geospatiallyDisjoint' => ['GeospatialGeometry','Place'], |
|
445 | - 'geospatiallyEquals' => ['GeospatialGeometry','Place'], |
|
446 | - 'geospatiallyIntersects' => ['GeospatialGeometry','Place'], |
|
447 | - 'geospatiallyOverlaps' => ['GeospatialGeometry','Place'], |
|
448 | - 'geospatiallyTouches' => ['GeospatialGeometry','Place'], |
|
449 | - 'geospatiallyWithin' => ['GeospatialGeometry','Place'], |
|
439 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
440 | + 'geospatiallyContains' => ['GeospatialGeometry', 'Place'], |
|
441 | + 'geospatiallyCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
442 | + 'geospatiallyCovers' => ['GeospatialGeometry', 'Place'], |
|
443 | + 'geospatiallyCrosses' => ['GeospatialGeometry', 'Place'], |
|
444 | + 'geospatiallyDisjoint' => ['GeospatialGeometry', 'Place'], |
|
445 | + 'geospatiallyEquals' => ['GeospatialGeometry', 'Place'], |
|
446 | + 'geospatiallyIntersects' => ['GeospatialGeometry', 'Place'], |
|
447 | + 'geospatiallyOverlaps' => ['GeospatialGeometry', 'Place'], |
|
448 | + 'geospatiallyTouches' => ['GeospatialGeometry', 'Place'], |
|
449 | + 'geospatiallyWithin' => ['GeospatialGeometry', 'Place'], |
|
450 | 450 | 'globalLocationNumber' => ['Text'], |
451 | - 'hasMap' => ['Map','URL'], |
|
451 | + 'hasMap' => ['Map', 'URL'], |
|
452 | 452 | 'isAccessibleForFree' => ['Boolean'], |
453 | 453 | 'isicV4' => ['Text'], |
454 | - 'logo' => ['ImageObject','URL'], |
|
454 | + 'logo' => ['ImageObject', 'URL'], |
|
455 | 455 | 'maximumAttendeeCapacity' => ['Integer'], |
456 | 456 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
457 | - 'photo' => ['ImageObject','Photograph'], |
|
457 | + 'photo' => ['ImageObject', 'Photograph'], |
|
458 | 458 | 'publicAccess' => ['Boolean'], |
459 | 459 | 'review' => ['Review'], |
460 | 460 | 'smokingAllowed' => ['Boolean'], |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | { |
562 | 562 | $rules = parent::rules(); |
563 | 563 | $rules = array_merge($rules, [ |
564 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
564 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'], |
|
565 | 565 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
566 | 566 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
567 | 567 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -182,10 +182,10 @@ discard block |
||
182 | 182 | 'additionalProperty' => ['PropertyValue'], |
183 | 183 | 'maxValue' => ['Number'], |
184 | 184 | 'minValue' => ['Number'], |
185 | - 'unitCode' => ['Text','URL'], |
|
185 | + 'unitCode' => ['Text', 'URL'], |
|
186 | 186 | 'unitText' => ['Text'], |
187 | - 'value' => ['Boolean','Number','StructuredValue','Text'], |
|
188 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
187 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'], |
|
188 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
189 | 189 | ]; |
190 | 190 | |
191 | 191 | /** |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | { |
262 | 262 | $rules = parent::rules(); |
263 | 263 | $rules = array_merge($rules, [ |
264 | - [['additionalProperty','maxValue','minValue','unitCode','unitText','value','valueReference'], 'validateJsonSchema'], |
|
264 | + [['additionalProperty', 'maxValue', 'minValue', 'unitCode', 'unitText', 'value', 'valueReference'], 'validateJsonSchema'], |
|
265 | 265 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
266 | 266 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
267 | 267 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], '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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], '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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], '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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |