@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | static protected $_schemaPropertyExpectedTypes = [ |
157 | 157 | 'characterAttribute' => ['Thing'], |
158 | 158 | 'gameItem' => ['Thing'], |
159 | - 'gameLocation' => ['Place','PostalAddress','URL'], |
|
159 | + 'gameLocation' => ['Place', 'PostalAddress', 'URL'], |
|
160 | 160 | 'numberOfPlayers' => ['QuantitativeValue'], |
161 | 161 | 'quest' => ['Thing'] |
162 | 162 | ]; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | { |
233 | 233 | $rules = parent::rules(); |
234 | 234 | $rules = array_merge($rules, [ |
235 | - [['characterAttribute','gameItem','gameLocation','numberOfPlayers','quest'], 'validateJsonSchema'], |
|
235 | + [['characterAttribute', 'gameItem', 'gameLocation', 'numberOfPlayers', 'quest'], 'validateJsonSchema'], |
|
236 | 236 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
237 | 237 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
238 | 238 | ]); |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * @var array |
121 | 121 | */ |
122 | 122 | static protected $_schemaPropertyExpectedTypes = [ |
123 | - 'seller' => ['Organization','Person'] |
|
123 | + 'seller' => ['Organization', 'Person'] |
|
124 | 124 | ]; |
125 | 125 | |
126 | 126 | /** |
@@ -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 | ]); |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | static protected $_schemaPropertyExpectedTypes = [ |
157 | 157 | 'codeRepository' => ['URL'], |
158 | 158 | 'codeSampleType' => ['Text'], |
159 | - 'programmingLanguage' => ['ComputerLanguage','Text'], |
|
159 | + 'programmingLanguage' => ['ComputerLanguage', 'Text'], |
|
160 | 160 | 'runtimePlatform' => ['Text'], |
161 | 161 | 'targetProduct' => ['SoftwareApplication'] |
162 | 162 | ]; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | { |
233 | 233 | $rules = parent::rules(); |
234 | 234 | $rules = array_merge($rules, [ |
235 | - [['codeRepository','codeSampleType','programmingLanguage','runtimePlatform','targetProduct'], 'validateJsonSchema'], |
|
235 | + [['codeRepository', 'codeSampleType', 'programmingLanguage', 'runtimePlatform', 'targetProduct'], 'validateJsonSchema'], |
|
236 | 236 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
237 | 237 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
238 | 238 | ]); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | */ |
133 | 133 | static protected $_schemaPropertyExpectedTypes = [ |
134 | 134 | 'deliveryMethod' => ['DeliveryMethod'], |
135 | - 'sender' => ['Audience','Organization','Person'] |
|
135 | + 'sender' => ['Audience', 'Organization', 'Person'] |
|
136 | 136 | ]; |
137 | 137 | |
138 | 138 | /** |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | { |
204 | 204 | $rules = parent::rules(); |
205 | 205 | $rules = array_merge($rules, [ |
206 | - [['deliveryMethod','sender'], 'validateJsonSchema'], |
|
206 | + [['deliveryMethod', 'sender'], 'validateJsonSchema'], |
|
207 | 207 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
208 | 208 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
209 | 209 | ]); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | * @var array |
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | - 'subtitleLanguage' => ['Language','Text'], |
|
138 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
139 | 139 | 'videoFormat' => ['Text'], |
140 | 140 | 'workPresented' => ['Movie'] |
141 | 141 | ]; |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['subtitleLanguage','videoFormat','workPresented'], 'validateJsonSchema'], |
|
212 | + [['subtitleLanguage', 'videoFormat', 'workPresented'], 'validateJsonSchema'], |
|
213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
215 | 215 | ]); |
@@ -142,9 +142,9 @@ discard block |
||
142 | 142 | * @var array |
143 | 143 | */ |
144 | 144 | static protected $_schemaPropertyExpectedTypes = [ |
145 | - 'endDate' => ['Date','DateTime'], |
|
146 | - 'roleName' => ['Text','URL'], |
|
147 | - 'startDate' => ['Date','DateTime'] |
|
145 | + 'endDate' => ['Date', 'DateTime'], |
|
146 | + 'roleName' => ['Text', 'URL'], |
|
147 | + 'startDate' => ['Date', 'DateTime'] |
|
148 | 148 | ]; |
149 | 149 | |
150 | 150 | /** |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | { |
217 | 217 | $rules = parent::rules(); |
218 | 218 | $rules = array_merge($rules, [ |
219 | - [['endDate','roleName','startDate'], 'validateJsonSchema'], |
|
219 | + [['endDate', 'roleName', 'startDate'], 'validateJsonSchema'], |
|
220 | 220 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
221 | 221 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
222 | 222 | ]); |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | 'containsSeason' => ['CreativeWorkSeason'], |
193 | 193 | 'director' => ['Person'], |
194 | 194 | 'episode' => ['Episode'], |
195 | - 'musicBy' => ['MusicGroup','Person'], |
|
195 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
196 | 196 | 'numberOfEpisodes' => ['Integer'], |
197 | 197 | 'numberOfSeasons' => ['Integer'], |
198 | 198 | 'productionCompany' => ['Organization'], |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | { |
275 | 275 | $rules = parent::rules(); |
276 | 276 | $rules = array_merge($rules, [ |
277 | - [['actor','containsSeason','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'], |
|
277 | + [['actor', 'containsSeason', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
278 | 278 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
279 | 279 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
280 | 280 | ]); |
@@ -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 | ]); |