@@ -198,7 +198,7 @@ |
||
198 | 198 | { |
199 | 199 | $rules = parent::rules(); |
200 | 200 | $rules = array_merge($rules, [ |
201 | - [['dependencies','proficiencyLevel'], 'validateJsonSchema'], |
|
201 | + [['dependencies', 'proficiencyLevel'], '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 | ]); |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @var array |
133 | 133 | */ |
134 | 134 | static protected $_schemaPropertyExpectedTypes = [ |
135 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
135 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
136 | 136 | 'occupancy' => ['QuantitativeValue'] |
137 | 137 | ]; |
138 | 138 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | { |
205 | 205 | $rules = parent::rules(); |
206 | 206 | $rules = array_merge($rules, [ |
207 | - [['numberOfRooms','occupancy'], 'validateJsonSchema'], |
|
207 | + [['numberOfRooms', 'occupancy'], 'validateJsonSchema'], |
|
208 | 208 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
209 | 209 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
210 | 210 | ]); |
@@ -129,7 +129,7 @@ |
||
129 | 129 | * @var array |
130 | 130 | */ |
131 | 131 | static protected $_schemaPropertyExpectedTypes = [ |
132 | - 'measurementTechnique' => ['Text','URL'] |
|
132 | + 'measurementTechnique' => ['Text', 'URL'] |
|
133 | 133 | ]; |
134 | 134 | |
135 | 135 | /** |
@@ -297,7 +297,7 @@ |
||
297 | 297 | { |
298 | 298 | $rules = parent::rules(); |
299 | 299 | $rules = array_merge($rules, [ |
300 | - [['calories','carbohydrateContent','cholesterolContent','fatContent','fiberContent','proteinContent','saturatedFatContent','servingSize','sodiumContent','sugarContent','transFatContent','unsaturatedFatContent'], 'validateJsonSchema'], |
|
300 | + [['calories', 'carbohydrateContent', 'cholesterolContent', 'fatContent', 'fiberContent', 'proteinContent', 'saturatedFatContent', 'servingSize', 'sodiumContent', 'sugarContent', 'transFatContent', 'unsaturatedFatContent'], 'validateJsonSchema'], |
|
301 | 301 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
302 | 302 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
303 | 303 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'amount' => ['MonetaryAmount','Number'] |
|
122 | + 'amount' => ['MonetaryAmount', 'Number'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -182,10 +182,10 @@ discard block |
||
182 | 182 | 'additionalProperty' => ['PropertyValue'], |
183 | 183 | 'maxValue' => ['Number'], |
184 | 184 | 'minValue' => ['Number'], |
185 | - 'unitCode' => ['Text','URL'], |
|
185 | + 'unitCode' => ['Text', 'URL'], |
|
186 | 186 | 'unitText' => ['Text'], |
187 | - 'value' => ['Boolean','Number','StructuredValue','Text'], |
|
188 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
187 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'], |
|
188 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
189 | 189 | ]; |
190 | 190 | |
191 | 191 | /** |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | { |
262 | 262 | $rules = parent::rules(); |
263 | 263 | $rules = array_merge($rules, [ |
264 | - [['additionalProperty','maxValue','minValue','unitCode','unitText','value','valueReference'], 'validateJsonSchema'], |
|
264 | + [['additionalProperty', 'maxValue', 'minValue', 'unitCode', 'unitText', 'value', 'valueReference'], 'validateJsonSchema'], |
|
265 | 265 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
266 | 266 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
267 | 267 | ]); |
@@ -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 | /** |
@@ -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 | ]); |