@@ -181,8 +181,8 @@ discard block |
||
| 181 | 181 | static protected $_schemaPropertyExpectedTypes = [ |
| 182 | 182 | 'actor' => ['Person'], |
| 183 | 183 | 'director' => ['Person'], |
| 184 | - 'episodeNumber' => ['Integer','Text'], |
|
| 185 | - 'musicBy' => ['MusicGroup','Person'], |
|
| 184 | + 'episodeNumber' => ['Integer', 'Text'], |
|
| 185 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
| 186 | 186 | 'partOfSeason' => ['CreativeWorkSeason'], |
| 187 | 187 | 'partOfSeries' => ['CreativeWorkSeries'], |
| 188 | 188 | 'productionCompany' => ['Organization'], |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | { |
| 264 | 264 | $rules = parent::rules(); |
| 265 | 265 | $rules = array_merge($rules, [ |
| 266 | - [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'], |
|
| 266 | + [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
| 267 | 267 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 268 | 268 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 269 | 269 | ]); |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * @var array |
| 120 | 120 | */ |
| 121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
| 122 | - 'estimatedCost' => ['MonetaryAmount','Text'] |
|
| 122 | + 'estimatedCost' => ['MonetaryAmount', 'Text'] |
|
| 123 | 123 | ]; |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -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 | /** |