@@ -132,8 +132,8 @@ discard block |
||
132 | 132 | * @var array |
133 | 133 | */ |
134 | 134 | static protected $_schemaPropertyExpectedTypes = [ |
135 | - 'availableLanguage' => ['Language','Text'], |
|
136 | - 'touristType' => ['Audience','Text'] |
|
135 | + 'availableLanguage' => ['Language', 'Text'], |
|
136 | + 'touristType' => ['Audience', 'Text'] |
|
137 | 137 | ]; |
138 | 138 | |
139 | 139 | /** |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | { |
205 | 205 | $rules = parent::rules(); |
206 | 206 | $rules = array_merge($rules, [ |
207 | - [['availableLanguage','touristType'], 'validateJsonSchema'], |
|
207 | + [['availableLanguage', 'touristType'], '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 | ]); |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | static protected $_schemaPropertyExpectedTypes = [ |
164 | 164 | 'actionApplication' => ['SoftwareApplication'], |
165 | - 'actionPlatform' => ['Text','URL'], |
|
165 | + 'actionPlatform' => ['Text', 'URL'], |
|
166 | 166 | 'contentType' => ['Text'], |
167 | 167 | 'encodingType' => ['Text'], |
168 | 168 | 'httpMethod' => ['Text'], |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | { |
242 | 242 | $rules = parent::rules(); |
243 | 243 | $rules = array_merge($rules, [ |
244 | - [['actionApplication','actionPlatform','contentType','encodingType','httpMethod','urlTemplate'], 'validateJsonSchema'], |
|
244 | + [['actionApplication', 'actionPlatform', 'contentType', 'encodingType', 'httpMethod', 'urlTemplate'], 'validateJsonSchema'], |
|
245 | 245 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
246 | 246 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
247 | 247 | ]); |
@@ -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 | ]); |