Passed
Push — develop ( 90ed2c...5af6db )
by Andrew
09:42
created
src/models/jsonld/EventSeries.php 1 patch
Indentation   +202 added lines, -202 removed lines patch added patch discarded remove patch
@@ -38,206 +38,206 @@
 block discarded – undo
38 38
  */
39 39
 class EventSeries extends MetaJsonLd implements EventSeriesInterface, EventInterface, ThingInterface, SeriesInterface, IntangibleInterface
40 40
 {
41
-	use EventSeriesTrait;
42
-	use EventTrait;
43
-	use ThingTrait;
44
-	use SeriesTrait;
45
-	use IntangibleTrait;
46
-
47
-	/**
48
-	 * The Schema.org Type Name
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeName = 'EventSeries';
53
-
54
-	/**
55
-	 * The Schema.org Type Scope
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeScope = 'https://schema.org/EventSeries';
60
-
61
-	/**
62
-	 * The Schema.org Type Extends
63
-	 *
64
-	 * @var string
65
-	 */
66
-	public static $schemaTypeExtends = 'Event';
67
-
68
-	/**
69
-	 * The Schema.org Type Description
70
-	 *
71
-	 * @var string
72
-	 */
73
-	public static $schemaTypeDescription = "A series of [[Event]]s. Included events can relate with the series using the [[superEvent]] property.\n\nAn EventSeries is a collection of events that share some unifying characteristic. For example, \"The Olympic Games\" is a series, which\nis repeated regularly. The \"2012 London Olympics\" can be presented both as an [[Event]] in the series \"Olympic Games\", and as an\n[[EventSeries]] that included a number of sporting competitions as Events.\n\nThe nature of the association between the events in an [[EventSeries]] can vary, but typical examples could\ninclude a thematic event series (e.g. topical meetups or classes), or a series of regular events that share a location, attendee group and/or organizers.\n\nEventSeries has been defined as a kind of Event to make it easy for publishers to use it in an Event context without\nworrying about which kinds of series are really event-like enough to call an Event. In general an EventSeries\nmay seem more Event-like when the period of time is compact and when aspects such as location are fixed, but\nit may also sometimes prove useful to describe a longer-term series as an Event.\n   ";
74
-
75
-
76
-	/**
77
-	 * @inheritdoc
78
-	 */
79
-	public function getSchemaPropertyNames(): array
80
-	{
81
-		return array_keys($this->getSchemaPropertyExpectedTypes());
82
-	}
83
-
84
-
85
-	/**
86
-	 * @inheritdoc
87
-	 */
88
-	public function getSchemaPropertyExpectedTypes(): array
89
-	{
90
-		return [
91
-		    'about' => ['Thing'],
92
-		    'actor' => ['Person'],
93
-		    'additionalType' => ['URL'],
94
-		    'aggregateRating' => ['AggregateRating'],
95
-		    'alternateName' => ['Text'],
96
-		    'attendee' => ['Organization', 'Person'],
97
-		    'attendees' => ['Organization', 'Person'],
98
-		    'audience' => ['Audience'],
99
-		    'composer' => ['Organization', 'Person'],
100
-		    'contributor' => ['Organization', 'Person'],
101
-		    'description' => ['Text'],
102
-		    'director' => ['Person'],
103
-		    'disambiguatingDescription' => ['Text'],
104
-		    'doorTime' => ['Time', 'DateTime'],
105
-		    'duration' => ['Duration'],
106
-		    'endDate' => ['DateTime', 'Date'],
107
-		    'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
108
-		    'eventSchedule' => ['Schedule'],
109
-		    'eventStatus' => ['EventStatusType'],
110
-		    'funder' => ['Organization', 'Person'],
111
-		    'funding' => ['Grant'],
112
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
113
-		    'image' => ['URL', 'ImageObject'],
114
-		    'inLanguage' => ['Text', 'Language'],
115
-		    'isAccessibleForFree' => ['Boolean'],
116
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
117
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
118
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
119
-		    'maximumAttendeeCapacity' => ['Integer'],
120
-		    'maximumPhysicalAttendeeCapacity' => ['Integer'],
121
-		    'maximumVirtualAttendeeCapacity' => ['Integer'],
122
-		    'name' => ['Text'],
123
-		    'offers' => ['Demand', 'Offer'],
124
-		    'organizer' => ['Organization', 'Person'],
125
-		    'performer' => ['Person', 'Organization'],
126
-		    'performers' => ['Person', 'Organization'],
127
-		    'potentialAction' => ['Action'],
128
-		    'previousStartDate' => ['Date'],
129
-		    'recordedIn' => ['CreativeWork'],
130
-		    'remainingAttendeeCapacity' => ['Integer'],
131
-		    'review' => ['Review'],
132
-		    'sameAs' => ['URL'],
133
-		    'sponsor' => ['Organization', 'Person'],
134
-		    'startDate' => ['DateTime', 'Date'],
135
-		    'subEvent' => ['Event'],
136
-		    'subEvents' => ['Event'],
137
-		    'subjectOf' => ['Event', 'CreativeWork'],
138
-		    'superEvent' => ['Event'],
139
-		    'translator' => ['Organization', 'Person'],
140
-		    'typicalAgeRange' => ['Text'],
141
-		    'url' => ['URL'],
142
-		    'workFeatured' => ['CreativeWork'],
143
-		    'workPerformed' => ['CreativeWork']
144
-		];
145
-	}
146
-
147
-
148
-	/**
149
-	 * @inheritdoc
150
-	 */
151
-	public function getSchemaPropertyDescriptions(): array
152
-	{
153
-		return [
154
-		    'about' => 'The subject matter of the content.',
155
-		    'actor' => 'An actor, e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.',
156
-		    '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.',
157
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
158
-		    'alternateName' => 'An alias for the item.',
159
-		    'attendee' => 'A person or organization attending the event.',
160
-		    'attendees' => 'A person attending the event.',
161
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
162
-		    'composer' => 'The person or organization who wrote a composition, or who is the composer of a work performed at some event.',
163
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
164
-		    'description' => 'A description of the item.',
165
-		    'director' => 'A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.',
166
-		    '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.',
167
-		    'doorTime' => 'The time admission will commence.',
168
-		    'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
169
-		    'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
170
-		    'eventAttendanceMode' => 'The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix.',
171
-		    'eventSchedule' => 'Associates an [[Event]] with a [[Schedule]]. There are circumstances where it is preferable to share a schedule for a series of       repeating events rather than data on the individual events themselves. For example, a website or application might prefer to publish a schedule for a weekly       gym class rather than provide data on every event. A schedule could be processed by applications to add forthcoming events to a calendar. An [[Event]] that       is associated with a [[Schedule]] using this property should not have [[startDate]] or [[endDate]] properties. These are instead defined within the associated       [[Schedule]], this avoids any ambiguity for clients using the data. The property might have repeated values to specify different schedules, e.g. for different months       or seasons.',
172
-		    'eventStatus' => 'An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.',
173
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
174
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
175
-		    '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.         ',
176
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
177
-		    'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
178
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
179
-		    '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.',
180
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
181
-		    '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.',
182
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
183
-		    'maximumPhysicalAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]]). ',
184
-		    'maximumVirtualAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]]). ',
185
-		    'name' => 'The name of the item.',
186
-		    '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.       ',
187
-		    'organizer' => 'An organizer of an Event.',
188
-		    'performer' => 'A performer at the event—for example, a presenter, musician, musical group or actor.',
189
-		    'performers' => 'The main performer or performers of the event—for example, a presenter, musician, or actor.',
190
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
191
-		    'previousStartDate' => 'Used in conjunction with eventStatus for rescheduled or cancelled events. This property contains the previously scheduled start date. For rescheduled events, the startDate property should be used for the newly scheduled start date. In the (rare) case of an event that has been postponed and rescheduled multiple times, this field may be repeated.',
192
-		    'recordedIn' => 'The CreativeWork that captured all or part of this Event.',
193
-		    'remainingAttendeeCapacity' => 'The number of attendee places for an event that remain unallocated.',
194
-		    'review' => 'A review of the item.',
195
-		    '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.',
196
-		    '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.',
197
-		    'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
198
-		    'subEvent' => 'An Event that is part of this event. For example, a conference event includes many presentations, each of which is a subEvent of the conference.',
199
-		    'subEvents' => 'Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.',
200
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
201
-		    'superEvent' => 'An event that this event is a part of. For example, a collection of individual music performances might each have a music festival as their superEvent.',
202
-		    'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
203
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
204
-		    'url' => 'URL of the item.',
205
-		    'workFeatured' => 'A work featured in some event, e.g. exhibited in an ExhibitionEvent.        Specific subproperties are available for workPerformed (e.g. a play), or a workPresented (a Movie at a ScreeningEvent).',
206
-		    'workPerformed' => 'A work performed in some event, for example a play performed in a TheaterEvent.'
207
-		];
208
-	}
209
-
210
-
211
-	/**
212
-	 * @inheritdoc
213
-	 */
214
-	public function getGoogleRequiredSchema(): array
215
-	{
216
-		return ['description', 'name'];
217
-	}
218
-
219
-
220
-	/**
221
-	 * @inheritdoc
222
-	 */
223
-	public function getGoogleRecommendedSchema(): array
224
-	{
225
-		return ['image', 'url'];
226
-	}
227
-
228
-
229
-	/**
230
-	 * @inheritdoc
231
-	 */
232
-	public function defineRules(): array
233
-	{
234
-		$rules = parent::defineRules();
235
-		    $rules = array_merge($rules, [
236
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
237
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239
-		    ]);
240
-
241
-		    return $rules;
242
-	}
41
+    use EventSeriesTrait;
42
+    use EventTrait;
43
+    use ThingTrait;
44
+    use SeriesTrait;
45
+    use IntangibleTrait;
46
+
47
+    /**
48
+     * The Schema.org Type Name
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeName = 'EventSeries';
53
+
54
+    /**
55
+     * The Schema.org Type Scope
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeScope = 'https://schema.org/EventSeries';
60
+
61
+    /**
62
+     * The Schema.org Type Extends
63
+     *
64
+     * @var string
65
+     */
66
+    public static $schemaTypeExtends = 'Event';
67
+
68
+    /**
69
+     * The Schema.org Type Description
70
+     *
71
+     * @var string
72
+     */
73
+    public static $schemaTypeDescription = "A series of [[Event]]s. Included events can relate with the series using the [[superEvent]] property.\n\nAn EventSeries is a collection of events that share some unifying characteristic. For example, \"The Olympic Games\" is a series, which\nis repeated regularly. The \"2012 London Olympics\" can be presented both as an [[Event]] in the series \"Olympic Games\", and as an\n[[EventSeries]] that included a number of sporting competitions as Events.\n\nThe nature of the association between the events in an [[EventSeries]] can vary, but typical examples could\ninclude a thematic event series (e.g. topical meetups or classes), or a series of regular events that share a location, attendee group and/or organizers.\n\nEventSeries has been defined as a kind of Event to make it easy for publishers to use it in an Event context without\nworrying about which kinds of series are really event-like enough to call an Event. In general an EventSeries\nmay seem more Event-like when the period of time is compact and when aspects such as location are fixed, but\nit may also sometimes prove useful to describe a longer-term series as an Event.\n   ";
74
+
75
+
76
+    /**
77
+     * @inheritdoc
78
+     */
79
+    public function getSchemaPropertyNames(): array
80
+    {
81
+        return array_keys($this->getSchemaPropertyExpectedTypes());
82
+    }
83
+
84
+
85
+    /**
86
+     * @inheritdoc
87
+     */
88
+    public function getSchemaPropertyExpectedTypes(): array
89
+    {
90
+        return [
91
+            'about' => ['Thing'],
92
+            'actor' => ['Person'],
93
+            'additionalType' => ['URL'],
94
+            'aggregateRating' => ['AggregateRating'],
95
+            'alternateName' => ['Text'],
96
+            'attendee' => ['Organization', 'Person'],
97
+            'attendees' => ['Organization', 'Person'],
98
+            'audience' => ['Audience'],
99
+            'composer' => ['Organization', 'Person'],
100
+            'contributor' => ['Organization', 'Person'],
101
+            'description' => ['Text'],
102
+            'director' => ['Person'],
103
+            'disambiguatingDescription' => ['Text'],
104
+            'doorTime' => ['Time', 'DateTime'],
105
+            'duration' => ['Duration'],
106
+            'endDate' => ['DateTime', 'Date'],
107
+            'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
108
+            'eventSchedule' => ['Schedule'],
109
+            'eventStatus' => ['EventStatusType'],
110
+            'funder' => ['Organization', 'Person'],
111
+            'funding' => ['Grant'],
112
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
113
+            'image' => ['URL', 'ImageObject'],
114
+            'inLanguage' => ['Text', 'Language'],
115
+            'isAccessibleForFree' => ['Boolean'],
116
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
117
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
118
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
119
+            'maximumAttendeeCapacity' => ['Integer'],
120
+            'maximumPhysicalAttendeeCapacity' => ['Integer'],
121
+            'maximumVirtualAttendeeCapacity' => ['Integer'],
122
+            'name' => ['Text'],
123
+            'offers' => ['Demand', 'Offer'],
124
+            'organizer' => ['Organization', 'Person'],
125
+            'performer' => ['Person', 'Organization'],
126
+            'performers' => ['Person', 'Organization'],
127
+            'potentialAction' => ['Action'],
128
+            'previousStartDate' => ['Date'],
129
+            'recordedIn' => ['CreativeWork'],
130
+            'remainingAttendeeCapacity' => ['Integer'],
131
+            'review' => ['Review'],
132
+            'sameAs' => ['URL'],
133
+            'sponsor' => ['Organization', 'Person'],
134
+            'startDate' => ['DateTime', 'Date'],
135
+            'subEvent' => ['Event'],
136
+            'subEvents' => ['Event'],
137
+            'subjectOf' => ['Event', 'CreativeWork'],
138
+            'superEvent' => ['Event'],
139
+            'translator' => ['Organization', 'Person'],
140
+            'typicalAgeRange' => ['Text'],
141
+            'url' => ['URL'],
142
+            'workFeatured' => ['CreativeWork'],
143
+            'workPerformed' => ['CreativeWork']
144
+        ];
145
+    }
146
+
147
+
148
+    /**
149
+     * @inheritdoc
150
+     */
151
+    public function getSchemaPropertyDescriptions(): array
152
+    {
153
+        return [
154
+            'about' => 'The subject matter of the content.',
155
+            'actor' => 'An actor, e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.',
156
+            '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.',
157
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
158
+            'alternateName' => 'An alias for the item.',
159
+            'attendee' => 'A person or organization attending the event.',
160
+            'attendees' => 'A person attending the event.',
161
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
162
+            'composer' => 'The person or organization who wrote a composition, or who is the composer of a work performed at some event.',
163
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
164
+            'description' => 'A description of the item.',
165
+            'director' => 'A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.',
166
+            '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.',
167
+            'doorTime' => 'The time admission will commence.',
168
+            'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
169
+            'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
170
+            'eventAttendanceMode' => 'The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix.',
171
+            'eventSchedule' => 'Associates an [[Event]] with a [[Schedule]]. There are circumstances where it is preferable to share a schedule for a series of       repeating events rather than data on the individual events themselves. For example, a website or application might prefer to publish a schedule for a weekly       gym class rather than provide data on every event. A schedule could be processed by applications to add forthcoming events to a calendar. An [[Event]] that       is associated with a [[Schedule]] using this property should not have [[startDate]] or [[endDate]] properties. These are instead defined within the associated       [[Schedule]], this avoids any ambiguity for clients using the data. The property might have repeated values to specify different schedules, e.g. for different months       or seasons.',
172
+            'eventStatus' => 'An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.',
173
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
174
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
175
+            '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.         ',
176
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
177
+            'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
178
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
179
+            '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.',
180
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
181
+            '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.',
182
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
183
+            'maximumPhysicalAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]]). ',
184
+            'maximumVirtualAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]]). ',
185
+            'name' => 'The name of the item.',
186
+            '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.       ',
187
+            'organizer' => 'An organizer of an Event.',
188
+            'performer' => 'A performer at the event—for example, a presenter, musician, musical group or actor.',
189
+            'performers' => 'The main performer or performers of the event—for example, a presenter, musician, or actor.',
190
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
191
+            'previousStartDate' => 'Used in conjunction with eventStatus for rescheduled or cancelled events. This property contains the previously scheduled start date. For rescheduled events, the startDate property should be used for the newly scheduled start date. In the (rare) case of an event that has been postponed and rescheduled multiple times, this field may be repeated.',
192
+            'recordedIn' => 'The CreativeWork that captured all or part of this Event.',
193
+            'remainingAttendeeCapacity' => 'The number of attendee places for an event that remain unallocated.',
194
+            'review' => 'A review of the item.',
195
+            '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.',
196
+            '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.',
197
+            'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
198
+            'subEvent' => 'An Event that is part of this event. For example, a conference event includes many presentations, each of which is a subEvent of the conference.',
199
+            'subEvents' => 'Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.',
200
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
201
+            'superEvent' => 'An event that this event is a part of. For example, a collection of individual music performances might each have a music festival as their superEvent.',
202
+            'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
203
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
204
+            'url' => 'URL of the item.',
205
+            'workFeatured' => 'A work featured in some event, e.g. exhibited in an ExhibitionEvent.        Specific subproperties are available for workPerformed (e.g. a play), or a workPresented (a Movie at a ScreeningEvent).',
206
+            'workPerformed' => 'A work performed in some event, for example a play performed in a TheaterEvent.'
207
+        ];
208
+    }
209
+
210
+
211
+    /**
212
+     * @inheritdoc
213
+     */
214
+    public function getGoogleRequiredSchema(): array
215
+    {
216
+        return ['description', 'name'];
217
+    }
218
+
219
+
220
+    /**
221
+     * @inheritdoc
222
+     */
223
+    public function getGoogleRecommendedSchema(): array
224
+    {
225
+        return ['image', 'url'];
226
+    }
227
+
228
+
229
+    /**
230
+     * @inheritdoc
231
+     */
232
+    public function defineRules(): array
233
+    {
234
+        $rules = parent::defineRules();
235
+            $rules = array_merge($rules, [
236
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
237
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239
+            ]);
240
+
241
+            return $rules;
242
+    }
243 243
 }
Please login to merge, or discard this patch.
src/models/jsonld/Dermatology.php 1 patch
Indentation   +317 added lines, -317 removed lines patch added patch discarded remove patch
@@ -24,338 +24,338 @@
 block discarded – undo
24 24
  */
25 25
 class Dermatology extends MetaJsonLd implements DermatologyInterface, MedicalBusinessInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface, MedicalSpecialtyInterface, SpecialtyInterface, EnumerationInterface, IntangibleInterface, MedicalEnumerationInterface
26 26
 {
27
-	use DermatologyTrait;
28
-	use MedicalBusinessTrait;
29
-	use LocalBusinessTrait;
30
-	use PlaceTrait;
31
-	use ThingTrait;
32
-	use OrganizationTrait;
33
-	use MedicalSpecialtyTrait;
34
-	use SpecialtyTrait;
35
-	use EnumerationTrait;
36
-	use IntangibleTrait;
37
-	use MedicalEnumerationTrait;
27
+    use DermatologyTrait;
28
+    use MedicalBusinessTrait;
29
+    use LocalBusinessTrait;
30
+    use PlaceTrait;
31
+    use ThingTrait;
32
+    use OrganizationTrait;
33
+    use MedicalSpecialtyTrait;
34
+    use SpecialtyTrait;
35
+    use EnumerationTrait;
36
+    use IntangibleTrait;
37
+    use MedicalEnumerationTrait;
38 38
 
39
-	/**
40
-	 * The Schema.org Type Name
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeName = 'Dermatology';
39
+    /**
40
+     * The Schema.org Type Name
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeName = 'Dermatology';
45 45
 
46
-	/**
47
-	 * The Schema.org Type Scope
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeScope = 'https://schema.org/Dermatology';
46
+    /**
47
+     * The Schema.org Type Scope
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeScope = 'https://schema.org/Dermatology';
52 52
 
53
-	/**
54
-	 * The Schema.org Type Extends
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeExtends = 'MedicalBusiness';
53
+    /**
54
+     * The Schema.org Type Extends
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeExtends = 'MedicalBusiness';
59 59
 
60
-	/**
61
-	 * The Schema.org Type Description
62
-	 *
63
-	 * @var string
64
-	 */
65
-	public static $schemaTypeDescription = 'A specific branch of medical science that pertains to diagnosis and treatment of disorders of skin.';
60
+    /**
61
+     * The Schema.org Type Description
62
+     *
63
+     * @var string
64
+     */
65
+    public static $schemaTypeDescription = 'A specific branch of medical science that pertains to diagnosis and treatment of disorders of skin.';
66 66
 
67 67
 
68
-	/**
69
-	 * @inheritdoc
70
-	 */
71
-	public function getSchemaPropertyNames(): array
72
-	{
73
-		return array_keys($this->getSchemaPropertyExpectedTypes());
74
-	}
68
+    /**
69
+     * @inheritdoc
70
+     */
71
+    public function getSchemaPropertyNames(): array
72
+    {
73
+        return array_keys($this->getSchemaPropertyExpectedTypes());
74
+    }
75 75
 
76 76
 
77
-	/**
78
-	 * @inheritdoc
79
-	 */
80
-	public function getSchemaPropertyExpectedTypes(): array
81
-	{
82
-		return [
83
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
84
-		    'additionalProperty' => ['PropertyValue'],
85
-		    'additionalType' => ['URL'],
86
-		    'address' => ['Text', 'PostalAddress'],
87
-		    'aggregateRating' => ['AggregateRating'],
88
-		    'alternateName' => ['Text'],
89
-		    'alumni' => ['Person'],
90
-		    'amenityFeature' => ['LocationFeatureSpecification'],
91
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
92
-		    'award' => ['Text'],
93
-		    'awards' => ['Text'],
94
-		    'branchCode' => ['Text'],
95
-		    'branchOf' => ['Organization'],
96
-		    'brand' => ['Brand', 'Organization'],
97
-		    'contactPoint' => ['ContactPoint'],
98
-		    'contactPoints' => ['ContactPoint'],
99
-		    'containedIn' => ['Place'],
100
-		    'containedInPlace' => ['Place'],
101
-		    'containsPlace' => ['Place'],
102
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
103
-		    'currenciesAccepted' => ['Text'],
104
-		    'department' => ['Organization'],
105
-		    'description' => ['Text'],
106
-		    'disambiguatingDescription' => ['Text'],
107
-		    'dissolutionDate' => ['Date'],
108
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
109
-		    'diversityStaffingReport' => ['Article', 'URL'],
110
-		    'duns' => ['Text'],
111
-		    'email' => ['Text'],
112
-		    'employee' => ['Person'],
113
-		    'employees' => ['Person'],
114
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
115
-		    'event' => ['Event'],
116
-		    'events' => ['Event'],
117
-		    'faxNumber' => ['Text'],
118
-		    'founder' => ['Person'],
119
-		    'founders' => ['Person'],
120
-		    'foundingDate' => ['Date'],
121
-		    'foundingLocation' => ['Place'],
122
-		    'funder' => ['Organization', 'Person'],
123
-		    'funding' => ['Grant'],
124
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
125
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
126
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
127
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
128
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
129
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
130
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
131
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
132
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
133
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
134
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
135
-		    'globalLocationNumber' => ['Text'],
136
-		    'hasCredential' => ['EducationalOccupationalCredential'],
137
-		    'hasDriveThroughService' => ['Boolean'],
138
-		    'hasMap' => ['URL', 'Map'],
139
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
140
-		    'hasOfferCatalog' => ['OfferCatalog'],
141
-		    'hasPOS' => ['Place'],
142
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
143
-		    'image' => ['URL', 'ImageObject'],
144
-		    'interactionStatistic' => ['InteractionCounter'],
145
-		    'isAccessibleForFree' => ['Boolean'],
146
-		    'isicV4' => ['Text'],
147
-		    'iso6523Code' => ['Text'],
148
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
149
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
150
-		    'knowsLanguage' => ['Text', 'Language'],
151
-		    'latitude' => ['Number', 'Text'],
152
-		    'legalName' => ['Text'],
153
-		    'leiCode' => ['Text'],
154
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
155
-		    'logo' => ['ImageObject', 'URL'],
156
-		    'longitude' => ['Text', 'Number'],
157
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
158
-		    'makesOffer' => ['Offer'],
159
-		    'map' => ['URL'],
160
-		    'maps' => ['URL'],
161
-		    'maximumAttendeeCapacity' => ['Integer'],
162
-		    'member' => ['Organization', 'Person'],
163
-		    'memberOf' => ['Organization', 'ProgramMembership'],
164
-		    'members' => ['Organization', 'Person'],
165
-		    'naics' => ['Text'],
166
-		    'name' => ['Text'],
167
-		    'nonprofitStatus' => ['NonprofitType'],
168
-		    'numberOfEmployees' => ['QuantitativeValue'],
169
-		    'openingHours' => ['Text'],
170
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
171
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
172
-		    'owns' => ['Product', 'OwnershipInfo'],
173
-		    'parentOrganization' => ['Organization'],
174
-		    'paymentAccepted' => ['Text'],
175
-		    'photo' => ['Photograph', 'ImageObject'],
176
-		    'photos' => ['ImageObject', 'Photograph'],
177
-		    'potentialAction' => ['Action'],
178
-		    'priceRange' => ['Text'],
179
-		    'publicAccess' => ['Boolean'],
180
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
181
-		    'review' => ['Review'],
182
-		    'reviews' => ['Review'],
183
-		    'sameAs' => ['URL'],
184
-		    'seeks' => ['Demand'],
185
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
186
-		    'slogan' => ['Text'],
187
-		    'smokingAllowed' => ['Boolean'],
188
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
189
-		    'sponsor' => ['Organization', 'Person'],
190
-		    'subOrganization' => ['Organization'],
191
-		    'subjectOf' => ['Event', 'CreativeWork'],
192
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
193
-		    'taxID' => ['Text'],
194
-		    'telephone' => ['Text'],
195
-		    'tourBookingPage' => ['URL'],
196
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
197
-		    'url' => ['URL'],
198
-		    'vatID' => ['Text']
199
-		];
200
-	}
77
+    /**
78
+     * @inheritdoc
79
+     */
80
+    public function getSchemaPropertyExpectedTypes(): array
81
+    {
82
+        return [
83
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
84
+            'additionalProperty' => ['PropertyValue'],
85
+            'additionalType' => ['URL'],
86
+            'address' => ['Text', 'PostalAddress'],
87
+            'aggregateRating' => ['AggregateRating'],
88
+            'alternateName' => ['Text'],
89
+            'alumni' => ['Person'],
90
+            'amenityFeature' => ['LocationFeatureSpecification'],
91
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
92
+            'award' => ['Text'],
93
+            'awards' => ['Text'],
94
+            'branchCode' => ['Text'],
95
+            'branchOf' => ['Organization'],
96
+            'brand' => ['Brand', 'Organization'],
97
+            'contactPoint' => ['ContactPoint'],
98
+            'contactPoints' => ['ContactPoint'],
99
+            'containedIn' => ['Place'],
100
+            'containedInPlace' => ['Place'],
101
+            'containsPlace' => ['Place'],
102
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
103
+            'currenciesAccepted' => ['Text'],
104
+            'department' => ['Organization'],
105
+            'description' => ['Text'],
106
+            'disambiguatingDescription' => ['Text'],
107
+            'dissolutionDate' => ['Date'],
108
+            'diversityPolicy' => ['URL', 'CreativeWork'],
109
+            'diversityStaffingReport' => ['Article', 'URL'],
110
+            'duns' => ['Text'],
111
+            'email' => ['Text'],
112
+            'employee' => ['Person'],
113
+            'employees' => ['Person'],
114
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
115
+            'event' => ['Event'],
116
+            'events' => ['Event'],
117
+            'faxNumber' => ['Text'],
118
+            'founder' => ['Person'],
119
+            'founders' => ['Person'],
120
+            'foundingDate' => ['Date'],
121
+            'foundingLocation' => ['Place'],
122
+            'funder' => ['Organization', 'Person'],
123
+            'funding' => ['Grant'],
124
+            'geo' => ['GeoCoordinates', 'GeoShape'],
125
+            'geoContains' => ['Place', 'GeospatialGeometry'],
126
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
127
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
128
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
129
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
130
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
131
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
132
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
133
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
134
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
135
+            'globalLocationNumber' => ['Text'],
136
+            'hasCredential' => ['EducationalOccupationalCredential'],
137
+            'hasDriveThroughService' => ['Boolean'],
138
+            'hasMap' => ['URL', 'Map'],
139
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
140
+            'hasOfferCatalog' => ['OfferCatalog'],
141
+            'hasPOS' => ['Place'],
142
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
143
+            'image' => ['URL', 'ImageObject'],
144
+            'interactionStatistic' => ['InteractionCounter'],
145
+            'isAccessibleForFree' => ['Boolean'],
146
+            'isicV4' => ['Text'],
147
+            'iso6523Code' => ['Text'],
148
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
149
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
150
+            'knowsLanguage' => ['Text', 'Language'],
151
+            'latitude' => ['Number', 'Text'],
152
+            'legalName' => ['Text'],
153
+            'leiCode' => ['Text'],
154
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
155
+            'logo' => ['ImageObject', 'URL'],
156
+            'longitude' => ['Text', 'Number'],
157
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
158
+            'makesOffer' => ['Offer'],
159
+            'map' => ['URL'],
160
+            'maps' => ['URL'],
161
+            'maximumAttendeeCapacity' => ['Integer'],
162
+            'member' => ['Organization', 'Person'],
163
+            'memberOf' => ['Organization', 'ProgramMembership'],
164
+            'members' => ['Organization', 'Person'],
165
+            'naics' => ['Text'],
166
+            'name' => ['Text'],
167
+            'nonprofitStatus' => ['NonprofitType'],
168
+            'numberOfEmployees' => ['QuantitativeValue'],
169
+            'openingHours' => ['Text'],
170
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
171
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
172
+            'owns' => ['Product', 'OwnershipInfo'],
173
+            'parentOrganization' => ['Organization'],
174
+            'paymentAccepted' => ['Text'],
175
+            'photo' => ['Photograph', 'ImageObject'],
176
+            'photos' => ['ImageObject', 'Photograph'],
177
+            'potentialAction' => ['Action'],
178
+            'priceRange' => ['Text'],
179
+            'publicAccess' => ['Boolean'],
180
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
181
+            'review' => ['Review'],
182
+            'reviews' => ['Review'],
183
+            'sameAs' => ['URL'],
184
+            'seeks' => ['Demand'],
185
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
186
+            'slogan' => ['Text'],
187
+            'smokingAllowed' => ['Boolean'],
188
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
189
+            'sponsor' => ['Organization', 'Person'],
190
+            'subOrganization' => ['Organization'],
191
+            'subjectOf' => ['Event', 'CreativeWork'],
192
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
193
+            'taxID' => ['Text'],
194
+            'telephone' => ['Text'],
195
+            'tourBookingPage' => ['URL'],
196
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
197
+            'url' => ['URL'],
198
+            'vatID' => ['Text']
199
+        ];
200
+    }
201 201
 
202 202
 
203
-	/**
204
-	 * @inheritdoc
205
-	 */
206
-	public function getSchemaPropertyDescriptions(): array
207
-	{
208
-		return [
209
-		    '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.',
210
-		    '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. ',
211
-		    '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.',
212
-		    'address' => 'Physical address of the item.',
213
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
214
-		    'alternateName' => 'An alias for the item.',
215
-		    'alumni' => 'Alumni of an organization.',
216
-		    '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.',
217
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
218
-		    'award' => 'An award won by or for this item.',
219
-		    'awards' => 'Awards won by or for this item.',
220
-		    '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.       ',
221
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
222
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
223
-		    'contactPoint' => 'A contact point for a person or organization.',
224
-		    'contactPoints' => 'A contact point for a person or organization.',
225
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
226
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
227
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
228
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
229
-		    '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".',
230
-		    '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.',
231
-		    'description' => 'A description of the item.',
232
-		    '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.',
233
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
234
-		    '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.',
235
-		    '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.',
236
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
237
-		    'email' => 'Email address.',
238
-		    'employee' => 'Someone working for this organization.',
239
-		    'employees' => 'People working for this organization.',
240
-		    '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.',
241
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
242
-		    'events' => 'Upcoming or past events associated with this place or organization.',
243
-		    'faxNumber' => 'The fax number.',
244
-		    'founder' => 'A person who founded this organization.',
245
-		    'founders' => 'A person who founded this organization.',
246
-		    'foundingDate' => 'The date that this organization was founded.',
247
-		    'foundingLocation' => 'The place where the Organization was founded.',
248
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
249
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
250
-		    'geo' => 'The geo coordinates of the place.',
251
-		    '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).',
252
-		    '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).',
253
-		    '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).',
254
-		    '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).',
255
-		    '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).)',
256
-		    '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).',
257
-		    '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).',
258
-		    '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).',
259
-		    '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).)',
260
-		    '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).',
261
-		    '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.',
262
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
263
-		    '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.',
264
-		    'hasMap' => 'A URL to a map of the place.',
265
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
266
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
267
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
268
-		    '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.         ',
269
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
270
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
271
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
272
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
273
-		    '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. ',
274
-		    '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.',
275
-		    '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.',
276
-		    '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).',
277
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
278
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
279
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
280
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
281
-		    'logo' => 'An associated logo.',
282
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
283
-		    '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.',
284
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
285
-		    'map' => 'A URL to a map of the place.',
286
-		    'maps' => 'A URL to a map of the place.',
287
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
288
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
289
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
290
-		    'members' => 'A member of this organization.',
291
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
292
-		    'name' => 'The name of the item.',
293
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
294
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
295
-		    '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>.',
296
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
297
-		    '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.',
298
-		    'owns' => 'Products owned by the organization or person.',
299
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
300
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
301
-		    'photo' => 'A photograph of this place.',
302
-		    'photos' => 'Photographs of this place.',
303
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
304
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
305
-		    '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',
306
-		    '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. ',
307
-		    'review' => 'A review of the item.',
308
-		    'reviews' => 'Review of the item.',
309
-		    '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.',
310
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
311
-		    'serviceArea' => 'The geographic area where the service is provided.',
312
-		    'slogan' => 'A slogan or motto associated with the item.',
313
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
314
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
315
-		    '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.',
316
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
317
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
318
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
319
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
320
-		    'telephone' => 'The telephone number.',
321
-		    '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.',
322
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
323
-		    'url' => 'URL of the item.',
324
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
325
-		];
326
-	}
203
+    /**
204
+     * @inheritdoc
205
+     */
206
+    public function getSchemaPropertyDescriptions(): array
207
+    {
208
+        return [
209
+            '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.',
210
+            '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. ',
211
+            '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.',
212
+            'address' => 'Physical address of the item.',
213
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
214
+            'alternateName' => 'An alias for the item.',
215
+            'alumni' => 'Alumni of an organization.',
216
+            '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.',
217
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
218
+            'award' => 'An award won by or for this item.',
219
+            'awards' => 'Awards won by or for this item.',
220
+            '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.       ',
221
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
222
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
223
+            'contactPoint' => 'A contact point for a person or organization.',
224
+            'contactPoints' => 'A contact point for a person or organization.',
225
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
226
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
227
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
228
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
229
+            '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".',
230
+            '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.',
231
+            'description' => 'A description of the item.',
232
+            '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.',
233
+            'dissolutionDate' => 'The date that this organization was dissolved.',
234
+            '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.',
235
+            '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.',
236
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
237
+            'email' => 'Email address.',
238
+            'employee' => 'Someone working for this organization.',
239
+            'employees' => 'People working for this organization.',
240
+            '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.',
241
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
242
+            'events' => 'Upcoming or past events associated with this place or organization.',
243
+            'faxNumber' => 'The fax number.',
244
+            'founder' => 'A person who founded this organization.',
245
+            'founders' => 'A person who founded this organization.',
246
+            'foundingDate' => 'The date that this organization was founded.',
247
+            'foundingLocation' => 'The place where the Organization was founded.',
248
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
249
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
250
+            'geo' => 'The geo coordinates of the place.',
251
+            '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).',
252
+            '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).',
253
+            '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).',
254
+            '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).',
255
+            '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).)',
256
+            '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).',
257
+            '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).',
258
+            '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).',
259
+            '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).)',
260
+            '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).',
261
+            '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.',
262
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
263
+            '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.',
264
+            'hasMap' => 'A URL to a map of the place.',
265
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
266
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
267
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
268
+            '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.         ',
269
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
270
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
271
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
272
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
273
+            '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. ',
274
+            '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.',
275
+            '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.',
276
+            '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).',
277
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
278
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
279
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
280
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
281
+            'logo' => 'An associated logo.',
282
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
283
+            '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.',
284
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
285
+            'map' => 'A URL to a map of the place.',
286
+            'maps' => 'A URL to a map of the place.',
287
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
288
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
289
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
290
+            'members' => 'A member of this organization.',
291
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
292
+            'name' => 'The name of the item.',
293
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
294
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
295
+            '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>.',
296
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
297
+            '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.',
298
+            'owns' => 'Products owned by the organization or person.',
299
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
300
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
301
+            'photo' => 'A photograph of this place.',
302
+            'photos' => 'Photographs of this place.',
303
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
304
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
305
+            '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',
306
+            '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. ',
307
+            'review' => 'A review of the item.',
308
+            'reviews' => 'Review of the item.',
309
+            '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.',
310
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
311
+            'serviceArea' => 'The geographic area where the service is provided.',
312
+            'slogan' => 'A slogan or motto associated with the item.',
313
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
314
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
315
+            '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.',
316
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
317
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
318
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
319
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
320
+            'telephone' => 'The telephone number.',
321
+            '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.',
322
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
323
+            'url' => 'URL of the item.',
324
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
325
+        ];
326
+    }
327 327
 
328 328
 
329
-	/**
330
-	 * @inheritdoc
331
-	 */
332
-	public function getGoogleRequiredSchema(): array
333
-	{
334
-		return ['description', 'name'];
335
-	}
329
+    /**
330
+     * @inheritdoc
331
+     */
332
+    public function getGoogleRequiredSchema(): array
333
+    {
334
+        return ['description', 'name'];
335
+    }
336 336
 
337 337
 
338
-	/**
339
-	 * @inheritdoc
340
-	 */
341
-	public function getGoogleRecommendedSchema(): array
342
-	{
343
-		return ['image', 'url'];
344
-	}
338
+    /**
339
+     * @inheritdoc
340
+     */
341
+    public function getGoogleRecommendedSchema(): array
342
+    {
343
+        return ['image', 'url'];
344
+    }
345 345
 
346 346
 
347
-	/**
348
-	 * @inheritdoc
349
-	 */
350
-	public function defineRules(): array
351
-	{
352
-		$rules = parent::defineRules();
353
-		    $rules = array_merge($rules, [
354
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
355
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
356
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
357
-		    ]);
347
+    /**
348
+     * @inheritdoc
349
+     */
350
+    public function defineRules(): array
351
+    {
352
+        $rules = parent::defineRules();
353
+            $rules = array_merge($rules, [
354
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
355
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
356
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
357
+            ]);
358 358
 
359
-		    return $rules;
360
-	}
359
+            return $rules;
360
+    }
361 361
 }
Please login to merge, or discard this patch.
src/models/jsonld/WearableSizeGroupMisses.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -23,127 +23,127 @@
 block discarded – undo
23 23
  */
24 24
 class WearableSizeGroupMisses extends MetaJsonLd implements WearableSizeGroupMissesInterface, WearableSizeGroupEnumerationInterface, SizeGroupEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use WearableSizeGroupMissesTrait;
27
-	use WearableSizeGroupEnumerationTrait;
28
-	use SizeGroupEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'WearableSizeGroupMisses';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/WearableSizeGroupMisses';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'WearableSizeGroupEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Size group "Misses" (also known as "Missy") for wearables.';
60
-
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
69
-
70
-
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'sameAs' => ['URL'],
87
-		    'subjectOf' => ['Event', 'CreativeWork'],
88
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
-		    'url' => ['URL']
90
-		];
91
-	}
92
-
93
-
94
-	/**
95
-	 * @inheritdoc
96
-	 */
97
-	public function getSchemaPropertyDescriptions(): array
98
-	{
99
-		return [
100
-		    '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.',
101
-		    'alternateName' => 'An alias for the item.',
102
-		    'description' => 'A description of the item.',
103
-		    '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.',
104
-		    '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.         ',
105
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
-		    '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.',
107
-		    'name' => 'The name of the item.',
108
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
-		    '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.',
110
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
-		    'url' => 'URL of the item.'
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getGoogleRequiredSchema(): array
121
-	{
122
-		return ['description', 'name'];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRecommendedSchema(): array
130
-	{
131
-		return ['image', 'url'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function defineRules(): array
139
-	{
140
-		$rules = parent::defineRules();
141
-		    $rules = array_merge($rules, [
142
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
-		    ]);
146
-
147
-		    return $rules;
148
-	}
26
+    use WearableSizeGroupMissesTrait;
27
+    use WearableSizeGroupEnumerationTrait;
28
+    use SizeGroupEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'WearableSizeGroupMisses';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/WearableSizeGroupMisses';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'WearableSizeGroupEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Size group "Misses" (also known as "Missy") for wearables.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            '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.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            '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.',
104
+            '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.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            '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.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            '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.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.
src/models/jsonld/PostalAddress.php 1 patch
Indentation   +152 added lines, -152 removed lines patch added patch discarded remove patch
@@ -23,156 +23,156 @@
 block discarded – undo
23 23
  */
24 24
 class PostalAddress extends MetaJsonLd implements PostalAddressInterface, ContactPointInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use PostalAddressTrait;
27
-	use ContactPointTrait;
28
-	use StructuredValueTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'PostalAddress';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/PostalAddress';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'ContactPoint';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'The mailing address.';
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
-		    'addressCountry' => ['Country', 'Text'],
78
-		    'addressLocality' => ['Text'],
79
-		    'addressRegion' => ['Text'],
80
-		    'alternateName' => ['Text'],
81
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
82
-		    'availableLanguage' => ['Text', 'Language'],
83
-		    'contactOption' => ['ContactPointOption'],
84
-		    'contactType' => ['Text'],
85
-		    'description' => ['Text'],
86
-		    'disambiguatingDescription' => ['Text'],
87
-		    'email' => ['Text'],
88
-		    'faxNumber' => ['Text'],
89
-		    'hoursAvailable' => ['OpeningHoursSpecification'],
90
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
91
-		    'image' => ['URL', 'ImageObject'],
92
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
93
-		    'name' => ['Text'],
94
-		    'postOfficeBoxNumber' => ['Text'],
95
-		    'postalCode' => ['Text'],
96
-		    'potentialAction' => ['Action'],
97
-		    'productSupported' => ['Text', 'Product'],
98
-		    'sameAs' => ['URL'],
99
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
100
-		    'streetAddress' => ['Text'],
101
-		    'subjectOf' => ['Event', 'CreativeWork'],
102
-		    'telephone' => ['Text'],
103
-		    'url' => ['URL']
104
-		];
105
-	}
106
-
107
-
108
-	/**
109
-	 * @inheritdoc
110
-	 */
111
-	public function getSchemaPropertyDescriptions(): array
112
-	{
113
-		return [
114
-		    '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.',
115
-		    'addressCountry' => 'The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).',
116
-		    'addressLocality' => 'The locality in which the street address is, and which is in the region. For example, Mountain View.',
117
-		    'addressRegion' => 'The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).',
118
-		    'alternateName' => 'An alias for the item.',
119
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
120
-		    'availableLanguage' => 'A language someone may use with or at the item, service or place. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]].',
121
-		    'contactOption' => 'An option available on this contact point (e.g. a toll-free number or support for hearing-impaired callers).',
122
-		    'contactType' => 'A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.',
123
-		    'description' => 'A description of the item.',
124
-		    '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.',
125
-		    'email' => 'Email address.',
126
-		    'faxNumber' => 'The fax number.',
127
-		    'hoursAvailable' => 'The hours during which this service or contact is available.',
128
-		    '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.         ',
129
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
130
-		    '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.',
131
-		    'name' => 'The name of the item.',
132
-		    'postOfficeBoxNumber' => 'The post office box number for PO box addresses.',
133
-		    'postalCode' => 'The postal code. For example, 94043.',
134
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
135
-		    'productSupported' => 'The product or service this support contact point is related to (such as product support for a particular product line). This can be a specific product or product line (e.g. "iPhone") or a general category of products or services (e.g. "smartphones").',
136
-		    '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.',
137
-		    'serviceArea' => 'The geographic area where the service is provided.',
138
-		    'streetAddress' => 'The street address. For example, 1600 Amphitheatre Pkwy.',
139
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
140
-		    'telephone' => 'The telephone number.',
141
-		    'url' => 'URL of the item.'
142
-		];
143
-	}
144
-
145
-
146
-	/**
147
-	 * @inheritdoc
148
-	 */
149
-	public function getGoogleRequiredSchema(): array
150
-	{
151
-		return ['description', 'name'];
152
-	}
153
-
154
-
155
-	/**
156
-	 * @inheritdoc
157
-	 */
158
-	public function getGoogleRecommendedSchema(): array
159
-	{
160
-		return ['image', 'url'];
161
-	}
162
-
163
-
164
-	/**
165
-	 * @inheritdoc
166
-	 */
167
-	public function defineRules(): array
168
-	{
169
-		$rules = parent::defineRules();
170
-		    $rules = array_merge($rules, [
171
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
172
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
173
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
174
-		    ]);
175
-
176
-		    return $rules;
177
-	}
26
+    use PostalAddressTrait;
27
+    use ContactPointTrait;
28
+    use StructuredValueTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'PostalAddress';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/PostalAddress';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'ContactPoint';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'The mailing address.';
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
+            'addressCountry' => ['Country', 'Text'],
78
+            'addressLocality' => ['Text'],
79
+            'addressRegion' => ['Text'],
80
+            'alternateName' => ['Text'],
81
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
82
+            'availableLanguage' => ['Text', 'Language'],
83
+            'contactOption' => ['ContactPointOption'],
84
+            'contactType' => ['Text'],
85
+            'description' => ['Text'],
86
+            'disambiguatingDescription' => ['Text'],
87
+            'email' => ['Text'],
88
+            'faxNumber' => ['Text'],
89
+            'hoursAvailable' => ['OpeningHoursSpecification'],
90
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
91
+            'image' => ['URL', 'ImageObject'],
92
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
93
+            'name' => ['Text'],
94
+            'postOfficeBoxNumber' => ['Text'],
95
+            'postalCode' => ['Text'],
96
+            'potentialAction' => ['Action'],
97
+            'productSupported' => ['Text', 'Product'],
98
+            'sameAs' => ['URL'],
99
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
100
+            'streetAddress' => ['Text'],
101
+            'subjectOf' => ['Event', 'CreativeWork'],
102
+            'telephone' => ['Text'],
103
+            'url' => ['URL']
104
+        ];
105
+    }
106
+
107
+
108
+    /**
109
+     * @inheritdoc
110
+     */
111
+    public function getSchemaPropertyDescriptions(): array
112
+    {
113
+        return [
114
+            '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.',
115
+            'addressCountry' => 'The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).',
116
+            'addressLocality' => 'The locality in which the street address is, and which is in the region. For example, Mountain View.',
117
+            'addressRegion' => 'The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).',
118
+            'alternateName' => 'An alias for the item.',
119
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
120
+            'availableLanguage' => 'A language someone may use with or at the item, service or place. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]].',
121
+            'contactOption' => 'An option available on this contact point (e.g. a toll-free number or support for hearing-impaired callers).',
122
+            'contactType' => 'A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.',
123
+            'description' => 'A description of the item.',
124
+            '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.',
125
+            'email' => 'Email address.',
126
+            'faxNumber' => 'The fax number.',
127
+            'hoursAvailable' => 'The hours during which this service or contact is available.',
128
+            '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.         ',
129
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
130
+            '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.',
131
+            'name' => 'The name of the item.',
132
+            'postOfficeBoxNumber' => 'The post office box number for PO box addresses.',
133
+            'postalCode' => 'The postal code. For example, 94043.',
134
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
135
+            'productSupported' => 'The product or service this support contact point is related to (such as product support for a particular product line). This can be a specific product or product line (e.g. "iPhone") or a general category of products or services (e.g. "smartphones").',
136
+            '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.',
137
+            'serviceArea' => 'The geographic area where the service is provided.',
138
+            'streetAddress' => 'The street address. For example, 1600 Amphitheatre Pkwy.',
139
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
140
+            'telephone' => 'The telephone number.',
141
+            'url' => 'URL of the item.'
142
+        ];
143
+    }
144
+
145
+
146
+    /**
147
+     * @inheritdoc
148
+     */
149
+    public function getGoogleRequiredSchema(): array
150
+    {
151
+        return ['description', 'name'];
152
+    }
153
+
154
+
155
+    /**
156
+     * @inheritdoc
157
+     */
158
+    public function getGoogleRecommendedSchema(): array
159
+    {
160
+        return ['image', 'url'];
161
+    }
162
+
163
+
164
+    /**
165
+     * @inheritdoc
166
+     */
167
+    public function defineRules(): array
168
+    {
169
+        $rules = parent::defineRules();
170
+            $rules = array_merge($rules, [
171
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
172
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
173
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
174
+            ]);
175
+
176
+            return $rules;
177
+    }
178 178
 }
Please login to merge, or discard this patch.
src/models/jsonld/ProductGroup.php 1 patch
Indentation   +217 added lines, -217 removed lines patch added patch discarded remove patch
@@ -33,238 +33,238 @@
 block discarded – undo
33 33
  */
34 34
 class ProductGroup extends MetaJsonLd implements ProductGroupInterface, ProductInterface, ThingInterface
35 35
 {
36
-	use ProductGroupTrait;
37
-	use ProductTrait;
38
-	use ThingTrait;
36
+    use ProductGroupTrait;
37
+    use ProductTrait;
38
+    use ThingTrait;
39 39
 
40
-	/**
41
-	 * The Schema.org Type Name
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeName = 'ProductGroup';
40
+    /**
41
+     * The Schema.org Type Name
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeName = 'ProductGroup';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Scope
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeScope = 'https://schema.org/ProductGroup';
47
+    /**
48
+     * The Schema.org Type Scope
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeScope = 'https://schema.org/ProductGroup';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Extends
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeExtends = 'Product';
54
+    /**
55
+     * The Schema.org Type Extends
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeExtends = 'Product';
60 60
 
61
-	/**
62
-	 * The Schema.org Type Description
63
-	 *
64
-	 * @var string
65
-	 */
66
-	public static $schemaTypeDescription = "A ProductGroup represents a group of [[Product]]s that vary only in certain well-described ways, such as by [[size]], [[color]], [[material]] etc.\n\nWhile a ProductGroup itself is not directly offered for sale, the various varying products that it represents can be. The ProductGroup serves as a prototype or template, standing in for all of the products who have an [[isVariantOf]] relationship to it. As such, properties (including additional types) can be applied to the ProductGroup to represent characteristics shared by each of the (possibly very many) variants. Properties that reference a ProductGroup are not included in this mechanism; neither are the following specific properties [[variesBy]], [[hasVariant]], [[url]]. ";
61
+    /**
62
+     * The Schema.org Type Description
63
+     *
64
+     * @var string
65
+     */
66
+    public static $schemaTypeDescription = "A ProductGroup represents a group of [[Product]]s that vary only in certain well-described ways, such as by [[size]], [[color]], [[material]] etc.\n\nWhile a ProductGroup itself is not directly offered for sale, the various varying products that it represents can be. The ProductGroup serves as a prototype or template, standing in for all of the products who have an [[isVariantOf]] relationship to it. As such, properties (including additional types) can be applied to the ProductGroup to represent characteristics shared by each of the (possibly very many) variants. Properties that reference a ProductGroup are not included in this mechanism; neither are the following specific properties [[variesBy]], [[hasVariant]], [[url]]. ";
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
-		    'additionalProperty' => ['PropertyValue'],
85
-		    'additionalType' => ['URL'],
86
-		    'aggregateRating' => ['AggregateRating'],
87
-		    'alternateName' => ['Text'],
88
-		    'asin' => ['Text', 'URL'],
89
-		    'audience' => ['Audience'],
90
-		    'award' => ['Text'],
91
-		    'awards' => ['Text'],
92
-		    'brand' => ['Brand', 'Organization'],
93
-		    'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
94
-		    'color' => ['Text'],
95
-		    'countryOfAssembly' => ['Text'],
96
-		    'countryOfLastProcessing' => ['Text'],
97
-		    'countryOfOrigin' => ['Country'],
98
-		    'depth' => ['QuantitativeValue', 'Distance'],
99
-		    'description' => ['Text'],
100
-		    'disambiguatingDescription' => ['Text'],
101
-		    'funding' => ['Grant'],
102
-		    'gtin' => ['Text', 'URL'],
103
-		    'gtin12' => ['Text'],
104
-		    'gtin13' => ['Text'],
105
-		    'gtin14' => ['Text'],
106
-		    'gtin8' => ['Text'],
107
-		    'hasAdultConsideration' => ['AdultOrientedEnumeration'],
108
-		    'hasEnergyConsumptionDetails' => ['EnergyConsumptionDetails'],
109
-		    'hasMeasurement' => ['QuantitativeValue'],
110
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
111
-		    'hasVariant' => ['Product'],
112
-		    'height' => ['QuantitativeValue', 'Distance'],
113
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
114
-		    'image' => ['URL', 'ImageObject'],
115
-		    'inProductGroupWithID' => ['Text'],
116
-		    'isAccessoryOrSparePartFor' => ['Product'],
117
-		    'isConsumableFor' => ['Product'],
118
-		    'isFamilyFriendly' => ['Boolean'],
119
-		    'isRelatedTo' => ['Product', 'Service'],
120
-		    'isSimilarTo' => ['Product', 'Service'],
121
-		    'isVariantOf' => ['ProductModel', 'ProductGroup'],
122
-		    'itemCondition' => ['OfferItemCondition'],
123
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
124
-		    'logo' => ['ImageObject', 'URL'],
125
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
126
-		    'manufacturer' => ['Organization'],
127
-		    'material' => ['Product', 'URL', 'Text'],
128
-		    'mobileUrl' => ['Text'],
129
-		    'model' => ['ProductModel', 'Text'],
130
-		    'mpn' => ['Text'],
131
-		    'name' => ['Text'],
132
-		    'negativeNotes' => ['ListItem', 'Text', 'ItemList', 'WebContent'],
133
-		    'nsn' => ['Text'],
134
-		    'offers' => ['Demand', 'Offer'],
135
-		    'pattern' => ['DefinedTerm', 'Text'],
136
-		    'positiveNotes' => ['Text', 'WebContent', 'ListItem', 'ItemList'],
137
-		    'potentialAction' => ['Action'],
138
-		    'productGroupID' => ['Text'],
139
-		    'productID' => ['Text'],
140
-		    'productionDate' => ['Date'],
141
-		    'purchaseDate' => ['Date'],
142
-		    'releaseDate' => ['Date'],
143
-		    'review' => ['Review'],
144
-		    'reviews' => ['Review'],
145
-		    'sameAs' => ['URL'],
146
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
147
-		    'sku' => ['Text'],
148
-		    'slogan' => ['Text'],
149
-		    'subjectOf' => ['Event', 'CreativeWork'],
150
-		    'url' => ['URL'],
151
-		    'variesBy' => ['Text', 'DefinedTerm'],
152
-		    'weight' => ['QuantitativeValue'],
153
-		    'width' => ['Distance', 'QuantitativeValue']
154
-		];
155
-	}
78
+    /**
79
+     * @inheritdoc
80
+     */
81
+    public function getSchemaPropertyExpectedTypes(): array
82
+    {
83
+        return [
84
+            'additionalProperty' => ['PropertyValue'],
85
+            'additionalType' => ['URL'],
86
+            'aggregateRating' => ['AggregateRating'],
87
+            'alternateName' => ['Text'],
88
+            'asin' => ['Text', 'URL'],
89
+            'audience' => ['Audience'],
90
+            'award' => ['Text'],
91
+            'awards' => ['Text'],
92
+            'brand' => ['Brand', 'Organization'],
93
+            'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
94
+            'color' => ['Text'],
95
+            'countryOfAssembly' => ['Text'],
96
+            'countryOfLastProcessing' => ['Text'],
97
+            'countryOfOrigin' => ['Country'],
98
+            'depth' => ['QuantitativeValue', 'Distance'],
99
+            'description' => ['Text'],
100
+            'disambiguatingDescription' => ['Text'],
101
+            'funding' => ['Grant'],
102
+            'gtin' => ['Text', 'URL'],
103
+            'gtin12' => ['Text'],
104
+            'gtin13' => ['Text'],
105
+            'gtin14' => ['Text'],
106
+            'gtin8' => ['Text'],
107
+            'hasAdultConsideration' => ['AdultOrientedEnumeration'],
108
+            'hasEnergyConsumptionDetails' => ['EnergyConsumptionDetails'],
109
+            'hasMeasurement' => ['QuantitativeValue'],
110
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
111
+            'hasVariant' => ['Product'],
112
+            'height' => ['QuantitativeValue', 'Distance'],
113
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
114
+            'image' => ['URL', 'ImageObject'],
115
+            'inProductGroupWithID' => ['Text'],
116
+            'isAccessoryOrSparePartFor' => ['Product'],
117
+            'isConsumableFor' => ['Product'],
118
+            'isFamilyFriendly' => ['Boolean'],
119
+            'isRelatedTo' => ['Product', 'Service'],
120
+            'isSimilarTo' => ['Product', 'Service'],
121
+            'isVariantOf' => ['ProductModel', 'ProductGroup'],
122
+            'itemCondition' => ['OfferItemCondition'],
123
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
124
+            'logo' => ['ImageObject', 'URL'],
125
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
126
+            'manufacturer' => ['Organization'],
127
+            'material' => ['Product', 'URL', 'Text'],
128
+            'mobileUrl' => ['Text'],
129
+            'model' => ['ProductModel', 'Text'],
130
+            'mpn' => ['Text'],
131
+            'name' => ['Text'],
132
+            'negativeNotes' => ['ListItem', 'Text', 'ItemList', 'WebContent'],
133
+            'nsn' => ['Text'],
134
+            'offers' => ['Demand', 'Offer'],
135
+            'pattern' => ['DefinedTerm', 'Text'],
136
+            'positiveNotes' => ['Text', 'WebContent', 'ListItem', 'ItemList'],
137
+            'potentialAction' => ['Action'],
138
+            'productGroupID' => ['Text'],
139
+            'productID' => ['Text'],
140
+            'productionDate' => ['Date'],
141
+            'purchaseDate' => ['Date'],
142
+            'releaseDate' => ['Date'],
143
+            'review' => ['Review'],
144
+            'reviews' => ['Review'],
145
+            'sameAs' => ['URL'],
146
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
147
+            'sku' => ['Text'],
148
+            'slogan' => ['Text'],
149
+            'subjectOf' => ['Event', 'CreativeWork'],
150
+            'url' => ['URL'],
151
+            'variesBy' => ['Text', 'DefinedTerm'],
152
+            'weight' => ['QuantitativeValue'],
153
+            'width' => ['Distance', 'QuantitativeValue']
154
+        ];
155
+    }
156 156
 
157 157
 
158
-	/**
159
-	 * @inheritdoc
160
-	 */
161
-	public function getSchemaPropertyDescriptions(): array
162
-	{
163
-		return [
164
-		    '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. ',
165
-		    '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.',
166
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
167
-		    'alternateName' => 'An alias for the item.',
168
-		    '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.',
169
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
170
-		    'award' => 'An award won by or for this item.',
171
-		    'awards' => 'Awards won by or for this item.',
172
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
173
-		    'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
174
-		    'color' => 'The color of the product.',
175
-		    'countryOfAssembly' => 'The place where the product was assembled.',
176
-		    'countryOfLastProcessing' => 'The place where the item (typically [[Product]]) was last processed and tested before importation.',
177
-		    'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
178
-		    'depth' => 'The depth of the item.',
179
-		    'description' => 'A description of the item.',
180
-		    '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.',
181
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
182
-		    '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.',
183
-		    '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.',
184
-		    '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.',
185
-		    '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.',
186
-		    '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.',
187
-		    'hasAdultConsideration' => 'Used to tag an item to be intended or suitable for consumption or use by adults only.',
188
-		    'hasEnergyConsumptionDetails' => 'Defines the energy efficiency Category (also known as "class" or "rating") for a product according to an international energy efficiency standard.',
189
-		    '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.',
190
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
191
-		    'hasVariant' => 'Indicates a [[Product]] that is a member of this [[ProductGroup]] (or [[ProductModel]]).',
192
-		    'height' => 'The height of the item.',
193
-		    '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.         ',
194
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
195
-		    'inProductGroupWithID' => 'Indicates the [[productGroupID]] for a [[ProductGroup]] that this product [[isVariantOf]]. ',
196
-		    'isAccessoryOrSparePartFor' => 'A pointer to another product (or multiple products) for which this product is an accessory or spare part.',
197
-		    'isConsumableFor' => 'A pointer to another product (or multiple products) for which this product is a consumable.',
198
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
199
-		    'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
200
-		    'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
201
-		    'isVariantOf' => 'Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group.',
202
-		    '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.',
203
-		    '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.',
204
-		    'logo' => 'An associated logo.',
205
-		    '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.',
206
-		    'manufacturer' => 'The manufacturer of the product.',
207
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
208
-		    '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.     ',
209
-		    'model' => 'The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties.',
210
-		    'mpn' => 'The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers.',
211
-		    'name' => 'The name of the item.',
212
-		    'negativeNotes' => 'Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry   In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions  tend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).',
213
-		    'nsn' => 'Indicates the [NATO stock number](https://en.wikipedia.org/wiki/NATO_Stock_Number) (nsn) of a [[Product]]. ',
214
-		    '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.       ',
215
-		    'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
216
-		    'positiveNotes' => 'Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.  In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).',
217
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
218
-		    'productGroupID' => 'Indicates a textual identifier for a ProductGroup.',
219
-		    'productID' => 'The product identifier, such as ISBN. For example: ``` meta itemprop="productID" content="isbn:123-456-789" ```.',
220
-		    'productionDate' => 'The date of production of the item, e.g. vehicle.',
221
-		    'purchaseDate' => 'The date the item, e.g. vehicle, was purchased by the current owner.',
222
-		    'releaseDate' => 'The release date of a product or product model. This can be used to distinguish the exact variant of a product.',
223
-		    'review' => 'A review of the item.',
224
-		    'reviews' => 'Review of the item.',
225
-		    '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.',
226
-		    'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
227
-		    '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.',
228
-		    'slogan' => 'A slogan or motto associated with the item.',
229
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
230
-		    'url' => 'URL of the item.',
231
-		    'variesBy' => 'Indicates the property or properties by which the variants in a [[ProductGroup]] vary, e.g. their size, color etc. Schema.org properties can be referenced by their short name e.g. "color"; terms defined elsewhere can be referenced with their URIs.',
232
-		    'weight' => 'The weight of the product or person.',
233
-		    'width' => 'The width of the item.'
234
-		];
235
-	}
158
+    /**
159
+     * @inheritdoc
160
+     */
161
+    public function getSchemaPropertyDescriptions(): array
162
+    {
163
+        return [
164
+            '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. ',
165
+            '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.',
166
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
167
+            'alternateName' => 'An alias for the item.',
168
+            '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.',
169
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
170
+            'award' => 'An award won by or for this item.',
171
+            'awards' => 'Awards won by or for this item.',
172
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
173
+            'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
174
+            'color' => 'The color of the product.',
175
+            'countryOfAssembly' => 'The place where the product was assembled.',
176
+            'countryOfLastProcessing' => 'The place where the item (typically [[Product]]) was last processed and tested before importation.',
177
+            'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
178
+            'depth' => 'The depth of the item.',
179
+            'description' => 'A description of the item.',
180
+            '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.',
181
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
182
+            '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.',
183
+            '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.',
184
+            '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.',
185
+            '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.',
186
+            '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.',
187
+            'hasAdultConsideration' => 'Used to tag an item to be intended or suitable for consumption or use by adults only.',
188
+            'hasEnergyConsumptionDetails' => 'Defines the energy efficiency Category (also known as "class" or "rating") for a product according to an international energy efficiency standard.',
189
+            '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.',
190
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
191
+            'hasVariant' => 'Indicates a [[Product]] that is a member of this [[ProductGroup]] (or [[ProductModel]]).',
192
+            'height' => 'The height of the item.',
193
+            '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.         ',
194
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
195
+            'inProductGroupWithID' => 'Indicates the [[productGroupID]] for a [[ProductGroup]] that this product [[isVariantOf]]. ',
196
+            'isAccessoryOrSparePartFor' => 'A pointer to another product (or multiple products) for which this product is an accessory or spare part.',
197
+            'isConsumableFor' => 'A pointer to another product (or multiple products) for which this product is a consumable.',
198
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
199
+            'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
200
+            'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
201
+            'isVariantOf' => 'Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group.',
202
+            '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.',
203
+            '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.',
204
+            'logo' => 'An associated logo.',
205
+            '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.',
206
+            'manufacturer' => 'The manufacturer of the product.',
207
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
208
+            '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.     ',
209
+            'model' => 'The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties.',
210
+            'mpn' => 'The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers.',
211
+            'name' => 'The name of the item.',
212
+            'negativeNotes' => 'Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry   In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions  tend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).',
213
+            'nsn' => 'Indicates the [NATO stock number](https://en.wikipedia.org/wiki/NATO_Stock_Number) (nsn) of a [[Product]]. ',
214
+            '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.       ',
215
+            'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
216
+            'positiveNotes' => 'Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.  In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).',
217
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
218
+            'productGroupID' => 'Indicates a textual identifier for a ProductGroup.',
219
+            'productID' => 'The product identifier, such as ISBN. For example: ``` meta itemprop="productID" content="isbn:123-456-789" ```.',
220
+            'productionDate' => 'The date of production of the item, e.g. vehicle.',
221
+            'purchaseDate' => 'The date the item, e.g. vehicle, was purchased by the current owner.',
222
+            'releaseDate' => 'The release date of a product or product model. This can be used to distinguish the exact variant of a product.',
223
+            'review' => 'A review of the item.',
224
+            'reviews' => 'Review of the item.',
225
+            '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.',
226
+            'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
227
+            '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.',
228
+            'slogan' => 'A slogan or motto associated with the item.',
229
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
230
+            'url' => 'URL of the item.',
231
+            'variesBy' => 'Indicates the property or properties by which the variants in a [[ProductGroup]] vary, e.g. their size, color etc. Schema.org properties can be referenced by their short name e.g. "color"; terms defined elsewhere can be referenced with their URIs.',
232
+            'weight' => 'The weight of the product or person.',
233
+            'width' => 'The width of the item.'
234
+        ];
235
+    }
236 236
 
237 237
 
238
-	/**
239
-	 * @inheritdoc
240
-	 */
241
-	public function getGoogleRequiredSchema(): array
242
-	{
243
-		return ['description', 'name'];
244
-	}
238
+    /**
239
+     * @inheritdoc
240
+     */
241
+    public function getGoogleRequiredSchema(): array
242
+    {
243
+        return ['description', 'name'];
244
+    }
245 245
 
246 246
 
247
-	/**
248
-	 * @inheritdoc
249
-	 */
250
-	public function getGoogleRecommendedSchema(): array
251
-	{
252
-		return ['image', 'url'];
253
-	}
247
+    /**
248
+     * @inheritdoc
249
+     */
250
+    public function getGoogleRecommendedSchema(): array
251
+    {
252
+        return ['image', 'url'];
253
+    }
254 254
 
255 255
 
256
-	/**
257
-	 * @inheritdoc
258
-	 */
259
-	public function defineRules(): array
260
-	{
261
-		$rules = parent::defineRules();
262
-		    $rules = array_merge($rules, [
263
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
264
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
265
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
266
-		    ]);
256
+    /**
257
+     * @inheritdoc
258
+     */
259
+    public function defineRules(): array
260
+    {
261
+        $rules = parent::defineRules();
262
+            $rules = array_merge($rules, [
263
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
264
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
265
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
266
+            ]);
267 267
 
268
-		    return $rules;
269
-	}
268
+            return $rules;
269
+    }
270 270
 }
Please login to merge, or discard this patch.
src/models/jsonld/MusicGroup.php 1 patch
Indentation   +246 added lines, -246 removed lines patch added patch discarded remove patch
@@ -24,267 +24,267 @@
 block discarded – undo
24 24
  */
25 25
 class MusicGroup extends MetaJsonLd implements MusicGroupInterface, PerformingGroupInterface, OrganizationInterface, ThingInterface
26 26
 {
27
-	use MusicGroupTrait;
28
-	use PerformingGroupTrait;
29
-	use OrganizationTrait;
30
-	use ThingTrait;
27
+    use MusicGroupTrait;
28
+    use PerformingGroupTrait;
29
+    use OrganizationTrait;
30
+    use ThingTrait;
31 31
 
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'MusicGroup';
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'MusicGroup';
38 38
 
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/MusicGroup';
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/MusicGroup';
45 45
 
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'PerformingGroup';
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'PerformingGroup';
52 52
 
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.';
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.';
59 59
 
60 60
 
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68 68
 
69 69
 
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
77
-		    'additionalType' => ['URL'],
78
-		    'address' => ['Text', 'PostalAddress'],
79
-		    'aggregateRating' => ['AggregateRating'],
80
-		    'album' => ['MusicAlbum'],
81
-		    'albums' => ['MusicAlbum'],
82
-		    'alternateName' => ['Text'],
83
-		    'alumni' => ['Person'],
84
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
85
-		    'award' => ['Text'],
86
-		    'awards' => ['Text'],
87
-		    'brand' => ['Brand', 'Organization'],
88
-		    'contactPoint' => ['ContactPoint'],
89
-		    'contactPoints' => ['ContactPoint'],
90
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
91
-		    'department' => ['Organization'],
92
-		    'description' => ['Text'],
93
-		    'disambiguatingDescription' => ['Text'],
94
-		    'dissolutionDate' => ['Date'],
95
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
96
-		    'diversityStaffingReport' => ['Article', 'URL'],
97
-		    'duns' => ['Text'],
98
-		    'email' => ['Text'],
99
-		    'employee' => ['Person'],
100
-		    'employees' => ['Person'],
101
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
102
-		    'event' => ['Event'],
103
-		    'events' => ['Event'],
104
-		    'faxNumber' => ['Text'],
105
-		    'founder' => ['Person'],
106
-		    'founders' => ['Person'],
107
-		    'foundingDate' => ['Date'],
108
-		    'foundingLocation' => ['Place'],
109
-		    'funder' => ['Organization', 'Person'],
110
-		    'funding' => ['Grant'],
111
-		    'genre' => ['Text', 'URL'],
112
-		    'globalLocationNumber' => ['Text'],
113
-		    'hasCredential' => ['EducationalOccupationalCredential'],
114
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
115
-		    'hasOfferCatalog' => ['OfferCatalog'],
116
-		    'hasPOS' => ['Place'],
117
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
118
-		    'image' => ['URL', 'ImageObject'],
119
-		    'interactionStatistic' => ['InteractionCounter'],
120
-		    'isicV4' => ['Text'],
121
-		    'iso6523Code' => ['Text'],
122
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
123
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
124
-		    'knowsLanguage' => ['Text', 'Language'],
125
-		    'legalName' => ['Text'],
126
-		    'leiCode' => ['Text'],
127
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
128
-		    'logo' => ['ImageObject', 'URL'],
129
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
130
-		    'makesOffer' => ['Offer'],
131
-		    'member' => ['Organization', 'Person'],
132
-		    'memberOf' => ['Organization', 'ProgramMembership'],
133
-		    'members' => ['Organization', 'Person'],
134
-		    'musicGroupMember' => ['Person'],
135
-		    'naics' => ['Text'],
136
-		    'name' => ['Text'],
137
-		    'nonprofitStatus' => ['NonprofitType'],
138
-		    'numberOfEmployees' => ['QuantitativeValue'],
139
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
140
-		    'owns' => ['Product', 'OwnershipInfo'],
141
-		    'parentOrganization' => ['Organization'],
142
-		    'potentialAction' => ['Action'],
143
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
144
-		    'review' => ['Review'],
145
-		    'reviews' => ['Review'],
146
-		    'sameAs' => ['URL'],
147
-		    'seeks' => ['Demand'],
148
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
149
-		    'slogan' => ['Text'],
150
-		    'sponsor' => ['Organization', 'Person'],
151
-		    'subOrganization' => ['Organization'],
152
-		    'subjectOf' => ['Event', 'CreativeWork'],
153
-		    'taxID' => ['Text'],
154
-		    'telephone' => ['Text'],
155
-		    'track' => ['ItemList', 'MusicRecording'],
156
-		    'tracks' => ['MusicRecording'],
157
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
158
-		    'url' => ['URL'],
159
-		    'vatID' => ['Text']
160
-		];
161
-	}
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
77
+            'additionalType' => ['URL'],
78
+            'address' => ['Text', 'PostalAddress'],
79
+            'aggregateRating' => ['AggregateRating'],
80
+            'album' => ['MusicAlbum'],
81
+            'albums' => ['MusicAlbum'],
82
+            'alternateName' => ['Text'],
83
+            'alumni' => ['Person'],
84
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
85
+            'award' => ['Text'],
86
+            'awards' => ['Text'],
87
+            'brand' => ['Brand', 'Organization'],
88
+            'contactPoint' => ['ContactPoint'],
89
+            'contactPoints' => ['ContactPoint'],
90
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
91
+            'department' => ['Organization'],
92
+            'description' => ['Text'],
93
+            'disambiguatingDescription' => ['Text'],
94
+            'dissolutionDate' => ['Date'],
95
+            'diversityPolicy' => ['URL', 'CreativeWork'],
96
+            'diversityStaffingReport' => ['Article', 'URL'],
97
+            'duns' => ['Text'],
98
+            'email' => ['Text'],
99
+            'employee' => ['Person'],
100
+            'employees' => ['Person'],
101
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
102
+            'event' => ['Event'],
103
+            'events' => ['Event'],
104
+            'faxNumber' => ['Text'],
105
+            'founder' => ['Person'],
106
+            'founders' => ['Person'],
107
+            'foundingDate' => ['Date'],
108
+            'foundingLocation' => ['Place'],
109
+            'funder' => ['Organization', 'Person'],
110
+            'funding' => ['Grant'],
111
+            'genre' => ['Text', 'URL'],
112
+            'globalLocationNumber' => ['Text'],
113
+            'hasCredential' => ['EducationalOccupationalCredential'],
114
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
115
+            'hasOfferCatalog' => ['OfferCatalog'],
116
+            'hasPOS' => ['Place'],
117
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
118
+            'image' => ['URL', 'ImageObject'],
119
+            'interactionStatistic' => ['InteractionCounter'],
120
+            'isicV4' => ['Text'],
121
+            'iso6523Code' => ['Text'],
122
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
123
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
124
+            'knowsLanguage' => ['Text', 'Language'],
125
+            'legalName' => ['Text'],
126
+            'leiCode' => ['Text'],
127
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
128
+            'logo' => ['ImageObject', 'URL'],
129
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
130
+            'makesOffer' => ['Offer'],
131
+            'member' => ['Organization', 'Person'],
132
+            'memberOf' => ['Organization', 'ProgramMembership'],
133
+            'members' => ['Organization', 'Person'],
134
+            'musicGroupMember' => ['Person'],
135
+            'naics' => ['Text'],
136
+            'name' => ['Text'],
137
+            'nonprofitStatus' => ['NonprofitType'],
138
+            'numberOfEmployees' => ['QuantitativeValue'],
139
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
140
+            'owns' => ['Product', 'OwnershipInfo'],
141
+            'parentOrganization' => ['Organization'],
142
+            'potentialAction' => ['Action'],
143
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
144
+            'review' => ['Review'],
145
+            'reviews' => ['Review'],
146
+            'sameAs' => ['URL'],
147
+            'seeks' => ['Demand'],
148
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
149
+            'slogan' => ['Text'],
150
+            'sponsor' => ['Organization', 'Person'],
151
+            'subOrganization' => ['Organization'],
152
+            'subjectOf' => ['Event', 'CreativeWork'],
153
+            'taxID' => ['Text'],
154
+            'telephone' => ['Text'],
155
+            'track' => ['ItemList', 'MusicRecording'],
156
+            'tracks' => ['MusicRecording'],
157
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
158
+            'url' => ['URL'],
159
+            'vatID' => ['Text']
160
+        ];
161
+    }
162 162
 
163 163
 
164
-	/**
165
-	 * @inheritdoc
166
-	 */
167
-	public function getSchemaPropertyDescriptions(): array
168
-	{
169
-		return [
170
-		    '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.',
171
-		    '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.',
172
-		    'address' => 'Physical address of the item.',
173
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
174
-		    'album' => 'A music album.',
175
-		    'albums' => 'A collection of music albums.',
176
-		    'alternateName' => 'An alias for the item.',
177
-		    'alumni' => 'Alumni of an organization.',
178
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
179
-		    'award' => 'An award won by or for this item.',
180
-		    'awards' => 'Awards won by or for this item.',
181
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
182
-		    'contactPoint' => 'A contact point for a person or organization.',
183
-		    'contactPoints' => 'A contact point for a person or organization.',
184
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
185
-		    '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.',
186
-		    'description' => 'A description of the item.',
187
-		    '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.',
188
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
189
-		    '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.',
190
-		    '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.',
191
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
192
-		    'email' => 'Email address.',
193
-		    'employee' => 'Someone working for this organization.',
194
-		    'employees' => 'People working for this organization.',
195
-		    '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.',
196
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
197
-		    'events' => 'Upcoming or past events associated with this place or organization.',
198
-		    'faxNumber' => 'The fax number.',
199
-		    'founder' => 'A person who founded this organization.',
200
-		    'founders' => 'A person who founded this organization.',
201
-		    'foundingDate' => 'The date that this organization was founded.',
202
-		    'foundingLocation' => 'The place where the Organization was founded.',
203
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
204
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
205
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
206
-		    '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.',
207
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
208
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
209
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
210
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
211
-		    '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.         ',
212
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
213
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
214
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
215
-		    '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. ',
216
-		    '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.',
217
-		    '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.',
218
-		    '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).',
219
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
220
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
221
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
222
-		    'logo' => 'An associated logo.',
223
-		    '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.',
224
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
225
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
226
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
227
-		    'members' => 'A member of this organization.',
228
-		    'musicGroupMember' => 'A member of a music group—for example, John, Paul, George, or Ringo.',
229
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
230
-		    'name' => 'The name of the item.',
231
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
232
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
233
-		    '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.',
234
-		    'owns' => 'Products owned by the organization or person.',
235
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
236
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
237
-		    '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. ',
238
-		    'review' => 'A review of the item.',
239
-		    'reviews' => 'Review of the item.',
240
-		    '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.',
241
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
242
-		    'serviceArea' => 'The geographic area where the service is provided.',
243
-		    'slogan' => 'A slogan or motto associated with the item.',
244
-		    '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.',
245
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
246
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
247
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
248
-		    'telephone' => 'The telephone number.',
249
-		    'track' => 'A music recording (track)—usually a single song. If an ItemList is given, the list should contain items of type MusicRecording.',
250
-		    'tracks' => 'A music recording (track)—usually a single song.',
251
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
252
-		    'url' => 'URL of the item.',
253
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
254
-		];
255
-	}
164
+    /**
165
+     * @inheritdoc
166
+     */
167
+    public function getSchemaPropertyDescriptions(): array
168
+    {
169
+        return [
170
+            '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.',
171
+            '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.',
172
+            'address' => 'Physical address of the item.',
173
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
174
+            'album' => 'A music album.',
175
+            'albums' => 'A collection of music albums.',
176
+            'alternateName' => 'An alias for the item.',
177
+            'alumni' => 'Alumni of an organization.',
178
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
179
+            'award' => 'An award won by or for this item.',
180
+            'awards' => 'Awards won by or for this item.',
181
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
182
+            'contactPoint' => 'A contact point for a person or organization.',
183
+            'contactPoints' => 'A contact point for a person or organization.',
184
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
185
+            '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.',
186
+            'description' => 'A description of the item.',
187
+            '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.',
188
+            'dissolutionDate' => 'The date that this organization was dissolved.',
189
+            '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.',
190
+            '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.',
191
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
192
+            'email' => 'Email address.',
193
+            'employee' => 'Someone working for this organization.',
194
+            'employees' => 'People working for this organization.',
195
+            '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.',
196
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
197
+            'events' => 'Upcoming or past events associated with this place or organization.',
198
+            'faxNumber' => 'The fax number.',
199
+            'founder' => 'A person who founded this organization.',
200
+            'founders' => 'A person who founded this organization.',
201
+            'foundingDate' => 'The date that this organization was founded.',
202
+            'foundingLocation' => 'The place where the Organization was founded.',
203
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
204
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
205
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
206
+            '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.',
207
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
208
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
209
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
210
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
211
+            '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.         ',
212
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
213
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
214
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
215
+            '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. ',
216
+            '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.',
217
+            '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.',
218
+            '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).',
219
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
220
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
221
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
222
+            'logo' => 'An associated logo.',
223
+            '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.',
224
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
225
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
226
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
227
+            'members' => 'A member of this organization.',
228
+            'musicGroupMember' => 'A member of a music group—for example, John, Paul, George, or Ringo.',
229
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
230
+            'name' => 'The name of the item.',
231
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
232
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
233
+            '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.',
234
+            'owns' => 'Products owned by the organization or person.',
235
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
236
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
237
+            '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. ',
238
+            'review' => 'A review of the item.',
239
+            'reviews' => 'Review of the item.',
240
+            '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.',
241
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
242
+            'serviceArea' => 'The geographic area where the service is provided.',
243
+            'slogan' => 'A slogan or motto associated with the item.',
244
+            '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.',
245
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
246
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
247
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
248
+            'telephone' => 'The telephone number.',
249
+            'track' => 'A music recording (track)—usually a single song. If an ItemList is given, the list should contain items of type MusicRecording.',
250
+            'tracks' => 'A music recording (track)—usually a single song.',
251
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
252
+            'url' => 'URL of the item.',
253
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
254
+        ];
255
+    }
256 256
 
257 257
 
258
-	/**
259
-	 * @inheritdoc
260
-	 */
261
-	public function getGoogleRequiredSchema(): array
262
-	{
263
-		return ['description', 'name'];
264
-	}
258
+    /**
259
+     * @inheritdoc
260
+     */
261
+    public function getGoogleRequiredSchema(): array
262
+    {
263
+        return ['description', 'name'];
264
+    }
265 265
 
266 266
 
267
-	/**
268
-	 * @inheritdoc
269
-	 */
270
-	public function getGoogleRecommendedSchema(): array
271
-	{
272
-		return ['image', 'url'];
273
-	}
267
+    /**
268
+     * @inheritdoc
269
+     */
270
+    public function getGoogleRecommendedSchema(): array
271
+    {
272
+        return ['image', 'url'];
273
+    }
274 274
 
275 275
 
276
-	/**
277
-	 * @inheritdoc
278
-	 */
279
-	public function defineRules(): array
280
-	{
281
-		$rules = parent::defineRules();
282
-		    $rules = array_merge($rules, [
283
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
284
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
285
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
286
-		    ]);
276
+    /**
277
+     * @inheritdoc
278
+     */
279
+    public function defineRules(): array
280
+    {
281
+        $rules = parent::defineRules();
282
+            $rules = array_merge($rules, [
283
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
284
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
285
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
286
+            ]);
287 287
 
288
-		    return $rules;
289
-	}
288
+            return $rules;
289
+    }
290 290
 }
Please login to merge, or discard this patch.
src/models/jsonld/CheckoutPage.php 1 patch
Indentation   +346 added lines, -346 removed lines patch added patch discarded remove patch
@@ -23,367 +23,367 @@
 block discarded – undo
23 23
  */
24 24
 class CheckoutPage extends MetaJsonLd implements CheckoutPageInterface, WebPageInterface, CreativeWorkInterface, ThingInterface
25 25
 {
26
-	use CheckoutPageTrait;
27
-	use WebPageTrait;
28
-	use CreativeWorkTrait;
29
-	use ThingTrait;
26
+    use CheckoutPageTrait;
27
+    use WebPageTrait;
28
+    use CreativeWorkTrait;
29
+    use ThingTrait;
30 30
 
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'CheckoutPage';
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'CheckoutPage';
37 37
 
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/CheckoutPage';
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/CheckoutPage';
44 44
 
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'WebPage';
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'WebPage';
51 51
 
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'Web page type: Checkout page.';
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'Web page type: Checkout page.';
58 58
 
59 59
 
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67 67
 
68 68
 
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'about' => ['Thing'],
76
-		    'abstract' => ['Text'],
77
-		    'accessMode' => ['Text'],
78
-		    'accessModeSufficient' => ['ItemList'],
79
-		    'accessibilityAPI' => ['Text'],
80
-		    'accessibilityControl' => ['Text'],
81
-		    'accessibilityFeature' => ['Text'],
82
-		    'accessibilityHazard' => ['Text'],
83
-		    'accessibilitySummary' => ['Text'],
84
-		    'accountablePerson' => ['Person'],
85
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
86
-		    'additionalType' => ['URL'],
87
-		    'aggregateRating' => ['AggregateRating'],
88
-		    'alternateName' => ['Text'],
89
-		    'alternativeHeadline' => ['Text'],
90
-		    'archivedAt' => ['WebPage', 'URL'],
91
-		    'assesses' => ['DefinedTerm', 'Text'],
92
-		    'associatedMedia' => ['MediaObject'],
93
-		    'audience' => ['Audience'],
94
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
95
-		    'author' => ['Organization', 'Person'],
96
-		    'award' => ['Text'],
97
-		    'awards' => ['Text'],
98
-		    'breadcrumb' => ['BreadcrumbList', 'Text'],
99
-		    'character' => ['Person'],
100
-		    'citation' => ['CreativeWork', 'Text'],
101
-		    'comment' => ['Comment'],
102
-		    'commentCount' => ['Integer'],
103
-		    'conditionsOfAccess' => ['Text'],
104
-		    'contentLocation' => ['Place'],
105
-		    'contentRating' => ['Text', 'Rating'],
106
-		    'contentReferenceTime' => ['DateTime'],
107
-		    'contributor' => ['Organization', 'Person'],
108
-		    'copyrightHolder' => ['Organization', 'Person'],
109
-		    'copyrightNotice' => ['Text'],
110
-		    'copyrightYear' => ['Number'],
111
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
112
-		    'countryOfOrigin' => ['Country'],
113
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
114
-		    'creator' => ['Person', 'Organization'],
115
-		    'creditText' => ['Text'],
116
-		    'dateCreated' => ['DateTime', 'Date'],
117
-		    'dateModified' => ['DateTime', 'Date'],
118
-		    'datePublished' => ['DateTime', 'Date'],
119
-		    'description' => ['Text'],
120
-		    'disambiguatingDescription' => ['Text'],
121
-		    'discussionUrl' => ['URL'],
122
-		    'editEIDR' => ['URL', 'Text'],
123
-		    'editor' => ['Person'],
124
-		    'educationalAlignment' => ['AlignmentObject'],
125
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
126
-		    'educationalUse' => ['DefinedTerm', 'Text'],
127
-		    'encoding' => ['MediaObject'],
128
-		    'encodingFormat' => ['URL', 'Text'],
129
-		    'encodings' => ['MediaObject'],
130
-		    'exampleOfWork' => ['CreativeWork'],
131
-		    'expires' => ['Date', 'DateTime'],
132
-		    'fileFormat' => ['Text', 'URL'],
133
-		    'funder' => ['Organization', 'Person'],
134
-		    'funding' => ['Grant'],
135
-		    'genre' => ['Text', 'URL'],
136
-		    'hasPart' => ['CreativeWork'],
137
-		    'headline' => ['Text'],
138
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
139
-		    'image' => ['URL', 'ImageObject'],
140
-		    'inLanguage' => ['Text', 'Language'],
141
-		    'interactionStatistic' => ['InteractionCounter'],
142
-		    'interactivityType' => ['Text'],
143
-		    'interpretedAsClaim' => ['Claim'],
144
-		    'isAccessibleForFree' => ['Boolean'],
145
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
146
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
147
-		    'isFamilyFriendly' => ['Boolean'],
148
-		    'isPartOf' => ['URL', 'CreativeWork'],
149
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
-		    'lastReviewed' => ['Date'],
151
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
152
-		    'license' => ['URL', 'CreativeWork'],
153
-		    'locationCreated' => ['Place'],
154
-		    'mainContentOfPage' => ['WebPageElement'],
155
-		    'mainEntity' => ['Thing'],
156
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
157
-		    'maintainer' => ['Person', 'Organization'],
158
-		    'material' => ['Product', 'URL', 'Text'],
159
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
160
-		    'mentions' => ['Thing'],
161
-		    'name' => ['Text'],
162
-		    'offers' => ['Demand', 'Offer'],
163
-		    'pattern' => ['DefinedTerm', 'Text'],
164
-		    'position' => ['Text', 'Integer'],
165
-		    'potentialAction' => ['Action'],
166
-		    'primaryImageOfPage' => ['ImageObject'],
167
-		    'producer' => ['Organization', 'Person'],
168
-		    'provider' => ['Organization', 'Person'],
169
-		    'publication' => ['PublicationEvent'],
170
-		    'publisher' => ['Organization', 'Person'],
171
-		    'publisherImprint' => ['Organization'],
172
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
173
-		    'recordedAt' => ['Event'],
174
-		    'relatedLink' => ['URL'],
175
-		    'releasedEvent' => ['PublicationEvent'],
176
-		    'review' => ['Review'],
177
-		    'reviewedBy' => ['Organization', 'Person'],
178
-		    'reviews' => ['Review'],
179
-		    'sameAs' => ['URL'],
180
-		    'schemaVersion' => ['URL', 'Text'],
181
-		    'sdDatePublished' => ['Date'],
182
-		    'sdLicense' => ['CreativeWork', 'URL'],
183
-		    'sdPublisher' => ['Organization', 'Person'],
184
-		    'significantLink' => ['URL'],
185
-		    'significantLinks' => ['URL'],
186
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
187
-		    'sourceOrganization' => ['Organization'],
188
-		    'spatial' => ['Place'],
189
-		    'spatialCoverage' => ['Place'],
190
-		    'speakable' => ['SpeakableSpecification', 'URL'],
191
-		    'specialty' => ['Specialty'],
192
-		    'sponsor' => ['Organization', 'Person'],
193
-		    'subjectOf' => ['Event', 'CreativeWork'],
194
-		    'teaches' => ['DefinedTerm', 'Text'],
195
-		    'temporal' => ['DateTime', 'Text'],
196
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
197
-		    'text' => ['Text'],
198
-		    'thumbnailUrl' => ['URL'],
199
-		    'timeRequired' => ['Duration'],
200
-		    'translationOfWork' => ['CreativeWork'],
201
-		    'translator' => ['Organization', 'Person'],
202
-		    'typicalAgeRange' => ['Text'],
203
-		    'url' => ['URL'],
204
-		    'usageInfo' => ['URL', 'CreativeWork'],
205
-		    'version' => ['Number', 'Text'],
206
-		    'video' => ['VideoObject', 'Clip'],
207
-		    'workExample' => ['CreativeWork'],
208
-		    'workTranslation' => ['CreativeWork']
209
-		];
210
-	}
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'about' => ['Thing'],
76
+            'abstract' => ['Text'],
77
+            'accessMode' => ['Text'],
78
+            'accessModeSufficient' => ['ItemList'],
79
+            'accessibilityAPI' => ['Text'],
80
+            'accessibilityControl' => ['Text'],
81
+            'accessibilityFeature' => ['Text'],
82
+            'accessibilityHazard' => ['Text'],
83
+            'accessibilitySummary' => ['Text'],
84
+            'accountablePerson' => ['Person'],
85
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
86
+            'additionalType' => ['URL'],
87
+            'aggregateRating' => ['AggregateRating'],
88
+            'alternateName' => ['Text'],
89
+            'alternativeHeadline' => ['Text'],
90
+            'archivedAt' => ['WebPage', 'URL'],
91
+            'assesses' => ['DefinedTerm', 'Text'],
92
+            'associatedMedia' => ['MediaObject'],
93
+            'audience' => ['Audience'],
94
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
95
+            'author' => ['Organization', 'Person'],
96
+            'award' => ['Text'],
97
+            'awards' => ['Text'],
98
+            'breadcrumb' => ['BreadcrumbList', 'Text'],
99
+            'character' => ['Person'],
100
+            'citation' => ['CreativeWork', 'Text'],
101
+            'comment' => ['Comment'],
102
+            'commentCount' => ['Integer'],
103
+            'conditionsOfAccess' => ['Text'],
104
+            'contentLocation' => ['Place'],
105
+            'contentRating' => ['Text', 'Rating'],
106
+            'contentReferenceTime' => ['DateTime'],
107
+            'contributor' => ['Organization', 'Person'],
108
+            'copyrightHolder' => ['Organization', 'Person'],
109
+            'copyrightNotice' => ['Text'],
110
+            'copyrightYear' => ['Number'],
111
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
112
+            'countryOfOrigin' => ['Country'],
113
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
114
+            'creator' => ['Person', 'Organization'],
115
+            'creditText' => ['Text'],
116
+            'dateCreated' => ['DateTime', 'Date'],
117
+            'dateModified' => ['DateTime', 'Date'],
118
+            'datePublished' => ['DateTime', 'Date'],
119
+            'description' => ['Text'],
120
+            'disambiguatingDescription' => ['Text'],
121
+            'discussionUrl' => ['URL'],
122
+            'editEIDR' => ['URL', 'Text'],
123
+            'editor' => ['Person'],
124
+            'educationalAlignment' => ['AlignmentObject'],
125
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
126
+            'educationalUse' => ['DefinedTerm', 'Text'],
127
+            'encoding' => ['MediaObject'],
128
+            'encodingFormat' => ['URL', 'Text'],
129
+            'encodings' => ['MediaObject'],
130
+            'exampleOfWork' => ['CreativeWork'],
131
+            'expires' => ['Date', 'DateTime'],
132
+            'fileFormat' => ['Text', 'URL'],
133
+            'funder' => ['Organization', 'Person'],
134
+            'funding' => ['Grant'],
135
+            'genre' => ['Text', 'URL'],
136
+            'hasPart' => ['CreativeWork'],
137
+            'headline' => ['Text'],
138
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
139
+            'image' => ['URL', 'ImageObject'],
140
+            'inLanguage' => ['Text', 'Language'],
141
+            'interactionStatistic' => ['InteractionCounter'],
142
+            'interactivityType' => ['Text'],
143
+            'interpretedAsClaim' => ['Claim'],
144
+            'isAccessibleForFree' => ['Boolean'],
145
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
146
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
147
+            'isFamilyFriendly' => ['Boolean'],
148
+            'isPartOf' => ['URL', 'CreativeWork'],
149
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
+            'lastReviewed' => ['Date'],
151
+            'learningResourceType' => ['DefinedTerm', 'Text'],
152
+            'license' => ['URL', 'CreativeWork'],
153
+            'locationCreated' => ['Place'],
154
+            'mainContentOfPage' => ['WebPageElement'],
155
+            'mainEntity' => ['Thing'],
156
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
157
+            'maintainer' => ['Person', 'Organization'],
158
+            'material' => ['Product', 'URL', 'Text'],
159
+            'materialExtent' => ['QuantitativeValue', 'Text'],
160
+            'mentions' => ['Thing'],
161
+            'name' => ['Text'],
162
+            'offers' => ['Demand', 'Offer'],
163
+            'pattern' => ['DefinedTerm', 'Text'],
164
+            'position' => ['Text', 'Integer'],
165
+            'potentialAction' => ['Action'],
166
+            'primaryImageOfPage' => ['ImageObject'],
167
+            'producer' => ['Organization', 'Person'],
168
+            'provider' => ['Organization', 'Person'],
169
+            'publication' => ['PublicationEvent'],
170
+            'publisher' => ['Organization', 'Person'],
171
+            'publisherImprint' => ['Organization'],
172
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
173
+            'recordedAt' => ['Event'],
174
+            'relatedLink' => ['URL'],
175
+            'releasedEvent' => ['PublicationEvent'],
176
+            'review' => ['Review'],
177
+            'reviewedBy' => ['Organization', 'Person'],
178
+            'reviews' => ['Review'],
179
+            'sameAs' => ['URL'],
180
+            'schemaVersion' => ['URL', 'Text'],
181
+            'sdDatePublished' => ['Date'],
182
+            'sdLicense' => ['CreativeWork', 'URL'],
183
+            'sdPublisher' => ['Organization', 'Person'],
184
+            'significantLink' => ['URL'],
185
+            'significantLinks' => ['URL'],
186
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
187
+            'sourceOrganization' => ['Organization'],
188
+            'spatial' => ['Place'],
189
+            'spatialCoverage' => ['Place'],
190
+            'speakable' => ['SpeakableSpecification', 'URL'],
191
+            'specialty' => ['Specialty'],
192
+            'sponsor' => ['Organization', 'Person'],
193
+            'subjectOf' => ['Event', 'CreativeWork'],
194
+            'teaches' => ['DefinedTerm', 'Text'],
195
+            'temporal' => ['DateTime', 'Text'],
196
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
197
+            'text' => ['Text'],
198
+            'thumbnailUrl' => ['URL'],
199
+            'timeRequired' => ['Duration'],
200
+            'translationOfWork' => ['CreativeWork'],
201
+            'translator' => ['Organization', 'Person'],
202
+            'typicalAgeRange' => ['Text'],
203
+            'url' => ['URL'],
204
+            'usageInfo' => ['URL', 'CreativeWork'],
205
+            'version' => ['Number', 'Text'],
206
+            'video' => ['VideoObject', 'Clip'],
207
+            'workExample' => ['CreativeWork'],
208
+            'workTranslation' => ['CreativeWork']
209
+        ];
210
+    }
211 211
 
212 212
 
213
-	/**
214
-	 * @inheritdoc
215
-	 */
216
-	public function getSchemaPropertyDescriptions(): array
217
-	{
218
-		return [
219
-		    'about' => 'The subject matter of the content.',
220
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
221
-		    'accessMode' => 'The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary).',
222
-		    'accessModeSufficient' => 'A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).',
223
-		    'accessibilityAPI' => 'Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary).',
224
-		    'accessibilityControl' => 'Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary).',
225
-		    'accessibilityFeature' => 'Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary).',
226
-		    'accessibilityHazard' => 'A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary).',
227
-		    'accessibilitySummary' => 'A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed."',
228
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
229
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
230
-		    '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.',
231
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
232
-		    'alternateName' => 'An alias for the item.',
233
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
234
-		    'archivedAt' => 'Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.',
235
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
236
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
237
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
238
-		    'audio' => 'An embedded audio object.',
239
-		    'author' => 'The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.',
240
-		    'award' => 'An award won by or for this item.',
241
-		    'awards' => 'Awards won by or for this item.',
242
-		    'breadcrumb' => 'A set of links that can help a user understand and navigate a website hierarchy.',
243
-		    'character' => 'Fictional person connected with a creative work.',
244
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
245
-		    'comment' => 'Comments, typically from users.',
246
-		    'commentCount' => 'The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.',
247
-		    'conditionsOfAccess' => 'Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.  For example "Available by appointment from the Reading Room" or "Accessible only from logged-in accounts ". ',
248
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
249
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
250
-		    'contentReferenceTime' => 'The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.',
251
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
252
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
253
-		    'copyrightNotice' => 'Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.',
254
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
255
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
256
-		    'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
257
-		    'creativeWorkStatus' => 'The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.',
258
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
259
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
260
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
261
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
262
-		    'datePublished' => 'Date of first broadcast/publication.',
263
-		    'description' => 'A description of the item.',
264
-		    '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.',
265
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
266
-		    'editEIDR' => 'An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.  For example, the motion picture known as "Ghostbusters" whose [[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and "10.5240/8A35-3BEE-6497-5D12-9E4F-3".  Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description. ',
267
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
268
-		    'educationalAlignment' => 'An alignment to an established educational framework.  This property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.',
269
-		    'educationalLevel' => 'The level in terms of progression through an educational or training context. Examples of educational levels include \'beginner\', \'intermediate\' or \'advanced\', and formal sets of level indicators.',
270
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
271
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
272
-		    'encodingFormat' => 'Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.  In cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.  Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.',
273
-		    'encodings' => 'A media object that encodes this CreativeWork.',
274
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
275
-		    'expires' => 'Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, or a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.',
276
-		    'fileFormat' => 'Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, \'encoding\' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.',
277
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
278
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
279
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
280
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
281
-		    'headline' => 'Headline of the article.',
282
-		    '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.         ',
283
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
284
-		    'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
285
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
286
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
287
-		    'interpretedAsClaim' => 'Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].',
288
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
289
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
290
-		    'isBasedOnUrl' => 'A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.',
291
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
292
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
293
-		    '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.',
294
-		    'lastReviewed' => 'Date on which the content on this web page was last reviewed for accuracy and/or completeness.',
295
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
296
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
297
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
298
-		    'mainContentOfPage' => 'Indicates if this web page element is the main subject of the page.',
299
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
300
-		    '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.',
301
-		    'maintainer' => 'A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on "upstream" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always  possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.       ',
302
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
303
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
304
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
305
-		    'name' => 'The name of the item.',
306
-		    '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.       ',
307
-		    'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
308
-		    'position' => 'The position of an item in a series or sequence of items.',
309
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
310
-		    'primaryImageOfPage' => 'Indicates the main image on the page.',
311
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
312
-		    '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.',
313
-		    'publication' => 'A publication event associated with the item.',
314
-		    'publisher' => 'The publisher of the creative work.',
315
-		    'publisherImprint' => 'The publishing division which published the comic.',
316
-		    '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. ',
317
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
318
-		    'relatedLink' => 'A link related to this web page, for example to other related web pages.',
319
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
320
-		    'review' => 'A review of the item.',
321
-		    'reviewedBy' => 'People or organizations that have reviewed the content on this web page for accuracy and/or completeness.',
322
-		    'reviews' => 'Review of the item.',
323
-		    '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.',
324
-		    'schemaVersion' => 'Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to     indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community.',
325
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
326
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
327
-		    'sdPublisher' => 'Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The [[sdPublisher]] property helps make such practices more explicit.',
328
-		    'significantLink' => 'One of the more significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.',
329
-		    'significantLinks' => 'The most significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.',
330
-		    'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
331
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
332
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
333
-		    'spatialCoverage' => 'The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of       contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates       areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.',
334
-		    'speakable' => 'Indicates sections of a Web page that are particularly \'speakable\' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the \'speakable\' property serves to indicate the parts most likely to be generally useful for speech.  The *speakable* property can be repeated an arbitrary number of times, with three kinds of possible \'content-locator\' values:  1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.  2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.  3.)  XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.   For more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this we define a supporting type, [[SpeakableSpecification]]  which is defined to be a possible value of the *speakable* property.          ',
335
-		    'specialty' => 'One of the domain specialities to which this web page\'s content applies.',
336
-		    '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.',
337
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
338
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
339
-		    'temporal' => 'The "temporal" property can be used in cases where more specific properties (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate.',
340
-		    'temporalCoverage' => 'The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In       the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.       Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".  Open-ended date ranges can be written with ".." in place of the end date. For example, "2015-11/.." indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated.',
341
-		    'text' => 'The textual content of this CreativeWork.',
342
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
343
-		    'timeRequired' => 'Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. \'PT30M\', \'PT1H25M\'.',
344
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
345
-		    'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
346
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
347
-		    'url' => 'URL of the item.',
348
-		    'usageInfo' => 'The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.  This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.',
349
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
350
-		    'video' => 'An embedded video object.',
351
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
352
-		    'workTranslation' => 'A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese  translation Tây du ký bình khảo.'
353
-		];
354
-	}
213
+    /**
214
+     * @inheritdoc
215
+     */
216
+    public function getSchemaPropertyDescriptions(): array
217
+    {
218
+        return [
219
+            'about' => 'The subject matter of the content.',
220
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
221
+            'accessMode' => 'The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary).',
222
+            'accessModeSufficient' => 'A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).',
223
+            'accessibilityAPI' => 'Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary).',
224
+            'accessibilityControl' => 'Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary).',
225
+            'accessibilityFeature' => 'Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary).',
226
+            'accessibilityHazard' => 'A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary).',
227
+            'accessibilitySummary' => 'A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed."',
228
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
229
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
230
+            '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.',
231
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
232
+            'alternateName' => 'An alias for the item.',
233
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
234
+            'archivedAt' => 'Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.',
235
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
236
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
237
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
238
+            'audio' => 'An embedded audio object.',
239
+            'author' => 'The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.',
240
+            'award' => 'An award won by or for this item.',
241
+            'awards' => 'Awards won by or for this item.',
242
+            'breadcrumb' => 'A set of links that can help a user understand and navigate a website hierarchy.',
243
+            'character' => 'Fictional person connected with a creative work.',
244
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
245
+            'comment' => 'Comments, typically from users.',
246
+            'commentCount' => 'The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.',
247
+            'conditionsOfAccess' => 'Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.  For example "Available by appointment from the Reading Room" or "Accessible only from logged-in accounts ". ',
248
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
249
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
250
+            'contentReferenceTime' => 'The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.',
251
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
252
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
253
+            'copyrightNotice' => 'Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.',
254
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
255
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
256
+            'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
257
+            'creativeWorkStatus' => 'The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.',
258
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
259
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
260
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
261
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
262
+            'datePublished' => 'Date of first broadcast/publication.',
263
+            'description' => 'A description of the item.',
264
+            '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.',
265
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
266
+            'editEIDR' => 'An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.  For example, the motion picture known as "Ghostbusters" whose [[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and "10.5240/8A35-3BEE-6497-5D12-9E4F-3".  Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description. ',
267
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
268
+            'educationalAlignment' => 'An alignment to an established educational framework.  This property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.',
269
+            'educationalLevel' => 'The level in terms of progression through an educational or training context. Examples of educational levels include \'beginner\', \'intermediate\' or \'advanced\', and formal sets of level indicators.',
270
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
271
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
272
+            'encodingFormat' => 'Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.  In cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.  Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.',
273
+            'encodings' => 'A media object that encodes this CreativeWork.',
274
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
275
+            'expires' => 'Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, or a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.',
276
+            'fileFormat' => 'Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, \'encoding\' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.',
277
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
278
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
279
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
280
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
281
+            'headline' => 'Headline of the article.',
282
+            '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.         ',
283
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
284
+            'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
285
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
286
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
287
+            'interpretedAsClaim' => 'Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].',
288
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
289
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
290
+            'isBasedOnUrl' => 'A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.',
291
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
292
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
293
+            '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.',
294
+            'lastReviewed' => 'Date on which the content on this web page was last reviewed for accuracy and/or completeness.',
295
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
296
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
297
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
298
+            'mainContentOfPage' => 'Indicates if this web page element is the main subject of the page.',
299
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
300
+            '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.',
301
+            'maintainer' => 'A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on "upstream" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always  possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.       ',
302
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
303
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
304
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
305
+            'name' => 'The name of the item.',
306
+            '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.       ',
307
+            'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
308
+            'position' => 'The position of an item in a series or sequence of items.',
309
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
310
+            'primaryImageOfPage' => 'Indicates the main image on the page.',
311
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
312
+            '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.',
313
+            'publication' => 'A publication event associated with the item.',
314
+            'publisher' => 'The publisher of the creative work.',
315
+            'publisherImprint' => 'The publishing division which published the comic.',
316
+            '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. ',
317
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
318
+            'relatedLink' => 'A link related to this web page, for example to other related web pages.',
319
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
320
+            'review' => 'A review of the item.',
321
+            'reviewedBy' => 'People or organizations that have reviewed the content on this web page for accuracy and/or completeness.',
322
+            'reviews' => 'Review of the item.',
323
+            '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.',
324
+            'schemaVersion' => 'Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to     indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community.',
325
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
326
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
327
+            'sdPublisher' => 'Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The [[sdPublisher]] property helps make such practices more explicit.',
328
+            'significantLink' => 'One of the more significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.',
329
+            'significantLinks' => 'The most significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.',
330
+            'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
331
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
332
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
333
+            'spatialCoverage' => 'The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of       contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates       areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.',
334
+            'speakable' => 'Indicates sections of a Web page that are particularly \'speakable\' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the \'speakable\' property serves to indicate the parts most likely to be generally useful for speech.  The *speakable* property can be repeated an arbitrary number of times, with three kinds of possible \'content-locator\' values:  1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.  2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.  3.)  XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.   For more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this we define a supporting type, [[SpeakableSpecification]]  which is defined to be a possible value of the *speakable* property.          ',
335
+            'specialty' => 'One of the domain specialities to which this web page\'s content applies.',
336
+            '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.',
337
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
338
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
339
+            'temporal' => 'The "temporal" property can be used in cases where more specific properties (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate.',
340
+            'temporalCoverage' => 'The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In       the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.       Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".  Open-ended date ranges can be written with ".." in place of the end date. For example, "2015-11/.." indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated.',
341
+            'text' => 'The textual content of this CreativeWork.',
342
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
343
+            'timeRequired' => 'Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. \'PT30M\', \'PT1H25M\'.',
344
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
345
+            'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
346
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
347
+            'url' => 'URL of the item.',
348
+            'usageInfo' => 'The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.  This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.',
349
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
350
+            'video' => 'An embedded video object.',
351
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
352
+            'workTranslation' => 'A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese  translation Tây du ký bình khảo.'
353
+        ];
354
+    }
355 355
 
356 356
 
357
-	/**
358
-	 * @inheritdoc
359
-	 */
360
-	public function getGoogleRequiredSchema(): array
361
-	{
362
-		return ['description', 'name'];
363
-	}
357
+    /**
358
+     * @inheritdoc
359
+     */
360
+    public function getGoogleRequiredSchema(): array
361
+    {
362
+        return ['description', 'name'];
363
+    }
364 364
 
365 365
 
366
-	/**
367
-	 * @inheritdoc
368
-	 */
369
-	public function getGoogleRecommendedSchema(): array
370
-	{
371
-		return ['image', 'url'];
372
-	}
366
+    /**
367
+     * @inheritdoc
368
+     */
369
+    public function getGoogleRecommendedSchema(): array
370
+    {
371
+        return ['image', 'url'];
372
+    }
373 373
 
374 374
 
375
-	/**
376
-	 * @inheritdoc
377
-	 */
378
-	public function defineRules(): array
379
-	{
380
-		$rules = parent::defineRules();
381
-		    $rules = array_merge($rules, [
382
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
383
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
384
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
385
-		    ]);
375
+    /**
376
+     * @inheritdoc
377
+     */
378
+    public function defineRules(): array
379
+    {
380
+        $rules = parent::defineRules();
381
+            $rules = array_merge($rules, [
382
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
383
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
384
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
385
+            ]);
386 386
 
387
-		    return $rules;
388
-	}
387
+            return $rules;
388
+    }
389 389
 }
Please login to merge, or discard this patch.
src/models/jsonld/PartiallyInForce.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -23,127 +23,127 @@
 block discarded – undo
23 23
  */
24 24
 class PartiallyInForce extends MetaJsonLd implements PartiallyInForceInterface, LegalForceStatusInterface, StatusEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use PartiallyInForceTrait;
27
-	use LegalForceStatusTrait;
28
-	use StatusEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'PartiallyInForce';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/PartiallyInForce';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'LegalForceStatus';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Indicates that parts of the legislation are in force, and parts are not.';
60
-
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
69
-
70
-
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'sameAs' => ['URL'],
87
-		    'subjectOf' => ['Event', 'CreativeWork'],
88
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
-		    'url' => ['URL']
90
-		];
91
-	}
92
-
93
-
94
-	/**
95
-	 * @inheritdoc
96
-	 */
97
-	public function getSchemaPropertyDescriptions(): array
98
-	{
99
-		return [
100
-		    '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.',
101
-		    'alternateName' => 'An alias for the item.',
102
-		    'description' => 'A description of the item.',
103
-		    '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.',
104
-		    '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.         ',
105
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
-		    '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.',
107
-		    'name' => 'The name of the item.',
108
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
-		    '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.',
110
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
-		    'url' => 'URL of the item.'
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getGoogleRequiredSchema(): array
121
-	{
122
-		return ['description', 'name'];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRecommendedSchema(): array
130
-	{
131
-		return ['image', 'url'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function defineRules(): array
139
-	{
140
-		$rules = parent::defineRules();
141
-		    $rules = array_merge($rules, [
142
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
-		    ]);
146
-
147
-		    return $rules;
148
-	}
26
+    use PartiallyInForceTrait;
27
+    use LegalForceStatusTrait;
28
+    use StatusEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'PartiallyInForce';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/PartiallyInForce';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'LegalForceStatus';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Indicates that parts of the legislation are in force, and parts are not.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            '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.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            '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.',
104
+            '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.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            '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.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            '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.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.
src/models/jsonld/TelevisionChannel.php 1 patch
Indentation   +131 added lines, -131 removed lines patch added patch discarded remove patch
@@ -24,135 +24,135 @@
 block discarded – undo
24 24
  */
25 25
 class TelevisionChannel extends MetaJsonLd implements TelevisionChannelInterface, BroadcastChannelInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use TelevisionChannelTrait;
28
-	use BroadcastChannelTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'TelevisionChannel';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/TelevisionChannel';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'BroadcastChannel';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A unique instance of a television BroadcastService on a CableOrSatelliteService lineup.';
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
-		    'broadcastChannelId' => ['Text'],
79
-		    'broadcastFrequency' => ['Text', 'BroadcastFrequencySpecification'],
80
-		    'broadcastServiceTier' => ['Text'],
81
-		    'description' => ['Text'],
82
-		    'disambiguatingDescription' => ['Text'],
83
-		    'genre' => ['Text', 'URL'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'inBroadcastLineup' => ['CableOrSatelliteService'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'name' => ['Text'],
89
-		    'potentialAction' => ['Action'],
90
-		    'providesBroadcastService' => ['BroadcastService'],
91
-		    'sameAs' => ['URL'],
92
-		    'subjectOf' => ['Event', 'CreativeWork'],
93
-		    'url' => ['URL']
94
-		];
95
-	}
96
-
97
-
98
-	/**
99
-	 * @inheritdoc
100
-	 */
101
-	public function getSchemaPropertyDescriptions(): array
102
-	{
103
-		return [
104
-		    '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.',
105
-		    'alternateName' => 'An alias for the item.',
106
-		    'broadcastChannelId' => 'The unique address by which the BroadcastService can be identified in a provider lineup. In US, this is typically a number.',
107
-		    'broadcastFrequency' => 'The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".',
108
-		    'broadcastServiceTier' => 'The type of service required to have access to the channel (e.g. Standard or Premium).',
109
-		    'description' => 'A description of the item.',
110
-		    '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.',
111
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
112
-		    '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.         ',
113
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
114
-		    'inBroadcastLineup' => 'The CableOrSatelliteService offering the channel.',
115
-		    '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.',
116
-		    'name' => 'The name of the item.',
117
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
118
-		    'providesBroadcastService' => 'The BroadcastService offered on this channel.',
119
-		    '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.',
120
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
-		    'url' => 'URL of the item.'
122
-		];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRequiredSchema(): array
130
-	{
131
-		return ['description', 'name'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function getGoogleRecommendedSchema(): array
139
-	{
140
-		return ['image', 'url'];
141
-	}
142
-
143
-
144
-	/**
145
-	 * @inheritdoc
146
-	 */
147
-	public function defineRules(): array
148
-	{
149
-		$rules = parent::defineRules();
150
-		    $rules = array_merge($rules, [
151
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
152
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
153
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
154
-		    ]);
155
-
156
-		    return $rules;
157
-	}
27
+    use TelevisionChannelTrait;
28
+    use BroadcastChannelTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'TelevisionChannel';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/TelevisionChannel';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'BroadcastChannel';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A unique instance of a television BroadcastService on a CableOrSatelliteService lineup.';
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
+            'broadcastChannelId' => ['Text'],
79
+            'broadcastFrequency' => ['Text', 'BroadcastFrequencySpecification'],
80
+            'broadcastServiceTier' => ['Text'],
81
+            'description' => ['Text'],
82
+            'disambiguatingDescription' => ['Text'],
83
+            'genre' => ['Text', 'URL'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'inBroadcastLineup' => ['CableOrSatelliteService'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'name' => ['Text'],
89
+            'potentialAction' => ['Action'],
90
+            'providesBroadcastService' => ['BroadcastService'],
91
+            'sameAs' => ['URL'],
92
+            'subjectOf' => ['Event', 'CreativeWork'],
93
+            'url' => ['URL']
94
+        ];
95
+    }
96
+
97
+
98
+    /**
99
+     * @inheritdoc
100
+     */
101
+    public function getSchemaPropertyDescriptions(): array
102
+    {
103
+        return [
104
+            '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.',
105
+            'alternateName' => 'An alias for the item.',
106
+            'broadcastChannelId' => 'The unique address by which the BroadcastService can be identified in a provider lineup. In US, this is typically a number.',
107
+            'broadcastFrequency' => 'The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".',
108
+            'broadcastServiceTier' => 'The type of service required to have access to the channel (e.g. Standard or Premium).',
109
+            'description' => 'A description of the item.',
110
+            '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.',
111
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
112
+            '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.         ',
113
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
114
+            'inBroadcastLineup' => 'The CableOrSatelliteService offering the channel.',
115
+            '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.',
116
+            'name' => 'The name of the item.',
117
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
118
+            'providesBroadcastService' => 'The BroadcastService offered on this channel.',
119
+            '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.',
120
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
+            'url' => 'URL of the item.'
122
+        ];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRequiredSchema(): array
130
+    {
131
+        return ['description', 'name'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function getGoogleRecommendedSchema(): array
139
+    {
140
+        return ['image', 'url'];
141
+    }
142
+
143
+
144
+    /**
145
+     * @inheritdoc
146
+     */
147
+    public function defineRules(): array
148
+    {
149
+        $rules = parent::defineRules();
150
+            $rules = array_merge($rules, [
151
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
152
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
153
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
154
+            ]);
155
+
156
+            return $rules;
157
+    }
158 158
 }
Please login to merge, or discard this patch.