@@ -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(); |
@@ -244,13 +244,13 @@ discard block |
||
244 | 244 | 'embedUrl' => ['URL'], |
245 | 245 | 'encodesCreativeWork' => ['CreativeWork'], |
246 | 246 | 'encodingFormat' => ['Text'], |
247 | - 'height' => ['Distance','QuantitativeValue'], |
|
247 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
248 | 248 | 'playerType' => ['Text'], |
249 | 249 | 'productionCompany' => ['Organization'], |
250 | 250 | 'regionsAllowed' => ['Place'], |
251 | 251 | 'requiresSubscription' => ['Boolean'], |
252 | 252 | 'uploadDate' => ['Date'], |
253 | - 'width' => ['Distance','QuantitativeValue'] |
|
253 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
254 | 254 | ]; |
255 | 255 | |
256 | 256 | /** |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | { |
335 | 335 | $rules = parent::rules(); |
336 | 336 | $rules = array_merge($rules, [ |
337 | - [['associatedArticle','bitrate','contentSize','contentUrl','duration','embedUrl','encodesCreativeWork','encodingFormat','height','playerType','productionCompany','regionsAllowed','requiresSubscription','uploadDate','width'], 'validateJsonSchema'], |
|
337 | + [['associatedArticle', 'bitrate', 'contentSize', 'contentUrl', 'duration', 'embedUrl', 'encodesCreativeWork', 'encodingFormat', 'height', 'playerType', 'productionCompany', 'regionsAllowed', 'requiresSubscription', 'uploadDate', 'width'], 'validateJsonSchema'], |
|
338 | 338 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
339 | 339 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
340 | 340 | ]); |
@@ -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(); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @var array |
133 | 133 | */ |
134 | 134 | static protected $_schemaPropertyExpectedTypes = [ |
135 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
135 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
136 | 136 | 'occupancy' => ['QuantitativeValue'] |
137 | 137 | ]; |
138 | 138 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | { |
205 | 205 | $rules = parent::rules(); |
206 | 206 | $rules = array_merge($rules, [ |
207 | - [['numberOfRooms','occupancy'], 'validateJsonSchema'], |
|
207 | + [['numberOfRooms', 'occupancy'], 'validateJsonSchema'], |
|
208 | 208 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
209 | 209 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
210 | 210 | ]); |
@@ -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,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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -190,15 +190,15 @@ discard block |
||
190 | 190 | * @var array |
191 | 191 | */ |
192 | 192 | static protected $_schemaPropertyExpectedTypes = [ |
193 | - 'amount' => ['MonetaryAmount','Number'], |
|
193 | + 'amount' => ['MonetaryAmount', 'Number'], |
|
194 | 194 | 'currency' => ['Text'], |
195 | 195 | 'gracePeriod' => ['Duration'], |
196 | 196 | 'loanRepaymentForm' => ['RepaymentSpecification'], |
197 | 197 | 'loanTerm' => ['QuantitativeValue'], |
198 | - 'loanType' => ['Text','URL'], |
|
198 | + 'loanType' => ['Text', 'URL'], |
|
199 | 199 | 'recourseLoan' => ['Boolean'], |
200 | 200 | 'renegotiableLoan' => ['Boolean'], |
201 | - 'requiredCollateral' => ['Text','Thing'] |
|
201 | + 'requiredCollateral' => ['Text', 'Thing'] |
|
202 | 202 | ]; |
203 | 203 | |
204 | 204 | /** |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | { |
277 | 277 | $rules = parent::rules(); |
278 | 278 | $rules = array_merge($rules, [ |
279 | - [['amount','currency','gracePeriod','loanRepaymentForm','loanTerm','loanType','recourseLoan','renegotiableLoan','requiredCollateral'], 'validateJsonSchema'], |
|
279 | + [['amount', 'currency', 'gracePeriod', 'loanRepaymentForm', 'loanTerm', 'loanType', 'recourseLoan', 'renegotiableLoan', 'requiredCollateral'], 'validateJsonSchema'], |
|
280 | 280 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
281 | 281 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
282 | 282 | ]); |
@@ -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(); |
@@ -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 | ]); |
@@ -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,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(); |
@@ -547,15 +547,15 @@ discard block |
||
547 | 547 | */ |
548 | 548 | static protected $_schemaPropertyExpectedTypes = [ |
549 | 549 | 'additionalName' => ['Text'], |
550 | - 'address' => ['PostalAddress','Text'], |
|
550 | + 'address' => ['PostalAddress', 'Text'], |
|
551 | 551 | 'affiliation' => ['Organization'], |
552 | - 'alumniOf' => ['EducationalOrganization','Organization'], |
|
552 | + 'alumniOf' => ['EducationalOrganization', 'Organization'], |
|
553 | 553 | 'award' => ['Text'], |
554 | 554 | 'birthDate' => ['Date'], |
555 | 555 | 'birthPlace' => ['Place'], |
556 | - 'brand' => ['Brand','Organization'], |
|
556 | + 'brand' => ['Brand', 'Organization'], |
|
557 | 557 | 'children' => ['Person'], |
558 | - 'colleague' => ['Person','URL'], |
|
558 | + 'colleague' => ['Person', 'URL'], |
|
559 | 559 | 'contactPoint' => ['ContactPoint'], |
560 | 560 | 'deathDate' => ['Date'], |
561 | 561 | 'deathPlace' => ['Place'], |
@@ -564,38 +564,38 @@ discard block |
||
564 | 564 | 'familyName' => ['Text'], |
565 | 565 | 'faxNumber' => ['Text'], |
566 | 566 | 'follows' => ['Person'], |
567 | - 'funder' => ['Organization','Person'], |
|
568 | - 'gender' => ['GenderType','Text'], |
|
567 | + 'funder' => ['Organization', 'Person'], |
|
568 | + 'gender' => ['GenderType', 'Text'], |
|
569 | 569 | 'givenName' => ['Text'], |
570 | 570 | 'globalLocationNumber' => ['Text'], |
571 | 571 | 'hasOfferCatalog' => ['OfferCatalog'], |
572 | 572 | 'hasPOS' => ['Place'], |
573 | - 'height' => ['Distance','QuantitativeValue'], |
|
574 | - 'homeLocation' => ['ContactPoint','Place'], |
|
573 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
574 | + 'homeLocation' => ['ContactPoint', 'Place'], |
|
575 | 575 | 'honorificPrefix' => ['Text'], |
576 | 576 | 'honorificSuffix' => ['Text'], |
577 | 577 | 'isicV4' => ['Text'], |
578 | 578 | 'jobTitle' => ['Text'], |
579 | 579 | 'knows' => ['Person'], |
580 | 580 | 'makesOffer' => ['Offer'], |
581 | - 'memberOf' => ['Organization','ProgramMembership'], |
|
581 | + 'memberOf' => ['Organization', 'ProgramMembership'], |
|
582 | 582 | 'naics' => ['Text'], |
583 | 583 | 'nationality' => ['Country'], |
584 | - 'netWorth' => ['MonetaryAmount','PriceSpecification'], |
|
585 | - 'owns' => ['OwnershipInfo','Product'], |
|
584 | + 'netWorth' => ['MonetaryAmount', 'PriceSpecification'], |
|
585 | + 'owns' => ['OwnershipInfo', 'Product'], |
|
586 | 586 | 'parent' => ['Person'], |
587 | 587 | 'performerIn' => ['Event'], |
588 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
588 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
589 | 589 | 'relatedTo' => ['Person'], |
590 | 590 | 'seeks' => ['Demand'], |
591 | 591 | 'sibling' => ['Person'], |
592 | - 'sponsor' => ['Organization','Person'], |
|
592 | + 'sponsor' => ['Organization', 'Person'], |
|
593 | 593 | 'spouse' => ['Person'], |
594 | 594 | 'taxID' => ['Text'], |
595 | 595 | 'telephone' => ['Text'], |
596 | 596 | 'vatID' => ['Text'], |
597 | 597 | 'weight' => ['QuantitativeValue'], |
598 | - 'workLocation' => ['ContactPoint','Place'], |
|
598 | + 'workLocation' => ['ContactPoint', 'Place'], |
|
599 | 599 | 'worksFor' => ['Organization'] |
600 | 600 | ]; |
601 | 601 | |
@@ -716,7 +716,7 @@ discard block |
||
716 | 716 | { |
717 | 717 | $rules = parent::rules(); |
718 | 718 | $rules = array_merge($rules, [ |
719 | - [['additionalName','address','affiliation','alumniOf','award','birthDate','birthPlace','brand','children','colleague','contactPoint','deathDate','deathPlace','duns','email','familyName','faxNumber','follows','funder','gender','givenName','globalLocationNumber','hasOfferCatalog','hasPOS','height','homeLocation','honorificPrefix','honorificSuffix','isicV4','jobTitle','knows','makesOffer','memberOf','naics','nationality','netWorth','owns','parent','performerIn','publishingPrinciples','relatedTo','seeks','sibling','sponsor','spouse','taxID','telephone','vatID','weight','workLocation','worksFor'], 'validateJsonSchema'], |
|
719 | + [['additionalName', 'address', 'affiliation', 'alumniOf', 'award', 'birthDate', 'birthPlace', 'brand', 'children', 'colleague', 'contactPoint', 'deathDate', 'deathPlace', 'duns', 'email', 'familyName', 'faxNumber', 'follows', 'funder', 'gender', 'givenName', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'height', 'homeLocation', 'honorificPrefix', 'honorificSuffix', 'isicV4', 'jobTitle', 'knows', 'makesOffer', 'memberOf', 'naics', 'nationality', 'netWorth', 'owns', 'parent', 'performerIn', 'publishingPrinciples', 'relatedTo', 'seeks', 'sibling', 'sponsor', 'spouse', 'taxID', 'telephone', 'vatID', 'weight', 'workLocation', 'worksFor'], 'validateJsonSchema'], |
|
720 | 720 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
721 | 721 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
722 | 722 | ]); |