@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -229,13 +229,13 @@ discard block |
||
229 | 229 | 'alternateName' => ['Text'], |
230 | 230 | 'description' => ['Text'], |
231 | 231 | 'disambiguatingDescription' => ['Text'], |
232 | - 'identifier' => ['PropertyValue','Text','URL'], |
|
233 | - 'image' => ['ImageObject','URL'], |
|
234 | - 'mainEntityOfPage' => ['CreativeWork','URL'], |
|
232 | + 'identifier' => ['PropertyValue', 'Text', 'URL'], |
|
233 | + 'image' => ['ImageObject', 'URL'], |
|
234 | + 'mainEntityOfPage' => ['CreativeWork', 'URL'], |
|
235 | 235 | 'name' => ['Text'], |
236 | 236 | 'potentialAction' => ['Action'], |
237 | 237 | 'sameAs' => ['URL'], |
238 | - 'subjectOf' => ['CreativeWork','Event'], |
|
238 | + 'subjectOf' => ['CreativeWork', 'Event'], |
|
239 | 239 | 'url' => ['URL'] |
240 | 240 | ]; |
241 | 241 | |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | { |
318 | 318 | $rules = parent::rules(); |
319 | 319 | $rules = array_merge($rules, [ |
320 | - [['additionalType','alternateName','description','disambiguatingDescription','identifier','image','mainEntityOfPage','name','potentialAction','sameAs','subjectOf','url'], 'validateJsonSchema'], |
|
320 | + [['additionalType', 'alternateName', 'description', 'disambiguatingDescription', 'identifier', 'image', 'mainEntityOfPage', 'name', 'potentialAction', 'sameAs', 'subjectOf', 'url'], 'validateJsonSchema'], |
|
321 | 321 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
322 | 322 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
323 | 323 | ]); |
@@ -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(); |
@@ -957,80 +957,80 @@ discard block |
||
957 | 957 | 'alternativeHeadline' => ['Text'], |
958 | 958 | 'associatedMedia' => ['MediaObject'], |
959 | 959 | 'audience' => ['Audience'], |
960 | - 'audio' => ['AudioObject','Clip'], |
|
961 | - 'author' => ['Organization','Person'], |
|
960 | + 'audio' => ['AudioObject', 'Clip'], |
|
961 | + 'author' => ['Organization', 'Person'], |
|
962 | 962 | 'award' => ['Text'], |
963 | 963 | 'character' => ['Person'], |
964 | - 'citation' => ['CreativeWork','Text'], |
|
964 | + 'citation' => ['CreativeWork', 'Text'], |
|
965 | 965 | 'comment' => ['Comment'], |
966 | 966 | 'commentCount' => ['Integer'], |
967 | 967 | 'contentLocation' => ['Place'], |
968 | - 'contentRating' => ['Rating','Text'], |
|
968 | + 'contentRating' => ['Rating', 'Text'], |
|
969 | 969 | 'contentReferenceTime' => ['DateTime'], |
970 | - 'contributor' => ['Organization','Person'], |
|
971 | - 'copyrightHolder' => ['Organization','Person'], |
|
970 | + 'contributor' => ['Organization', 'Person'], |
|
971 | + 'copyrightHolder' => ['Organization', 'Person'], |
|
972 | 972 | 'copyrightYear' => ['Number'], |
973 | - 'correction' => ['CorrectionComment','Text','URL'], |
|
974 | - 'creator' => ['Organization','Person'], |
|
975 | - 'dateCreated' => ['Date','DateTime'], |
|
976 | - 'dateModified' => ['Date','DateTime'], |
|
973 | + 'correction' => ['CorrectionComment', 'Text', 'URL'], |
|
974 | + 'creator' => ['Organization', 'Person'], |
|
975 | + 'dateCreated' => ['Date', 'DateTime'], |
|
976 | + 'dateModified' => ['Date', 'DateTime'], |
|
977 | 977 | 'datePublished' => ['Date'], |
978 | 978 | 'discussionUrl' => ['URL'], |
979 | 979 | 'editor' => ['Person'], |
980 | 980 | 'educationalAlignment' => ['AlignmentObject'], |
981 | 981 | 'educationalUse' => ['Text'], |
982 | 982 | 'encoding' => ['MediaObject'], |
983 | - 'encodingFormat' => ['Text','URL'], |
|
983 | + 'encodingFormat' => ['Text', 'URL'], |
|
984 | 984 | 'exampleOfWork' => ['CreativeWork'], |
985 | 985 | 'expires' => ['Date'], |
986 | - 'funder' => ['Organization','Person'], |
|
987 | - 'genre' => ['Text','URL'], |
|
986 | + 'funder' => ['Organization', 'Person'], |
|
987 | + 'genre' => ['Text', 'URL'], |
|
988 | 988 | 'hasPart' => ['CreativeWork'], |
989 | 989 | 'headline' => ['Text'], |
990 | - 'inLanguage' => ['Language','Text'], |
|
990 | + 'inLanguage' => ['Language', 'Text'], |
|
991 | 991 | 'interactionStatistic' => ['InteractionCounter'], |
992 | 992 | 'interactivityType' => ['Text'], |
993 | 993 | 'isAccessibleForFree' => ['Boolean'], |
994 | - 'isBasedOn' => ['CreativeWork','Product','URL'], |
|
994 | + 'isBasedOn' => ['CreativeWork', 'Product', 'URL'], |
|
995 | 995 | 'isFamilyFriendly' => ['Boolean'], |
996 | 996 | 'isPartOf' => ['CreativeWork'], |
997 | 997 | 'keywords' => ['Text'], |
998 | 998 | 'learningResourceType' => ['Text'], |
999 | - 'license' => ['CreativeWork','URL'], |
|
999 | + 'license' => ['CreativeWork', 'URL'], |
|
1000 | 1000 | 'locationCreated' => ['Place'], |
1001 | 1001 | 'mainEntity' => ['Thing'], |
1002 | - 'material' => ['Product','Text','URL'], |
|
1003 | - 'materialExtent' => ['QuantitativeValue','Text'], |
|
1002 | + 'material' => ['Product', 'Text', 'URL'], |
|
1003 | + 'materialExtent' => ['QuantitativeValue', 'Text'], |
|
1004 | 1004 | 'mentions' => ['Thing'], |
1005 | 1005 | 'offers' => ['Offer'], |
1006 | - 'position' => ['Integer','Text'], |
|
1007 | - 'producer' => ['Organization','Person'], |
|
1008 | - 'provider' => ['Organization','Person'], |
|
1006 | + 'position' => ['Integer', 'Text'], |
|
1007 | + 'producer' => ['Organization', 'Person'], |
|
1008 | + 'provider' => ['Organization', 'Person'], |
|
1009 | 1009 | 'publication' => ['PublicationEvent'], |
1010 | - 'publisher' => ['Organization','Person'], |
|
1010 | + 'publisher' => ['Organization', 'Person'], |
|
1011 | 1011 | 'publisherImprint' => ['Organization'], |
1012 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
1012 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
1013 | 1013 | 'recordedAt' => ['Event'], |
1014 | 1014 | 'releasedEvent' => ['PublicationEvent'], |
1015 | 1015 | 'review' => ['Review'], |
1016 | - 'schemaVersion' => ['Text','URL'], |
|
1016 | + 'schemaVersion' => ['Text', 'URL'], |
|
1017 | 1017 | 'sdDatePublished' => ['Date'], |
1018 | - 'sdLicense' => ['CreativeWork','URL'], |
|
1019 | - 'sdPublisher' => ['Organization','Person'], |
|
1018 | + 'sdLicense' => ['CreativeWork', 'URL'], |
|
1019 | + 'sdPublisher' => ['Organization', 'Person'], |
|
1020 | 1020 | 'sourceOrganization' => ['Organization'], |
1021 | 1021 | 'spatial' => ['Place'], |
1022 | 1022 | 'spatialCoverage' => ['Place'], |
1023 | - 'sponsor' => ['Organization','Person'], |
|
1024 | - 'temporal' => ['DateTime','Text'], |
|
1025 | - 'temporalCoverage' => ['DateTime','Text','URL'], |
|
1023 | + 'sponsor' => ['Organization', 'Person'], |
|
1024 | + 'temporal' => ['DateTime', 'Text'], |
|
1025 | + 'temporalCoverage' => ['DateTime', 'Text', 'URL'], |
|
1026 | 1026 | 'text' => ['Text'], |
1027 | 1027 | 'thumbnailUrl' => ['URL'], |
1028 | 1028 | 'timeRequired' => ['Duration'], |
1029 | 1029 | 'translationOfWork' => ['CreativeWork'], |
1030 | - 'translator' => ['Organization','Person'], |
|
1030 | + 'translator' => ['Organization', 'Person'], |
|
1031 | 1031 | 'typicalAgeRange' => ['Text'], |
1032 | - 'version' => ['Number','Text'], |
|
1033 | - 'video' => ['Clip','VideoObject'], |
|
1032 | + 'version' => ['Number', 'Text'], |
|
1033 | + 'video' => ['Clip', 'VideoObject'], |
|
1034 | 1034 | 'workExample' => ['CreativeWork'], |
1035 | 1035 | 'workTranslation' => ['CreativeWork'] |
1036 | 1036 | ]; |
@@ -1190,7 +1190,7 @@ discard block |
||
1190 | 1190 | { |
1191 | 1191 | $rules = parent::rules(); |
1192 | 1192 | $rules = array_merge($rules, [ |
1193 | - [['about','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','correction','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','encodingFormat','exampleOfWork','expires','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','material','materialExtent','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sdDatePublished','sdLicense','sdPublisher','sourceOrganization','spatial','spatialCoverage','sponsor','temporal','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','version','video','workExample','workTranslation'], 'validateJsonSchema'], |
|
1193 | + [['about', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'correction', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'encodingFormat', 'exampleOfWork', 'expires', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'material', 'materialExtent', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sdDatePublished', 'sdLicense', 'sdPublisher', 'sourceOrganization', 'spatial', 'spatialCoverage', 'sponsor', 'temporal', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'], |
|
1194 | 1194 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
1195 | 1195 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
1196 | 1196 | ]); |
@@ -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 | /** |