@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'purpose' => ['MedicalDevicePurpose','Thing'] |
|
121 | + 'purpose' => ['MedicalDevicePurpose', 'Thing'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |
@@ -187,10 +187,10 @@ discard block |
||
187 | 187 | static protected $_schemaPropertyExpectedTypes = [ |
188 | 188 | 'amenityFeature' => ['LocationFeatureSpecification'], |
189 | 189 | 'audience' => ['Audience'], |
190 | - 'availableLanguage' => ['Language','Text'], |
|
190 | + 'availableLanguage' => ['Language', 'Text'], |
|
191 | 191 | 'checkinTime' => ['DateTime'], |
192 | 192 | 'checkoutTime' => ['DateTime'], |
193 | - 'petsAllowed' => ['Boolean','Text'], |
|
193 | + 'petsAllowed' => ['Boolean', 'Text'], |
|
194 | 194 | 'starRating' => ['Rating'] |
195 | 195 | ]; |
196 | 196 | |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | { |
268 | 268 | $rules = parent::rules(); |
269 | 269 | $rules = array_merge($rules, [ |
270 | - [['amenityFeature','audience','availableLanguage','checkinTime','checkoutTime','petsAllowed','starRating'], 'validateJsonSchema'], |
|
270 | + [['amenityFeature', 'audience', 'availableLanguage', 'checkinTime', 'checkoutTime', 'petsAllowed', 'starRating'], 'validateJsonSchema'], |
|
271 | 271 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
272 | 272 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
273 | 273 | ]); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'requiredQuantity' => ['Number','QuantitativeValue','Text'] |
|
121 | + 'requiredQuantity' => ['Number', 'QuantitativeValue', 'Text'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'lesser' => ['QualitativeValue'], |
194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
195 | 195 | 'nonEqual' => ['QualitativeValue'], |
196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
197 | 197 | ]; |
198 | 198 | |
199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | 'minValue' => ['Number'], |
172 | 172 | 'validFrom' => ['DateTime'], |
173 | 173 | 'validThrough' => ['DateTime'], |
174 | - 'value' => ['Boolean','Number','StructuredValue','Text'] |
|
174 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'] |
|
175 | 175 | ]; |
176 | 176 | |
177 | 177 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | { |
247 | 247 | $rules = parent::rules(); |
248 | 248 | $rules = array_merge($rules, [ |
249 | - [['currency','maxValue','minValue','validFrom','validThrough','value'], 'validateJsonSchema'], |
|
249 | + [['currency', 'maxValue', 'minValue', 'validFrom', 'validThrough', 'value'], 'validateJsonSchema'], |
|
250 | 250 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
251 | 251 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
252 | 252 | ]); |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | */ |
429 | 429 | static protected $_schemaPropertyExpectedTypes = [ |
430 | 430 | 'additionalProperty' => ['PropertyValue'], |
431 | - 'address' => ['PostalAddress','Text'], |
|
431 | + 'address' => ['PostalAddress', 'Text'], |
|
432 | 432 | 'aggregateRating' => ['AggregateRating'], |
433 | 433 | 'amenityFeature' => ['LocationFeatureSpecification'], |
434 | 434 | 'branchCode' => ['Text'], |
@@ -436,25 +436,25 @@ discard block |
||
436 | 436 | 'containsPlace' => ['Place'], |
437 | 437 | 'event' => ['Event'], |
438 | 438 | 'faxNumber' => ['Text'], |
439 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
440 | - 'geospatiallyContains' => ['GeospatialGeometry','Place'], |
|
441 | - 'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'], |
|
442 | - 'geospatiallyCovers' => ['GeospatialGeometry','Place'], |
|
443 | - 'geospatiallyCrosses' => ['GeospatialGeometry','Place'], |
|
444 | - 'geospatiallyDisjoint' => ['GeospatialGeometry','Place'], |
|
445 | - 'geospatiallyEquals' => ['GeospatialGeometry','Place'], |
|
446 | - 'geospatiallyIntersects' => ['GeospatialGeometry','Place'], |
|
447 | - 'geospatiallyOverlaps' => ['GeospatialGeometry','Place'], |
|
448 | - 'geospatiallyTouches' => ['GeospatialGeometry','Place'], |
|
449 | - 'geospatiallyWithin' => ['GeospatialGeometry','Place'], |
|
439 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
440 | + 'geospatiallyContains' => ['GeospatialGeometry', 'Place'], |
|
441 | + 'geospatiallyCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
442 | + 'geospatiallyCovers' => ['GeospatialGeometry', 'Place'], |
|
443 | + 'geospatiallyCrosses' => ['GeospatialGeometry', 'Place'], |
|
444 | + 'geospatiallyDisjoint' => ['GeospatialGeometry', 'Place'], |
|
445 | + 'geospatiallyEquals' => ['GeospatialGeometry', 'Place'], |
|
446 | + 'geospatiallyIntersects' => ['GeospatialGeometry', 'Place'], |
|
447 | + 'geospatiallyOverlaps' => ['GeospatialGeometry', 'Place'], |
|
448 | + 'geospatiallyTouches' => ['GeospatialGeometry', 'Place'], |
|
449 | + 'geospatiallyWithin' => ['GeospatialGeometry', 'Place'], |
|
450 | 450 | 'globalLocationNumber' => ['Text'], |
451 | - 'hasMap' => ['Map','URL'], |
|
451 | + 'hasMap' => ['Map', 'URL'], |
|
452 | 452 | 'isAccessibleForFree' => ['Boolean'], |
453 | 453 | 'isicV4' => ['Text'], |
454 | - 'logo' => ['ImageObject','URL'], |
|
454 | + 'logo' => ['ImageObject', 'URL'], |
|
455 | 455 | 'maximumAttendeeCapacity' => ['Integer'], |
456 | 456 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
457 | - 'photo' => ['ImageObject','Photograph'], |
|
457 | + 'photo' => ['ImageObject', 'Photograph'], |
|
458 | 458 | 'publicAccess' => ['Boolean'], |
459 | 459 | 'review' => ['Review'], |
460 | 460 | 'smokingAllowed' => ['Boolean'], |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | { |
562 | 562 | $rules = parent::rules(); |
563 | 563 | $rules = array_merge($rules, [ |
564 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
564 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'], |
|
565 | 565 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
566 | 566 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
567 | 567 | ]); |
@@ -186,11 +186,11 @@ discard block |
||
186 | 186 | * @var array |
187 | 187 | */ |
188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
189 | - 'address' => ['PostalAddress','Text'], |
|
190 | - 'addressCountry' => ['Country','Text'], |
|
189 | + 'address' => ['PostalAddress', 'Text'], |
|
190 | + 'addressCountry' => ['Country', 'Text'], |
|
191 | 191 | 'box' => ['Text'], |
192 | 192 | 'circle' => ['Text'], |
193 | - 'elevation' => ['Number','Text'], |
|
193 | + 'elevation' => ['Number', 'Text'], |
|
194 | 194 | 'line' => ['Text'], |
195 | 195 | 'polygon' => ['Text'], |
196 | 196 | 'postalCode' => ['Text'] |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['address','addressCountry','box','circle','elevation','line','polygon','postalCode'], 'validateJsonSchema'], |
|
273 | + [['address', 'addressCountry', 'box', 'circle', 'elevation', 'line', 'polygon', 'postalCode'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'], |
|
202 | + [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], '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 | ]); |