@@ -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(); |
@@ -141,10 +141,10 @@ discard block |
||
| 141 | 141 | * @var array |
| 142 | 142 | */ |
| 143 | 143 | static protected $_schemaPropertyExpectedTypes = [ |
| 144 | - 'awayTeam' => ['Person','SportsTeam'], |
|
| 145 | - 'competitor' => ['Person','SportsTeam'], |
|
| 146 | - 'homeTeam' => ['Person','SportsTeam'], |
|
| 147 | - 'sport' => ['Text','URL'] |
|
| 144 | + 'awayTeam' => ['Person', 'SportsTeam'], |
|
| 145 | + 'competitor' => ['Person', 'SportsTeam'], |
|
| 146 | + 'homeTeam' => ['Person', 'SportsTeam'], |
|
| 147 | + 'sport' => ['Text', 'URL'] |
|
| 148 | 148 | ]; |
| 149 | 149 | |
| 150 | 150 | /** |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | { |
| 218 | 218 | $rules = parent::rules(); |
| 219 | 219 | $rules = array_merge($rules, [ |
| 220 | - [['awayTeam','competitor','homeTeam','sport'], 'validateJsonSchema'], |
|
| 220 | + [['awayTeam', 'competitor', 'homeTeam', 'sport'], 'validateJsonSchema'], |
|
| 221 | 221 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 222 | 222 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 223 | 223 | ]); |
@@ -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(); |
@@ -399,35 +399,35 @@ discard block |
||
| 399 | 399 | static protected $_schemaPropertyExpectedTypes = [ |
| 400 | 400 | 'applicantLocationRequirements' => ['AdministrativeArea'], |
| 401 | 401 | 'applicationContact' => ['ContactPoint'], |
| 402 | - 'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
| 403 | - 'datePosted' => ['Date','DateTime'], |
|
| 404 | - 'educationRequirements' => ['EducationalOccupationalCredential','Text'], |
|
| 402 | + 'baseSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'], |
|
| 403 | + 'datePosted' => ['Date', 'DateTime'], |
|
| 404 | + 'educationRequirements' => ['EducationalOccupationalCredential', 'Text'], |
|
| 405 | 405 | 'employerOverview' => ['Text'], |
| 406 | 406 | 'employmentType' => ['Text'], |
| 407 | 407 | 'employmentUnit' => ['Organization'], |
| 408 | - 'estimatedSalary' => ['MonetaryAmount','MonetaryAmountDistribution','Number'], |
|
| 408 | + 'estimatedSalary' => ['MonetaryAmount', 'MonetaryAmountDistribution', 'Number'], |
|
| 409 | 409 | 'experienceRequirements' => ['Text'], |
| 410 | 410 | 'hiringOrganization' => ['Organization'], |
| 411 | 411 | 'incentiveCompensation' => ['Text'], |
| 412 | - 'industry' => ['DefinedTerm','Text'], |
|
| 412 | + 'industry' => ['DefinedTerm', 'Text'], |
|
| 413 | 413 | 'jobBenefits' => ['Text'], |
| 414 | 414 | 'jobImmediateStart' => ['Boolean'], |
| 415 | 415 | 'jobLocation' => ['Place'], |
| 416 | 416 | 'jobLocationType' => ['Text'], |
| 417 | - 'jobStartDate' => ['Date','Text'], |
|
| 418 | - 'occupationalCategory' => ['CategoryCode','Text'], |
|
| 419 | - 'physicalRequirement' => ['DefinedTerm','Text','URL'], |
|
| 420 | - 'qualifications' => ['EducationalOccupationalCredential','Text'], |
|
| 417 | + 'jobStartDate' => ['Date', 'Text'], |
|
| 418 | + 'occupationalCategory' => ['CategoryCode', 'Text'], |
|
| 419 | + 'physicalRequirement' => ['DefinedTerm', 'Text', 'URL'], |
|
| 420 | + 'qualifications' => ['EducationalOccupationalCredential', 'Text'], |
|
| 421 | 421 | 'relevantOccupation' => ['Occupation'], |
| 422 | 422 | 'responsibilities' => ['Text'], |
| 423 | 423 | 'salaryCurrency' => ['Text'], |
| 424 | - 'securityClearanceRequirement' => ['Text','URL'], |
|
| 425 | - 'sensoryRequirement' => ['DefinedTerm','Text','URL'], |
|
| 426 | - 'skills' => ['DefinedTerm','Text'], |
|
| 424 | + 'securityClearanceRequirement' => ['Text', 'URL'], |
|
| 425 | + 'sensoryRequirement' => ['DefinedTerm', 'Text', 'URL'], |
|
| 426 | + 'skills' => ['DefinedTerm', 'Text'], |
|
| 427 | 427 | 'specialCommitments' => ['Text'], |
| 428 | 428 | 'title' => ['Text'], |
| 429 | 429 | 'totalJobOpenings' => ['Integer'], |
| 430 | - 'validThrough' => ['Date','DateTime'], |
|
| 430 | + 'validThrough' => ['Date', 'DateTime'], |
|
| 431 | 431 | 'workHours' => ['Text'] |
| 432 | 432 | ]; |
| 433 | 433 | |
@@ -529,7 +529,7 @@ discard block |
||
| 529 | 529 | { |
| 530 | 530 | $rules = parent::rules(); |
| 531 | 531 | $rules = array_merge($rules, [ |
| 532 | - [['applicantLocationRequirements','applicationContact','baseSalary','datePosted','educationRequirements','employerOverview','employmentType','employmentUnit','estimatedSalary','experienceRequirements','hiringOrganization','incentiveCompensation','industry','jobBenefits','jobImmediateStart','jobLocation','jobLocationType','jobStartDate','occupationalCategory','physicalRequirement','qualifications','relevantOccupation','responsibilities','salaryCurrency','securityClearanceRequirement','sensoryRequirement','skills','specialCommitments','title','totalJobOpenings','validThrough','workHours'], 'validateJsonSchema'], |
|
| 532 | + [['applicantLocationRequirements', 'applicationContact', 'baseSalary', 'datePosted', 'educationRequirements', 'employerOverview', 'employmentType', 'employmentUnit', 'estimatedSalary', 'experienceRequirements', 'hiringOrganization', 'incentiveCompensation', 'industry', 'jobBenefits', 'jobImmediateStart', 'jobLocation', 'jobLocationType', 'jobStartDate', 'occupationalCategory', 'physicalRequirement', 'qualifications', 'relevantOccupation', 'responsibilities', 'salaryCurrency', 'securityClearanceRequirement', 'sensoryRequirement', 'skills', 'specialCommitments', 'title', 'totalJobOpenings', 'validThrough', 'workHours'], 'validateJsonSchema'], |
|
| 533 | 533 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 534 | 534 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 535 | 535 | ]); |
@@ -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(); |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * @var array |
| 119 | 119 | */ |
| 120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
| 121 | - 'feesAndCommissionsSpecification' => ['Text','URL'] |
|
| 121 | + 'feesAndCommissionsSpecification' => ['Text', 'URL'] |
|
| 122 | 122 | ]; |
| 123 | 123 | |
| 124 | 124 | /** |
@@ -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,13 +182,13 @@ discard block |
||
| 182 | 182 | * @var array |
| 183 | 183 | */ |
| 184 | 184 | static protected $_schemaPropertyExpectedTypes = [ |
| 185 | - 'afterMedia' => ['MediaObject','URL'], |
|
| 186 | - 'beforeMedia' => ['MediaObject','URL'], |
|
| 187 | - 'duringMedia' => ['MediaObject','URL'], |
|
| 185 | + 'afterMedia' => ['MediaObject', 'URL'], |
|
| 186 | + 'beforeMedia' => ['MediaObject', 'URL'], |
|
| 187 | + 'duringMedia' => ['MediaObject', 'URL'], |
|
| 188 | 188 | 'performTime' => ['Duration'], |
| 189 | 189 | 'prepTime' => ['Duration'], |
| 190 | - 'supply' => ['HowToSupply','Text'], |
|
| 191 | - 'tool' => ['HowToTool','Text'], |
|
| 190 | + 'supply' => ['HowToSupply', 'Text'], |
|
| 191 | + 'tool' => ['HowToTool', 'Text'], |
|
| 192 | 192 | 'totalTime' => ['Duration'] |
| 193 | 193 | ]; |
| 194 | 194 | |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | { |
| 267 | 267 | $rules = parent::rules(); |
| 268 | 268 | $rules = array_merge($rules, [ |
| 269 | - [['afterMedia','beforeMedia','duringMedia','performTime','prepTime','supply','tool','totalTime'], 'validateJsonSchema'], |
|
| 269 | + [['afterMedia', 'beforeMedia', 'duringMedia', 'performTime', 'prepTime', 'supply', 'tool', 'totalTime'], 'validateJsonSchema'], |
|
| 270 | 270 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 271 | 271 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 272 | 272 | ]); |
@@ -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,7 +190,7 @@ discard block |
||
| 190 | 190 | * @var array |
| 191 | 191 | */ |
| 192 | 192 | static protected $_schemaPropertyExpectedTypes = [ |
| 193 | - 'composer' => ['Organization','Person'], |
|
| 193 | + 'composer' => ['Organization', 'Person'], |
|
| 194 | 194 | 'firstPerformance' => ['Event'], |
| 195 | 195 | 'includedComposition' => ['MusicComposition'], |
| 196 | 196 | 'iswcCode' => ['Text'], |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | { |
| 279 | 279 | $rules = parent::rules(); |
| 280 | 280 | $rules = array_merge($rules, [ |
| 281 | - [['composer','firstPerformance','includedComposition','iswcCode','lyricist','lyrics','musicArrangement','musicCompositionForm','musicalKey','recordedAs'], 'validateJsonSchema'], |
|
| 281 | + [['composer', 'firstPerformance', 'includedComposition', 'iswcCode', 'lyricist', 'lyrics', 'musicArrangement', 'musicCompositionForm', 'musicalKey', 'recordedAs'], 'validateJsonSchema'], |
|
| 282 | 282 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 283 | 283 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 284 | 284 | ]); |
@@ -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(); |
@@ -171,8 +171,8 @@ discard block |
||
| 171 | 171 | 'distribution' => ['DataDownload'], |
| 172 | 172 | 'includedInDataCatalog' => ['DataCatalog'], |
| 173 | 173 | 'issn' => ['Text'], |
| 174 | - 'measurementTechnique' => ['Text','URL'], |
|
| 175 | - 'variableMeasured' => ['PropertyValue','Text'] |
|
| 174 | + 'measurementTechnique' => ['Text', 'URL'], |
|
| 175 | + 'variableMeasured' => ['PropertyValue', 'Text'] |
|
| 176 | 176 | ]; |
| 177 | 177 | |
| 178 | 178 | /** |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | { |
| 247 | 247 | $rules = parent::rules(); |
| 248 | 248 | $rules = array_merge($rules, [ |
| 249 | - [['distribution','includedInDataCatalog','issn','measurementTechnique','variableMeasured'], 'validateJsonSchema'], |
|
| 249 | + [['distribution', 'includedInDataCatalog', 'issn', 'measurementTechnique', 'variableMeasured'], 'validateJsonSchema'], |
|
| 250 | 250 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 251 | 251 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 252 | 252 | ]); |