Passed
Push — v3 ( 432ffb...f9ff88 )
by Andrew
40:19 queued 27:54
created
src/models/jsonld/HealthPlanCostSharingSpecification.php 1 patch
Indentation   +128 added lines, -128 removed lines patch added patch discarded remove patch
@@ -23,132 +23,132 @@
 block discarded – undo
23 23
  */
24 24
 class HealthPlanCostSharingSpecification extends MetaJsonLd implements HealthPlanCostSharingSpecificationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use HealthPlanCostSharingSpecificationTrait;
27
-	use IntangibleTrait;
28
-	use ThingTrait;
29
-
30
-	/**
31
-	 * The Schema.org Type Name
32
-	 *
33
-	 * @var string
34
-	 */
35
-	public static $schemaTypeName = 'HealthPlanCostSharingSpecification';
36
-
37
-	/**
38
-	 * The Schema.org Type Scope
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeScope = 'https://schema.org/HealthPlanCostSharingSpecification';
43
-
44
-	/**
45
-	 * The Schema.org Type Extends
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeExtends = 'Intangible';
50
-
51
-	/**
52
-	 * The Schema.org Type Description
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeDescription = 'A description of costs to the patient under a given network or formulary.';
57
-
58
-
59
-	/**
60
-	 * @inheritdoc
61
-	 */
62
-	public function getSchemaPropertyNames(): array
63
-	{
64
-		return array_keys($this->getSchemaPropertyExpectedTypes());
65
-	}
66
-
67
-
68
-	/**
69
-	 * @inheritdoc
70
-	 */
71
-	public function getSchemaPropertyExpectedTypes(): array
72
-	{
73
-		return [
74
-		    'additionalType' => ['URL'],
75
-		    'alternateName' => ['Text'],
76
-		    'description' => ['Text'],
77
-		    'disambiguatingDescription' => ['Text'],
78
-		    'healthPlanCoinsuranceOption' => ['Text'],
79
-		    'healthPlanCoinsuranceRate' => ['Number'],
80
-		    'healthPlanCopay' => ['PriceSpecification'],
81
-		    'healthPlanCopayOption' => ['Text'],
82
-		    'healthPlanPharmacyCategory' => ['Text'],
83
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
84
-		    'image' => ['URL', 'ImageObject'],
85
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
-		    'name' => ['Text'],
87
-		    'potentialAction' => ['Action'],
88
-		    'sameAs' => ['URL'],
89
-		    'subjectOf' => ['Event', 'CreativeWork'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'healthPlanCoinsuranceOption' => 'Whether the coinsurance applies before or after deductible, etc. TODO: Is this a closed set?',
106
-		    'healthPlanCoinsuranceRate' => 'The rate of coinsurance expressed as a number between 0.0 and 1.0.',
107
-		    'healthPlanCopay' => 'The copay amount.',
108
-		    'healthPlanCopayOption' => 'Whether the copay is before or after deductible, etc. TODO: Is this a closed set?',
109
-		    'healthPlanPharmacyCategory' => 'The category or type of pharmacy associated with this cost sharing.',
110
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
111
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
112
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
113
-		    'name' => 'The name of the item.',
114
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
115
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
116
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
117
-		    'url' => 'URL of the item.'
118
-		];
119
-	}
120
-
121
-
122
-	/**
123
-	 * @inheritdoc
124
-	 */
125
-	public function getGoogleRequiredSchema(): array
126
-	{
127
-		return ['description', 'name'];
128
-	}
129
-
130
-
131
-	/**
132
-	 * @inheritdoc
133
-	 */
134
-	public function getGoogleRecommendedSchema(): array
135
-	{
136
-		return ['image', 'url'];
137
-	}
138
-
139
-
140
-	/**
141
-	 * @inheritdoc
142
-	 */
143
-	public function defineRules(): array
144
-	{
145
-		$rules = parent::defineRules();
146
-		    $rules = array_merge($rules, [
147
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
-		    ]);
151
-
152
-		    return $rules;
153
-	}
26
+    use HealthPlanCostSharingSpecificationTrait;
27
+    use IntangibleTrait;
28
+    use ThingTrait;
29
+
30
+    /**
31
+     * The Schema.org Type Name
32
+     *
33
+     * @var string
34
+     */
35
+    public static $schemaTypeName = 'HealthPlanCostSharingSpecification';
36
+
37
+    /**
38
+     * The Schema.org Type Scope
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeScope = 'https://schema.org/HealthPlanCostSharingSpecification';
43
+
44
+    /**
45
+     * The Schema.org Type Extends
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeExtends = 'Intangible';
50
+
51
+    /**
52
+     * The Schema.org Type Description
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeDescription = 'A description of costs to the patient under a given network or formulary.';
57
+
58
+
59
+    /**
60
+     * @inheritdoc
61
+     */
62
+    public function getSchemaPropertyNames(): array
63
+    {
64
+        return array_keys($this->getSchemaPropertyExpectedTypes());
65
+    }
66
+
67
+
68
+    /**
69
+     * @inheritdoc
70
+     */
71
+    public function getSchemaPropertyExpectedTypes(): array
72
+    {
73
+        return [
74
+            'additionalType' => ['URL'],
75
+            'alternateName' => ['Text'],
76
+            'description' => ['Text'],
77
+            'disambiguatingDescription' => ['Text'],
78
+            'healthPlanCoinsuranceOption' => ['Text'],
79
+            'healthPlanCoinsuranceRate' => ['Number'],
80
+            'healthPlanCopay' => ['PriceSpecification'],
81
+            'healthPlanCopayOption' => ['Text'],
82
+            'healthPlanPharmacyCategory' => ['Text'],
83
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
84
+            'image' => ['URL', 'ImageObject'],
85
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
+            'name' => ['Text'],
87
+            'potentialAction' => ['Action'],
88
+            'sameAs' => ['URL'],
89
+            'subjectOf' => ['Event', 'CreativeWork'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'healthPlanCoinsuranceOption' => 'Whether the coinsurance applies before or after deductible, etc. TODO: Is this a closed set?',
106
+            'healthPlanCoinsuranceRate' => 'The rate of coinsurance expressed as a number between 0.0 and 1.0.',
107
+            'healthPlanCopay' => 'The copay amount.',
108
+            'healthPlanCopayOption' => 'Whether the copay is before or after deductible, etc. TODO: Is this a closed set?',
109
+            'healthPlanPharmacyCategory' => 'The category or type of pharmacy associated with this cost sharing.',
110
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
111
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
112
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
113
+            'name' => 'The name of the item.',
114
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
115
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
116
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
117
+            'url' => 'URL of the item.'
118
+        ];
119
+    }
120
+
121
+
122
+    /**
123
+     * @inheritdoc
124
+     */
125
+    public function getGoogleRequiredSchema(): array
126
+    {
127
+        return ['description', 'name'];
128
+    }
129
+
130
+
131
+    /**
132
+     * @inheritdoc
133
+     */
134
+    public function getGoogleRecommendedSchema(): array
135
+    {
136
+        return ['image', 'url'];
137
+    }
138
+
139
+
140
+    /**
141
+     * @inheritdoc
142
+     */
143
+    public function defineRules(): array
144
+    {
145
+        $rules = parent::defineRules();
146
+            $rules = array_merge($rules, [
147
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
+            ]);
151
+
152
+            return $rules;
153
+    }
154 154
 }
Please login to merge, or discard this patch.
src/models/jsonld/TouristTrip.php 1 patch
Indentation   +135 added lines, -135 removed lines patch added patch discarded remove patch
@@ -27,139 +27,139 @@
 block discarded – undo
27 27
  */
28 28
 class TouristTrip extends MetaJsonLd implements TouristTripInterface, TripInterface, IntangibleInterface, ThingInterface
29 29
 {
30
-	use TouristTripTrait;
31
-	use TripTrait;
32
-	use IntangibleTrait;
33
-	use ThingTrait;
34
-
35
-	/**
36
-	 * The Schema.org Type Name
37
-	 *
38
-	 * @var string
39
-	 */
40
-	public static $schemaTypeName = 'TouristTrip';
41
-
42
-	/**
43
-	 * The Schema.org Type Scope
44
-	 *
45
-	 * @var string
46
-	 */
47
-	public static $schemaTypeScope = 'https://schema.org/TouristTrip';
48
-
49
-	/**
50
-	 * The Schema.org Type Extends
51
-	 *
52
-	 * @var string
53
-	 */
54
-	public static $schemaTypeExtends = 'Trip';
55
-
56
-	/**
57
-	 * The Schema.org Type Description
58
-	 *
59
-	 * @var string
60
-	 */
61
-	public static $schemaTypeDescription = "A tourist trip. A created itinerary of visits to one or more places of interest ([[TouristAttraction]]/[[TouristDestination]]) often linked by a similar theme, geographic area, or interest to a particular [[touristType]]. The [UNWTO](http://www2.unwto.org/) defines tourism trip as the Trip taken by visitors.\n  (See examples below.)";
62
-
63
-
64
-	/**
65
-	 * @inheritdoc
66
-	 */
67
-	public function getSchemaPropertyNames(): array
68
-	{
69
-		return array_keys($this->getSchemaPropertyExpectedTypes());
70
-	}
71
-
72
-
73
-	/**
74
-	 * @inheritdoc
75
-	 */
76
-	public function getSchemaPropertyExpectedTypes(): array
77
-	{
78
-		return [
79
-		    'additionalType' => ['URL'],
80
-		    'alternateName' => ['Text'],
81
-		    'arrivalTime' => ['DateTime', 'Time'],
82
-		    'departureTime' => ['Time', 'DateTime'],
83
-		    'description' => ['Text'],
84
-		    'disambiguatingDescription' => ['Text'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'itinerary' => ['ItemList', 'Place'],
88
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
-		    'name' => ['Text'],
90
-		    'offers' => ['Demand', 'Offer'],
91
-		    'partOfTrip' => ['Trip'],
92
-		    'potentialAction' => ['Action'],
93
-		    'provider' => ['Organization', 'Person'],
94
-		    'sameAs' => ['URL'],
95
-		    'subTrip' => ['Trip'],
96
-		    'subjectOf' => ['Event', 'CreativeWork'],
97
-		    'touristType' => ['Text', 'Audience'],
98
-		    'url' => ['URL']
99
-		];
100
-	}
101
-
102
-
103
-	/**
104
-	 * @inheritdoc
105
-	 */
106
-	public function getSchemaPropertyDescriptions(): array
107
-	{
108
-		return [
109
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
110
-		    'alternateName' => 'An alias for the item.',
111
-		    'arrivalTime' => 'The expected arrival time.',
112
-		    'departureTime' => 'The expected departure time.',
113
-		    'description' => 'A description of the item.',
114
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
-		    'itinerary' => 'Destination(s) ( [[Place]] ) that make up a trip. For a trip where destination order is important use [[ItemList]] to specify that order (see examples).',
118
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
119
-		    'name' => 'The name of the item.',
120
-		    'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
121
-		    'partOfTrip' => 'Identifies that this [[Trip]] is a subTrip of another Trip.  For example Day 1, Day 2, etc. of a multi-day trip.',
122
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
-		    'provider' => 'The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.',
124
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
125
-		    'subTrip' => 'Identifies a [[Trip]] that is a subTrip of this Trip.  For example Day 1, Day 2, etc. of a multi-day trip.',
126
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
127
-		    'touristType' => 'Attraction suitable for type(s) of tourist. E.g. children, visitors from a particular country, etc. ',
128
-		    'url' => 'URL of the item.'
129
-		];
130
-	}
131
-
132
-
133
-	/**
134
-	 * @inheritdoc
135
-	 */
136
-	public function getGoogleRequiredSchema(): array
137
-	{
138
-		return ['description', 'name'];
139
-	}
140
-
141
-
142
-	/**
143
-	 * @inheritdoc
144
-	 */
145
-	public function getGoogleRecommendedSchema(): array
146
-	{
147
-		return ['image', 'url'];
148
-	}
149
-
150
-
151
-	/**
152
-	 * @inheritdoc
153
-	 */
154
-	public function defineRules(): array
155
-	{
156
-		$rules = parent::defineRules();
157
-		    $rules = array_merge($rules, [
158
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
159
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
160
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
161
-		    ]);
162
-
163
-		    return $rules;
164
-	}
30
+    use TouristTripTrait;
31
+    use TripTrait;
32
+    use IntangibleTrait;
33
+    use ThingTrait;
34
+
35
+    /**
36
+     * The Schema.org Type Name
37
+     *
38
+     * @var string
39
+     */
40
+    public static $schemaTypeName = 'TouristTrip';
41
+
42
+    /**
43
+     * The Schema.org Type Scope
44
+     *
45
+     * @var string
46
+     */
47
+    public static $schemaTypeScope = 'https://schema.org/TouristTrip';
48
+
49
+    /**
50
+     * The Schema.org Type Extends
51
+     *
52
+     * @var string
53
+     */
54
+    public static $schemaTypeExtends = 'Trip';
55
+
56
+    /**
57
+     * The Schema.org Type Description
58
+     *
59
+     * @var string
60
+     */
61
+    public static $schemaTypeDescription = "A tourist trip. A created itinerary of visits to one or more places of interest ([[TouristAttraction]]/[[TouristDestination]]) often linked by a similar theme, geographic area, or interest to a particular [[touristType]]. The [UNWTO](http://www2.unwto.org/) defines tourism trip as the Trip taken by visitors.\n  (See examples below.)";
62
+
63
+
64
+    /**
65
+     * @inheritdoc
66
+     */
67
+    public function getSchemaPropertyNames(): array
68
+    {
69
+        return array_keys($this->getSchemaPropertyExpectedTypes());
70
+    }
71
+
72
+
73
+    /**
74
+     * @inheritdoc
75
+     */
76
+    public function getSchemaPropertyExpectedTypes(): array
77
+    {
78
+        return [
79
+            'additionalType' => ['URL'],
80
+            'alternateName' => ['Text'],
81
+            'arrivalTime' => ['DateTime', 'Time'],
82
+            'departureTime' => ['Time', 'DateTime'],
83
+            'description' => ['Text'],
84
+            'disambiguatingDescription' => ['Text'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'itinerary' => ['ItemList', 'Place'],
88
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
+            'name' => ['Text'],
90
+            'offers' => ['Demand', 'Offer'],
91
+            'partOfTrip' => ['Trip'],
92
+            'potentialAction' => ['Action'],
93
+            'provider' => ['Organization', 'Person'],
94
+            'sameAs' => ['URL'],
95
+            'subTrip' => ['Trip'],
96
+            'subjectOf' => ['Event', 'CreativeWork'],
97
+            'touristType' => ['Text', 'Audience'],
98
+            'url' => ['URL']
99
+        ];
100
+    }
101
+
102
+
103
+    /**
104
+     * @inheritdoc
105
+     */
106
+    public function getSchemaPropertyDescriptions(): array
107
+    {
108
+        return [
109
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
110
+            'alternateName' => 'An alias for the item.',
111
+            'arrivalTime' => 'The expected arrival time.',
112
+            'departureTime' => 'The expected departure time.',
113
+            'description' => 'A description of the item.',
114
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
+            'itinerary' => 'Destination(s) ( [[Place]] ) that make up a trip. For a trip where destination order is important use [[ItemList]] to specify that order (see examples).',
118
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
119
+            'name' => 'The name of the item.',
120
+            'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
121
+            'partOfTrip' => 'Identifies that this [[Trip]] is a subTrip of another Trip.  For example Day 1, Day 2, etc. of a multi-day trip.',
122
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
+            'provider' => 'The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.',
124
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
125
+            'subTrip' => 'Identifies a [[Trip]] that is a subTrip of this Trip.  For example Day 1, Day 2, etc. of a multi-day trip.',
126
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
127
+            'touristType' => 'Attraction suitable for type(s) of tourist. E.g. children, visitors from a particular country, etc. ',
128
+            'url' => 'URL of the item.'
129
+        ];
130
+    }
131
+
132
+
133
+    /**
134
+     * @inheritdoc
135
+     */
136
+    public function getGoogleRequiredSchema(): array
137
+    {
138
+        return ['description', 'name'];
139
+    }
140
+
141
+
142
+    /**
143
+     * @inheritdoc
144
+     */
145
+    public function getGoogleRecommendedSchema(): array
146
+    {
147
+        return ['image', 'url'];
148
+    }
149
+
150
+
151
+    /**
152
+     * @inheritdoc
153
+     */
154
+    public function defineRules(): array
155
+    {
156
+        $rules = parent::defineRules();
157
+            $rules = array_merge($rules, [
158
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
159
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
160
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
161
+            ]);
162
+
163
+            return $rules;
164
+    }
165 165
 }
Please login to merge, or discard this patch.
src/models/jsonld/BodyMeasurementUnderbust.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -24,127 +24,127 @@
 block discarded – undo
24 24
  */
25 25
 class BodyMeasurementUnderbust extends MetaJsonLd implements BodyMeasurementUnderbustInterface, BodyMeasurementTypeEnumerationInterface, MeasurementTypeEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use BodyMeasurementUnderbustTrait;
28
-	use BodyMeasurementTypeEnumerationTrait;
29
-	use MeasurementTypeEnumerationTrait;
30
-	use EnumerationTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'BodyMeasurementUnderbust';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/BodyMeasurementUnderbust';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'BodyMeasurementTypeEnumeration';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'Girth of body just below the bust. Used, for example, to fit women\'s swimwear.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'additionalType' => ['URL'],
79
-		    'alternateName' => ['Text'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'name' => ['Text'],
86
-		    'potentialAction' => ['Action'],
87
-		    'sameAs' => ['URL'],
88
-		    'subjectOf' => ['Event', 'CreativeWork'],
89
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
-		    'name' => 'The name of the item.',
109
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
-		    'url' => 'URL of the item.'
114
-		];
115
-	}
116
-
117
-
118
-	/**
119
-	 * @inheritdoc
120
-	 */
121
-	public function getGoogleRequiredSchema(): array
122
-	{
123
-		return ['description', 'name'];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRecommendedSchema(): array
131
-	{
132
-		return ['image', 'url'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function defineRules(): array
140
-	{
141
-		$rules = parent::defineRules();
142
-		    $rules = array_merge($rules, [
143
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
-		    ]);
147
-
148
-		    return $rules;
149
-	}
27
+    use BodyMeasurementUnderbustTrait;
28
+    use BodyMeasurementTypeEnumerationTrait;
29
+    use MeasurementTypeEnumerationTrait;
30
+    use EnumerationTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'BodyMeasurementUnderbust';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/BodyMeasurementUnderbust';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'BodyMeasurementTypeEnumeration';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'Girth of body just below the bust. Used, for example, to fit women\'s swimwear.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'additionalType' => ['URL'],
79
+            'alternateName' => ['Text'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'name' => ['Text'],
86
+            'potentialAction' => ['Action'],
87
+            'sameAs' => ['URL'],
88
+            'subjectOf' => ['Event', 'CreativeWork'],
89
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
+            'name' => 'The name of the item.',
109
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
+            'url' => 'URL of the item.'
114
+        ];
115
+    }
116
+
117
+
118
+    /**
119
+     * @inheritdoc
120
+     */
121
+    public function getGoogleRequiredSchema(): array
122
+    {
123
+        return ['description', 'name'];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRecommendedSchema(): array
131
+    {
132
+        return ['image', 'url'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function defineRules(): array
140
+    {
141
+        $rules = parent::defineRules();
142
+            $rules = array_merge($rules, [
143
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
+            ]);
147
+
148
+            return $rules;
149
+    }
150 150
 }
Please login to merge, or discard this patch.
src/models/jsonld/Psychiatric.php 1 patch
Indentation   +317 added lines, -317 removed lines patch added patch discarded remove patch
@@ -25,338 +25,338 @@
 block discarded – undo
25 25
  */
26 26
 class Psychiatric extends MetaJsonLd implements PsychiatricInterface, MedicalBusinessInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface, MedicalSpecialtyInterface, SpecialtyInterface, EnumerationInterface, IntangibleInterface, MedicalEnumerationInterface
27 27
 {
28
-	use PsychiatricTrait;
29
-	use MedicalBusinessTrait;
30
-	use LocalBusinessTrait;
31
-	use PlaceTrait;
32
-	use ThingTrait;
33
-	use OrganizationTrait;
34
-	use MedicalSpecialtyTrait;
35
-	use SpecialtyTrait;
36
-	use EnumerationTrait;
37
-	use IntangibleTrait;
38
-	use MedicalEnumerationTrait;
28
+    use PsychiatricTrait;
29
+    use MedicalBusinessTrait;
30
+    use LocalBusinessTrait;
31
+    use PlaceTrait;
32
+    use ThingTrait;
33
+    use OrganizationTrait;
34
+    use MedicalSpecialtyTrait;
35
+    use SpecialtyTrait;
36
+    use EnumerationTrait;
37
+    use IntangibleTrait;
38
+    use MedicalEnumerationTrait;
39 39
 
40
-	/**
41
-	 * The Schema.org Type Name
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeName = 'Psychiatric';
40
+    /**
41
+     * The Schema.org Type Name
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeName = 'Psychiatric';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Scope
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeScope = 'https://schema.org/Psychiatric';
47
+    /**
48
+     * The Schema.org Type Scope
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeScope = 'https://schema.org/Psychiatric';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Extends
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeExtends = 'MedicalBusiness';
54
+    /**
55
+     * The Schema.org Type Extends
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeExtends = 'MedicalBusiness';
60 60
 
61
-	/**
62
-	 * The Schema.org Type Description
63
-	 *
64
-	 * @var string
65
-	 */
66
-	public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the study, treatment, and prevention of mental illness, using both medical and psychological therapies.';
61
+    /**
62
+     * The Schema.org Type Description
63
+     *
64
+     * @var string
65
+     */
66
+    public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the study, treatment, and prevention of mental illness, using both medical and psychological therapies.';
67 67
 
68 68
 
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyNames(): array
73
-	{
74
-		return array_keys($this->getSchemaPropertyExpectedTypes());
75
-	}
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyNames(): array
73
+    {
74
+        return array_keys($this->getSchemaPropertyExpectedTypes());
75
+    }
76 76
 
77 77
 
78
-	/**
79
-	 * @inheritdoc
80
-	 */
81
-	public function getSchemaPropertyExpectedTypes(): array
82
-	{
83
-		return [
84
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
85
-		    'additionalProperty' => ['PropertyValue'],
86
-		    'additionalType' => ['URL'],
87
-		    'address' => ['Text', 'PostalAddress'],
88
-		    'aggregateRating' => ['AggregateRating'],
89
-		    'alternateName' => ['Text'],
90
-		    'alumni' => ['Person'],
91
-		    'amenityFeature' => ['LocationFeatureSpecification'],
92
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
93
-		    'award' => ['Text'],
94
-		    'awards' => ['Text'],
95
-		    'branchCode' => ['Text'],
96
-		    'branchOf' => ['Organization'],
97
-		    'brand' => ['Brand', 'Organization'],
98
-		    'contactPoint' => ['ContactPoint'],
99
-		    'contactPoints' => ['ContactPoint'],
100
-		    'containedIn' => ['Place'],
101
-		    'containedInPlace' => ['Place'],
102
-		    'containsPlace' => ['Place'],
103
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
104
-		    'currenciesAccepted' => ['Text'],
105
-		    'department' => ['Organization'],
106
-		    'description' => ['Text'],
107
-		    'disambiguatingDescription' => ['Text'],
108
-		    'dissolutionDate' => ['Date'],
109
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
110
-		    'diversityStaffingReport' => ['Article', 'URL'],
111
-		    'duns' => ['Text'],
112
-		    'email' => ['Text'],
113
-		    'employee' => ['Person'],
114
-		    'employees' => ['Person'],
115
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
116
-		    'event' => ['Event'],
117
-		    'events' => ['Event'],
118
-		    'faxNumber' => ['Text'],
119
-		    'founder' => ['Person'],
120
-		    'founders' => ['Person'],
121
-		    'foundingDate' => ['Date'],
122
-		    'foundingLocation' => ['Place'],
123
-		    'funder' => ['Organization', 'Person'],
124
-		    'funding' => ['Grant'],
125
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
126
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
127
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
128
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
129
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
130
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
131
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
132
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
133
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
134
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
135
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
136
-		    'globalLocationNumber' => ['Text'],
137
-		    'hasCredential' => ['EducationalOccupationalCredential'],
138
-		    'hasDriveThroughService' => ['Boolean'],
139
-		    'hasMap' => ['URL', 'Map'],
140
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
141
-		    'hasOfferCatalog' => ['OfferCatalog'],
142
-		    'hasPOS' => ['Place'],
143
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
144
-		    'image' => ['URL', 'ImageObject'],
145
-		    'interactionStatistic' => ['InteractionCounter'],
146
-		    'isAccessibleForFree' => ['Boolean'],
147
-		    'isicV4' => ['Text'],
148
-		    'iso6523Code' => ['Text'],
149
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
151
-		    'knowsLanguage' => ['Text', 'Language'],
152
-		    'latitude' => ['Number', 'Text'],
153
-		    'legalName' => ['Text'],
154
-		    'leiCode' => ['Text'],
155
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
156
-		    'logo' => ['ImageObject', 'URL'],
157
-		    'longitude' => ['Text', 'Number'],
158
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
159
-		    'makesOffer' => ['Offer'],
160
-		    'map' => ['URL'],
161
-		    'maps' => ['URL'],
162
-		    'maximumAttendeeCapacity' => ['Integer'],
163
-		    'member' => ['Organization', 'Person'],
164
-		    'memberOf' => ['Organization', 'ProgramMembership'],
165
-		    'members' => ['Organization', 'Person'],
166
-		    'naics' => ['Text'],
167
-		    'name' => ['Text'],
168
-		    'nonprofitStatus' => ['NonprofitType'],
169
-		    'numberOfEmployees' => ['QuantitativeValue'],
170
-		    'openingHours' => ['Text'],
171
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
172
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
173
-		    'owns' => ['Product', 'OwnershipInfo'],
174
-		    'parentOrganization' => ['Organization'],
175
-		    'paymentAccepted' => ['Text'],
176
-		    'photo' => ['Photograph', 'ImageObject'],
177
-		    'photos' => ['ImageObject', 'Photograph'],
178
-		    'potentialAction' => ['Action'],
179
-		    'priceRange' => ['Text'],
180
-		    'publicAccess' => ['Boolean'],
181
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
182
-		    'review' => ['Review'],
183
-		    'reviews' => ['Review'],
184
-		    'sameAs' => ['URL'],
185
-		    'seeks' => ['Demand'],
186
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
187
-		    'slogan' => ['Text'],
188
-		    'smokingAllowed' => ['Boolean'],
189
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
190
-		    'sponsor' => ['Organization', 'Person'],
191
-		    'subOrganization' => ['Organization'],
192
-		    'subjectOf' => ['Event', 'CreativeWork'],
193
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
194
-		    'taxID' => ['Text'],
195
-		    'telephone' => ['Text'],
196
-		    'tourBookingPage' => ['URL'],
197
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
198
-		    'url' => ['URL'],
199
-		    'vatID' => ['Text']
200
-		];
201
-	}
78
+    /**
79
+     * @inheritdoc
80
+     */
81
+    public function getSchemaPropertyExpectedTypes(): array
82
+    {
83
+        return [
84
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
85
+            'additionalProperty' => ['PropertyValue'],
86
+            'additionalType' => ['URL'],
87
+            'address' => ['Text', 'PostalAddress'],
88
+            'aggregateRating' => ['AggregateRating'],
89
+            'alternateName' => ['Text'],
90
+            'alumni' => ['Person'],
91
+            'amenityFeature' => ['LocationFeatureSpecification'],
92
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
93
+            'award' => ['Text'],
94
+            'awards' => ['Text'],
95
+            'branchCode' => ['Text'],
96
+            'branchOf' => ['Organization'],
97
+            'brand' => ['Brand', 'Organization'],
98
+            'contactPoint' => ['ContactPoint'],
99
+            'contactPoints' => ['ContactPoint'],
100
+            'containedIn' => ['Place'],
101
+            'containedInPlace' => ['Place'],
102
+            'containsPlace' => ['Place'],
103
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
104
+            'currenciesAccepted' => ['Text'],
105
+            'department' => ['Organization'],
106
+            'description' => ['Text'],
107
+            'disambiguatingDescription' => ['Text'],
108
+            'dissolutionDate' => ['Date'],
109
+            'diversityPolicy' => ['URL', 'CreativeWork'],
110
+            'diversityStaffingReport' => ['Article', 'URL'],
111
+            'duns' => ['Text'],
112
+            'email' => ['Text'],
113
+            'employee' => ['Person'],
114
+            'employees' => ['Person'],
115
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
116
+            'event' => ['Event'],
117
+            'events' => ['Event'],
118
+            'faxNumber' => ['Text'],
119
+            'founder' => ['Person'],
120
+            'founders' => ['Person'],
121
+            'foundingDate' => ['Date'],
122
+            'foundingLocation' => ['Place'],
123
+            'funder' => ['Organization', 'Person'],
124
+            'funding' => ['Grant'],
125
+            'geo' => ['GeoCoordinates', 'GeoShape'],
126
+            'geoContains' => ['Place', 'GeospatialGeometry'],
127
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
128
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
129
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
130
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
131
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
132
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
133
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
134
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
135
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
136
+            'globalLocationNumber' => ['Text'],
137
+            'hasCredential' => ['EducationalOccupationalCredential'],
138
+            'hasDriveThroughService' => ['Boolean'],
139
+            'hasMap' => ['URL', 'Map'],
140
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
141
+            'hasOfferCatalog' => ['OfferCatalog'],
142
+            'hasPOS' => ['Place'],
143
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
144
+            'image' => ['URL', 'ImageObject'],
145
+            'interactionStatistic' => ['InteractionCounter'],
146
+            'isAccessibleForFree' => ['Boolean'],
147
+            'isicV4' => ['Text'],
148
+            'iso6523Code' => ['Text'],
149
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
151
+            'knowsLanguage' => ['Text', 'Language'],
152
+            'latitude' => ['Number', 'Text'],
153
+            'legalName' => ['Text'],
154
+            'leiCode' => ['Text'],
155
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
156
+            'logo' => ['ImageObject', 'URL'],
157
+            'longitude' => ['Text', 'Number'],
158
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
159
+            'makesOffer' => ['Offer'],
160
+            'map' => ['URL'],
161
+            'maps' => ['URL'],
162
+            'maximumAttendeeCapacity' => ['Integer'],
163
+            'member' => ['Organization', 'Person'],
164
+            'memberOf' => ['Organization', 'ProgramMembership'],
165
+            'members' => ['Organization', 'Person'],
166
+            'naics' => ['Text'],
167
+            'name' => ['Text'],
168
+            'nonprofitStatus' => ['NonprofitType'],
169
+            'numberOfEmployees' => ['QuantitativeValue'],
170
+            'openingHours' => ['Text'],
171
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
172
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
173
+            'owns' => ['Product', 'OwnershipInfo'],
174
+            'parentOrganization' => ['Organization'],
175
+            'paymentAccepted' => ['Text'],
176
+            'photo' => ['Photograph', 'ImageObject'],
177
+            'photos' => ['ImageObject', 'Photograph'],
178
+            'potentialAction' => ['Action'],
179
+            'priceRange' => ['Text'],
180
+            'publicAccess' => ['Boolean'],
181
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
182
+            'review' => ['Review'],
183
+            'reviews' => ['Review'],
184
+            'sameAs' => ['URL'],
185
+            'seeks' => ['Demand'],
186
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
187
+            'slogan' => ['Text'],
188
+            'smokingAllowed' => ['Boolean'],
189
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
190
+            'sponsor' => ['Organization', 'Person'],
191
+            'subOrganization' => ['Organization'],
192
+            'subjectOf' => ['Event', 'CreativeWork'],
193
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
194
+            'taxID' => ['Text'],
195
+            'telephone' => ['Text'],
196
+            'tourBookingPage' => ['URL'],
197
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
198
+            'url' => ['URL'],
199
+            'vatID' => ['Text']
200
+        ];
201
+    }
202 202
 
203 203
 
204
-	/**
205
-	 * @inheritdoc
206
-	 */
207
-	public function getSchemaPropertyDescriptions(): array
208
-	{
209
-		return [
210
-		    'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
211
-		    'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
212
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
213
-		    'address' => 'Physical address of the item.',
214
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
215
-		    'alternateName' => 'An alias for the item.',
216
-		    'alumni' => 'Alumni of an organization.',
217
-		    'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
218
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
219
-		    'award' => 'An award won by or for this item.',
220
-		    'awards' => 'Awards won by or for this item.',
221
-		    'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
222
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
223
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
224
-		    'contactPoint' => 'A contact point for a person or organization.',
225
-		    'contactPoints' => 'A contact point for a person or organization.',
226
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
227
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
228
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
229
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
230
-		    'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
231
-		    'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
232
-		    'description' => 'A description of the item.',
233
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
234
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
235
-		    'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
236
-		    'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
237
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
238
-		    'email' => 'Email address.',
239
-		    'employee' => 'Someone working for this organization.',
240
-		    'employees' => 'People working for this organization.',
241
-		    'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
242
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
243
-		    'events' => 'Upcoming or past events associated with this place or organization.',
244
-		    'faxNumber' => 'The fax number.',
245
-		    'founder' => 'A person who founded this organization.',
246
-		    'founders' => 'A person who founded this organization.',
247
-		    'foundingDate' => 'The date that this organization was founded.',
248
-		    'foundingLocation' => 'The place where the Organization was founded.',
249
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
250
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
251
-		    'geo' => 'The geo coordinates of the place.',
252
-		    'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
253
-		    'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
254
-		    'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
255
-		    'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
256
-		    'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
257
-		    'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
258
-		    'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
259
-		    'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
260
-		    'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
261
-		    'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
262
-		    'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
263
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
264
-		    'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
265
-		    'hasMap' => 'A URL to a map of the place.',
266
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
267
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
268
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
269
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
270
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
271
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
272
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
273
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
274
-		    'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
275
-		    'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
276
-		    'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
277
-		    'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
278
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
280
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
281
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
282
-		    'logo' => 'An associated logo.',
283
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
284
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
285
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
286
-		    'map' => 'A URL to a map of the place.',
287
-		    'maps' => 'A URL to a map of the place.',
288
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
289
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
290
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
291
-		    'members' => 'A member of this organization.',
292
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
293
-		    'name' => 'The name of the item.',
294
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
295
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
296
-		    'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
297
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
298
-		    'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
299
-		    'owns' => 'Products owned by the organization or person.',
300
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
301
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
302
-		    'photo' => 'A photograph of this place.',
303
-		    'photos' => 'Photographs of this place.',
304
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
305
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
306
-		    'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
307
-		    'publishingPrinciples' => 'The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].  While such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology. ',
308
-		    'review' => 'A review of the item.',
309
-		    'reviews' => 'Review of the item.',
310
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
311
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
312
-		    'serviceArea' => 'The geographic area where the service is provided.',
313
-		    'slogan' => 'A slogan or motto associated with the item.',
314
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
315
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
316
-		    'sponsor' => 'A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.',
317
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
318
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
319
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
320
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
321
-		    'telephone' => 'The telephone number.',
322
-		    'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
323
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
324
-		    'url' => 'URL of the item.',
325
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
326
-		];
327
-	}
204
+    /**
205
+     * @inheritdoc
206
+     */
207
+    public function getSchemaPropertyDescriptions(): array
208
+    {
209
+        return [
210
+            'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
211
+            'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
212
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
213
+            'address' => 'Physical address of the item.',
214
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
215
+            'alternateName' => 'An alias for the item.',
216
+            'alumni' => 'Alumni of an organization.',
217
+            'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
218
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
219
+            'award' => 'An award won by or for this item.',
220
+            'awards' => 'Awards won by or for this item.',
221
+            'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
222
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
223
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
224
+            'contactPoint' => 'A contact point for a person or organization.',
225
+            'contactPoints' => 'A contact point for a person or organization.',
226
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
227
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
228
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
229
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
230
+            'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
231
+            'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
232
+            'description' => 'A description of the item.',
233
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
234
+            'dissolutionDate' => 'The date that this organization was dissolved.',
235
+            'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
236
+            'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
237
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
238
+            'email' => 'Email address.',
239
+            'employee' => 'Someone working for this organization.',
240
+            'employees' => 'People working for this organization.',
241
+            'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
242
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
243
+            'events' => 'Upcoming or past events associated with this place or organization.',
244
+            'faxNumber' => 'The fax number.',
245
+            'founder' => 'A person who founded this organization.',
246
+            'founders' => 'A person who founded this organization.',
247
+            'foundingDate' => 'The date that this organization was founded.',
248
+            'foundingLocation' => 'The place where the Organization was founded.',
249
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
250
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
251
+            'geo' => 'The geo coordinates of the place.',
252
+            'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
253
+            'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
254
+            'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
255
+            'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
256
+            'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
257
+            'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
258
+            'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
259
+            'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
260
+            'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
261
+            'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
262
+            'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
263
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
264
+            'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
265
+            'hasMap' => 'A URL to a map of the place.',
266
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
267
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
268
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
269
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
270
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
271
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
272
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
273
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
274
+            'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
275
+            'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
276
+            'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
277
+            'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
278
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
280
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
281
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
282
+            'logo' => 'An associated logo.',
283
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
284
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
285
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
286
+            'map' => 'A URL to a map of the place.',
287
+            'maps' => 'A URL to a map of the place.',
288
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
289
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
290
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
291
+            'members' => 'A member of this organization.',
292
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
293
+            'name' => 'The name of the item.',
294
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
295
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
296
+            'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
297
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
298
+            'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
299
+            'owns' => 'Products owned by the organization or person.',
300
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
301
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
302
+            'photo' => 'A photograph of this place.',
303
+            'photos' => 'Photographs of this place.',
304
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
305
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
306
+            'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
307
+            'publishingPrinciples' => 'The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].  While such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology. ',
308
+            'review' => 'A review of the item.',
309
+            'reviews' => 'Review of the item.',
310
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
311
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
312
+            'serviceArea' => 'The geographic area where the service is provided.',
313
+            'slogan' => 'A slogan or motto associated with the item.',
314
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
315
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
316
+            'sponsor' => 'A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.',
317
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
318
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
319
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
320
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
321
+            'telephone' => 'The telephone number.',
322
+            'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
323
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
324
+            'url' => 'URL of the item.',
325
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
326
+        ];
327
+    }
328 328
 
329 329
 
330
-	/**
331
-	 * @inheritdoc
332
-	 */
333
-	public function getGoogleRequiredSchema(): array
334
-	{
335
-		return ['description', 'name'];
336
-	}
330
+    /**
331
+     * @inheritdoc
332
+     */
333
+    public function getGoogleRequiredSchema(): array
334
+    {
335
+        return ['description', 'name'];
336
+    }
337 337
 
338 338
 
339
-	/**
340
-	 * @inheritdoc
341
-	 */
342
-	public function getGoogleRecommendedSchema(): array
343
-	{
344
-		return ['image', 'url'];
345
-	}
339
+    /**
340
+     * @inheritdoc
341
+     */
342
+    public function getGoogleRecommendedSchema(): array
343
+    {
344
+        return ['image', 'url'];
345
+    }
346 346
 
347 347
 
348
-	/**
349
-	 * @inheritdoc
350
-	 */
351
-	public function defineRules(): array
352
-	{
353
-		$rules = parent::defineRules();
354
-		    $rules = array_merge($rules, [
355
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
356
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
357
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
358
-		    ]);
348
+    /**
349
+     * @inheritdoc
350
+     */
351
+    public function defineRules(): array
352
+    {
353
+        $rules = parent::defineRules();
354
+            $rules = array_merge($rules, [
355
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
356
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
357
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
358
+            ]);
359 359
 
360
-		    return $rules;
361
-	}
360
+            return $rules;
361
+    }
362 362
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501c8.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -24,127 +24,127 @@
 block discarded – undo
24 24
  */
25 25
 class Nonprofit501c8 extends MetaJsonLd implements Nonprofit501c8Interface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use Nonprofit501c8Trait;
28
-	use USNonprofitTypeTrait;
29
-	use NonprofitTypeTrait;
30
-	use EnumerationTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'Nonprofit501c8';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501c8';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'USNonprofitType';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'Nonprofit501c8: Non-profit type referring to Fraternal Beneficiary Societies and Associations.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'additionalType' => ['URL'],
79
-		    'alternateName' => ['Text'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'name' => ['Text'],
86
-		    'potentialAction' => ['Action'],
87
-		    'sameAs' => ['URL'],
88
-		    'subjectOf' => ['Event', 'CreativeWork'],
89
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
-		    'name' => 'The name of the item.',
109
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
-		    'url' => 'URL of the item.'
114
-		];
115
-	}
116
-
117
-
118
-	/**
119
-	 * @inheritdoc
120
-	 */
121
-	public function getGoogleRequiredSchema(): array
122
-	{
123
-		return ['description', 'name'];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRecommendedSchema(): array
131
-	{
132
-		return ['image', 'url'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function defineRules(): array
140
-	{
141
-		$rules = parent::defineRules();
142
-		    $rules = array_merge($rules, [
143
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
-		    ]);
147
-
148
-		    return $rules;
149
-	}
27
+    use Nonprofit501c8Trait;
28
+    use USNonprofitTypeTrait;
29
+    use NonprofitTypeTrait;
30
+    use EnumerationTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'Nonprofit501c8';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501c8';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'USNonprofitType';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'Nonprofit501c8: Non-profit type referring to Fraternal Beneficiary Societies and Associations.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'additionalType' => ['URL'],
79
+            'alternateName' => ['Text'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'name' => ['Text'],
86
+            'potentialAction' => ['Action'],
87
+            'sameAs' => ['URL'],
88
+            'subjectOf' => ['Event', 'CreativeWork'],
89
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
+            'name' => 'The name of the item.',
109
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
+            'url' => 'URL of the item.'
114
+        ];
115
+    }
116
+
117
+
118
+    /**
119
+     * @inheritdoc
120
+     */
121
+    public function getGoogleRequiredSchema(): array
122
+    {
123
+        return ['description', 'name'];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRecommendedSchema(): array
131
+    {
132
+        return ['image', 'url'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function defineRules(): array
140
+    {
141
+        $rules = parent::defineRules();
142
+            $rules = array_merge($rules, [
143
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
+            ]);
147
+
148
+            return $rules;
149
+    }
150 150
 }
Please login to merge, or discard this patch.
src/models/jsonld/RentalVehicleUsage.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class RentalVehicleUsage extends MetaJsonLd implements RentalVehicleUsageInterface, CarUsageTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use RentalVehicleUsageTrait;
27
-	use CarUsageTypeTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'RentalVehicleUsage';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/RentalVehicleUsage';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'CarUsageType';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'Indicates the usage of the vehicle as a rental car.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use RentalVehicleUsageTrait;
27
+    use CarUsageTypeTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'RentalVehicleUsage';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/RentalVehicleUsage';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'CarUsageType';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'Indicates the usage of the vehicle as a rental car.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Playground.php 1 patch
Indentation   +211 added lines, -211 removed lines patch added patch discarded remove patch
@@ -23,215 +23,215 @@
 block discarded – undo
23 23
  */
24 24
 class Playground extends MetaJsonLd implements PlaygroundInterface, CivicStructureInterface, PlaceInterface, ThingInterface
25 25
 {
26
-	use PlaygroundTrait;
27
-	use CivicStructureTrait;
28
-	use PlaceTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'Playground';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/Playground';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'CivicStructure';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A playground.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'additionalProperty' => ['PropertyValue'],
76
-		    'additionalType' => ['URL'],
77
-		    'address' => ['Text', 'PostalAddress'],
78
-		    'aggregateRating' => ['AggregateRating'],
79
-		    'alternateName' => ['Text'],
80
-		    'amenityFeature' => ['LocationFeatureSpecification'],
81
-		    'branchCode' => ['Text'],
82
-		    'containedIn' => ['Place'],
83
-		    'containedInPlace' => ['Place'],
84
-		    'containsPlace' => ['Place'],
85
-		    'description' => ['Text'],
86
-		    'disambiguatingDescription' => ['Text'],
87
-		    'event' => ['Event'],
88
-		    'events' => ['Event'],
89
-		    'faxNumber' => ['Text'],
90
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
91
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
92
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
93
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
94
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
95
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
96
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
97
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
98
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
99
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
100
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
101
-		    'globalLocationNumber' => ['Text'],
102
-		    'hasDriveThroughService' => ['Boolean'],
103
-		    'hasMap' => ['URL', 'Map'],
104
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
105
-		    'image' => ['URL', 'ImageObject'],
106
-		    'isAccessibleForFree' => ['Boolean'],
107
-		    'isicV4' => ['Text'],
108
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
109
-		    'latitude' => ['Number', 'Text'],
110
-		    'logo' => ['ImageObject', 'URL'],
111
-		    'longitude' => ['Text', 'Number'],
112
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
113
-		    'map' => ['URL'],
114
-		    'maps' => ['URL'],
115
-		    'maximumAttendeeCapacity' => ['Integer'],
116
-		    'name' => ['Text'],
117
-		    'openingHours' => ['Text'],
118
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
119
-		    'photo' => ['Photograph', 'ImageObject'],
120
-		    'photos' => ['ImageObject', 'Photograph'],
121
-		    'potentialAction' => ['Action'],
122
-		    'publicAccess' => ['Boolean'],
123
-		    'review' => ['Review'],
124
-		    'reviews' => ['Review'],
125
-		    'sameAs' => ['URL'],
126
-		    'slogan' => ['Text'],
127
-		    'smokingAllowed' => ['Boolean'],
128
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
129
-		    'subjectOf' => ['Event', 'CreativeWork'],
130
-		    'telephone' => ['Text'],
131
-		    'tourBookingPage' => ['URL'],
132
-		    'url' => ['URL']
133
-		];
134
-	}
135
-
136
-
137
-	/**
138
-	 * @inheritdoc
139
-	 */
140
-	public function getSchemaPropertyDescriptions(): array
141
-	{
142
-		return [
143
-		    'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
144
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
145
-		    'address' => 'Physical address of the item.',
146
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
147
-		    'alternateName' => 'An alias for the item.',
148
-		    'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
149
-		    'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
150
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
151
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
152
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
153
-		    'description' => 'A description of the item.',
154
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
155
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
156
-		    'events' => 'Upcoming or past events associated with this place or organization.',
157
-		    'faxNumber' => 'The fax number.',
158
-		    'geo' => 'The geo coordinates of the place.',
159
-		    'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
160
-		    'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
161
-		    'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
162
-		    'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
163
-		    'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
164
-		    'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
165
-		    'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
166
-		    'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
167
-		    'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
168
-		    'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
169
-		    'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
170
-		    'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
171
-		    'hasMap' => 'A URL to a map of the place.',
172
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
173
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
174
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
175
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
176
-		    'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
177
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
178
-		    'logo' => 'An associated logo.',
179
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
180
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
181
-		    'map' => 'A URL to a map of the place.',
182
-		    'maps' => 'A URL to a map of the place.',
183
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
184
-		    'name' => 'The name of the item.',
185
-		    'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
186
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
187
-		    'photo' => 'A photograph of this place.',
188
-		    'photos' => 'Photographs of this place.',
189
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
190
-		    'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
191
-		    'review' => 'A review of the item.',
192
-		    'reviews' => 'Review of the item.',
193
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
194
-		    'slogan' => 'A slogan or motto associated with the item.',
195
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
196
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
197
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
198
-		    'telephone' => 'The telephone number.',
199
-		    'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
200
-		    'url' => 'URL of the item.'
201
-		];
202
-	}
203
-
204
-
205
-	/**
206
-	 * @inheritdoc
207
-	 */
208
-	public function getGoogleRequiredSchema(): array
209
-	{
210
-		return ['description', 'name'];
211
-	}
212
-
213
-
214
-	/**
215
-	 * @inheritdoc
216
-	 */
217
-	public function getGoogleRecommendedSchema(): array
218
-	{
219
-		return ['image', 'url'];
220
-	}
221
-
222
-
223
-	/**
224
-	 * @inheritdoc
225
-	 */
226
-	public function defineRules(): array
227
-	{
228
-		$rules = parent::defineRules();
229
-		    $rules = array_merge($rules, [
230
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
231
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
232
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
233
-		    ]);
234
-
235
-		    return $rules;
236
-	}
26
+    use PlaygroundTrait;
27
+    use CivicStructureTrait;
28
+    use PlaceTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'Playground';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/Playground';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'CivicStructure';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A playground.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'additionalProperty' => ['PropertyValue'],
76
+            'additionalType' => ['URL'],
77
+            'address' => ['Text', 'PostalAddress'],
78
+            'aggregateRating' => ['AggregateRating'],
79
+            'alternateName' => ['Text'],
80
+            'amenityFeature' => ['LocationFeatureSpecification'],
81
+            'branchCode' => ['Text'],
82
+            'containedIn' => ['Place'],
83
+            'containedInPlace' => ['Place'],
84
+            'containsPlace' => ['Place'],
85
+            'description' => ['Text'],
86
+            'disambiguatingDescription' => ['Text'],
87
+            'event' => ['Event'],
88
+            'events' => ['Event'],
89
+            'faxNumber' => ['Text'],
90
+            'geo' => ['GeoCoordinates', 'GeoShape'],
91
+            'geoContains' => ['Place', 'GeospatialGeometry'],
92
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
93
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
94
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
95
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
96
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
97
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
98
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
99
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
100
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
101
+            'globalLocationNumber' => ['Text'],
102
+            'hasDriveThroughService' => ['Boolean'],
103
+            'hasMap' => ['URL', 'Map'],
104
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
105
+            'image' => ['URL', 'ImageObject'],
106
+            'isAccessibleForFree' => ['Boolean'],
107
+            'isicV4' => ['Text'],
108
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
109
+            'latitude' => ['Number', 'Text'],
110
+            'logo' => ['ImageObject', 'URL'],
111
+            'longitude' => ['Text', 'Number'],
112
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
113
+            'map' => ['URL'],
114
+            'maps' => ['URL'],
115
+            'maximumAttendeeCapacity' => ['Integer'],
116
+            'name' => ['Text'],
117
+            'openingHours' => ['Text'],
118
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
119
+            'photo' => ['Photograph', 'ImageObject'],
120
+            'photos' => ['ImageObject', 'Photograph'],
121
+            'potentialAction' => ['Action'],
122
+            'publicAccess' => ['Boolean'],
123
+            'review' => ['Review'],
124
+            'reviews' => ['Review'],
125
+            'sameAs' => ['URL'],
126
+            'slogan' => ['Text'],
127
+            'smokingAllowed' => ['Boolean'],
128
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
129
+            'subjectOf' => ['Event', 'CreativeWork'],
130
+            'telephone' => ['Text'],
131
+            'tourBookingPage' => ['URL'],
132
+            'url' => ['URL']
133
+        ];
134
+    }
135
+
136
+
137
+    /**
138
+     * @inheritdoc
139
+     */
140
+    public function getSchemaPropertyDescriptions(): array
141
+    {
142
+        return [
143
+            'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
144
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
145
+            'address' => 'Physical address of the item.',
146
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
147
+            'alternateName' => 'An alias for the item.',
148
+            'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
149
+            'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
150
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
151
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
152
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
153
+            'description' => 'A description of the item.',
154
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
155
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
156
+            'events' => 'Upcoming or past events associated with this place or organization.',
157
+            'faxNumber' => 'The fax number.',
158
+            'geo' => 'The geo coordinates of the place.',
159
+            'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
160
+            'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
161
+            'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
162
+            'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
163
+            'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
164
+            'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
165
+            'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
166
+            'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
167
+            'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
168
+            'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
169
+            'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
170
+            'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
171
+            'hasMap' => 'A URL to a map of the place.',
172
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
173
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
174
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
175
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
176
+            'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
177
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
178
+            'logo' => 'An associated logo.',
179
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
180
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
181
+            'map' => 'A URL to a map of the place.',
182
+            'maps' => 'A URL to a map of the place.',
183
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
184
+            'name' => 'The name of the item.',
185
+            'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
186
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
187
+            'photo' => 'A photograph of this place.',
188
+            'photos' => 'Photographs of this place.',
189
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
190
+            'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
191
+            'review' => 'A review of the item.',
192
+            'reviews' => 'Review of the item.',
193
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
194
+            'slogan' => 'A slogan or motto associated with the item.',
195
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
196
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
197
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
198
+            'telephone' => 'The telephone number.',
199
+            'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
200
+            'url' => 'URL of the item.'
201
+        ];
202
+    }
203
+
204
+
205
+    /**
206
+     * @inheritdoc
207
+     */
208
+    public function getGoogleRequiredSchema(): array
209
+    {
210
+        return ['description', 'name'];
211
+    }
212
+
213
+
214
+    /**
215
+     * @inheritdoc
216
+     */
217
+    public function getGoogleRecommendedSchema(): array
218
+    {
219
+        return ['image', 'url'];
220
+    }
221
+
222
+
223
+    /**
224
+     * @inheritdoc
225
+     */
226
+    public function defineRules(): array
227
+    {
228
+        $rules = parent::defineRules();
229
+            $rules = array_merge($rules, [
230
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
231
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
232
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
233
+            ]);
234
+
235
+            return $rules;
236
+    }
237 237
 }
Please login to merge, or discard this patch.
src/models/jsonld/PercutaneousProcedure.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -25,127 +25,127 @@
 block discarded – undo
25 25
  */
26 26
 class PercutaneousProcedure extends MetaJsonLd implements PercutaneousProcedureInterface, MedicalProcedureTypeInterface, MedicalEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
27 27
 {
28
-	use PercutaneousProcedureTrait;
29
-	use MedicalProcedureTypeTrait;
30
-	use MedicalEnumerationTrait;
31
-	use EnumerationTrait;
32
-	use IntangibleTrait;
33
-	use ThingTrait;
34
-
35
-	/**
36
-	 * The Schema.org Type Name
37
-	 *
38
-	 * @var string
39
-	 */
40
-	public static $schemaTypeName = 'PercutaneousProcedure';
41
-
42
-	/**
43
-	 * The Schema.org Type Scope
44
-	 *
45
-	 * @var string
46
-	 */
47
-	public static $schemaTypeScope = 'https://schema.org/PercutaneousProcedure';
48
-
49
-	/**
50
-	 * The Schema.org Type Extends
51
-	 *
52
-	 * @var string
53
-	 */
54
-	public static $schemaTypeExtends = 'MedicalProcedureType';
55
-
56
-	/**
57
-	 * The Schema.org Type Description
58
-	 *
59
-	 * @var string
60
-	 */
61
-	public static $schemaTypeDescription = 'A type of medical procedure that involves percutaneous techniques, where access to organs or tissue is achieved via needle-puncture of the skin. For example, catheter-based procedures like stent delivery.';
62
-
63
-
64
-	/**
65
-	 * @inheritdoc
66
-	 */
67
-	public function getSchemaPropertyNames(): array
68
-	{
69
-		return array_keys($this->getSchemaPropertyExpectedTypes());
70
-	}
71
-
72
-
73
-	/**
74
-	 * @inheritdoc
75
-	 */
76
-	public function getSchemaPropertyExpectedTypes(): array
77
-	{
78
-		return [
79
-		    'additionalType' => ['URL'],
80
-		    'alternateName' => ['Text'],
81
-		    'description' => ['Text'],
82
-		    'disambiguatingDescription' => ['Text'],
83
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
84
-		    'image' => ['URL', 'ImageObject'],
85
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
-		    'name' => ['Text'],
87
-		    'potentialAction' => ['Action'],
88
-		    'sameAs' => ['URL'],
89
-		    'subjectOf' => ['Event', 'CreativeWork'],
90
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
91
-		    'url' => ['URL']
92
-		];
93
-	}
94
-
95
-
96
-	/**
97
-	 * @inheritdoc
98
-	 */
99
-	public function getSchemaPropertyDescriptions(): array
100
-	{
101
-		return [
102
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
103
-		    'alternateName' => 'An alias for the item.',
104
-		    'description' => 'A description of the item.',
105
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
106
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
107
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
108
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
109
-		    'name' => 'The name of the item.',
110
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
111
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
112
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
113
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
114
-		    'url' => 'URL of the item.'
115
-		];
116
-	}
117
-
118
-
119
-	/**
120
-	 * @inheritdoc
121
-	 */
122
-	public function getGoogleRequiredSchema(): array
123
-	{
124
-		return ['description', 'name'];
125
-	}
126
-
127
-
128
-	/**
129
-	 * @inheritdoc
130
-	 */
131
-	public function getGoogleRecommendedSchema(): array
132
-	{
133
-		return ['image', 'url'];
134
-	}
135
-
136
-
137
-	/**
138
-	 * @inheritdoc
139
-	 */
140
-	public function defineRules(): array
141
-	{
142
-		$rules = parent::defineRules();
143
-		    $rules = array_merge($rules, [
144
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
145
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
146
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
147
-		    ]);
148
-
149
-		    return $rules;
150
-	}
28
+    use PercutaneousProcedureTrait;
29
+    use MedicalProcedureTypeTrait;
30
+    use MedicalEnumerationTrait;
31
+    use EnumerationTrait;
32
+    use IntangibleTrait;
33
+    use ThingTrait;
34
+
35
+    /**
36
+     * The Schema.org Type Name
37
+     *
38
+     * @var string
39
+     */
40
+    public static $schemaTypeName = 'PercutaneousProcedure';
41
+
42
+    /**
43
+     * The Schema.org Type Scope
44
+     *
45
+     * @var string
46
+     */
47
+    public static $schemaTypeScope = 'https://schema.org/PercutaneousProcedure';
48
+
49
+    /**
50
+     * The Schema.org Type Extends
51
+     *
52
+     * @var string
53
+     */
54
+    public static $schemaTypeExtends = 'MedicalProcedureType';
55
+
56
+    /**
57
+     * The Schema.org Type Description
58
+     *
59
+     * @var string
60
+     */
61
+    public static $schemaTypeDescription = 'A type of medical procedure that involves percutaneous techniques, where access to organs or tissue is achieved via needle-puncture of the skin. For example, catheter-based procedures like stent delivery.';
62
+
63
+
64
+    /**
65
+     * @inheritdoc
66
+     */
67
+    public function getSchemaPropertyNames(): array
68
+    {
69
+        return array_keys($this->getSchemaPropertyExpectedTypes());
70
+    }
71
+
72
+
73
+    /**
74
+     * @inheritdoc
75
+     */
76
+    public function getSchemaPropertyExpectedTypes(): array
77
+    {
78
+        return [
79
+            'additionalType' => ['URL'],
80
+            'alternateName' => ['Text'],
81
+            'description' => ['Text'],
82
+            'disambiguatingDescription' => ['Text'],
83
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
84
+            'image' => ['URL', 'ImageObject'],
85
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
+            'name' => ['Text'],
87
+            'potentialAction' => ['Action'],
88
+            'sameAs' => ['URL'],
89
+            'subjectOf' => ['Event', 'CreativeWork'],
90
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
91
+            'url' => ['URL']
92
+        ];
93
+    }
94
+
95
+
96
+    /**
97
+     * @inheritdoc
98
+     */
99
+    public function getSchemaPropertyDescriptions(): array
100
+    {
101
+        return [
102
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
103
+            'alternateName' => 'An alias for the item.',
104
+            'description' => 'A description of the item.',
105
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
106
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
107
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
108
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
109
+            'name' => 'The name of the item.',
110
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
111
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
112
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
113
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
114
+            'url' => 'URL of the item.'
115
+        ];
116
+    }
117
+
118
+
119
+    /**
120
+     * @inheritdoc
121
+     */
122
+    public function getGoogleRequiredSchema(): array
123
+    {
124
+        return ['description', 'name'];
125
+    }
126
+
127
+
128
+    /**
129
+     * @inheritdoc
130
+     */
131
+    public function getGoogleRecommendedSchema(): array
132
+    {
133
+        return ['image', 'url'];
134
+    }
135
+
136
+
137
+    /**
138
+     * @inheritdoc
139
+     */
140
+    public function defineRules(): array
141
+    {
142
+        $rules = parent::defineRules();
143
+            $rules = array_merge($rules, [
144
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
145
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
146
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
147
+            ]);
148
+
149
+            return $rules;
150
+    }
151 151
 }
Please login to merge, or discard this patch.
src/models/jsonld/AggregateOffer.php 1 patch
Indentation   +212 added lines, -212 removed lines patch added patch discarded remove patch
@@ -28,233 +28,233 @@
 block discarded – undo
28 28
  */
29 29
 class AggregateOffer extends MetaJsonLd implements AggregateOfferInterface, OfferInterface, IntangibleInterface, ThingInterface
30 30
 {
31
-	use AggregateOfferTrait;
32
-	use OfferTrait;
33
-	use IntangibleTrait;
34
-	use ThingTrait;
31
+    use AggregateOfferTrait;
32
+    use OfferTrait;
33
+    use IntangibleTrait;
34
+    use ThingTrait;
35 35
 
36
-	/**
37
-	 * The Schema.org Type Name
38
-	 *
39
-	 * @var string
40
-	 */
41
-	public static $schemaTypeName = 'AggregateOffer';
36
+    /**
37
+     * The Schema.org Type Name
38
+     *
39
+     * @var string
40
+     */
41
+    public static $schemaTypeName = 'AggregateOffer';
42 42
 
43
-	/**
44
-	 * The Schema.org Type Scope
45
-	 *
46
-	 * @var string
47
-	 */
48
-	public static $schemaTypeScope = 'https://schema.org/AggregateOffer';
43
+    /**
44
+     * The Schema.org Type Scope
45
+     *
46
+     * @var string
47
+     */
48
+    public static $schemaTypeScope = 'https://schema.org/AggregateOffer';
49 49
 
50
-	/**
51
-	 * The Schema.org Type Extends
52
-	 *
53
-	 * @var string
54
-	 */
55
-	public static $schemaTypeExtends = 'Offer';
50
+    /**
51
+     * The Schema.org Type Extends
52
+     *
53
+     * @var string
54
+     */
55
+    public static $schemaTypeExtends = 'Offer';
56 56
 
57
-	/**
58
-	 * The Schema.org Type Description
59
-	 *
60
-	 * @var string
61
-	 */
62
-	public static $schemaTypeDescription = 'When a single product is associated with multiple offers (for example, the same pair of shoes is offered by different merchants), then AggregateOffer can be used.\n\nNote: AggregateOffers are normally expected to associate multiple offers that all share the same defined [[businessFunction]] value, or default to http://purl.org/goodrelations/v1#Sell if businessFunction is not explicitly defined.';
57
+    /**
58
+     * The Schema.org Type Description
59
+     *
60
+     * @var string
61
+     */
62
+    public static $schemaTypeDescription = 'When a single product is associated with multiple offers (for example, the same pair of shoes is offered by different merchants), then AggregateOffer can be used.\n\nNote: AggregateOffers are normally expected to associate multiple offers that all share the same defined [[businessFunction]] value, or default to http://purl.org/goodrelations/v1#Sell if businessFunction is not explicitly defined.';
63 63
 
64 64
 
65
-	/**
66
-	 * @inheritdoc
67
-	 */
68
-	public function getSchemaPropertyNames(): array
69
-	{
70
-		return array_keys($this->getSchemaPropertyExpectedTypes());
71
-	}
65
+    /**
66
+     * @inheritdoc
67
+     */
68
+    public function getSchemaPropertyNames(): array
69
+    {
70
+        return array_keys($this->getSchemaPropertyExpectedTypes());
71
+    }
72 72
 
73 73
 
74
-	/**
75
-	 * @inheritdoc
76
-	 */
77
-	public function getSchemaPropertyExpectedTypes(): array
78
-	{
79
-		return [
80
-		    'acceptedPaymentMethod' => ['PaymentMethod', 'LoanOrCredit'],
81
-		    'addOn' => ['Offer'],
82
-		    'additionalType' => ['URL'],
83
-		    'advanceBookingRequirement' => ['QuantitativeValue'],
84
-		    'aggregateRating' => ['AggregateRating'],
85
-		    'alternateName' => ['Text'],
86
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
87
-		    'asin' => ['Text', 'URL'],
88
-		    'availability' => ['ItemAvailability'],
89
-		    'availabilityEnds' => ['DateTime', 'Time', 'Date'],
90
-		    'availabilityStarts' => ['Date', 'Time', 'DateTime'],
91
-		    'availableAtOrFrom' => ['Place'],
92
-		    'availableDeliveryMethod' => ['DeliveryMethod'],
93
-		    'businessFunction' => ['BusinessFunction'],
94
-		    'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
95
-		    'checkoutPageURLTemplate' => ['Text'],
96
-		    'deliveryLeadTime' => ['QuantitativeValue'],
97
-		    'description' => ['Text'],
98
-		    'disambiguatingDescription' => ['Text'],
99
-		    'eligibleCustomerType' => ['BusinessEntityType'],
100
-		    'eligibleDuration' => ['QuantitativeValue'],
101
-		    'eligibleQuantity' => ['QuantitativeValue'],
102
-		    'eligibleRegion' => ['Place', 'Text', 'GeoShape'],
103
-		    'eligibleTransactionVolume' => ['PriceSpecification'],
104
-		    'gtin' => ['Text', 'URL'],
105
-		    'gtin12' => ['Text'],
106
-		    'gtin13' => ['Text'],
107
-		    'gtin14' => ['Text'],
108
-		    'gtin8' => ['Text'],
109
-		    'hasAdultConsideration' => ['AdultOrientedEnumeration'],
110
-		    'hasMeasurement' => ['QuantitativeValue'],
111
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
112
-		    'highPrice' => ['Number', 'Text'],
113
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
114
-		    'image' => ['URL', 'ImageObject'],
115
-		    'includesObject' => ['TypeAndQuantityNode'],
116
-		    'ineligibleRegion' => ['Place', 'GeoShape', 'Text'],
117
-		    'inventoryLevel' => ['QuantitativeValue'],
118
-		    'isFamilyFriendly' => ['Boolean'],
119
-		    'itemCondition' => ['OfferItemCondition'],
120
-		    'itemOffered' => ['Product', 'Service', 'MenuItem', 'CreativeWork', 'Event', 'AggregateOffer', 'Trip'],
121
-		    'leaseLength' => ['QuantitativeValue', 'Duration'],
122
-		    'lowPrice' => ['Number', 'Text'],
123
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
124
-		    'mobileUrl' => ['Text'],
125
-		    'mpn' => ['Text'],
126
-		    'name' => ['Text'],
127
-		    'offerCount' => ['Integer'],
128
-		    'offeredBy' => ['Organization', 'Person'],
129
-		    'offers' => ['Demand', 'Offer'],
130
-		    'potentialAction' => ['Action'],
131
-		    'price' => ['Text', 'Number'],
132
-		    'priceCurrency' => ['Text'],
133
-		    'priceSpecification' => ['PriceSpecification'],
134
-		    'priceValidUntil' => ['Date'],
135
-		    'review' => ['Review'],
136
-		    'reviews' => ['Review'],
137
-		    'sameAs' => ['URL'],
138
-		    'seller' => ['Organization', 'Person'],
139
-		    'serialNumber' => ['Text'],
140
-		    'shippingDetails' => ['OfferShippingDetails'],
141
-		    'sku' => ['Text'],
142
-		    'subjectOf' => ['Event', 'CreativeWork'],
143
-		    'url' => ['URL'],
144
-		    'validFrom' => ['Date', 'DateTime'],
145
-		    'validThrough' => ['Date', 'DateTime'],
146
-		    'warranty' => ['WarrantyPromise']
147
-		];
148
-	}
74
+    /**
75
+     * @inheritdoc
76
+     */
77
+    public function getSchemaPropertyExpectedTypes(): array
78
+    {
79
+        return [
80
+            'acceptedPaymentMethod' => ['PaymentMethod', 'LoanOrCredit'],
81
+            'addOn' => ['Offer'],
82
+            'additionalType' => ['URL'],
83
+            'advanceBookingRequirement' => ['QuantitativeValue'],
84
+            'aggregateRating' => ['AggregateRating'],
85
+            'alternateName' => ['Text'],
86
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
87
+            'asin' => ['Text', 'URL'],
88
+            'availability' => ['ItemAvailability'],
89
+            'availabilityEnds' => ['DateTime', 'Time', 'Date'],
90
+            'availabilityStarts' => ['Date', 'Time', 'DateTime'],
91
+            'availableAtOrFrom' => ['Place'],
92
+            'availableDeliveryMethod' => ['DeliveryMethod'],
93
+            'businessFunction' => ['BusinessFunction'],
94
+            'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
95
+            'checkoutPageURLTemplate' => ['Text'],
96
+            'deliveryLeadTime' => ['QuantitativeValue'],
97
+            'description' => ['Text'],
98
+            'disambiguatingDescription' => ['Text'],
99
+            'eligibleCustomerType' => ['BusinessEntityType'],
100
+            'eligibleDuration' => ['QuantitativeValue'],
101
+            'eligibleQuantity' => ['QuantitativeValue'],
102
+            'eligibleRegion' => ['Place', 'Text', 'GeoShape'],
103
+            'eligibleTransactionVolume' => ['PriceSpecification'],
104
+            'gtin' => ['Text', 'URL'],
105
+            'gtin12' => ['Text'],
106
+            'gtin13' => ['Text'],
107
+            'gtin14' => ['Text'],
108
+            'gtin8' => ['Text'],
109
+            'hasAdultConsideration' => ['AdultOrientedEnumeration'],
110
+            'hasMeasurement' => ['QuantitativeValue'],
111
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
112
+            'highPrice' => ['Number', 'Text'],
113
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
114
+            'image' => ['URL', 'ImageObject'],
115
+            'includesObject' => ['TypeAndQuantityNode'],
116
+            'ineligibleRegion' => ['Place', 'GeoShape', 'Text'],
117
+            'inventoryLevel' => ['QuantitativeValue'],
118
+            'isFamilyFriendly' => ['Boolean'],
119
+            'itemCondition' => ['OfferItemCondition'],
120
+            'itemOffered' => ['Product', 'Service', 'MenuItem', 'CreativeWork', 'Event', 'AggregateOffer', 'Trip'],
121
+            'leaseLength' => ['QuantitativeValue', 'Duration'],
122
+            'lowPrice' => ['Number', 'Text'],
123
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
124
+            'mobileUrl' => ['Text'],
125
+            'mpn' => ['Text'],
126
+            'name' => ['Text'],
127
+            'offerCount' => ['Integer'],
128
+            'offeredBy' => ['Organization', 'Person'],
129
+            'offers' => ['Demand', 'Offer'],
130
+            'potentialAction' => ['Action'],
131
+            'price' => ['Text', 'Number'],
132
+            'priceCurrency' => ['Text'],
133
+            'priceSpecification' => ['PriceSpecification'],
134
+            'priceValidUntil' => ['Date'],
135
+            'review' => ['Review'],
136
+            'reviews' => ['Review'],
137
+            'sameAs' => ['URL'],
138
+            'seller' => ['Organization', 'Person'],
139
+            'serialNumber' => ['Text'],
140
+            'shippingDetails' => ['OfferShippingDetails'],
141
+            'sku' => ['Text'],
142
+            'subjectOf' => ['Event', 'CreativeWork'],
143
+            'url' => ['URL'],
144
+            'validFrom' => ['Date', 'DateTime'],
145
+            'validThrough' => ['Date', 'DateTime'],
146
+            'warranty' => ['WarrantyPromise']
147
+        ];
148
+    }
149 149
 
150 150
 
151
-	/**
152
-	 * @inheritdoc
153
-	 */
154
-	public function getSchemaPropertyDescriptions(): array
155
-	{
156
-		return [
157
-		    'acceptedPaymentMethod' => 'The payment method(s) accepted by seller for this offer.',
158
-		    'addOn' => 'An additional offer that can only be obtained in combination with the first base offer (e.g. supplements and extensions that are available for a surcharge).',
159
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
160
-		    'advanceBookingRequirement' => 'The amount of time that is required between accepting the offer and the actual usage of the resource or service.',
161
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
162
-		    'alternateName' => 'An alias for the item.',
163
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
164
-		    'asin' => 'An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)\'s article).  Note also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details. ASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too.',
165
-		    'availability' => 'The availability of this item—for example In stock, Out of stock, Pre-order, etc.',
166
-		    'availabilityEnds' => 'The end of the availability of the product or service included in the offer.',
167
-		    'availabilityStarts' => 'The beginning of the availability of the product or service included in the offer.',
168
-		    'availableAtOrFrom' => 'The place(s) from which the offer can be obtained (e.g. store locations).',
169
-		    'availableDeliveryMethod' => 'The delivery method(s) available for this offer.',
170
-		    'businessFunction' => 'The business function (e.g. sell, lease, repair, dispose) of the offer or component of a bundle (TypeAndQuantityNode). The default is http://purl.org/goodrelations/v1#Sell.',
171
-		    'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
172
-		    'checkoutPageURLTemplate' => 'A URL template (RFC 6570) for a checkout page for an offer. This approach allows merchants to specify a URL for online checkout of the offered product, by interpolating parameters such as the logged in user ID, product ID, quantity, discount code etc. Parameter naming and standardization are not specified here.',
173
-		    'deliveryLeadTime' => 'The typical delay between the receipt of the order and the goods either leaving the warehouse or being prepared for pickup, in case the delivery method is on site pickup.',
174
-		    'description' => 'A description of the item.',
175
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
176
-		    'eligibleCustomerType' => 'The type(s) of customers for which the given offer is valid.',
177
-		    'eligibleDuration' => 'The duration for which the given offer is valid.',
178
-		    'eligibleQuantity' => 'The interval and unit of measurement of ordering quantities for which the offer or price specification is valid. This allows e.g. specifying that a certain freight charge is valid only for a certain quantity.',
179
-		    'eligibleRegion' => 'The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.  See also [[ineligibleRegion]].     ',
180
-		    'eligibleTransactionVolume' => 'The transaction volume, in a monetary unit, for which the offer or price specification is valid, e.g. for indicating a minimal purchasing volume, to express free shipping above a certain order volume, or to limit the acceptance of credit cards to purchases to a certain minimal amount.',
181
-		    'gtin' => 'A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.  The GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) express GTINs as URLs (URIs, IRIs, etc.). Details including regular expression examples can be found in, Section 6 of the GS1 URI Syntax specification; see also [schema.org tracking issue](https://github.com/schemaorg/schemaorg/issues/3156#issuecomment-1209522809) for schema.org-specific discussion. A correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a "GS1 Digital Link" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1\'s GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.  Note also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details.',
182
-		    'gtin12' => 'The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
183
-		    'gtin13' => 'The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
184
-		    'gtin14' => 'The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
185
-		    'gtin8' => 'The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
186
-		    'hasAdultConsideration' => 'Used to tag an item to be intended or suitable for consumption or use by adults only.',
187
-		    'hasMeasurement' => 'A product measurement, for example the inseam of pants, the wheel size of a bicycle, or the gauge of a screw. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.',
188
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
189
-		    'highPrice' => 'The highest price of all offers available.  Usage guidelines:  * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
190
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
191
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
192
-		    'includesObject' => 'This links to a node or nodes indicating the exact quantity of the products included in  an [[Offer]] or [[ProductCollection]].',
193
-		    'ineligibleRegion' => 'The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.  See also [[eligibleRegion]].       ',
194
-		    'inventoryLevel' => 'The current approximate inventory level for the item or items.',
195
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
196
-		    'itemCondition' => 'A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.',
197
-		    'itemOffered' => 'An item being offered (or demanded). The transactional nature of the offer or demand is documented using [[businessFunction]], e.g. sell, lease etc. While several common expected types are listed explicitly in this definition, others can be used. Using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.',
198
-		    'leaseLength' => 'Length of the lease for some [[Accommodation]], either particular to some [[Offer]] or in some cases intrinsic to the property.',
199
-		    'lowPrice' => 'The lowest price of all offers available.  Usage guidelines:  * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
200
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
201
-		    'mobileUrl' => 'The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated \'mobile site\'.  To discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional "mobile site" alongside the main one. It should not be taken as an endorsement of this publication style.     ',
202
-		    'mpn' => 'The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers.',
203
-		    'name' => 'The name of the item.',
204
-		    'offerCount' => 'The number of offers for the product.',
205
-		    'offeredBy' => 'A pointer to the organization or person making the offer.',
206
-		    'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
207
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
208
-		    'price' => 'The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.  Usage guidelines:  * Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as \'$\' in the value. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator. * Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols.       ',
209
-		    'priceCurrency' => 'The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
210
-		    'priceSpecification' => 'One or more detailed price specifications, indicating the unit price and delivery or payment charges.',
211
-		    'priceValidUntil' => 'The date after which the price is no longer available.',
212
-		    'review' => 'A review of the item.',
213
-		    'reviews' => 'Review of the item.',
214
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
215
-		    'seller' => 'An entity which offers (sells / leases / lends / loans) the services / goods.  A seller may also be a provider.',
216
-		    'serialNumber' => 'The serial number or any alphanumeric identifier of a particular product. When attached to an offer, it is a shortcut for the serial number of the product included in the offer.',
217
-		    'shippingDetails' => 'Indicates information about the shipping policies and options associated with an [[Offer]].',
218
-		    'sku' => 'The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers.',
219
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
220
-		    'url' => 'URL of the item.',
221
-		    'validFrom' => 'The date when the item becomes valid.',
222
-		    'validThrough' => 'The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.',
223
-		    'warranty' => 'The warranty promise(s) included in the offer.'
224
-		];
225
-	}
151
+    /**
152
+     * @inheritdoc
153
+     */
154
+    public function getSchemaPropertyDescriptions(): array
155
+    {
156
+        return [
157
+            'acceptedPaymentMethod' => 'The payment method(s) accepted by seller for this offer.',
158
+            'addOn' => 'An additional offer that can only be obtained in combination with the first base offer (e.g. supplements and extensions that are available for a surcharge).',
159
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
160
+            'advanceBookingRequirement' => 'The amount of time that is required between accepting the offer and the actual usage of the resource or service.',
161
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
162
+            'alternateName' => 'An alias for the item.',
163
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
164
+            'asin' => 'An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)\'s article).  Note also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details. ASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too.',
165
+            'availability' => 'The availability of this item—for example In stock, Out of stock, Pre-order, etc.',
166
+            'availabilityEnds' => 'The end of the availability of the product or service included in the offer.',
167
+            'availabilityStarts' => 'The beginning of the availability of the product or service included in the offer.',
168
+            'availableAtOrFrom' => 'The place(s) from which the offer can be obtained (e.g. store locations).',
169
+            'availableDeliveryMethod' => 'The delivery method(s) available for this offer.',
170
+            'businessFunction' => 'The business function (e.g. sell, lease, repair, dispose) of the offer or component of a bundle (TypeAndQuantityNode). The default is http://purl.org/goodrelations/v1#Sell.',
171
+            'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
172
+            'checkoutPageURLTemplate' => 'A URL template (RFC 6570) for a checkout page for an offer. This approach allows merchants to specify a URL for online checkout of the offered product, by interpolating parameters such as the logged in user ID, product ID, quantity, discount code etc. Parameter naming and standardization are not specified here.',
173
+            'deliveryLeadTime' => 'The typical delay between the receipt of the order and the goods either leaving the warehouse or being prepared for pickup, in case the delivery method is on site pickup.',
174
+            'description' => 'A description of the item.',
175
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
176
+            'eligibleCustomerType' => 'The type(s) of customers for which the given offer is valid.',
177
+            'eligibleDuration' => 'The duration for which the given offer is valid.',
178
+            'eligibleQuantity' => 'The interval and unit of measurement of ordering quantities for which the offer or price specification is valid. This allows e.g. specifying that a certain freight charge is valid only for a certain quantity.',
179
+            'eligibleRegion' => 'The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.  See also [[ineligibleRegion]].     ',
180
+            'eligibleTransactionVolume' => 'The transaction volume, in a monetary unit, for which the offer or price specification is valid, e.g. for indicating a minimal purchasing volume, to express free shipping above a certain order volume, or to limit the acceptance of credit cards to purchases to a certain minimal amount.',
181
+            'gtin' => 'A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.  The GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) express GTINs as URLs (URIs, IRIs, etc.). Details including regular expression examples can be found in, Section 6 of the GS1 URI Syntax specification; see also [schema.org tracking issue](https://github.com/schemaorg/schemaorg/issues/3156#issuecomment-1209522809) for schema.org-specific discussion. A correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a "GS1 Digital Link" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1\'s GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.  Note also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details.',
182
+            'gtin12' => 'The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
183
+            'gtin13' => 'The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
184
+            'gtin14' => 'The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
185
+            'gtin8' => 'The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.',
186
+            'hasAdultConsideration' => 'Used to tag an item to be intended or suitable for consumption or use by adults only.',
187
+            'hasMeasurement' => 'A product measurement, for example the inseam of pants, the wheel size of a bicycle, or the gauge of a screw. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.',
188
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
189
+            'highPrice' => 'The highest price of all offers available.  Usage guidelines:  * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
190
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
191
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
192
+            'includesObject' => 'This links to a node or nodes indicating the exact quantity of the products included in  an [[Offer]] or [[ProductCollection]].',
193
+            'ineligibleRegion' => 'The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.  See also [[eligibleRegion]].       ',
194
+            'inventoryLevel' => 'The current approximate inventory level for the item or items.',
195
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
196
+            'itemCondition' => 'A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.',
197
+            'itemOffered' => 'An item being offered (or demanded). The transactional nature of the offer or demand is documented using [[businessFunction]], e.g. sell, lease etc. While several common expected types are listed explicitly in this definition, others can be used. Using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.',
198
+            'leaseLength' => 'Length of the lease for some [[Accommodation]], either particular to some [[Offer]] or in some cases intrinsic to the property.',
199
+            'lowPrice' => 'The lowest price of all offers available.  Usage guidelines:  * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
200
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
201
+            'mobileUrl' => 'The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated \'mobile site\'.  To discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional "mobile site" alongside the main one. It should not be taken as an endorsement of this publication style.     ',
202
+            'mpn' => 'The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers.',
203
+            'name' => 'The name of the item.',
204
+            'offerCount' => 'The number of offers for the product.',
205
+            'offeredBy' => 'A pointer to the organization or person making the offer.',
206
+            'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
207
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
208
+            'price' => 'The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.  Usage guidelines:  * Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as \'$\' in the value. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator. * Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols.       ',
209
+            'priceCurrency' => 'The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
210
+            'priceSpecification' => 'One or more detailed price specifications, indicating the unit price and delivery or payment charges.',
211
+            'priceValidUntil' => 'The date after which the price is no longer available.',
212
+            'review' => 'A review of the item.',
213
+            'reviews' => 'Review of the item.',
214
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
215
+            'seller' => 'An entity which offers (sells / leases / lends / loans) the services / goods.  A seller may also be a provider.',
216
+            'serialNumber' => 'The serial number or any alphanumeric identifier of a particular product. When attached to an offer, it is a shortcut for the serial number of the product included in the offer.',
217
+            'shippingDetails' => 'Indicates information about the shipping policies and options associated with an [[Offer]].',
218
+            'sku' => 'The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers.',
219
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
220
+            'url' => 'URL of the item.',
221
+            'validFrom' => 'The date when the item becomes valid.',
222
+            'validThrough' => 'The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.',
223
+            'warranty' => 'The warranty promise(s) included in the offer.'
224
+        ];
225
+    }
226 226
 
227 227
 
228
-	/**
229
-	 * @inheritdoc
230
-	 */
231
-	public function getGoogleRequiredSchema(): array
232
-	{
233
-		return ['description', 'name'];
234
-	}
228
+    /**
229
+     * @inheritdoc
230
+     */
231
+    public function getGoogleRequiredSchema(): array
232
+    {
233
+        return ['description', 'name'];
234
+    }
235 235
 
236 236
 
237
-	/**
238
-	 * @inheritdoc
239
-	 */
240
-	public function getGoogleRecommendedSchema(): array
241
-	{
242
-		return ['image', 'url'];
243
-	}
237
+    /**
238
+     * @inheritdoc
239
+     */
240
+    public function getGoogleRecommendedSchema(): array
241
+    {
242
+        return ['image', 'url'];
243
+    }
244 244
 
245 245
 
246
-	/**
247
-	 * @inheritdoc
248
-	 */
249
-	public function defineRules(): array
250
-	{
251
-		$rules = parent::defineRules();
252
-		    $rules = array_merge($rules, [
253
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
254
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
255
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
256
-		    ]);
246
+    /**
247
+     * @inheritdoc
248
+     */
249
+    public function defineRules(): array
250
+    {
251
+        $rules = parent::defineRules();
252
+            $rules = array_merge($rules, [
253
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
254
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
255
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
256
+            ]);
257 257
 
258
-		    return $rules;
259
-	}
258
+            return $rules;
259
+    }
260 260
 }
Please login to merge, or discard this patch.