@@ -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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |
@@ -527,51 +527,51 @@ discard block |
||
| 527 | 527 | * @var array |
| 528 | 528 | */ |
| 529 | 529 | static protected $_schemaPropertyExpectedTypes = [ |
| 530 | - 'actionableFeedbackPolicy' => ['CreativeWork','URL'], |
|
| 531 | - 'address' => ['PostalAddress','Text'], |
|
| 530 | + 'actionableFeedbackPolicy' => ['CreativeWork', 'URL'], |
|
| 531 | + 'address' => ['PostalAddress', 'Text'], |
|
| 532 | 532 | 'aggregateRating' => ['AggregateRating'], |
| 533 | 533 | 'alumni' => ['Person'], |
| 534 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
| 534 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
| 535 | 535 | 'award' => ['Text'], |
| 536 | - 'brand' => ['Brand','Organization'], |
|
| 536 | + 'brand' => ['Brand', 'Organization'], |
|
| 537 | 537 | 'contactPoint' => ['ContactPoint'], |
| 538 | - 'correctionsPolicy' => ['CreativeWork','URL'], |
|
| 538 | + 'correctionsPolicy' => ['CreativeWork', 'URL'], |
|
| 539 | 539 | 'department' => ['Organization'], |
| 540 | 540 | 'dissolutionDate' => ['Date'], |
| 541 | - 'diversityPolicy' => ['CreativeWork','URL'], |
|
| 541 | + 'diversityPolicy' => ['CreativeWork', 'URL'], |
|
| 542 | 542 | 'duns' => ['Text'], |
| 543 | 543 | 'email' => ['Text'], |
| 544 | 544 | 'employee' => ['Person'], |
| 545 | - 'ethicsPolicy' => ['CreativeWork','URL'], |
|
| 545 | + 'ethicsPolicy' => ['CreativeWork', 'URL'], |
|
| 546 | 546 | 'event' => ['Event'], |
| 547 | 547 | 'faxNumber' => ['Text'], |
| 548 | 548 | 'founder' => ['Person'], |
| 549 | 549 | 'foundingDate' => ['Date'], |
| 550 | 550 | 'foundingLocation' => ['Place'], |
| 551 | - 'funder' => ['Organization','Person'], |
|
| 551 | + 'funder' => ['Organization', 'Person'], |
|
| 552 | 552 | 'globalLocationNumber' => ['Text'], |
| 553 | 553 | 'hasOfferCatalog' => ['OfferCatalog'], |
| 554 | 554 | 'hasPOS' => ['Place'], |
| 555 | 555 | 'isicV4' => ['Text'], |
| 556 | 556 | 'legalName' => ['Text'], |
| 557 | 557 | 'leiCode' => ['Text'], |
| 558 | - 'location' => ['Place','PostalAddress','Text'], |
|
| 559 | - 'logo' => ['ImageObject','URL'], |
|
| 558 | + 'location' => ['Place', 'PostalAddress', 'Text'], |
|
| 559 | + 'logo' => ['ImageObject', 'URL'], |
|
| 560 | 560 | 'makesOffer' => ['Offer'], |
| 561 | - 'member' => ['Organization','Person'], |
|
| 562 | - 'memberOf' => ['Organization','ProgramMembership'], |
|
| 561 | + 'member' => ['Organization', 'Person'], |
|
| 562 | + 'memberOf' => ['Organization', 'ProgramMembership'], |
|
| 563 | 563 | 'naics' => ['Text'], |
| 564 | 564 | 'numberOfEmployees' => ['QuantitativeValue'], |
| 565 | - 'owns' => ['OwnershipInfo','Product'], |
|
| 565 | + 'owns' => ['OwnershipInfo', 'Product'], |
|
| 566 | 566 | 'parentOrganization' => ['Organization'], |
| 567 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
| 567 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
| 568 | 568 | 'review' => ['Review'], |
| 569 | 569 | 'seeks' => ['Demand'], |
| 570 | - 'sponsor' => ['Organization','Person'], |
|
| 570 | + 'sponsor' => ['Organization', 'Person'], |
|
| 571 | 571 | 'subOrganization' => ['Organization'], |
| 572 | 572 | 'taxID' => ['Text'], |
| 573 | 573 | 'telephone' => ['Text'], |
| 574 | - 'unnamedSourcesPolicy' => ['CreativeWork','URL'], |
|
| 574 | + 'unnamedSourcesPolicy' => ['CreativeWork', 'URL'], |
|
| 575 | 575 | 'vatID' => ['Text'] |
| 576 | 576 | ]; |
| 577 | 577 | |
@@ -687,7 +687,7 @@ discard block |
||
| 687 | 687 | { |
| 688 | 688 | $rules = parent::rules(); |
| 689 | 689 | $rules = array_merge($rules, [ |
| 690 | - [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','owns','parentOrganization','publishingPrinciples','review','seeks','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'], |
|
| 690 | + [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'], |
|
| 691 | 691 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 692 | 692 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 693 | 693 | ]); |
@@ -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 | ]); |
@@ -187,10 +187,10 @@ discard block |
||
| 187 | 187 | static protected $_schemaPropertyExpectedTypes = [ |
| 188 | 188 | 'amenityFeature' => ['LocationFeatureSpecification'], |
| 189 | 189 | 'audience' => ['Audience'], |
| 190 | - 'availableLanguage' => ['Language','Text'], |
|
| 190 | + 'availableLanguage' => ['Language', 'Text'], |
|
| 191 | 191 | 'checkinTime' => ['DateTime'], |
| 192 | 192 | 'checkoutTime' => ['DateTime'], |
| 193 | - 'petsAllowed' => ['Boolean','Text'], |
|
| 193 | + 'petsAllowed' => ['Boolean', 'Text'], |
|
| 194 | 194 | 'starRating' => ['Rating'] |
| 195 | 195 | ]; |
| 196 | 196 | |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | { |
| 268 | 268 | $rules = parent::rules(); |
| 269 | 269 | $rules = array_merge($rules, [ |
| 270 | - [['amenityFeature','audience','availableLanguage','checkinTime','checkoutTime','petsAllowed','starRating'], 'validateJsonSchema'], |
|
| 270 | + [['amenityFeature', 'audience', 'availableLanguage', 'checkinTime', 'checkoutTime', 'petsAllowed', 'starRating'], 'validateJsonSchema'], |
|
| 271 | 271 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 272 | 272 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 273 | 273 | ]); |