@@ -220,17 +220,17 @@ discard block |
||
220 | 220 | */ |
221 | 221 | static protected $_schemaPropertyExpectedTypes = [ |
222 | 222 | 'bookingTime' => ['DateTime'], |
223 | - 'broker' => ['Organization','Person'], |
|
223 | + 'broker' => ['Organization', 'Person'], |
|
224 | 224 | 'modifiedTime' => ['DateTime'], |
225 | 225 | 'priceCurrency' => ['Text'], |
226 | 226 | 'programMembershipUsed' => ['ProgramMembership'], |
227 | - 'provider' => ['Organization','Person'], |
|
227 | + 'provider' => ['Organization', 'Person'], |
|
228 | 228 | 'reservationFor' => ['Thing'], |
229 | 229 | 'reservationId' => ['Text'], |
230 | 230 | 'reservationStatus' => ['ReservationStatusType'], |
231 | 231 | 'reservedTicket' => ['Ticket'], |
232 | - 'totalPrice' => ['Number','PriceSpecification','Text'], |
|
233 | - 'underName' => ['Organization','Person'] |
|
232 | + 'totalPrice' => ['Number', 'PriceSpecification', 'Text'], |
|
233 | + 'underName' => ['Organization', 'Person'] |
|
234 | 234 | ]; |
235 | 235 | |
236 | 236 | /** |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | { |
312 | 312 | $rules = parent::rules(); |
313 | 313 | $rules = array_merge($rules, [ |
314 | - [['bookingTime','broker','modifiedTime','priceCurrency','programMembershipUsed','provider','reservationFor','reservationId','reservationStatus','reservedTicket','totalPrice','underName'], 'validateJsonSchema'], |
|
314 | + [['bookingTime', 'broker', 'modifiedTime', 'priceCurrency', 'programMembershipUsed', 'provider', 'reservationFor', 'reservationId', 'reservationStatus', 'reservedTicket', 'totalPrice', 'underName'], 'validateJsonSchema'], |
|
315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
317 | 317 | ]); |
@@ -198,7 +198,7 @@ |
||
198 | 198 | { |
199 | 199 | $rules = parent::rules(); |
200 | 200 | $rules = array_merge($rules, [ |
201 | - [['hasMenuItem','hasMenuSection'], 'validateJsonSchema'], |
|
201 | + [['hasMenuItem', 'hasMenuSection'], '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 | ]); |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | 'seatNumber' => ['Text'], |
146 | 146 | 'seatRow' => ['Text'], |
147 | 147 | 'seatSection' => ['Text'], |
148 | - 'seatingType' => ['QualitativeValue','Text'] |
|
148 | + 'seatingType' => ['QualitativeValue', 'Text'] |
|
149 | 149 | ]; |
150 | 150 | |
151 | 151 | /** |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['seatNumber','seatRow','seatSection','seatingType'], 'validateJsonSchema'], |
|
221 | + [['seatNumber', 'seatRow', 'seatSection', 'seatingType'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | 138 | 'isAccessibleForFree' => ['Boolean'], |
139 | - 'publishedBy' => ['Organization','Person'], |
|
139 | + 'publishedBy' => ['Organization', 'Person'], |
|
140 | 140 | 'publishedOn' => ['BroadcastService'] |
141 | 141 | ]; |
142 | 142 | |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'], |
|
212 | + [['isAccessibleForFree', 'publishedBy', 'publishedOn'], '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 | ]); |
@@ -157,8 +157,8 @@ discard block |
||
157 | 157 | static protected $_schemaPropertyExpectedTypes = [ |
158 | 158 | 'amountOfThisGood' => ['Number'], |
159 | 159 | 'businessFunction' => ['BusinessFunction'], |
160 | - 'typeOfGood' => ['Product','Service'], |
|
161 | - 'unitCode' => ['Text','URL'], |
|
160 | + 'typeOfGood' => ['Product', 'Service'], |
|
161 | + 'unitCode' => ['Text', 'URL'], |
|
162 | 162 | 'unitText' => ['Text'] |
163 | 163 | ]; |
164 | 164 | |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | { |
234 | 234 | $rules = parent::rules(); |
235 | 235 | $rules = array_merge($rules, [ |
236 | - [['amountOfThisGood','businessFunction','typeOfGood','unitCode','unitText'], 'validateJsonSchema'], |
|
236 | + [['amountOfThisGood', 'businessFunction', 'typeOfGood', 'unitCode', 'unitText'], 'validateJsonSchema'], |
|
237 | 237 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
238 | 238 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
239 | 239 | ]); |
@@ -142,10 +142,10 @@ discard block |
||
142 | 142 | * @var array |
143 | 143 | */ |
144 | 144 | static protected $_schemaPropertyExpectedTypes = [ |
145 | - 'acquiredFrom' => ['Organization','Person'], |
|
145 | + 'acquiredFrom' => ['Organization', 'Person'], |
|
146 | 146 | 'ownedFrom' => ['DateTime'], |
147 | 147 | 'ownedThrough' => ['DateTime'], |
148 | - 'typeOfGood' => ['Product','Service'] |
|
148 | + 'typeOfGood' => ['Product', 'Service'] |
|
149 | 149 | ]; |
150 | 150 | |
151 | 151 | /** |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['acquiredFrom','ownedFrom','ownedThrough','typeOfGood'], 'validateJsonSchema'], |
|
221 | + [['acquiredFrom', 'ownedFrom', 'ownedThrough', 'typeOfGood'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * @var array |
121 | 121 | */ |
122 | 122 | static protected $_schemaPropertyExpectedTypes = [ |
123 | - 'lender' => ['Organization','Person'] |
|
123 | + 'lender' => ['Organization', 'Person'] |
|
124 | 124 | ]; |
125 | 125 | |
126 | 126 | /** |
@@ -139,9 +139,9 @@ discard block |
||
139 | 139 | * @var array |
140 | 140 | */ |
141 | 141 | static protected $_schemaPropertyExpectedTypes = [ |
142 | - 'annualPercentageRate' => ['Number','QuantitativeValue'], |
|
143 | - 'feesAndCommissionsSpecification' => ['Text','URL'], |
|
144 | - 'interestRate' => ['Number','QuantitativeValue'] |
|
142 | + 'annualPercentageRate' => ['Number', 'QuantitativeValue'], |
|
143 | + 'feesAndCommissionsSpecification' => ['Text', 'URL'], |
|
144 | + 'interestRate' => ['Number', 'QuantitativeValue'] |
|
145 | 145 | ]; |
146 | 146 | |
147 | 147 | /** |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | { |
214 | 214 | $rules = parent::rules(); |
215 | 215 | $rules = array_merge($rules, [ |
216 | - [['annualPercentageRate','feesAndCommissionsSpecification','interestRate'], 'validateJsonSchema'], |
|
216 | + [['annualPercentageRate', 'feesAndCommissionsSpecification', 'interestRate'], 'validateJsonSchema'], |
|
217 | 217 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
218 | 218 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
219 | 219 | ]); |
@@ -231,7 +231,7 @@ |
||
231 | 231 | { |
232 | 232 | $rules = parent::rules(); |
233 | 233 | $rules = array_merge($rules, [ |
234 | - [['alignmentType','educationalFramework','targetDescription','targetName','targetUrl'], 'validateJsonSchema'], |
|
234 | + [['alignmentType', 'educationalFramework', 'targetDescription', 'targetName', 'targetUrl'], 'validateJsonSchema'], |
|
235 | 235 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
236 | 236 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
237 | 237 | ]); |