@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * @var array |
| 119 | 119 | */ |
| 120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
| 121 | - 'dataFeedElement' => ['DataFeedItem','Text','Thing'] |
|
| 121 | + 'dataFeedElement' => ['DataFeedItem', 'Text', 'Thing'] |
|
| 122 | 122 | ]; |
| 123 | 123 | |
| 124 | 124 | /** |
@@ -185,9 +185,9 @@ discard block |
||
| 185 | 185 | 'countryOfOrigin' => ['Country'], |
| 186 | 186 | 'director' => ['Person'], |
| 187 | 187 | 'duration' => ['Duration'], |
| 188 | - 'musicBy' => ['MusicGroup','Person'], |
|
| 188 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
| 189 | 189 | 'productionCompany' => ['Organization'], |
| 190 | - 'subtitleLanguage' => ['Language','Text'], |
|
| 190 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
| 191 | 191 | 'trailer' => ['VideoObject'] |
| 192 | 192 | ]; |
| 193 | 193 | |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | { |
| 266 | 266 | $rules = parent::rules(); |
| 267 | 267 | $rules = array_merge($rules, [ |
| 268 | - [['actor','countryOfOrigin','director','duration','musicBy','productionCompany','subtitleLanguage','trailer'], 'validateJsonSchema'], |
|
| 268 | + [['actor', 'countryOfOrigin', 'director', 'duration', 'musicBy', 'productionCompany', 'subtitleLanguage', 'trailer'], 'validateJsonSchema'], |
|
| 269 | 269 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 270 | 270 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 271 | 271 | ]); |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * @var array |
| 120 | 120 | */ |
| 121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
| 122 | - 'inLanguage' => ['Language','Text'] |
|
| 122 | + 'inLanguage' => ['Language', 'Text'] |
|
| 123 | 123 | ]; |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | static protected $_schemaPropertyExpectedTypes = [ |
| 164 | 164 | 'catalogNumber' => ['Text'], |
| 165 | - 'creditedTo' => ['Organization','Person'], |
|
| 165 | + 'creditedTo' => ['Organization', 'Person'], |
|
| 166 | 166 | 'duration' => ['Duration'], |
| 167 | 167 | 'musicReleaseFormat' => ['MusicReleaseFormatType'], |
| 168 | 168 | 'recordLabel' => ['Organization'], |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | { |
| 242 | 242 | $rules = parent::rules(); |
| 243 | 243 | $rules = array_merge($rules, [ |
| 244 | - [['catalogNumber','creditedTo','duration','musicReleaseFormat','recordLabel','releaseOf'], 'validateJsonSchema'], |
|
| 244 | + [['catalogNumber', 'creditedTo', 'duration', 'musicReleaseFormat', 'recordLabel', 'releaseOf'], '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 | ]); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @var array |
| 191 | 191 | */ |
| 192 | 192 | static protected $_schemaPropertyExpectedTypes = [ |
| 193 | - 'composer' => ['Organization','Person'], |
|
| 193 | + 'composer' => ['Organization', 'Person'], |
|
| 194 | 194 | 'firstPerformance' => ['Event'], |
| 195 | 195 | 'includedComposition' => ['MusicComposition'], |
| 196 | 196 | 'iswcCode' => ['Text'], |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | { |
| 279 | 279 | $rules = parent::rules(); |
| 280 | 280 | $rules = array_merge($rules, [ |
| 281 | - [['composer','firstPerformance','includedComposition','iswcCode','lyricist','lyrics','musicArrangement','musicCompositionForm','musicalKey','recordedAs'], 'validateJsonSchema'], |
|
| 281 | + [['composer', 'firstPerformance', 'includedComposition', 'iswcCode', 'lyricist', 'lyrics', 'musicArrangement', 'musicCompositionForm', 'musicalKey', 'recordedAs'], 'validateJsonSchema'], |
|
| 282 | 282 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 283 | 283 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 284 | 284 | ]); |
@@ -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 | ]); |