@@ -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,7 +218,7 @@ |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['assemblyVersion','executableLibraryName','programmingModel','targetPlatform'], 'validateJsonSchema'], |
|
221 | + [['assemblyVersion', 'executableLibraryName', 'programmingModel', 'targetPlatform'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -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(); |
@@ -503,28 +503,28 @@ discard block |
||
503 | 503 | */ |
504 | 504 | static protected $_schemaPropertyExpectedTypes = [ |
505 | 505 | 'accelerationTime' => ['QuantitativeValue'], |
506 | - 'bodyType' => ['QualitativeValue','Text','URL'], |
|
506 | + 'bodyType' => ['QualitativeValue', 'Text', 'URL'], |
|
507 | 507 | 'cargoVolume' => ['QuantitativeValue'], |
508 | 508 | 'dateVehicleFirstRegistered' => ['Date'], |
509 | - 'driveWheelConfiguration' => ['DriveWheelConfigurationValue','Text'], |
|
509 | + 'driveWheelConfiguration' => ['DriveWheelConfigurationValue', 'Text'], |
|
510 | 510 | 'emissionsCO2' => ['Number'], |
511 | 511 | 'fuelCapacity' => ['QuantitativeValue'], |
512 | 512 | 'fuelConsumption' => ['QuantitativeValue'], |
513 | 513 | 'fuelEfficiency' => ['QuantitativeValue'], |
514 | - 'fuelType' => ['QualitativeValue','Text','URL'], |
|
514 | + 'fuelType' => ['QualitativeValue', 'Text', 'URL'], |
|
515 | 515 | 'knownVehicleDamages' => ['Text'], |
516 | - 'meetsEmissionStandard' => ['QualitativeValue','Text','URL'], |
|
516 | + 'meetsEmissionStandard' => ['QualitativeValue', 'Text', 'URL'], |
|
517 | 517 | 'mileageFromOdometer' => ['QuantitativeValue'], |
518 | 518 | 'modelDate' => ['Date'], |
519 | - 'numberOfAirbags' => ['Number','Text'], |
|
520 | - 'numberOfAxles' => ['Number','QuantitativeValue'], |
|
521 | - 'numberOfDoors' => ['Number','QuantitativeValue'], |
|
522 | - 'numberOfForwardGears' => ['Number','QuantitativeValue'], |
|
523 | - 'numberOfPreviousOwners' => ['Number','QuantitativeValue'], |
|
519 | + 'numberOfAirbags' => ['Number', 'Text'], |
|
520 | + 'numberOfAxles' => ['Number', 'QuantitativeValue'], |
|
521 | + 'numberOfDoors' => ['Number', 'QuantitativeValue'], |
|
522 | + 'numberOfForwardGears' => ['Number', 'QuantitativeValue'], |
|
523 | + 'numberOfPreviousOwners' => ['Number', 'QuantitativeValue'], |
|
524 | 524 | 'payload' => ['QuantitativeValue'], |
525 | 525 | 'productionDate' => ['Date'], |
526 | 526 | 'purchaseDate' => ['Date'], |
527 | - 'seatingCapacity' => ['Number','QuantitativeValue'], |
|
527 | + 'seatingCapacity' => ['Number', 'QuantitativeValue'], |
|
528 | 528 | 'speed' => ['QuantitativeValue'], |
529 | 529 | 'steeringPosition' => ['SteeringPositionValue'], |
530 | 530 | 'tongueWeight' => ['QuantitativeValue'], |
@@ -535,9 +535,9 @@ discard block |
||
535 | 535 | 'vehicleInteriorColor' => ['Text'], |
536 | 536 | 'vehicleInteriorType' => ['Text'], |
537 | 537 | 'vehicleModelDate' => ['Date'], |
538 | - 'vehicleSeatingCapacity' => ['Number','QuantitativeValue'], |
|
539 | - 'vehicleSpecialUsage' => ['CarUsageType','Text'], |
|
540 | - 'vehicleTransmission' => ['QualitativeValue','Text','URL'], |
|
538 | + 'vehicleSeatingCapacity' => ['Number', 'QuantitativeValue'], |
|
539 | + 'vehicleSpecialUsage' => ['CarUsageType', 'Text'], |
|
540 | + 'vehicleTransmission' => ['QualitativeValue', 'Text', 'URL'], |
|
541 | 541 | 'weightTotal' => ['QuantitativeValue'], |
542 | 542 | 'wheelbase' => ['QuantitativeValue'] |
543 | 543 | ]; |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | { |
647 | 647 | $rules = parent::rules(); |
648 | 648 | $rules = array_merge($rules, [ |
649 | - [['accelerationTime','bodyType','cargoVolume','dateVehicleFirstRegistered','driveWheelConfiguration','emissionsCO2','fuelCapacity','fuelConsumption','fuelEfficiency','fuelType','knownVehicleDamages','meetsEmissionStandard','mileageFromOdometer','modelDate','numberOfAirbags','numberOfAxles','numberOfDoors','numberOfForwardGears','numberOfPreviousOwners','payload','productionDate','purchaseDate','seatingCapacity','speed','steeringPosition','tongueWeight','trailerWeight','vehicleConfiguration','vehicleEngine','vehicleIdentificationNumber','vehicleInteriorColor','vehicleInteriorType','vehicleModelDate','vehicleSeatingCapacity','vehicleSpecialUsage','vehicleTransmission','weightTotal','wheelbase'], 'validateJsonSchema'], |
|
649 | + [['accelerationTime', 'bodyType', 'cargoVolume', 'dateVehicleFirstRegistered', 'driveWheelConfiguration', 'emissionsCO2', 'fuelCapacity', 'fuelConsumption', 'fuelEfficiency', 'fuelType', 'knownVehicleDamages', 'meetsEmissionStandard', 'mileageFromOdometer', 'modelDate', 'numberOfAirbags', 'numberOfAxles', 'numberOfDoors', 'numberOfForwardGears', 'numberOfPreviousOwners', 'payload', 'productionDate', 'purchaseDate', 'seatingCapacity', 'speed', 'steeringPosition', 'tongueWeight', 'trailerWeight', 'vehicleConfiguration', 'vehicleEngine', 'vehicleIdentificationNumber', 'vehicleInteriorColor', 'vehicleInteriorType', 'vehicleModelDate', 'vehicleSeatingCapacity', 'vehicleSpecialUsage', 'vehicleTransmission', 'weightTotal', 'wheelbase'], 'validateJsonSchema'], |
|
650 | 650 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
651 | 651 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
652 | 652 | ]); |
@@ -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(); |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | static protected $_schemaPropertyExpectedTypes = [ |
183 | 183 | 'broadcastAffiliateOf' => ['Organization'], |
184 | 184 | 'broadcastDisplayName' => ['Text'], |
185 | - 'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'], |
|
185 | + 'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'], |
|
186 | 186 | 'broadcastTimezone' => ['Text'], |
187 | 187 | 'broadcaster' => ['Organization'], |
188 | 188 | 'hasBroadcastChannel' => ['BroadcastChannel'], |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | { |
265 | 265 | $rules = parent::rules(); |
266 | 266 | $rules = array_merge($rules, [ |
267 | - [['broadcastAffiliateOf','broadcastDisplayName','broadcastFrequency','broadcastTimezone','broadcaster','hasBroadcastChannel','parentService','videoFormat'], 'validateJsonSchema'], |
|
267 | + [['broadcastAffiliateOf', 'broadcastDisplayName', 'broadcastFrequency', 'broadcastTimezone', 'broadcaster', 'hasBroadcastChannel', 'parentService', 'videoFormat'], 'validateJsonSchema'], |
|
268 | 268 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
269 | 269 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
270 | 270 | ]); |
@@ -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(); |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | 141 | 'dataset' => ['Dataset'], |
142 | - 'measurementTechnique' => ['Text','URL'] |
|
142 | + 'measurementTechnique' => ['Text', 'URL'] |
|
143 | 143 | ]; |
144 | 144 | |
145 | 145 | /** |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['dataset','measurementTechnique'], 'validateJsonSchema'], |
|
213 | + [['dataset', 'measurementTechnique'], 'validateJsonSchema'], |
|
214 | 214 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
215 | 215 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
216 | 216 | ]); |
@@ -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(); |
@@ -139,9 +139,9 @@ discard block |
||
139 | 139 | * @var array |
140 | 140 | */ |
141 | 141 | static protected $_schemaPropertyExpectedTypes = [ |
142 | - 'annualPercentageRate' => ['Number','QuantitativeValue'], |
|
143 | - 'feesAndCommissionsSpecification' => ['Text','URL'], |
|
144 | - 'interestRate' => ['Number','QuantitativeValue'] |
|
142 | + 'annualPercentageRate' => ['Number', 'QuantitativeValue'], |
|
143 | + 'feesAndCommissionsSpecification' => ['Text', 'URL'], |
|
144 | + 'interestRate' => ['Number', 'QuantitativeValue'] |
|
145 | 145 | ]; |
146 | 146 | |
147 | 147 | /** |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | { |
214 | 214 | $rules = parent::rules(); |
215 | 215 | $rules = array_merge($rules, [ |
216 | - [['annualPercentageRate','feesAndCommissionsSpecification','interestRate'], 'validateJsonSchema'], |
|
216 | + [['annualPercentageRate', 'feesAndCommissionsSpecification', 'interestRate'], 'validateJsonSchema'], |
|
217 | 217 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
218 | 218 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
219 | 219 | ]); |
@@ -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(); |
@@ -249,7 +249,7 @@ |
||
249 | 249 | { |
250 | 250 | $rules = parent::rules(); |
251 | 251 | $rules = array_merge($rules, [ |
252 | - [['healthCondition','requiredGender','requiredMaxAge','requiredMinAge','suggestedGender','suggestedMaxAge','suggestedMinAge'], 'validateJsonSchema'], |
|
252 | + [['healthCondition', 'requiredGender', 'requiredMaxAge', 'requiredMinAge', 'suggestedGender', 'suggestedMaxAge', 'suggestedMinAge'], 'validateJsonSchema'], |
|
253 | 253 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
254 | 254 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
255 | 255 | ]); |
@@ -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(); |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'lesser' => ['QualitativeValue'], |
194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
195 | 195 | 'nonEqual' => ['QualitativeValue'], |
196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
197 | 197 | ]; |
198 | 198 | |
199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -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(); |
@@ -191,14 +191,14 @@ discard block |
||
191 | 191 | * @var array |
192 | 192 | */ |
193 | 193 | static protected $_schemaPropertyExpectedTypes = [ |
194 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
195 | - 'availableLanguage' => ['Language','Text'], |
|
194 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
195 | + 'availableLanguage' => ['Language', 'Text'], |
|
196 | 196 | 'contactOption' => ['ContactPointOption'], |
197 | 197 | 'contactType' => ['Text'], |
198 | 198 | 'email' => ['Text'], |
199 | 199 | 'faxNumber' => ['Text'], |
200 | 200 | 'hoursAvailable' => ['OpeningHoursSpecification'], |
201 | - 'productSupported' => ['Product','Text'], |
|
201 | + 'productSupported' => ['Product', 'Text'], |
|
202 | 202 | 'telephone' => ['Text'] |
203 | 203 | ]; |
204 | 204 | |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | { |
278 | 278 | $rules = parent::rules(); |
279 | 279 | $rules = array_merge($rules, [ |
280 | - [['areaServed','availableLanguage','contactOption','contactType','email','faxNumber','hoursAvailable','productSupported','telephone'], 'validateJsonSchema'], |
|
280 | + [['areaServed', 'availableLanguage', 'contactOption', 'contactType', 'email', 'faxNumber', 'hoursAvailable', 'productSupported', 'telephone'], 'validateJsonSchema'], |
|
281 | 281 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
282 | 282 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
283 | 283 | ]); |
@@ -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(); |
@@ -882,21 +882,21 @@ discard block |
||
882 | 882 | 'associatedMedia' => ['MediaObject'], |
883 | 883 | 'audience' => ['Audience'], |
884 | 884 | 'audio' => ['AudioObject'], |
885 | - 'author' => ['Organization','Person'], |
|
885 | + 'author' => ['Organization', 'Person'], |
|
886 | 886 | 'award' => ['Text'], |
887 | 887 | 'character' => ['Person'], |
888 | - 'citation' => ['CreativeWork','Text'], |
|
888 | + 'citation' => ['CreativeWork', 'Text'], |
|
889 | 889 | 'comment' => ['Comment'], |
890 | 890 | 'commentCount' => ['Integer'], |
891 | 891 | 'contentLocation' => ['Place'], |
892 | 892 | 'contentRating' => ['Text'], |
893 | 893 | 'contentReferenceTime' => ['DateTime'], |
894 | - 'contributor' => ['Organization','Person'], |
|
895 | - 'copyrightHolder' => ['Organization','Person'], |
|
894 | + 'contributor' => ['Organization', 'Person'], |
|
895 | + 'copyrightHolder' => ['Organization', 'Person'], |
|
896 | 896 | 'copyrightYear' => ['Number'], |
897 | - 'creator' => ['Organization','Person'], |
|
898 | - 'dateCreated' => ['Date','DateTime'], |
|
899 | - 'dateModified' => ['Date','DateTime'], |
|
897 | + 'creator' => ['Organization', 'Person'], |
|
898 | + 'dateCreated' => ['Date', 'DateTime'], |
|
899 | + 'dateModified' => ['Date', 'DateTime'], |
|
900 | 900 | 'datePublished' => ['Date'], |
901 | 901 | 'discussionUrl' => ['URL'], |
902 | 902 | 'editor' => ['Person'], |
@@ -905,48 +905,48 @@ discard block |
||
905 | 905 | 'encoding' => ['MediaObject'], |
906 | 906 | 'exampleOfWork' => ['CreativeWork'], |
907 | 907 | 'expires' => ['Date'], |
908 | - 'fileFormat' => ['Text','URL'], |
|
909 | - 'funder' => ['Organization','Person'], |
|
910 | - 'genre' => ['Text','URL'], |
|
908 | + 'fileFormat' => ['Text', 'URL'], |
|
909 | + 'funder' => ['Organization', 'Person'], |
|
910 | + 'genre' => ['Text', 'URL'], |
|
911 | 911 | 'hasPart' => ['CreativeWork'], |
912 | 912 | 'headline' => ['Text'], |
913 | - 'inLanguage' => ['Language','Text'], |
|
913 | + 'inLanguage' => ['Language', 'Text'], |
|
914 | 914 | 'interactionStatistic' => ['InteractionCounter'], |
915 | 915 | 'interactivityType' => ['Text'], |
916 | 916 | 'isAccessibleForFree' => ['Boolean'], |
917 | - 'isBasedOn' => ['CreativeWork','Product','URL'], |
|
917 | + 'isBasedOn' => ['CreativeWork', 'Product', 'URL'], |
|
918 | 918 | 'isFamilyFriendly' => ['Boolean'], |
919 | 919 | 'isPartOf' => ['CreativeWork'], |
920 | 920 | 'keywords' => ['Text'], |
921 | 921 | 'learningResourceType' => ['Text'], |
922 | - 'license' => ['CreativeWork','URL'], |
|
922 | + 'license' => ['CreativeWork', 'URL'], |
|
923 | 923 | 'locationCreated' => ['Place'], |
924 | 924 | 'mainEntity' => ['Thing'], |
925 | - 'material' => ['Product','Text','URL'], |
|
925 | + 'material' => ['Product', 'Text', 'URL'], |
|
926 | 926 | 'mentions' => ['Thing'], |
927 | 927 | 'offers' => ['Offer'], |
928 | - 'position' => ['Integer','Text'], |
|
929 | - 'producer' => ['Organization','Person'], |
|
930 | - 'provider' => ['Organization','Person'], |
|
928 | + 'position' => ['Integer', 'Text'], |
|
929 | + 'producer' => ['Organization', 'Person'], |
|
930 | + 'provider' => ['Organization', 'Person'], |
|
931 | 931 | 'publication' => ['PublicationEvent'], |
932 | - 'publisher' => ['Organization','Person'], |
|
932 | + 'publisher' => ['Organization', 'Person'], |
|
933 | 933 | 'publisherImprint' => ['Organization'], |
934 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
934 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
935 | 935 | 'recordedAt' => ['Event'], |
936 | 936 | 'releasedEvent' => ['PublicationEvent'], |
937 | 937 | 'review' => ['Review'], |
938 | - 'schemaVersion' => ['Text','URL'], |
|
938 | + 'schemaVersion' => ['Text', 'URL'], |
|
939 | 939 | 'sourceOrganization' => ['Organization'], |
940 | 940 | 'spatialCoverage' => ['Place'], |
941 | - 'sponsor' => ['Organization','Person'], |
|
942 | - 'temporalCoverage' => ['DateTime','Text','URL'], |
|
941 | + 'sponsor' => ['Organization', 'Person'], |
|
942 | + 'temporalCoverage' => ['DateTime', 'Text', 'URL'], |
|
943 | 943 | 'text' => ['Text'], |
944 | 944 | 'thumbnailUrl' => ['URL'], |
945 | 945 | 'timeRequired' => ['Duration'], |
946 | 946 | 'translationOfWork' => ['CreativeWork'], |
947 | - 'translator' => ['Organization','Person'], |
|
947 | + 'translator' => ['Organization', 'Person'], |
|
948 | 948 | 'typicalAgeRange' => ['Text'], |
949 | - 'version' => ['Number','Text'], |
|
949 | + 'version' => ['Number', 'Text'], |
|
950 | 950 | 'video' => ['VideoObject'], |
951 | 951 | 'workExample' => ['CreativeWork'], |
952 | 952 | 'workTranslation' => ['CreativeWork'] |
@@ -1100,7 +1100,7 @@ discard block |
||
1100 | 1100 | { |
1101 | 1101 | $rules = parent::rules(); |
1102 | 1102 | $rules = array_merge($rules, [ |
1103 | - [['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','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','exampleOfWork','expires','fileFormat','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','material','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sourceOrganization','spatialCoverage','sponsor','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','version','video','workExample','workTranslation'], 'validateJsonSchema'], |
|
1103 | + [['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', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'exampleOfWork', 'expires', 'fileFormat', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'material', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sourceOrganization', 'spatialCoverage', 'sponsor', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'], |
|
1104 | 1104 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
1105 | 1105 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
1106 | 1106 | ]); |