Passed
Push — develop ( e888e4...569633 )
by Andrew
19:20 queued 10:31
created
src/models/jsonld/CollectionPage.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 CollectionPage extends MetaJsonLd implements CollectionPageInterface, WebPageInterface, CreativeWorkInterface, ThingInterface
25 25
 {
26
-	use CollectionPageTrait;
27
-	use WebPageTrait;
28
-	use CreativeWorkTrait;
29
-	use ThingTrait;
26
+    use CollectionPageTrait;
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 = 'CollectionPage';
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'CollectionPage';
37 37
 
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/CollectionPage';
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/CollectionPage';
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: Collection page.';
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'Web page type: Collection 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/PayAction.php 1 patch
Indentation   +151 added lines, -151 removed lines patch added patch discarded remove patch
@@ -23,155 +23,155 @@
 block discarded – undo
23 23
  */
24 24
 class PayAction extends MetaJsonLd implements PayActionInterface, TradeActionInterface, ActionInterface, ThingInterface
25 25
 {
26
-	use PayActionTrait;
27
-	use TradeActionTrait;
28
-	use ActionTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'PayAction';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/PayAction';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'TradeAction';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'An agent pays a price to a participant.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'actionStatus' => ['ActionStatusType'],
76
-		    'additionalType' => ['URL'],
77
-		    'agent' => ['Organization', 'Person'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'endTime' => ['DateTime', 'Time'],
82
-		    'error' => ['Thing'],
83
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
84
-		    'image' => ['URL', 'ImageObject'],
85
-		    'instrument' => ['Thing'],
86
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'name' => ['Text'],
89
-		    'object' => ['Thing'],
90
-		    'participant' => ['Organization', 'Person'],
91
-		    'potentialAction' => ['Action'],
92
-		    'price' => ['Text', 'Number'],
93
-		    'priceCurrency' => ['Text'],
94
-		    'priceSpecification' => ['PriceSpecification'],
95
-		    'provider' => ['Organization', 'Person'],
96
-		    'recipient' => ['Organization', 'ContactPoint', 'Person', 'Audience'],
97
-		    'result' => ['Thing'],
98
-		    'sameAs' => ['URL'],
99
-		    'startTime' => ['Time', 'DateTime'],
100
-		    'subjectOf' => ['Event', 'CreativeWork'],
101
-		    'target' => ['URL', 'EntryPoint'],
102
-		    'url' => ['URL']
103
-		];
104
-	}
105
-
106
-
107
-	/**
108
-	 * @inheritdoc
109
-	 */
110
-	public function getSchemaPropertyDescriptions(): array
111
-	{
112
-		return [
113
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
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
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
-		    'alternateName' => 'An alias for the item.',
117
-		    'description' => 'A description of the item.',
118
-		    '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.',
119
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
-		    'error' => 'For failed actions, more information on the cause of the failure.',
121
-		    '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.         ',
122
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
-		    '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.',
126
-		    'name' => 'The name of the item.',
127
-		    'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
-		    'price' => 'The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.  Usage guidelines:  * Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as \'$\' in the value. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator. * Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols.       ',
131
-		    'priceCurrency' => 'The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
132
-		    'priceSpecification' => 'One or more detailed price specifications, indicating the unit price and delivery or payment charges.',
133
-		    '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.',
134
-		    'recipient' => 'A sub property of participant. The participant who is at the receiving end of the action.',
135
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
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
-		    'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
138
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
139
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
140
-		    'url' => 'URL of the item.'
141
-		];
142
-	}
143
-
144
-
145
-	/**
146
-	 * @inheritdoc
147
-	 */
148
-	public function getGoogleRequiredSchema(): array
149
-	{
150
-		return ['description', 'name'];
151
-	}
152
-
153
-
154
-	/**
155
-	 * @inheritdoc
156
-	 */
157
-	public function getGoogleRecommendedSchema(): array
158
-	{
159
-		return ['image', 'url'];
160
-	}
161
-
162
-
163
-	/**
164
-	 * @inheritdoc
165
-	 */
166
-	public function defineRules(): array
167
-	{
168
-		$rules = parent::defineRules();
169
-		    $rules = array_merge($rules, [
170
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
171
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
172
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
173
-		    ]);
174
-
175
-		    return $rules;
176
-	}
26
+    use PayActionTrait;
27
+    use TradeActionTrait;
28
+    use ActionTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'PayAction';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/PayAction';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'TradeAction';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'An agent pays a price to a participant.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'actionStatus' => ['ActionStatusType'],
76
+            'additionalType' => ['URL'],
77
+            'agent' => ['Organization', 'Person'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'endTime' => ['DateTime', 'Time'],
82
+            'error' => ['Thing'],
83
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
84
+            'image' => ['URL', 'ImageObject'],
85
+            'instrument' => ['Thing'],
86
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'name' => ['Text'],
89
+            'object' => ['Thing'],
90
+            'participant' => ['Organization', 'Person'],
91
+            'potentialAction' => ['Action'],
92
+            'price' => ['Text', 'Number'],
93
+            'priceCurrency' => ['Text'],
94
+            'priceSpecification' => ['PriceSpecification'],
95
+            'provider' => ['Organization', 'Person'],
96
+            'recipient' => ['Organization', 'ContactPoint', 'Person', 'Audience'],
97
+            'result' => ['Thing'],
98
+            'sameAs' => ['URL'],
99
+            'startTime' => ['Time', 'DateTime'],
100
+            'subjectOf' => ['Event', 'CreativeWork'],
101
+            'target' => ['URL', 'EntryPoint'],
102
+            'url' => ['URL']
103
+        ];
104
+    }
105
+
106
+
107
+    /**
108
+     * @inheritdoc
109
+     */
110
+    public function getSchemaPropertyDescriptions(): array
111
+    {
112
+        return [
113
+            'actionStatus' => 'Indicates the current disposition of the Action.',
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
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
+            'alternateName' => 'An alias for the item.',
117
+            'description' => 'A description of the item.',
118
+            '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.',
119
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
+            'error' => 'For failed actions, more information on the cause of the failure.',
121
+            '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.         ',
122
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
+            '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.',
126
+            'name' => 'The name of the item.',
127
+            'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
+            'price' => 'The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.  Usage guidelines:  * Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as \'$\' in the value. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator. * Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a "content=" attribute for publishing simple machine-readable values alongside more human-friendly formatting. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols.       ',
131
+            'priceCurrency' => 'The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
132
+            'priceSpecification' => 'One or more detailed price specifications, indicating the unit price and delivery or payment charges.',
133
+            '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.',
134
+            'recipient' => 'A sub property of participant. The participant who is at the receiving end of the action.',
135
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
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
+            'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
138
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
139
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
140
+            'url' => 'URL of the item.'
141
+        ];
142
+    }
143
+
144
+
145
+    /**
146
+     * @inheritdoc
147
+     */
148
+    public function getGoogleRequiredSchema(): array
149
+    {
150
+        return ['description', 'name'];
151
+    }
152
+
153
+
154
+    /**
155
+     * @inheritdoc
156
+     */
157
+    public function getGoogleRecommendedSchema(): array
158
+    {
159
+        return ['image', 'url'];
160
+    }
161
+
162
+
163
+    /**
164
+     * @inheritdoc
165
+     */
166
+    public function defineRules(): array
167
+    {
168
+        $rules = parent::defineRules();
169
+            $rules = array_merge($rules, [
170
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
171
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
172
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
173
+            ]);
174
+
175
+            return $rules;
176
+    }
177 177
 }
Please login to merge, or discard this patch.
src/models/jsonld/Episode.php 1 patch
Indentation   +347 added lines, -347 removed lines patch added patch discarded remove patch
@@ -24,368 +24,368 @@
 block discarded – undo
24 24
  */
25 25
 class Episode extends MetaJsonLd implements EpisodeInterface, CreativeWorkInterface, ThingInterface
26 26
 {
27
-	use EpisodeTrait;
28
-	use CreativeWorkTrait;
29
-	use ThingTrait;
27
+    use EpisodeTrait;
28
+    use CreativeWorkTrait;
29
+    use ThingTrait;
30 30
 
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'Episode';
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'Episode';
37 37
 
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/Episode';
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/Episode';
44 44
 
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'CreativeWork';
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'CreativeWork';
51 51
 
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A media episode (e.g. TV, radio, video game) which can be part of a series or season.';
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A media episode (e.g. TV, radio, video game) which can be part of a series or season.';
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
-		    'actor' => ['Person'],
87
-		    'actors' => ['Person'],
88
-		    'additionalType' => ['URL'],
89
-		    'aggregateRating' => ['AggregateRating'],
90
-		    'alternateName' => ['Text'],
91
-		    'alternativeHeadline' => ['Text'],
92
-		    'archivedAt' => ['WebPage', 'URL'],
93
-		    'assesses' => ['DefinedTerm', 'Text'],
94
-		    'associatedMedia' => ['MediaObject'],
95
-		    'audience' => ['Audience'],
96
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
97
-		    'author' => ['Organization', 'Person'],
98
-		    'award' => ['Text'],
99
-		    'awards' => ['Text'],
100
-		    'character' => ['Person'],
101
-		    'citation' => ['CreativeWork', 'Text'],
102
-		    'comment' => ['Comment'],
103
-		    'commentCount' => ['Integer'],
104
-		    'conditionsOfAccess' => ['Text'],
105
-		    'contentLocation' => ['Place'],
106
-		    'contentRating' => ['Text', 'Rating'],
107
-		    'contentReferenceTime' => ['DateTime'],
108
-		    'contributor' => ['Organization', 'Person'],
109
-		    'copyrightHolder' => ['Organization', 'Person'],
110
-		    'copyrightNotice' => ['Text'],
111
-		    'copyrightYear' => ['Number'],
112
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
113
-		    'countryOfOrigin' => ['Country'],
114
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
115
-		    'creator' => ['Person', 'Organization'],
116
-		    'creditText' => ['Text'],
117
-		    'dateCreated' => ['DateTime', 'Date'],
118
-		    'dateModified' => ['DateTime', 'Date'],
119
-		    'datePublished' => ['DateTime', 'Date'],
120
-		    'description' => ['Text'],
121
-		    'director' => ['Person'],
122
-		    'directors' => ['Person'],
123
-		    'disambiguatingDescription' => ['Text'],
124
-		    'discussionUrl' => ['URL'],
125
-		    'duration' => ['Duration'],
126
-		    'editEIDR' => ['URL', 'Text'],
127
-		    'editor' => ['Person'],
128
-		    'educationalAlignment' => ['AlignmentObject'],
129
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
130
-		    'educationalUse' => ['DefinedTerm', 'Text'],
131
-		    'encoding' => ['MediaObject'],
132
-		    'encodingFormat' => ['URL', 'Text'],
133
-		    'encodings' => ['MediaObject'],
134
-		    'episodeNumber' => ['Text', 'Integer'],
135
-		    'exampleOfWork' => ['CreativeWork'],
136
-		    'expires' => ['Date', 'DateTime'],
137
-		    'fileFormat' => ['Text', 'URL'],
138
-		    'funder' => ['Organization', 'Person'],
139
-		    'funding' => ['Grant'],
140
-		    'genre' => ['Text', 'URL'],
141
-		    'hasPart' => ['CreativeWork'],
142
-		    'headline' => ['Text'],
143
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
144
-		    'image' => ['URL', 'ImageObject'],
145
-		    'inLanguage' => ['Text', 'Language'],
146
-		    'interactionStatistic' => ['InteractionCounter'],
147
-		    'interactivityType' => ['Text'],
148
-		    'interpretedAsClaim' => ['Claim'],
149
-		    'isAccessibleForFree' => ['Boolean'],
150
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
151
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
152
-		    'isFamilyFriendly' => ['Boolean'],
153
-		    'isPartOf' => ['URL', 'CreativeWork'],
154
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
155
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
156
-		    'license' => ['URL', 'CreativeWork'],
157
-		    'locationCreated' => ['Place'],
158
-		    'mainEntity' => ['Thing'],
159
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
160
-		    'maintainer' => ['Person', 'Organization'],
161
-		    'material' => ['Product', 'URL', 'Text'],
162
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
163
-		    'mentions' => ['Thing'],
164
-		    'musicBy' => ['MusicGroup', 'Person'],
165
-		    'name' => ['Text'],
166
-		    'offers' => ['Demand', 'Offer'],
167
-		    'partOfSeason' => ['CreativeWorkSeason'],
168
-		    'partOfSeries' => ['CreativeWorkSeries'],
169
-		    'pattern' => ['DefinedTerm', 'Text'],
170
-		    'position' => ['Text', 'Integer'],
171
-		    'potentialAction' => ['Action'],
172
-		    'producer' => ['Organization', 'Person'],
173
-		    'productionCompany' => ['Organization'],
174
-		    'provider' => ['Organization', 'Person'],
175
-		    'publication' => ['PublicationEvent'],
176
-		    'publisher' => ['Organization', 'Person'],
177
-		    'publisherImprint' => ['Organization'],
178
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
179
-		    'recordedAt' => ['Event'],
180
-		    'releasedEvent' => ['PublicationEvent'],
181
-		    'review' => ['Review'],
182
-		    'reviews' => ['Review'],
183
-		    'sameAs' => ['URL'],
184
-		    'schemaVersion' => ['URL', 'Text'],
185
-		    'sdDatePublished' => ['Date'],
186
-		    'sdLicense' => ['CreativeWork', 'URL'],
187
-		    'sdPublisher' => ['Organization', 'Person'],
188
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
189
-		    'sourceOrganization' => ['Organization'],
190
-		    'spatial' => ['Place'],
191
-		    'spatialCoverage' => ['Place'],
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
-		    'trailer' => ['VideoObject'],
201
-		    'translationOfWork' => ['CreativeWork'],
202
-		    'translator' => ['Organization', 'Person'],
203
-		    'typicalAgeRange' => ['Text'],
204
-		    'url' => ['URL'],
205
-		    'usageInfo' => ['URL', 'CreativeWork'],
206
-		    'version' => ['Number', 'Text'],
207
-		    'video' => ['VideoObject', 'Clip'],
208
-		    'workExample' => ['CreativeWork'],
209
-		    'workTranslation' => ['CreativeWork']
210
-		];
211
-	}
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
+            'actor' => ['Person'],
87
+            'actors' => ['Person'],
88
+            'additionalType' => ['URL'],
89
+            'aggregateRating' => ['AggregateRating'],
90
+            'alternateName' => ['Text'],
91
+            'alternativeHeadline' => ['Text'],
92
+            'archivedAt' => ['WebPage', 'URL'],
93
+            'assesses' => ['DefinedTerm', 'Text'],
94
+            'associatedMedia' => ['MediaObject'],
95
+            'audience' => ['Audience'],
96
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
97
+            'author' => ['Organization', 'Person'],
98
+            'award' => ['Text'],
99
+            'awards' => ['Text'],
100
+            'character' => ['Person'],
101
+            'citation' => ['CreativeWork', 'Text'],
102
+            'comment' => ['Comment'],
103
+            'commentCount' => ['Integer'],
104
+            'conditionsOfAccess' => ['Text'],
105
+            'contentLocation' => ['Place'],
106
+            'contentRating' => ['Text', 'Rating'],
107
+            'contentReferenceTime' => ['DateTime'],
108
+            'contributor' => ['Organization', 'Person'],
109
+            'copyrightHolder' => ['Organization', 'Person'],
110
+            'copyrightNotice' => ['Text'],
111
+            'copyrightYear' => ['Number'],
112
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
113
+            'countryOfOrigin' => ['Country'],
114
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
115
+            'creator' => ['Person', 'Organization'],
116
+            'creditText' => ['Text'],
117
+            'dateCreated' => ['DateTime', 'Date'],
118
+            'dateModified' => ['DateTime', 'Date'],
119
+            'datePublished' => ['DateTime', 'Date'],
120
+            'description' => ['Text'],
121
+            'director' => ['Person'],
122
+            'directors' => ['Person'],
123
+            'disambiguatingDescription' => ['Text'],
124
+            'discussionUrl' => ['URL'],
125
+            'duration' => ['Duration'],
126
+            'editEIDR' => ['URL', 'Text'],
127
+            'editor' => ['Person'],
128
+            'educationalAlignment' => ['AlignmentObject'],
129
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
130
+            'educationalUse' => ['DefinedTerm', 'Text'],
131
+            'encoding' => ['MediaObject'],
132
+            'encodingFormat' => ['URL', 'Text'],
133
+            'encodings' => ['MediaObject'],
134
+            'episodeNumber' => ['Text', 'Integer'],
135
+            'exampleOfWork' => ['CreativeWork'],
136
+            'expires' => ['Date', 'DateTime'],
137
+            'fileFormat' => ['Text', 'URL'],
138
+            'funder' => ['Organization', 'Person'],
139
+            'funding' => ['Grant'],
140
+            'genre' => ['Text', 'URL'],
141
+            'hasPart' => ['CreativeWork'],
142
+            'headline' => ['Text'],
143
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
144
+            'image' => ['URL', 'ImageObject'],
145
+            'inLanguage' => ['Text', 'Language'],
146
+            'interactionStatistic' => ['InteractionCounter'],
147
+            'interactivityType' => ['Text'],
148
+            'interpretedAsClaim' => ['Claim'],
149
+            'isAccessibleForFree' => ['Boolean'],
150
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
151
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
152
+            'isFamilyFriendly' => ['Boolean'],
153
+            'isPartOf' => ['URL', 'CreativeWork'],
154
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
155
+            'learningResourceType' => ['DefinedTerm', 'Text'],
156
+            'license' => ['URL', 'CreativeWork'],
157
+            'locationCreated' => ['Place'],
158
+            'mainEntity' => ['Thing'],
159
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
160
+            'maintainer' => ['Person', 'Organization'],
161
+            'material' => ['Product', 'URL', 'Text'],
162
+            'materialExtent' => ['QuantitativeValue', 'Text'],
163
+            'mentions' => ['Thing'],
164
+            'musicBy' => ['MusicGroup', 'Person'],
165
+            'name' => ['Text'],
166
+            'offers' => ['Demand', 'Offer'],
167
+            'partOfSeason' => ['CreativeWorkSeason'],
168
+            'partOfSeries' => ['CreativeWorkSeries'],
169
+            'pattern' => ['DefinedTerm', 'Text'],
170
+            'position' => ['Text', 'Integer'],
171
+            'potentialAction' => ['Action'],
172
+            'producer' => ['Organization', 'Person'],
173
+            'productionCompany' => ['Organization'],
174
+            'provider' => ['Organization', 'Person'],
175
+            'publication' => ['PublicationEvent'],
176
+            'publisher' => ['Organization', 'Person'],
177
+            'publisherImprint' => ['Organization'],
178
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
179
+            'recordedAt' => ['Event'],
180
+            'releasedEvent' => ['PublicationEvent'],
181
+            'review' => ['Review'],
182
+            'reviews' => ['Review'],
183
+            'sameAs' => ['URL'],
184
+            'schemaVersion' => ['URL', 'Text'],
185
+            'sdDatePublished' => ['Date'],
186
+            'sdLicense' => ['CreativeWork', 'URL'],
187
+            'sdPublisher' => ['Organization', 'Person'],
188
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
189
+            'sourceOrganization' => ['Organization'],
190
+            'spatial' => ['Place'],
191
+            'spatialCoverage' => ['Place'],
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
+            'trailer' => ['VideoObject'],
201
+            'translationOfWork' => ['CreativeWork'],
202
+            'translator' => ['Organization', 'Person'],
203
+            'typicalAgeRange' => ['Text'],
204
+            'url' => ['URL'],
205
+            'usageInfo' => ['URL', 'CreativeWork'],
206
+            'version' => ['Number', 'Text'],
207
+            'video' => ['VideoObject', 'Clip'],
208
+            'workExample' => ['CreativeWork'],
209
+            'workTranslation' => ['CreativeWork']
210
+        ];
211
+    }
212 212
 
213 213
 
214
-	/**
215
-	 * @inheritdoc
216
-	 */
217
-	public function getSchemaPropertyDescriptions(): array
218
-	{
219
-		return [
220
-		    'about' => 'The subject matter of the content.',
221
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
222
-		    '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).',
223
-		    '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).',
224
-		    '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).',
225
-		    '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).',
226
-		    '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).',
227
-		    '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).',
228
-		    '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."',
229
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
230
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
231
-		    '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.',
232
-		    'actors' => 'An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.',
233
-		    '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.',
234
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
235
-		    'alternateName' => 'An alias for the item.',
236
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
237
-		    '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.',
238
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
239
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
240
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
241
-		    'audio' => 'An embedded audio object.',
242
-		    '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.',
243
-		    'award' => 'An award won by or for this item.',
244
-		    'awards' => 'Awards won by or for this item.',
245
-		    'character' => 'Fictional person connected with a creative work.',
246
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
247
-		    'comment' => 'Comments, typically from users.',
248
-		    '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.',
249
-		    '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 ". ',
250
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
251
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
252
-		    '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.',
253
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
254
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
255
-		    '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.',
256
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
257
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
258
-		    '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.',
259
-		    '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.',
260
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
261
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
262
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
263
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
264
-		    'datePublished' => 'Date of first broadcast/publication.',
265
-		    'description' => 'A description of the item.',
266
-		    '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.',
267
-		    'directors' => 'A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.',
268
-		    '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.',
269
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
270
-		    'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
271
-		    '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. ',
272
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
273
-		    '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.',
274
-		    '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.',
275
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
276
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
277
-		    '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.',
278
-		    'encodings' => 'A media object that encodes this CreativeWork.',
279
-		    'episodeNumber' => 'Position of the episode within an ordered group of episodes.',
280
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
281
-		    '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.',
282
-		    '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.',
283
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
284
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
285
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
286
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
287
-		    'headline' => 'Headline of the article.',
288
-		    '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.         ',
289
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
290
-		    '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]].',
291
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
292
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
293
-		    '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]].',
294
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
295
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
296
-		    '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.',
297
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
298
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
299
-		    '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.',
300
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
301
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
302
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
303
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
304
-		    '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.',
305
-		    '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.       ',
306
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
307
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
308
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
309
-		    'musicBy' => 'The composer of the soundtrack.',
310
-		    'name' => 'The name of the item.',
311
-		    '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.       ',
312
-		    'partOfSeason' => 'The season to which this episode belongs.',
313
-		    'partOfSeries' => 'The series to which this episode or season belongs.',
314
-		    '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.',
315
-		    'position' => 'The position of an item in a series or sequence of items.',
316
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
317
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
318
-		    'productionCompany' => 'The production company or studio responsible for the item, e.g. series, video game, episode etc.',
319
-		    '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.',
320
-		    'publication' => 'A publication event associated with the item.',
321
-		    'publisher' => 'The publisher of the creative work.',
322
-		    'publisherImprint' => 'The publishing division which published the comic.',
323
-		    '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. ',
324
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
325
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
326
-		    'review' => 'A review of the item.',
327
-		    'reviews' => 'Review of the item.',
328
-		    '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.',
329
-		    '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.',
330
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
331
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
332
-		    '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.',
333
-		    '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. ',
334
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
335
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
336
-		    '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.',
337
-		    '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.',
338
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
339
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
340
-		    '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.',
341
-		    '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.',
342
-		    'text' => 'The textual content of this CreativeWork.',
343
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
344
-		    '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\'.',
345
-		    'trailer' => 'The trailer of a movie or TV/radio series, season, episode, etc.',
346
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
347
-		    '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.',
348
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
349
-		    'url' => 'URL of the item.',
350
-		    '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.',
351
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
352
-		    'video' => 'An embedded video object.',
353
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
354
-		    '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.'
355
-		];
356
-	}
214
+    /**
215
+     * @inheritdoc
216
+     */
217
+    public function getSchemaPropertyDescriptions(): array
218
+    {
219
+        return [
220
+            'about' => 'The subject matter of the content.',
221
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
222
+            '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).',
223
+            '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).',
224
+            '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).',
225
+            '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).',
226
+            '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).',
227
+            '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).',
228
+            '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."',
229
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
230
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
231
+            '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.',
232
+            'actors' => 'An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.',
233
+            '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.',
234
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
235
+            'alternateName' => 'An alias for the item.',
236
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
237
+            '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.',
238
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
239
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
240
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
241
+            'audio' => 'An embedded audio object.',
242
+            '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.',
243
+            'award' => 'An award won by or for this item.',
244
+            'awards' => 'Awards won by or for this item.',
245
+            'character' => 'Fictional person connected with a creative work.',
246
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
247
+            'comment' => 'Comments, typically from users.',
248
+            '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.',
249
+            '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 ". ',
250
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
251
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
252
+            '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.',
253
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
254
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
255
+            '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.',
256
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
257
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
258
+            '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.',
259
+            '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.',
260
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
261
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
262
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
263
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
264
+            'datePublished' => 'Date of first broadcast/publication.',
265
+            'description' => 'A description of the item.',
266
+            '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.',
267
+            'directors' => 'A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.',
268
+            '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.',
269
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
270
+            'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
271
+            '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. ',
272
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
273
+            '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.',
274
+            '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.',
275
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
276
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
277
+            '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.',
278
+            'encodings' => 'A media object that encodes this CreativeWork.',
279
+            'episodeNumber' => 'Position of the episode within an ordered group of episodes.',
280
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
281
+            '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.',
282
+            '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.',
283
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
284
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
285
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
286
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
287
+            'headline' => 'Headline of the article.',
288
+            '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.         ',
289
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
290
+            '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]].',
291
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
292
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
293
+            '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]].',
294
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
295
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
296
+            '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.',
297
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
298
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
299
+            '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.',
300
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
301
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
302
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
303
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
304
+            '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.',
305
+            '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.       ',
306
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
307
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
308
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
309
+            'musicBy' => 'The composer of the soundtrack.',
310
+            'name' => 'The name of the item.',
311
+            '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.       ',
312
+            'partOfSeason' => 'The season to which this episode belongs.',
313
+            'partOfSeries' => 'The series to which this episode or season belongs.',
314
+            '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.',
315
+            'position' => 'The position of an item in a series or sequence of items.',
316
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
317
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
318
+            'productionCompany' => 'The production company or studio responsible for the item, e.g. series, video game, episode etc.',
319
+            '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.',
320
+            'publication' => 'A publication event associated with the item.',
321
+            'publisher' => 'The publisher of the creative work.',
322
+            'publisherImprint' => 'The publishing division which published the comic.',
323
+            '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. ',
324
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
325
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
326
+            'review' => 'A review of the item.',
327
+            'reviews' => 'Review of the item.',
328
+            '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.',
329
+            '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.',
330
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
331
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
332
+            '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.',
333
+            '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. ',
334
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
335
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
336
+            '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.',
337
+            '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.',
338
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
339
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
340
+            '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.',
341
+            '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.',
342
+            'text' => 'The textual content of this CreativeWork.',
343
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
344
+            '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\'.',
345
+            'trailer' => 'The trailer of a movie or TV/radio series, season, episode, etc.',
346
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
347
+            '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.',
348
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
349
+            'url' => 'URL of the item.',
350
+            '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.',
351
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
352
+            'video' => 'An embedded video object.',
353
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
354
+            '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.'
355
+        ];
356
+    }
357 357
 
358 358
 
359
-	/**
360
-	 * @inheritdoc
361
-	 */
362
-	public function getGoogleRequiredSchema(): array
363
-	{
364
-		return ['description', 'name'];
365
-	}
359
+    /**
360
+     * @inheritdoc
361
+     */
362
+    public function getGoogleRequiredSchema(): array
363
+    {
364
+        return ['description', 'name'];
365
+    }
366 366
 
367 367
 
368
-	/**
369
-	 * @inheritdoc
370
-	 */
371
-	public function getGoogleRecommendedSchema(): array
372
-	{
373
-		return ['image', 'url'];
374
-	}
368
+    /**
369
+     * @inheritdoc
370
+     */
371
+    public function getGoogleRecommendedSchema(): array
372
+    {
373
+        return ['image', 'url'];
374
+    }
375 375
 
376 376
 
377
-	/**
378
-	 * @inheritdoc
379
-	 */
380
-	public function defineRules(): array
381
-	{
382
-		$rules = parent::defineRules();
383
-		    $rules = array_merge($rules, [
384
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
385
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
386
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
387
-		    ]);
377
+    /**
378
+     * @inheritdoc
379
+     */
380
+    public function defineRules(): array
381
+    {
382
+        $rules = parent::defineRules();
383
+            $rules = array_merge($rules, [
384
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
385
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
386
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
387
+            ]);
388 388
 
389
-		    return $rules;
390
-	}
389
+            return $rules;
390
+    }
391 391
 }
Please login to merge, or discard this patch.
src/models/jsonld/InteractionCounter.php 1 patch
Indentation   +131 added lines, -131 removed lines patch added patch discarded remove patch
@@ -25,135 +25,135 @@
 block discarded – undo
25 25
  */
26 26
 class InteractionCounter extends MetaJsonLd implements InteractionCounterInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
27 27
 {
28
-	use InteractionCounterTrait;
29
-	use StructuredValueTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'InteractionCounter';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/InteractionCounter';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'StructuredValue';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'A summary of how users have interacted with this CreativeWork. In most cases, authors will use a subtype to specify the specific type of interaction.';
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
-		    'endTime' => ['DateTime', 'Time'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'interactionService' => ['WebSite', 'SoftwareApplication'],
85
-		    'interactionType' => ['Action'],
86
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'name' => ['Text'],
89
-		    'potentialAction' => ['Action'],
90
-		    'sameAs' => ['URL'],
91
-		    'startTime' => ['Time', 'DateTime'],
92
-		    'subjectOf' => ['Event', 'CreativeWork'],
93
-		    'url' => ['URL'],
94
-		    'userInteractionCount' => ['Integer']
95
-		];
96
-	}
97
-
98
-
99
-	/**
100
-	 * @inheritdoc
101
-	 */
102
-	public function getSchemaPropertyDescriptions(): array
103
-	{
104
-		return [
105
-		    '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.',
106
-		    'alternateName' => 'An alias for the item.',
107
-		    'description' => 'A description of the item.',
108
-		    '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.',
109
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
110
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
111
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
112
-		    'interactionService' => 'The WebSite or SoftwareApplication where the interactions took place.',
113
-		    'interactionType' => 'The Action representing the type of interaction. For up votes, +1s, etc. use [[LikeAction]]. For down votes use [[DislikeAction]]. Otherwise, use the most specific Action.',
114
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
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
-		    '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.',
119
-		    'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
-		    'url' => 'URL of the item.',
122
-		    'userInteractionCount' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.'
123
-		];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRequiredSchema(): array
131
-	{
132
-		return ['description', 'name'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function getGoogleRecommendedSchema(): array
140
-	{
141
-		return ['image', 'url'];
142
-	}
143
-
144
-
145
-	/**
146
-	 * @inheritdoc
147
-	 */
148
-	public function defineRules(): array
149
-	{
150
-		$rules = parent::defineRules();
151
-		    $rules = array_merge($rules, [
152
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
153
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
154
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
155
-		    ]);
156
-
157
-		    return $rules;
158
-	}
28
+    use InteractionCounterTrait;
29
+    use StructuredValueTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'InteractionCounter';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/InteractionCounter';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'StructuredValue';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'A summary of how users have interacted with this CreativeWork. In most cases, authors will use a subtype to specify the specific type of interaction.';
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
+            'endTime' => ['DateTime', 'Time'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'interactionService' => ['WebSite', 'SoftwareApplication'],
85
+            'interactionType' => ['Action'],
86
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'name' => ['Text'],
89
+            'potentialAction' => ['Action'],
90
+            'sameAs' => ['URL'],
91
+            'startTime' => ['Time', 'DateTime'],
92
+            'subjectOf' => ['Event', 'CreativeWork'],
93
+            'url' => ['URL'],
94
+            'userInteractionCount' => ['Integer']
95
+        ];
96
+    }
97
+
98
+
99
+    /**
100
+     * @inheritdoc
101
+     */
102
+    public function getSchemaPropertyDescriptions(): array
103
+    {
104
+        return [
105
+            '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.',
106
+            'alternateName' => 'An alias for the item.',
107
+            'description' => 'A description of the item.',
108
+            '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.',
109
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
110
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
111
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
112
+            'interactionService' => 'The WebSite or SoftwareApplication where the interactions took place.',
113
+            'interactionType' => 'The Action representing the type of interaction. For up votes, +1s, etc. use [[LikeAction]]. For down votes use [[DislikeAction]]. Otherwise, use the most specific Action.',
114
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
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
+            '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.',
119
+            'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
+            'url' => 'URL of the item.',
122
+            'userInteractionCount' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.'
123
+        ];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRequiredSchema(): array
131
+    {
132
+        return ['description', 'name'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function getGoogleRecommendedSchema(): array
140
+    {
141
+        return ['image', 'url'];
142
+    }
143
+
144
+
145
+    /**
146
+     * @inheritdoc
147
+     */
148
+    public function defineRules(): array
149
+    {
150
+        $rules = parent::defineRules();
151
+            $rules = array_merge($rules, [
152
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
153
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
154
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
155
+            ]);
156
+
157
+            return $rules;
158
+    }
159 159
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501c14.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -24,127 +24,127 @@
 block discarded – undo
24 24
  */
25 25
 class Nonprofit501c14 extends MetaJsonLd implements Nonprofit501c14Interface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use Nonprofit501c14Trait;
28
-	use USNonprofitTypeTrait;
29
-	use NonprofitTypeTrait;
30
-	use EnumerationTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'Nonprofit501c14';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501c14';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'USNonprofitType';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'Nonprofit501c14: Non-profit type referring to State-Chartered Credit Unions, Mutual Reserve Funds.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'additionalType' => ['URL'],
79
-		    'alternateName' => ['Text'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'name' => ['Text'],
86
-		    'potentialAction' => ['Action'],
87
-		    'sameAs' => ['URL'],
88
-		    'subjectOf' => ['Event', 'CreativeWork'],
89
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
-		    'name' => 'The name of the item.',
109
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
-		    'url' => 'URL of the item.'
114
-		];
115
-	}
116
-
117
-
118
-	/**
119
-	 * @inheritdoc
120
-	 */
121
-	public function getGoogleRequiredSchema(): array
122
-	{
123
-		return ['description', 'name'];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRecommendedSchema(): array
131
-	{
132
-		return ['image', 'url'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function defineRules(): array
140
-	{
141
-		$rules = parent::defineRules();
142
-		    $rules = array_merge($rules, [
143
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
-		    ]);
147
-
148
-		    return $rules;
149
-	}
27
+    use Nonprofit501c14Trait;
28
+    use USNonprofitTypeTrait;
29
+    use NonprofitTypeTrait;
30
+    use EnumerationTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'Nonprofit501c14';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501c14';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'USNonprofitType';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'Nonprofit501c14: Non-profit type referring to State-Chartered Credit Unions, Mutual Reserve Funds.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'additionalType' => ['URL'],
79
+            'alternateName' => ['Text'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'name' => ['Text'],
86
+            'potentialAction' => ['Action'],
87
+            'sameAs' => ['URL'],
88
+            'subjectOf' => ['Event', 'CreativeWork'],
89
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
+            'name' => 'The name of the item.',
109
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
+            'url' => 'URL of the item.'
114
+        ];
115
+    }
116
+
117
+
118
+    /**
119
+     * @inheritdoc
120
+     */
121
+    public function getGoogleRequiredSchema(): array
122
+    {
123
+        return ['description', 'name'];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRecommendedSchema(): array
131
+    {
132
+        return ['image', 'url'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function defineRules(): array
140
+    {
141
+        $rules = parent::defineRules();
142
+            $rules = array_merge($rules, [
143
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
+            ]);
147
+
148
+            return $rules;
149
+    }
150 150
 }
Please login to merge, or discard this patch.
src/models/jsonld/MediaManipulationRatingEnumeration.php 1 patch
Indentation   +121 added lines, -121 removed lines patch added patch discarded remove patch
@@ -29,125 +29,125 @@
 block discarded – undo
29 29
  */
30 30
 class MediaManipulationRatingEnumeration extends MetaJsonLd implements MediaManipulationRatingEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
31 31
 {
32
-	use MediaManipulationRatingEnumerationTrait;
33
-	use EnumerationTrait;
34
-	use IntangibleTrait;
35
-	use ThingTrait;
36
-
37
-	/**
38
-	 * The Schema.org Type Name
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeName = 'MediaManipulationRatingEnumeration';
43
-
44
-	/**
45
-	 * The Schema.org Type Scope
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeScope = 'https://schema.org/MediaManipulationRatingEnumeration';
50
-
51
-	/**
52
-	 * The Schema.org Type Extends
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeExtends = 'Enumeration';
57
-
58
-	/**
59
-	 * The Schema.org Type Description
60
-	 *
61
-	 * @var string
62
-	 */
63
-	public static $schemaTypeDescription = ' Codes for use with the [[mediaAuthenticityCategory]] property, indicating the authenticity of a media object (in the context of how it was published or shared). In general these codes are not mutually exclusive, although some combinations (such as \'original\' versus \'transformed\', \'edited\' and \'staged\') would be contradictory if applied in the same [[MediaReview]]. Note that the application of these codes is with regard to a piece of media shared or published in a particular context.';
64
-
65
-
66
-	/**
67
-	 * @inheritdoc
68
-	 */
69
-	public function getSchemaPropertyNames(): array
70
-	{
71
-		return array_keys($this->getSchemaPropertyExpectedTypes());
72
-	}
73
-
74
-
75
-	/**
76
-	 * @inheritdoc
77
-	 */
78
-	public function getSchemaPropertyExpectedTypes(): array
79
-	{
80
-		return [
81
-		    'additionalType' => ['URL'],
82
-		    'alternateName' => ['Text'],
83
-		    'description' => ['Text'],
84
-		    'disambiguatingDescription' => ['Text'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'name' => ['Text'],
89
-		    'potentialAction' => ['Action'],
90
-		    'sameAs' => ['URL'],
91
-		    'subjectOf' => ['Event', 'CreativeWork'],
92
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
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
-		    'description' => 'A description of the item.',
107
-		    '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.',
108
-		    '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.         ',
109
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
110
-		    '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.',
111
-		    'name' => 'The name of the item.',
112
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
113
-		    '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.',
114
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
115
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
116
-		    'url' => 'URL of the item.'
117
-		];
118
-	}
119
-
120
-
121
-	/**
122
-	 * @inheritdoc
123
-	 */
124
-	public function getGoogleRequiredSchema(): array
125
-	{
126
-		return ['description', 'name'];
127
-	}
128
-
129
-
130
-	/**
131
-	 * @inheritdoc
132
-	 */
133
-	public function getGoogleRecommendedSchema(): array
134
-	{
135
-		return ['image', 'url'];
136
-	}
137
-
138
-
139
-	/**
140
-	 * @inheritdoc
141
-	 */
142
-	public function defineRules(): array
143
-	{
144
-		$rules = parent::defineRules();
145
-		    $rules = array_merge($rules, [
146
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
147
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
148
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
149
-		    ]);
150
-
151
-		    return $rules;
152
-	}
32
+    use MediaManipulationRatingEnumerationTrait;
33
+    use EnumerationTrait;
34
+    use IntangibleTrait;
35
+    use ThingTrait;
36
+
37
+    /**
38
+     * The Schema.org Type Name
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeName = 'MediaManipulationRatingEnumeration';
43
+
44
+    /**
45
+     * The Schema.org Type Scope
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeScope = 'https://schema.org/MediaManipulationRatingEnumeration';
50
+
51
+    /**
52
+     * The Schema.org Type Extends
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeExtends = 'Enumeration';
57
+
58
+    /**
59
+     * The Schema.org Type Description
60
+     *
61
+     * @var string
62
+     */
63
+    public static $schemaTypeDescription = ' Codes for use with the [[mediaAuthenticityCategory]] property, indicating the authenticity of a media object (in the context of how it was published or shared). In general these codes are not mutually exclusive, although some combinations (such as \'original\' versus \'transformed\', \'edited\' and \'staged\') would be contradictory if applied in the same [[MediaReview]]. Note that the application of these codes is with regard to a piece of media shared or published in a particular context.';
64
+
65
+
66
+    /**
67
+     * @inheritdoc
68
+     */
69
+    public function getSchemaPropertyNames(): array
70
+    {
71
+        return array_keys($this->getSchemaPropertyExpectedTypes());
72
+    }
73
+
74
+
75
+    /**
76
+     * @inheritdoc
77
+     */
78
+    public function getSchemaPropertyExpectedTypes(): array
79
+    {
80
+        return [
81
+            'additionalType' => ['URL'],
82
+            'alternateName' => ['Text'],
83
+            'description' => ['Text'],
84
+            'disambiguatingDescription' => ['Text'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'name' => ['Text'],
89
+            'potentialAction' => ['Action'],
90
+            'sameAs' => ['URL'],
91
+            'subjectOf' => ['Event', 'CreativeWork'],
92
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
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
+            'description' => 'A description of the item.',
107
+            '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.',
108
+            '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.         ',
109
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
110
+            '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.',
111
+            'name' => 'The name of the item.',
112
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
113
+            '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.',
114
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
115
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
116
+            'url' => 'URL of the item.'
117
+        ];
118
+    }
119
+
120
+
121
+    /**
122
+     * @inheritdoc
123
+     */
124
+    public function getGoogleRequiredSchema(): array
125
+    {
126
+        return ['description', 'name'];
127
+    }
128
+
129
+
130
+    /**
131
+     * @inheritdoc
132
+     */
133
+    public function getGoogleRecommendedSchema(): array
134
+    {
135
+        return ['image', 'url'];
136
+    }
137
+
138
+
139
+    /**
140
+     * @inheritdoc
141
+     */
142
+    public function defineRules(): array
143
+    {
144
+        $rules = parent::defineRules();
145
+            $rules = array_merge($rules, [
146
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
147
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
148
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
149
+            ]);
150
+
151
+            return $rules;
152
+    }
153 153
 }
Please login to merge, or discard this patch.
src/models/jsonld/SocialEvent.php 1 patch
Indentation   +200 added lines, -200 removed lines patch added patch discarded remove patch
@@ -23,204 +23,204 @@
 block discarded – undo
23 23
  */
24 24
 class SocialEvent extends MetaJsonLd implements SocialEventInterface, EventInterface, ThingInterface
25 25
 {
26
-	use SocialEventTrait;
27
-	use EventTrait;
28
-	use ThingTrait;
29
-
30
-	/**
31
-	 * The Schema.org Type Name
32
-	 *
33
-	 * @var string
34
-	 */
35
-	public static $schemaTypeName = 'SocialEvent';
36
-
37
-	/**
38
-	 * The Schema.org Type Scope
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeScope = 'https://schema.org/SocialEvent';
43
-
44
-	/**
45
-	 * The Schema.org Type Extends
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeExtends = 'Event';
50
-
51
-	/**
52
-	 * The Schema.org Type Description
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeDescription = 'Event type: Social event.';
57
-
58
-
59
-	/**
60
-	 * @inheritdoc
61
-	 */
62
-	public function getSchemaPropertyNames(): array
63
-	{
64
-		return array_keys($this->getSchemaPropertyExpectedTypes());
65
-	}
66
-
67
-
68
-	/**
69
-	 * @inheritdoc
70
-	 */
71
-	public function getSchemaPropertyExpectedTypes(): array
72
-	{
73
-		return [
74
-		    'about' => ['Thing'],
75
-		    'actor' => ['Person'],
76
-		    'additionalType' => ['URL'],
77
-		    'aggregateRating' => ['AggregateRating'],
78
-		    'alternateName' => ['Text'],
79
-		    'attendee' => ['Organization', 'Person'],
80
-		    'attendees' => ['Organization', 'Person'],
81
-		    'audience' => ['Audience'],
82
-		    'composer' => ['Organization', 'Person'],
83
-		    'contributor' => ['Organization', 'Person'],
84
-		    'description' => ['Text'],
85
-		    'director' => ['Person'],
86
-		    'disambiguatingDescription' => ['Text'],
87
-		    'doorTime' => ['Time', 'DateTime'],
88
-		    'duration' => ['Duration'],
89
-		    'endDate' => ['DateTime', 'Date'],
90
-		    'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
91
-		    'eventSchedule' => ['Schedule'],
92
-		    'eventStatus' => ['EventStatusType'],
93
-		    'funder' => ['Organization', 'Person'],
94
-		    'funding' => ['Grant'],
95
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
96
-		    'image' => ['URL', 'ImageObject'],
97
-		    'inLanguage' => ['Text', 'Language'],
98
-		    'isAccessibleForFree' => ['Boolean'],
99
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
100
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
101
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
102
-		    'maximumAttendeeCapacity' => ['Integer'],
103
-		    'maximumPhysicalAttendeeCapacity' => ['Integer'],
104
-		    'maximumVirtualAttendeeCapacity' => ['Integer'],
105
-		    'name' => ['Text'],
106
-		    'offers' => ['Demand', 'Offer'],
107
-		    'organizer' => ['Organization', 'Person'],
108
-		    'performer' => ['Person', 'Organization'],
109
-		    'performers' => ['Person', 'Organization'],
110
-		    'potentialAction' => ['Action'],
111
-		    'previousStartDate' => ['Date'],
112
-		    'recordedIn' => ['CreativeWork'],
113
-		    'remainingAttendeeCapacity' => ['Integer'],
114
-		    'review' => ['Review'],
115
-		    'sameAs' => ['URL'],
116
-		    'sponsor' => ['Organization', 'Person'],
117
-		    'startDate' => ['DateTime', 'Date'],
118
-		    'subEvent' => ['Event'],
119
-		    'subEvents' => ['Event'],
120
-		    'subjectOf' => ['Event', 'CreativeWork'],
121
-		    'superEvent' => ['Event'],
122
-		    'translator' => ['Organization', 'Person'],
123
-		    'typicalAgeRange' => ['Text'],
124
-		    'url' => ['URL'],
125
-		    'workFeatured' => ['CreativeWork'],
126
-		    'workPerformed' => ['CreativeWork']
127
-		];
128
-	}
129
-
130
-
131
-	/**
132
-	 * @inheritdoc
133
-	 */
134
-	public function getSchemaPropertyDescriptions(): array
135
-	{
136
-		return [
137
-		    'about' => 'The subject matter of the content.',
138
-		    '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.',
139
-		    '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.',
140
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
141
-		    'alternateName' => 'An alias for the item.',
142
-		    'attendee' => 'A person or organization attending the event.',
143
-		    'attendees' => 'A person attending the event.',
144
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
145
-		    'composer' => 'The person or organization who wrote a composition, or who is the composer of a work performed at some event.',
146
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
147
-		    'description' => 'A description of the item.',
148
-		    '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.',
149
-		    '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.',
150
-		    'doorTime' => 'The time admission will commence.',
151
-		    'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
152
-		    'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
153
-		    'eventAttendanceMode' => 'The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix.',
154
-		    '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.',
155
-		    'eventStatus' => 'An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.',
156
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
157
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
158
-		    '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.         ',
159
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
160
-		    '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]].',
161
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
162
-		    '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.',
163
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
164
-		    '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.',
165
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
166
-		    'maximumPhysicalAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]]). ',
167
-		    'maximumVirtualAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]]). ',
168
-		    'name' => 'The name of the item.',
169
-		    '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.       ',
170
-		    'organizer' => 'An organizer of an Event.',
171
-		    'performer' => 'A performer at the event—for example, a presenter, musician, musical group or actor.',
172
-		    'performers' => 'The main performer or performers of the event—for example, a presenter, musician, or actor.',
173
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
174
-		    '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.',
175
-		    'recordedIn' => 'The CreativeWork that captured all or part of this Event.',
176
-		    'remainingAttendeeCapacity' => 'The number of attendee places for an event that remain unallocated.',
177
-		    'review' => 'A review of the item.',
178
-		    '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.',
179
-		    '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.',
180
-		    'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
181
-		    '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.',
182
-		    'subEvents' => 'Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.',
183
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
184
-		    '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.',
185
-		    '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.',
186
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
187
-		    'url' => 'URL of the item.',
188
-		    '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).',
189
-		    'workPerformed' => 'A work performed in some event, for example a play performed in a TheaterEvent.'
190
-		];
191
-	}
192
-
193
-
194
-	/**
195
-	 * @inheritdoc
196
-	 */
197
-	public function getGoogleRequiredSchema(): array
198
-	{
199
-		return ['description', 'name'];
200
-	}
201
-
202
-
203
-	/**
204
-	 * @inheritdoc
205
-	 */
206
-	public function getGoogleRecommendedSchema(): array
207
-	{
208
-		return ['image', 'url'];
209
-	}
210
-
211
-
212
-	/**
213
-	 * @inheritdoc
214
-	 */
215
-	public function defineRules(): array
216
-	{
217
-		$rules = parent::defineRules();
218
-		    $rules = array_merge($rules, [
219
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
220
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
221
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
222
-		    ]);
223
-
224
-		    return $rules;
225
-	}
26
+    use SocialEventTrait;
27
+    use EventTrait;
28
+    use ThingTrait;
29
+
30
+    /**
31
+     * The Schema.org Type Name
32
+     *
33
+     * @var string
34
+     */
35
+    public static $schemaTypeName = 'SocialEvent';
36
+
37
+    /**
38
+     * The Schema.org Type Scope
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeScope = 'https://schema.org/SocialEvent';
43
+
44
+    /**
45
+     * The Schema.org Type Extends
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeExtends = 'Event';
50
+
51
+    /**
52
+     * The Schema.org Type Description
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeDescription = 'Event type: Social event.';
57
+
58
+
59
+    /**
60
+     * @inheritdoc
61
+     */
62
+    public function getSchemaPropertyNames(): array
63
+    {
64
+        return array_keys($this->getSchemaPropertyExpectedTypes());
65
+    }
66
+
67
+
68
+    /**
69
+     * @inheritdoc
70
+     */
71
+    public function getSchemaPropertyExpectedTypes(): array
72
+    {
73
+        return [
74
+            'about' => ['Thing'],
75
+            'actor' => ['Person'],
76
+            'additionalType' => ['URL'],
77
+            'aggregateRating' => ['AggregateRating'],
78
+            'alternateName' => ['Text'],
79
+            'attendee' => ['Organization', 'Person'],
80
+            'attendees' => ['Organization', 'Person'],
81
+            'audience' => ['Audience'],
82
+            'composer' => ['Organization', 'Person'],
83
+            'contributor' => ['Organization', 'Person'],
84
+            'description' => ['Text'],
85
+            'director' => ['Person'],
86
+            'disambiguatingDescription' => ['Text'],
87
+            'doorTime' => ['Time', 'DateTime'],
88
+            'duration' => ['Duration'],
89
+            'endDate' => ['DateTime', 'Date'],
90
+            'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
91
+            'eventSchedule' => ['Schedule'],
92
+            'eventStatus' => ['EventStatusType'],
93
+            'funder' => ['Organization', 'Person'],
94
+            'funding' => ['Grant'],
95
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
96
+            'image' => ['URL', 'ImageObject'],
97
+            'inLanguage' => ['Text', 'Language'],
98
+            'isAccessibleForFree' => ['Boolean'],
99
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
100
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
101
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
102
+            'maximumAttendeeCapacity' => ['Integer'],
103
+            'maximumPhysicalAttendeeCapacity' => ['Integer'],
104
+            'maximumVirtualAttendeeCapacity' => ['Integer'],
105
+            'name' => ['Text'],
106
+            'offers' => ['Demand', 'Offer'],
107
+            'organizer' => ['Organization', 'Person'],
108
+            'performer' => ['Person', 'Organization'],
109
+            'performers' => ['Person', 'Organization'],
110
+            'potentialAction' => ['Action'],
111
+            'previousStartDate' => ['Date'],
112
+            'recordedIn' => ['CreativeWork'],
113
+            'remainingAttendeeCapacity' => ['Integer'],
114
+            'review' => ['Review'],
115
+            'sameAs' => ['URL'],
116
+            'sponsor' => ['Organization', 'Person'],
117
+            'startDate' => ['DateTime', 'Date'],
118
+            'subEvent' => ['Event'],
119
+            'subEvents' => ['Event'],
120
+            'subjectOf' => ['Event', 'CreativeWork'],
121
+            'superEvent' => ['Event'],
122
+            'translator' => ['Organization', 'Person'],
123
+            'typicalAgeRange' => ['Text'],
124
+            'url' => ['URL'],
125
+            'workFeatured' => ['CreativeWork'],
126
+            'workPerformed' => ['CreativeWork']
127
+        ];
128
+    }
129
+
130
+
131
+    /**
132
+     * @inheritdoc
133
+     */
134
+    public function getSchemaPropertyDescriptions(): array
135
+    {
136
+        return [
137
+            'about' => 'The subject matter of the content.',
138
+            '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.',
139
+            '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.',
140
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
141
+            'alternateName' => 'An alias for the item.',
142
+            'attendee' => 'A person or organization attending the event.',
143
+            'attendees' => 'A person attending the event.',
144
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
145
+            'composer' => 'The person or organization who wrote a composition, or who is the composer of a work performed at some event.',
146
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
147
+            'description' => 'A description of the item.',
148
+            '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.',
149
+            '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.',
150
+            'doorTime' => 'The time admission will commence.',
151
+            'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
152
+            'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
153
+            'eventAttendanceMode' => 'The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix.',
154
+            '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.',
155
+            'eventStatus' => 'An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.',
156
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
157
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
158
+            '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.         ',
159
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
160
+            '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]].',
161
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
162
+            '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.',
163
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
164
+            '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.',
165
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
166
+            'maximumPhysicalAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]]). ',
167
+            'maximumVirtualAttendeeCapacity' => 'The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]]). ',
168
+            'name' => 'The name of the item.',
169
+            '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.       ',
170
+            'organizer' => 'An organizer of an Event.',
171
+            'performer' => 'A performer at the event—for example, a presenter, musician, musical group or actor.',
172
+            'performers' => 'The main performer or performers of the event—for example, a presenter, musician, or actor.',
173
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
174
+            '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.',
175
+            'recordedIn' => 'The CreativeWork that captured all or part of this Event.',
176
+            'remainingAttendeeCapacity' => 'The number of attendee places for an event that remain unallocated.',
177
+            'review' => 'A review of the item.',
178
+            '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.',
179
+            '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.',
180
+            'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
181
+            '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.',
182
+            'subEvents' => 'Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.',
183
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
184
+            '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.',
185
+            '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.',
186
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
187
+            'url' => 'URL of the item.',
188
+            '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).',
189
+            'workPerformed' => 'A work performed in some event, for example a play performed in a TheaterEvent.'
190
+        ];
191
+    }
192
+
193
+
194
+    /**
195
+     * @inheritdoc
196
+     */
197
+    public function getGoogleRequiredSchema(): array
198
+    {
199
+        return ['description', 'name'];
200
+    }
201
+
202
+
203
+    /**
204
+     * @inheritdoc
205
+     */
206
+    public function getGoogleRecommendedSchema(): array
207
+    {
208
+        return ['image', 'url'];
209
+    }
210
+
211
+
212
+    /**
213
+     * @inheritdoc
214
+     */
215
+    public function defineRules(): array
216
+    {
217
+        $rules = parent::defineRules();
218
+            $rules = array_merge($rules, [
219
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
220
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
221
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
222
+            ]);
223
+
224
+            return $rules;
225
+    }
226 226
 }
Please login to merge, or discard this patch.
src/models/jsonld/PropertyValue.php 1 patch
Indentation   +135 added lines, -135 removed lines patch added patch discarded remove patch
@@ -29,139 +29,139 @@
 block discarded – undo
29 29
  */
30 30
 class PropertyValue extends MetaJsonLd implements PropertyValueInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
31 31
 {
32
-	use PropertyValueTrait;
33
-	use StructuredValueTrait;
34
-	use IntangibleTrait;
35
-	use ThingTrait;
36
-
37
-	/**
38
-	 * The Schema.org Type Name
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeName = 'PropertyValue';
43
-
44
-	/**
45
-	 * The Schema.org Type Scope
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeScope = 'https://schema.org/PropertyValue';
50
-
51
-	/**
52
-	 * The Schema.org Type Extends
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeExtends = 'StructuredValue';
57
-
58
-	/**
59
-	 * The Schema.org Type Description
60
-	 *
61
-	 * @var string
62
-	 */
63
-	public static $schemaTypeDescription = "A property-value pair, e.g. representing a feature of a product or place. Use the 'name' property for the name of the property. If there is an additional human-readable version of the value, put that into the 'description' property.\\n\\n Always use specific schema.org properties when a) they exist and b) you can populate them. Using PropertyValue as a substitute will typically not trigger the same effect as using the original, specific property.\n    ";
64
-
65
-
66
-	/**
67
-	 * @inheritdoc
68
-	 */
69
-	public function getSchemaPropertyNames(): array
70
-	{
71
-		return array_keys($this->getSchemaPropertyExpectedTypes());
72
-	}
73
-
74
-
75
-	/**
76
-	 * @inheritdoc
77
-	 */
78
-	public function getSchemaPropertyExpectedTypes(): array
79
-	{
80
-		return [
81
-		    'additionalType' => ['URL'],
82
-		    'alternateName' => ['Text'],
83
-		    'description' => ['Text'],
84
-		    'disambiguatingDescription' => ['Text'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'maxValue' => ['Number'],
89
-		    'measurementTechnique' => ['URL', 'Text'],
90
-		    'minValue' => ['Number'],
91
-		    'name' => ['Text'],
92
-		    'potentialAction' => ['Action'],
93
-		    'propertyID' => ['Text', 'URL'],
94
-		    'sameAs' => ['URL'],
95
-		    'subjectOf' => ['Event', 'CreativeWork'],
96
-		    'unitCode' => ['Text', 'URL'],
97
-		    'unitText' => ['Text'],
98
-		    'url' => ['URL'],
99
-		    'value' => ['StructuredValue', 'Text', 'Boolean', 'Number'],
100
-		    'valueReference' => ['Enumeration', 'QualitativeValue', 'DefinedTerm', 'StructuredValue', 'PropertyValue', 'Text', 'MeasurementTypeEnumeration', 'QuantitativeValue']
101
-		];
102
-	}
103
-
104
-
105
-	/**
106
-	 * @inheritdoc
107
-	 */
108
-	public function getSchemaPropertyDescriptions(): array
109
-	{
110
-		return [
111
-		    '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.',
112
-		    'alternateName' => 'An alias for the item.',
113
-		    'description' => 'A description of the item.',
114
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
-		    '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.',
118
-		    'maxValue' => 'The upper value of some characteristic or property.',
119
-		    'measurementTechnique' => 'A technique or technology used in a [[Dataset]] (or [[DataDownload]], [[DataCatalog]]), corresponding to the method used for measuring the corresponding variable(s) (described using [[variableMeasured]]). This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but rather as a high level summary for dataset discovery.  For example, if [[variableMeasured]] is: molecule concentration, [[measurementTechnique]] could be: "mass spectrometry" or "nmr spectroscopy" or "colorimetry" or "immunofluorescence".  If the [[variableMeasured]] is "depression rating", the [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory".  If there are several [[variableMeasured]] properties recorded for some given data object, use a [[PropertyValue]] for each [[variableMeasured]] and attach the corresponding [[measurementTechnique]].       ',
120
-		    'minValue' => 'The lower value of some characteristic or property.',
121
-		    'name' => 'The name of the item.',
122
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
-		    'propertyID' => 'A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be (1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific ID of the property), or (3) a URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry). Standards bodies should promote a standard prefix for the identifiers of properties from their standards.',
124
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
125
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
126
-		    'unitCode' => 'The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.',
127
-		    'unitText' => 'A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for <a href=\'unitCode\'>unitCode</a>.',
128
-		    'url' => 'URL of the item.',
129
-		    'value' => 'The value of the quantitative value or property value node.  * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is \'Number\'. * For [[PropertyValue]], it can be \'Text\', \'Number\', \'Boolean\', or \'StructuredValue\'. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
130
-		    'valueReference' => 'A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.'
131
-		];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function getGoogleRequiredSchema(): array
139
-	{
140
-		return ['description', 'name'];
141
-	}
142
-
143
-
144
-	/**
145
-	 * @inheritdoc
146
-	 */
147
-	public function getGoogleRecommendedSchema(): array
148
-	{
149
-		return ['image', 'url'];
150
-	}
151
-
152
-
153
-	/**
154
-	 * @inheritdoc
155
-	 */
156
-	public function defineRules(): array
157
-	{
158
-		$rules = parent::defineRules();
159
-		    $rules = array_merge($rules, [
160
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
161
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
162
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
163
-		    ]);
164
-
165
-		    return $rules;
166
-	}
32
+    use PropertyValueTrait;
33
+    use StructuredValueTrait;
34
+    use IntangibleTrait;
35
+    use ThingTrait;
36
+
37
+    /**
38
+     * The Schema.org Type Name
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeName = 'PropertyValue';
43
+
44
+    /**
45
+     * The Schema.org Type Scope
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeScope = 'https://schema.org/PropertyValue';
50
+
51
+    /**
52
+     * The Schema.org Type Extends
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeExtends = 'StructuredValue';
57
+
58
+    /**
59
+     * The Schema.org Type Description
60
+     *
61
+     * @var string
62
+     */
63
+    public static $schemaTypeDescription = "A property-value pair, e.g. representing a feature of a product or place. Use the 'name' property for the name of the property. If there is an additional human-readable version of the value, put that into the 'description' property.\\n\\n Always use specific schema.org properties when a) they exist and b) you can populate them. Using PropertyValue as a substitute will typically not trigger the same effect as using the original, specific property.\n    ";
64
+
65
+
66
+    /**
67
+     * @inheritdoc
68
+     */
69
+    public function getSchemaPropertyNames(): array
70
+    {
71
+        return array_keys($this->getSchemaPropertyExpectedTypes());
72
+    }
73
+
74
+
75
+    /**
76
+     * @inheritdoc
77
+     */
78
+    public function getSchemaPropertyExpectedTypes(): array
79
+    {
80
+        return [
81
+            'additionalType' => ['URL'],
82
+            'alternateName' => ['Text'],
83
+            'description' => ['Text'],
84
+            'disambiguatingDescription' => ['Text'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'maxValue' => ['Number'],
89
+            'measurementTechnique' => ['URL', 'Text'],
90
+            'minValue' => ['Number'],
91
+            'name' => ['Text'],
92
+            'potentialAction' => ['Action'],
93
+            'propertyID' => ['Text', 'URL'],
94
+            'sameAs' => ['URL'],
95
+            'subjectOf' => ['Event', 'CreativeWork'],
96
+            'unitCode' => ['Text', 'URL'],
97
+            'unitText' => ['Text'],
98
+            'url' => ['URL'],
99
+            'value' => ['StructuredValue', 'Text', 'Boolean', 'Number'],
100
+            'valueReference' => ['Enumeration', 'QualitativeValue', 'DefinedTerm', 'StructuredValue', 'PropertyValue', 'Text', 'MeasurementTypeEnumeration', 'QuantitativeValue']
101
+        ];
102
+    }
103
+
104
+
105
+    /**
106
+     * @inheritdoc
107
+     */
108
+    public function getSchemaPropertyDescriptions(): array
109
+    {
110
+        return [
111
+            '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.',
112
+            'alternateName' => 'An alias for the item.',
113
+            'description' => 'A description of the item.',
114
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
+            '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.',
118
+            'maxValue' => 'The upper value of some characteristic or property.',
119
+            'measurementTechnique' => 'A technique or technology used in a [[Dataset]] (or [[DataDownload]], [[DataCatalog]]), corresponding to the method used for measuring the corresponding variable(s) (described using [[variableMeasured]]). This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but rather as a high level summary for dataset discovery.  For example, if [[variableMeasured]] is: molecule concentration, [[measurementTechnique]] could be: "mass spectrometry" or "nmr spectroscopy" or "colorimetry" or "immunofluorescence".  If the [[variableMeasured]] is "depression rating", the [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory".  If there are several [[variableMeasured]] properties recorded for some given data object, use a [[PropertyValue]] for each [[variableMeasured]] and attach the corresponding [[measurementTechnique]].       ',
120
+            'minValue' => 'The lower value of some characteristic or property.',
121
+            'name' => 'The name of the item.',
122
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
+            'propertyID' => 'A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be (1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific ID of the property), or (3) a URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry). Standards bodies should promote a standard prefix for the identifiers of properties from their standards.',
124
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
125
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
126
+            'unitCode' => 'The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.',
127
+            'unitText' => 'A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for <a href=\'unitCode\'>unitCode</a>.',
128
+            'url' => 'URL of the item.',
129
+            'value' => 'The value of the quantitative value or property value node.  * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is \'Number\'. * For [[PropertyValue]], it can be \'Text\', \'Number\', \'Boolean\', or \'StructuredValue\'. * Use values from 0123456789 (Unicode \'DIGIT ZERO\' (U+0030) to \'DIGIT NINE\' (U+0039)) rather than superficially similar Unicode symbols. * Use \'.\' (Unicode \'FULL STOP\' (U+002E)) rather than \',\' to indicate a decimal point. Avoid using these symbols as a readability separator.',
130
+            'valueReference' => 'A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.'
131
+        ];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function getGoogleRequiredSchema(): array
139
+    {
140
+        return ['description', 'name'];
141
+    }
142
+
143
+
144
+    /**
145
+     * @inheritdoc
146
+     */
147
+    public function getGoogleRecommendedSchema(): array
148
+    {
149
+        return ['image', 'url'];
150
+    }
151
+
152
+
153
+    /**
154
+     * @inheritdoc
155
+     */
156
+    public function defineRules(): array
157
+    {
158
+        $rules = parent::defineRules();
159
+            $rules = array_merge($rules, [
160
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
161
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
162
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
163
+            ]);
164
+
165
+            return $rules;
166
+    }
167 167
 }
Please login to merge, or discard this patch.
src/models/jsonld/PET.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 PET extends MetaJsonLd implements PETInterface, MedicalImagingTechniqueInterface, MedicalEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use PETTrait;
27
-	use MedicalImagingTechniqueTrait;
28
-	use MedicalEnumerationTrait;
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 = 'PET';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/PET';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'MedicalImagingTechnique';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Positron emission tomography imaging.';
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 PETTrait;
27
+    use MedicalImagingTechniqueTrait;
28
+    use MedicalEnumerationTrait;
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 = 'PET';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/PET';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'MedicalImagingTechnique';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Positron emission tomography imaging.';
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.