@@ -168,13 +168,13 @@ discard block |
||
| 168 | 168 | * @var array |
| 169 | 169 | */ |
| 170 | 170 | static protected $_schemaPropertyExpectedTypes = [ |
| 171 | - 'arrivalBusStop' => ['BusStation','BusStop'], |
|
| 171 | + 'arrivalBusStop' => ['BusStation', 'BusStop'], |
|
| 172 | 172 | 'arrivalTime' => ['DateTime'], |
| 173 | 173 | 'busName' => ['Text'], |
| 174 | 174 | 'busNumber' => ['Text'], |
| 175 | - 'departureBusStop' => ['BusStation','BusStop'], |
|
| 175 | + 'departureBusStop' => ['BusStation', 'BusStop'], |
|
| 176 | 176 | 'departureTime' => ['DateTime'], |
| 177 | - 'provider' => ['Organization','Person'] |
|
| 177 | + 'provider' => ['Organization', 'Person'] |
|
| 178 | 178 | ]; |
| 179 | 179 | |
| 180 | 180 | /** |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | { |
| 251 | 251 | $rules = parent::rules(); |
| 252 | 252 | $rules = array_merge($rules, [ |
| 253 | - [['arrivalBusStop','arrivalTime','busName','busNumber','departureBusStop','departureTime','provider'], 'validateJsonSchema'], |
|
| 253 | + [['arrivalBusStop', 'arrivalTime', 'busName', 'busNumber', 'departureBusStop', 'departureTime', 'provider'], 'validateJsonSchema'], |
|
| 254 | 254 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 255 | 255 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 256 | 256 | ]); |
@@ -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 | ]); |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | * @var array |
| 130 | 130 | */ |
| 131 | 131 | static protected $_schemaPropertyExpectedTypes = [ |
| 132 | - 'followee' => ['Organization','Person'] |
|
| 132 | + 'followee' => ['Organization', 'Person'] |
|
| 133 | 133 | ]; |
| 134 | 134 | |
| 135 | 135 | /** |
@@ -164,9 +164,9 @@ discard block |
||
| 164 | 164 | static protected $_schemaPropertyExpectedTypes = [ |
| 165 | 165 | 'amenityFeature' => ['LocationFeatureSpecification'], |
| 166 | 166 | 'floorSize' => ['QuantitativeValue'], |
| 167 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
| 167 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
| 168 | 168 | 'permittedUsage' => ['Text'], |
| 169 | - 'petsAllowed' => ['Boolean','Text'] |
|
| 169 | + 'petsAllowed' => ['Boolean', 'Text'] |
|
| 170 | 170 | ]; |
| 171 | 171 | |
| 172 | 172 | /** |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | { |
| 241 | 241 | $rules = parent::rules(); |
| 242 | 242 | $rules = array_merge($rules, [ |
| 243 | - [['amenityFeature','floorSize','numberOfRooms','permittedUsage','petsAllowed'], 'validateJsonSchema'], |
|
| 243 | + [['amenityFeature', 'floorSize', 'numberOfRooms', 'permittedUsage', 'petsAllowed'], 'validateJsonSchema'], |
|
| 244 | 244 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 245 | 245 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 246 | 246 | ]); |
@@ -186,15 +186,15 @@ discard block |
||
| 186 | 186 | * @var array |
| 187 | 187 | */ |
| 188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
| 189 | - 'bccRecipient' => ['ContactPoint','Organization','Person'], |
|
| 190 | - 'ccRecipient' => ['ContactPoint','Organization','Person'], |
|
| 189 | + 'bccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
| 190 | + 'ccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
| 191 | 191 | 'dateRead' => ['DateTime'], |
| 192 | 192 | 'dateReceived' => ['DateTime'], |
| 193 | 193 | 'dateSent' => ['DateTime'], |
| 194 | 194 | 'messageAttachment' => ['CreativeWork'], |
| 195 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'], |
|
| 196 | - 'sender' => ['Audience','Organization','Person'], |
|
| 197 | - 'toRecipient' => ['Audience','ContactPoint','Organization','Person'] |
|
| 195 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'], |
|
| 196 | + 'sender' => ['Audience', 'Organization', 'Person'], |
|
| 197 | + 'toRecipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
| 198 | 198 | ]; |
| 199 | 199 | |
| 200 | 200 | /** |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | { |
| 273 | 273 | $rules = parent::rules(); |
| 274 | 274 | $rules = array_merge($rules, [ |
| 275 | - [['bccRecipient','ccRecipient','dateRead','dateReceived','dateSent','messageAttachment','recipient','sender','toRecipient'], 'validateJsonSchema'], |
|
| 275 | + [['bccRecipient', 'ccRecipient', 'dateRead', 'dateReceived', 'dateSent', 'messageAttachment', 'recipient', 'sender', 'toRecipient'], 'validateJsonSchema'], |
|
| 276 | 276 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 277 | 277 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 278 | 278 | ]); |
@@ -147,8 +147,8 @@ discard block |
||
| 147 | 147 | * @var array |
| 148 | 148 | */ |
| 149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
| 150 | - 'acceptsReservations' => ['Boolean','Text','URL'], |
|
| 151 | - 'hasMenu' => ['Menu','Text','URL'], |
|
| 150 | + 'acceptsReservations' => ['Boolean', 'Text', 'URL'], |
|
| 151 | + 'hasMenu' => ['Menu', 'Text', 'URL'], |
|
| 152 | 152 | 'servesCuisine' => ['Text'], |
| 153 | 153 | 'starRating' => ['Rating'] |
| 154 | 154 | ]; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | { |
| 224 | 224 | $rules = parent::rules(); |
| 225 | 225 | $rules = array_merge($rules, [ |
| 226 | - [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'], |
|
| 226 | + [['acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating'], '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 | ]); |
@@ -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 | ]); |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | { |
| 210 | 210 | $rules = parent::rules(); |
| 211 | 211 | $rules = array_merge($rules, [ |
| 212 | - [['additionalNumberOfGuests','comment','rsvpResponse'], 'validateJsonSchema'], |
|
| 212 | + [['additionalNumberOfGuests', 'comment', 'rsvpResponse'], '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 | ]); |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | { |
| 243 | 243 | $rules = parent::rules(); |
| 244 | 244 | $rules = array_merge($rules, [ |
| 245 | - [['dateline','printColumn','printEdition','printPage','printSection'], 'validateJsonSchema'], |
|
| 245 | + [['dateline', 'printColumn', 'printEdition', 'printPage', 'printSection'], 'validateJsonSchema'], |
|
| 246 | 246 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 247 | 247 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 248 | 248 | ]); |