@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * @var array |
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | - 'interactionService' => ['SoftwareApplication','WebSite'], |
|
141 | + 'interactionService' => ['SoftwareApplication', 'WebSite'], |
|
142 | 142 | 'interactionType' => ['Action'], |
143 | 143 | 'userInteractionCount' => ['Integer'] |
144 | 144 | ]; |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | { |
213 | 213 | $rules = parent::rules(); |
214 | 214 | $rules = array_merge($rules, [ |
215 | - [['interactionService','interactionType','userInteractionCount'], 'validateJsonSchema'], |
|
215 | + [['interactionService', 'interactionType', 'userInteractionCount'], 'validateJsonSchema'], |
|
216 | 216 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
217 | 217 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
218 | 218 | ]); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | */ |
129 | 129 | static protected $_schemaPropertyExpectedTypes = [ |
130 | 130 | 'countryOfOrigin' => ['Country'], |
131 | - 'subtitleLanguage' => ['Language','Text'] |
|
131 | + 'subtitleLanguage' => ['Language', 'Text'] |
|
132 | 132 | ]; |
133 | 133 | |
134 | 134 | /** |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['countryOfOrigin','subtitleLanguage'], 'validateJsonSchema'], |
|
202 | + [['countryOfOrigin', 'subtitleLanguage'], 'validateJsonSchema'], |
|
203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
205 | 205 | ]); |
@@ -190,15 +190,15 @@ discard block |
||
190 | 190 | * @var array |
191 | 191 | */ |
192 | 192 | static protected $_schemaPropertyExpectedTypes = [ |
193 | - 'amount' => ['MonetaryAmount','Number'], |
|
193 | + 'amount' => ['MonetaryAmount', 'Number'], |
|
194 | 194 | 'currency' => ['Text'], |
195 | 195 | 'gracePeriod' => ['Duration'], |
196 | 196 | 'loanRepaymentForm' => ['RepaymentSpecification'], |
197 | 197 | 'loanTerm' => ['QuantitativeValue'], |
198 | - 'loanType' => ['Text','URL'], |
|
198 | + 'loanType' => ['Text', 'URL'], |
|
199 | 199 | 'recourseLoan' => ['Boolean'], |
200 | 200 | 'renegotiableLoan' => ['Boolean'], |
201 | - 'requiredCollateral' => ['Text','Thing'] |
|
201 | + 'requiredCollateral' => ['Text', 'Thing'] |
|
202 | 202 | ]; |
203 | 203 | |
204 | 204 | /** |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | { |
277 | 277 | $rules = parent::rules(); |
278 | 278 | $rules = array_merge($rules, [ |
279 | - [['amount','currency','gracePeriod','loanRepaymentForm','loanTerm','loanType','recourseLoan','renegotiableLoan','requiredCollateral'], 'validateJsonSchema'], |
|
279 | + [['amount', 'currency', 'gracePeriod', 'loanRepaymentForm', 'loanTerm', 'loanType', 'recourseLoan', 'renegotiableLoan', 'requiredCollateral'], 'validateJsonSchema'], |
|
280 | 280 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
281 | 281 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
282 | 282 | ]); |
@@ -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 | ]); |