@@ -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(); |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | { |
| 201 | 201 | $rules = parent::rules(); |
| 202 | 202 | $rules = array_merge($rules, [ |
| 203 | - [['actionAccessibilityRequirement','expectsAcceptanceOf'], 'validateJsonSchema'], |
|
| 203 | + [['actionAccessibilityRequirement', 'expectsAcceptanceOf'], 'validateJsonSchema'], |
|
| 204 | 204 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 205 | 205 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 206 | 206 | ]); |
@@ -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(); |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | { |
| 199 | 199 | $rules = parent::rules(); |
| 200 | 200 | $rules = array_merge($rules, [ |
| 201 | - [['hasMenuItem','hasMenuSection'], 'validateJsonSchema'], |
|
| 201 | + [['hasMenuItem', 'hasMenuSection'], 'validateJsonSchema'], |
|
| 202 | 202 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 203 | 203 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 204 | 204 | ]); |
@@ -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(); |
@@ -456,36 +456,36 @@ discard block |
||
| 456 | 456 | 'about' => ['Thing'], |
| 457 | 457 | 'actor' => ['Person'], |
| 458 | 458 | 'aggregateRating' => ['AggregateRating'], |
| 459 | - 'attendee' => ['Organization','Person'], |
|
| 459 | + 'attendee' => ['Organization', 'Person'], |
|
| 460 | 460 | 'audience' => ['Audience'], |
| 461 | - 'composer' => ['Organization','Person'], |
|
| 462 | - 'contributor' => ['Organization','Person'], |
|
| 461 | + 'composer' => ['Organization', 'Person'], |
|
| 462 | + 'contributor' => ['Organization', 'Person'], |
|
| 463 | 463 | 'director' => ['Person'], |
| 464 | - 'doorTime' => ['DateTime','Time'], |
|
| 464 | + 'doorTime' => ['DateTime', 'Time'], |
|
| 465 | 465 | 'duration' => ['Duration'], |
| 466 | - 'endDate' => ['Date','DateTime'], |
|
| 466 | + 'endDate' => ['Date', 'DateTime'], |
|
| 467 | 467 | 'eventAttendanceMode' => ['EventAttendanceModeEnumeration'], |
| 468 | 468 | 'eventSchedule' => ['Schedule'], |
| 469 | 469 | 'eventStatus' => ['EventStatusType'], |
| 470 | - 'funder' => ['Organization','Person'], |
|
| 471 | - 'inLanguage' => ['Language','Text'], |
|
| 470 | + 'funder' => ['Organization', 'Person'], |
|
| 471 | + 'inLanguage' => ['Language', 'Text'], |
|
| 472 | 472 | 'isAccessibleForFree' => ['Boolean'], |
| 473 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 473 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 474 | 474 | 'maximumAttendeeCapacity' => ['Integer'], |
| 475 | 475 | 'maximumPhysicalAttendeeCapacity' => ['Integer'], |
| 476 | 476 | 'maximumVirtualAttendeeCapacity' => ['Integer'], |
| 477 | - 'offers' => ['Demand','Offer'], |
|
| 478 | - 'organizer' => ['Organization','Person'], |
|
| 479 | - 'performer' => ['Organization','Person'], |
|
| 477 | + 'offers' => ['Demand', 'Offer'], |
|
| 478 | + 'organizer' => ['Organization', 'Person'], |
|
| 479 | + 'performer' => ['Organization', 'Person'], |
|
| 480 | 480 | 'previousStartDate' => ['Date'], |
| 481 | 481 | 'recordedIn' => ['CreativeWork'], |
| 482 | 482 | 'remainingAttendeeCapacity' => ['Integer'], |
| 483 | 483 | 'review' => ['Review'], |
| 484 | - 'sponsor' => ['Organization','Person'], |
|
| 485 | - 'startDate' => ['Date','DateTime'], |
|
| 484 | + 'sponsor' => ['Organization', 'Person'], |
|
| 485 | + 'startDate' => ['Date', 'DateTime'], |
|
| 486 | 486 | 'subEvent' => ['Event'], |
| 487 | 487 | 'superEvent' => ['Event'], |
| 488 | - 'translator' => ['Organization','Person'], |
|
| 488 | + 'translator' => ['Organization', 'Person'], |
|
| 489 | 489 | 'typicalAgeRange' => ['Text'], |
| 490 | 490 | 'workFeatured' => ['CreativeWork'], |
| 491 | 491 | 'workPerformed' => ['CreativeWork'] |
@@ -593,7 +593,7 @@ discard block |
||
| 593 | 593 | { |
| 594 | 594 | $rules = parent::rules(); |
| 595 | 595 | $rules = array_merge($rules, [ |
| 596 | - [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventAttendanceMode','eventSchedule','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','maximumPhysicalAttendeeCapacity','maximumVirtualAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'], |
|
| 596 | + [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventAttendanceMode', 'eventSchedule', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'maximumPhysicalAttendeeCapacity', 'maximumVirtualAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'], |
|
| 597 | 597 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 598 | 598 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 599 | 599 | ]); |
@@ -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(); |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * @var array |
| 120 | 120 | */ |
| 121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
| 122 | - 'estimatedCost' => ['MonetaryAmount','Text'] |
|
| 122 | + 'estimatedCost' => ['MonetaryAmount', 'Text'] |
|
| 123 | 123 | ]; |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -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(); |
@@ -222,15 +222,15 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | static protected $_schemaPropertyExpectedTypes = [ |
| 224 | 224 | 'actionStatus' => ['ActionStatusType'], |
| 225 | - 'agent' => ['Organization','Person'], |
|
| 226 | - 'endTime' => ['DateTime','Time'], |
|
| 225 | + 'agent' => ['Organization', 'Person'], |
|
| 226 | + 'endTime' => ['DateTime', 'Time'], |
|
| 227 | 227 | 'error' => ['Thing'], |
| 228 | 228 | 'instrument' => ['Thing'], |
| 229 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 229 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 230 | 230 | 'object' => ['Thing'], |
| 231 | - 'participant' => ['Organization','Person'], |
|
| 231 | + 'participant' => ['Organization', 'Person'], |
|
| 232 | 232 | 'result' => ['Thing'], |
| 233 | - 'startTime' => ['DateTime','Time'], |
|
| 233 | + 'startTime' => ['DateTime', 'Time'], |
|
| 234 | 234 | 'target' => ['EntryPoint'] |
| 235 | 235 | ]; |
| 236 | 236 | |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | { |
| 312 | 312 | $rules = parent::rules(); |
| 313 | 313 | $rules = array_merge($rules, [ |
| 314 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
| 314 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
| 315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 317 | 317 | ]); |
@@ -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(); |
@@ -222,15 +222,15 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | static protected $_schemaPropertyExpectedTypes = [ |
| 224 | 224 | 'actionStatus' => ['ActionStatusType'], |
| 225 | - 'agent' => ['Organization','Person'], |
|
| 226 | - 'endTime' => ['DateTime','Time'], |
|
| 225 | + 'agent' => ['Organization', 'Person'], |
|
| 226 | + 'endTime' => ['DateTime', 'Time'], |
|
| 227 | 227 | 'error' => ['Thing'], |
| 228 | 228 | 'instrument' => ['Thing'], |
| 229 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 229 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 230 | 230 | 'object' => ['Thing'], |
| 231 | - 'participant' => ['Organization','Person'], |
|
| 231 | + 'participant' => ['Organization', 'Person'], |
|
| 232 | 232 | 'result' => ['Thing'], |
| 233 | - 'startTime' => ['DateTime','Time'], |
|
| 233 | + 'startTime' => ['DateTime', 'Time'], |
|
| 234 | 234 | 'target' => ['EntryPoint'] |
| 235 | 235 | ]; |
| 236 | 236 | |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | { |
| 312 | 312 | $rules = parent::rules(); |
| 313 | 313 | $rules = array_merge($rules, [ |
| 314 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
| 314 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
| 315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 317 | 317 | ]); |
@@ -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(); |
@@ -1038,89 +1038,89 @@ discard block |
||
| 1038 | 1038 | 'accessibilityHazard' => ['Text'], |
| 1039 | 1039 | 'accessibilitySummary' => ['Text'], |
| 1040 | 1040 | 'accountablePerson' => ['Person'], |
| 1041 | - 'acquireLicensePage' => ['CreativeWork','URL'], |
|
| 1041 | + 'acquireLicensePage' => ['CreativeWork', 'URL'], |
|
| 1042 | 1042 | 'aggregateRating' => ['AggregateRating'], |
| 1043 | 1043 | 'alternativeHeadline' => ['Text'], |
| 1044 | 1044 | 'associatedMedia' => ['MediaObject'], |
| 1045 | 1045 | 'audience' => ['Audience'], |
| 1046 | - 'audio' => ['AudioObject','Clip','MusicRecording'], |
|
| 1047 | - 'author' => ['Organization','Person'], |
|
| 1046 | + 'audio' => ['AudioObject', 'Clip', 'MusicRecording'], |
|
| 1047 | + 'author' => ['Organization', 'Person'], |
|
| 1048 | 1048 | 'award' => ['Text'], |
| 1049 | 1049 | 'character' => ['Person'], |
| 1050 | - 'citation' => ['CreativeWork','Text'], |
|
| 1050 | + 'citation' => ['CreativeWork', 'Text'], |
|
| 1051 | 1051 | 'comment' => ['Comment'], |
| 1052 | 1052 | 'commentCount' => ['Integer'], |
| 1053 | 1053 | 'conditionsOfAccess' => ['Text'], |
| 1054 | 1054 | 'contentLocation' => ['Place'], |
| 1055 | - 'contentRating' => ['Rating','Text'], |
|
| 1055 | + 'contentRating' => ['Rating', 'Text'], |
|
| 1056 | 1056 | 'contentReferenceTime' => ['DateTime'], |
| 1057 | - 'contributor' => ['Organization','Person'], |
|
| 1058 | - 'copyrightHolder' => ['Organization','Person'], |
|
| 1057 | + 'contributor' => ['Organization', 'Person'], |
|
| 1058 | + 'copyrightHolder' => ['Organization', 'Person'], |
|
| 1059 | 1059 | 'copyrightYear' => ['Number'], |
| 1060 | - 'correction' => ['CorrectionComment','Text','URL'], |
|
| 1061 | - 'creativeWorkStatus' => ['DefinedTerm','Text'], |
|
| 1062 | - 'creator' => ['Organization','Person'], |
|
| 1063 | - 'dateCreated' => ['Date','DateTime'], |
|
| 1064 | - 'dateModified' => ['Date','DateTime'], |
|
| 1065 | - 'datePublished' => ['Date','DateTime'], |
|
| 1060 | + 'correction' => ['CorrectionComment', 'Text', 'URL'], |
|
| 1061 | + 'creativeWorkStatus' => ['DefinedTerm', 'Text'], |
|
| 1062 | + 'creator' => ['Organization', 'Person'], |
|
| 1063 | + 'dateCreated' => ['Date', 'DateTime'], |
|
| 1064 | + 'dateModified' => ['Date', 'DateTime'], |
|
| 1065 | + 'datePublished' => ['Date', 'DateTime'], |
|
| 1066 | 1066 | 'discussionUrl' => ['URL'], |
| 1067 | 1067 | 'editor' => ['Person'], |
| 1068 | 1068 | 'educationalAlignment' => ['AlignmentObject'], |
| 1069 | 1069 | 'educationalUse' => ['Text'], |
| 1070 | 1070 | 'encoding' => ['MediaObject'], |
| 1071 | - 'encodingFormat' => ['Text','URL'], |
|
| 1071 | + 'encodingFormat' => ['Text', 'URL'], |
|
| 1072 | 1072 | 'exampleOfWork' => ['CreativeWork'], |
| 1073 | 1073 | 'expires' => ['Date'], |
| 1074 | - 'funder' => ['Organization','Person'], |
|
| 1075 | - 'genre' => ['Text','URL'], |
|
| 1074 | + 'funder' => ['Organization', 'Person'], |
|
| 1075 | + 'genre' => ['Text', 'URL'], |
|
| 1076 | 1076 | 'hasPart' => ['CreativeWork'], |
| 1077 | 1077 | 'headline' => ['Text'], |
| 1078 | - 'inLanguage' => ['Language','Text'], |
|
| 1078 | + 'inLanguage' => ['Language', 'Text'], |
|
| 1079 | 1079 | 'interactionStatistic' => ['InteractionCounter'], |
| 1080 | 1080 | 'interactivityType' => ['Text'], |
| 1081 | 1081 | 'isAccessibleForFree' => ['Boolean'], |
| 1082 | - 'isBasedOn' => ['CreativeWork','Product','URL'], |
|
| 1082 | + 'isBasedOn' => ['CreativeWork', 'Product', 'URL'], |
|
| 1083 | 1083 | 'isFamilyFriendly' => ['Boolean'], |
| 1084 | - 'isPartOf' => ['CreativeWork','URL'], |
|
| 1084 | + 'isPartOf' => ['CreativeWork', 'URL'], |
|
| 1085 | 1085 | 'keywords' => ['Text'], |
| 1086 | 1086 | 'learningResourceType' => ['Text'], |
| 1087 | - 'license' => ['CreativeWork','URL'], |
|
| 1087 | + 'license' => ['CreativeWork', 'URL'], |
|
| 1088 | 1088 | 'locationCreated' => ['Place'], |
| 1089 | 1089 | 'mainEntity' => ['Thing'], |
| 1090 | - 'maintainer' => ['Organization','Person'], |
|
| 1091 | - 'material' => ['Product','Text','URL'], |
|
| 1092 | - 'materialExtent' => ['QuantitativeValue','Text'], |
|
| 1090 | + 'maintainer' => ['Organization', 'Person'], |
|
| 1091 | + 'material' => ['Product', 'Text', 'URL'], |
|
| 1092 | + 'materialExtent' => ['QuantitativeValue', 'Text'], |
|
| 1093 | 1093 | 'mentions' => ['Thing'], |
| 1094 | - 'offers' => ['Demand','Offer'], |
|
| 1095 | - 'position' => ['Integer','Text'], |
|
| 1096 | - 'producer' => ['Organization','Person'], |
|
| 1097 | - 'provider' => ['Organization','Person'], |
|
| 1094 | + 'offers' => ['Demand', 'Offer'], |
|
| 1095 | + 'position' => ['Integer', 'Text'], |
|
| 1096 | + 'producer' => ['Organization', 'Person'], |
|
| 1097 | + 'provider' => ['Organization', 'Person'], |
|
| 1098 | 1098 | 'publication' => ['PublicationEvent'], |
| 1099 | - 'publisher' => ['Organization','Person'], |
|
| 1099 | + 'publisher' => ['Organization', 'Person'], |
|
| 1100 | 1100 | 'publisherImprint' => ['Organization'], |
| 1101 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
| 1101 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
| 1102 | 1102 | 'recordedAt' => ['Event'], |
| 1103 | 1103 | 'releasedEvent' => ['PublicationEvent'], |
| 1104 | 1104 | 'review' => ['Review'], |
| 1105 | - 'schemaVersion' => ['Text','URL'], |
|
| 1105 | + 'schemaVersion' => ['Text', 'URL'], |
|
| 1106 | 1106 | 'sdDatePublished' => ['Date'], |
| 1107 | - 'sdLicense' => ['CreativeWork','URL'], |
|
| 1108 | - 'sdPublisher' => ['Organization','Person'], |
|
| 1107 | + 'sdLicense' => ['CreativeWork', 'URL'], |
|
| 1108 | + 'sdPublisher' => ['Organization', 'Person'], |
|
| 1109 | 1109 | 'sourceOrganization' => ['Organization'], |
| 1110 | 1110 | 'spatial' => ['Place'], |
| 1111 | 1111 | 'spatialCoverage' => ['Place'], |
| 1112 | - 'sponsor' => ['Organization','Person'], |
|
| 1113 | - 'temporal' => ['DateTime','Text'], |
|
| 1114 | - 'temporalCoverage' => ['DateTime','Text','URL'], |
|
| 1112 | + 'sponsor' => ['Organization', 'Person'], |
|
| 1113 | + 'temporal' => ['DateTime', 'Text'], |
|
| 1114 | + 'temporalCoverage' => ['DateTime', 'Text', 'URL'], |
|
| 1115 | 1115 | 'text' => ['Text'], |
| 1116 | 1116 | 'thumbnailUrl' => ['URL'], |
| 1117 | 1117 | 'timeRequired' => ['Duration'], |
| 1118 | 1118 | 'translationOfWork' => ['CreativeWork'], |
| 1119 | - 'translator' => ['Organization','Person'], |
|
| 1119 | + 'translator' => ['Organization', 'Person'], |
|
| 1120 | 1120 | 'typicalAgeRange' => ['Text'], |
| 1121 | - 'usageInfo' => ['CreativeWork','URL'], |
|
| 1122 | - 'version' => ['Number','Text'], |
|
| 1123 | - 'video' => ['Clip','VideoObject'], |
|
| 1121 | + 'usageInfo' => ['CreativeWork', 'URL'], |
|
| 1122 | + 'version' => ['Number', 'Text'], |
|
| 1123 | + 'video' => ['Clip', 'VideoObject'], |
|
| 1124 | 1124 | 'workExample' => ['CreativeWork'], |
| 1125 | 1125 | 'workTranslation' => ['CreativeWork'] |
| 1126 | 1126 | ]; |
@@ -1286,7 +1286,7 @@ discard block |
||
| 1286 | 1286 | { |
| 1287 | 1287 | $rules = parent::rules(); |
| 1288 | 1288 | $rules = array_merge($rules, [ |
| 1289 | - [['about','abstract','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','acquireLicensePage','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','conditionsOfAccess','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','correction','creativeWorkStatus','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','maintainer','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','usageInfo','version','video','workExample','workTranslation'], 'validateJsonSchema'], |
|
| 1289 | + [['about', 'abstract', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'acquireLicensePage', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'conditionsOfAccess', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'correction', 'creativeWorkStatus', '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', 'maintainer', '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', 'usageInfo', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'], |
|
| 1290 | 1290 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 1291 | 1291 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 1292 | 1292 | ]); |
@@ -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 | /** |