@@ -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 | /** |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | { |
| 199 | 199 | $rules = parent::rules(); |
| 200 | 200 | $rules = array_merge($rules, [ |
| 201 | - [['identifyingExam','identifyingTest'], 'validateJsonSchema'], |
|
| 201 | + [['identifyingExam', 'identifyingTest'], '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 | ]); |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | { |
| 210 | 210 | $rules = parent::rules(); |
| 211 | 211 | $rules = array_merge($rules, [ |
| 212 | - [['diagnosis','drug','healthCondition'], 'validateJsonSchema'], |
|
| 212 | + [['diagnosis', 'drug', 'healthCondition'], '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 | ]); |
@@ -182,14 +182,14 @@ discard block |
||
| 182 | 182 | * @var array |
| 183 | 183 | */ |
| 184 | 184 | static protected $_schemaPropertyExpectedTypes = [ |
| 185 | - 'estimatedCost' => ['MonetaryAmount','Text'], |
|
| 185 | + 'estimatedCost' => ['MonetaryAmount', 'Text'], |
|
| 186 | 186 | 'performTime' => ['Duration'], |
| 187 | 187 | 'prepTime' => ['Duration'], |
| 188 | - 'step' => ['CreativeWork','HowToSection','HowToStep','Text'], |
|
| 189 | - 'supply' => ['HowToSupply','Text'], |
|
| 190 | - 'tool' => ['HowToTool','Text'], |
|
| 188 | + 'step' => ['CreativeWork', 'HowToSection', 'HowToStep', 'Text'], |
|
| 189 | + 'supply' => ['HowToSupply', 'Text'], |
|
| 190 | + 'tool' => ['HowToTool', 'Text'], |
|
| 191 | 191 | 'totalTime' => ['Duration'], |
| 192 | - 'yield' => ['QuantitativeValue','Text'] |
|
| 192 | + 'yield' => ['QuantitativeValue', 'Text'] |
|
| 193 | 193 | ]; |
| 194 | 194 | |
| 195 | 195 | /** |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | { |
| 267 | 267 | $rules = parent::rules(); |
| 268 | 268 | $rules = array_merge($rules, [ |
| 269 | - [['estimatedCost','performTime','prepTime','step','supply','tool','totalTime','yield'], 'validateJsonSchema'], |
|
| 269 | + [['estimatedCost', 'performTime', 'prepTime', 'step', 'supply', 'tool', 'totalTime', 'yield'], '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 | ]); |
@@ -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 | ]); |
@@ -196,11 +196,11 @@ discard block |
||
| 196 | 196 | static protected $_schemaPropertyExpectedTypes = [ |
| 197 | 197 | 'articleBody' => ['Text'], |
| 198 | 198 | 'articleSection' => ['Text'], |
| 199 | - 'backstory' => ['CreativeWork','Text'], |
|
| 200 | - 'pageEnd' => ['Integer','Text'], |
|
| 201 | - 'pageStart' => ['Integer','Text'], |
|
| 199 | + 'backstory' => ['CreativeWork', 'Text'], |
|
| 200 | + 'pageEnd' => ['Integer', 'Text'], |
|
| 201 | + 'pageStart' => ['Integer', 'Text'], |
|
| 202 | 202 | 'pagination' => ['Text'], |
| 203 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
| 203 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
| 204 | 204 | 'wordCount' => ['Integer'] |
| 205 | 205 | ]; |
| 206 | 206 | |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | { |
| 279 | 279 | $rules = parent::rules(); |
| 280 | 280 | $rules = array_merge($rules, [ |
| 281 | - [['articleBody','articleSection','backstory','pageEnd','pageStart','pagination','speakable','wordCount'], 'validateJsonSchema'], |
|
| 281 | + [['articleBody', 'articleSection', 'backstory', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount'], '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 | ]); |
@@ -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 | /** |
@@ -197,7 +197,7 @@ |
||
| 197 | 197 | { |
| 198 | 198 | $rules = parent::rules(); |
| 199 | 199 | $rules = array_merge($rules, [ |
| 200 | - [['codeValue','codingSystem'], 'validateJsonSchema'], |
|
| 200 | + [['codeValue', 'codingSystem'], 'validateJsonSchema'], |
|
| 201 | 201 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 202 | 202 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 203 | 203 | ]); |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | { |
| 210 | 210 | $rules = parent::rules(); |
| 211 | 211 | $rules = array_merge($rules, [ |
| 212 | - [['healthPlanNetworkId','isAcceptingNewPatients','medicalSpecialty'], 'validateJsonSchema'], |
|
| 212 | + [['healthPlanNetworkId', 'isAcceptingNewPatients', 'medicalSpecialty'], '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 | ]); |