Passed
Push — develop ( e888e4...569633 )
by Andrew
19:20 queued 10:31
created
src/models/jsonld/NoteDigitalDocument.php 1 patch
Indentation   +328 added lines, -328 removed lines patch added patch discarded remove patch
@@ -23,349 +23,349 @@
 block discarded – undo
23 23
  */
24 24
 class NoteDigitalDocument extends MetaJsonLd implements NoteDigitalDocumentInterface, DigitalDocumentInterface, CreativeWorkInterface, ThingInterface
25 25
 {
26
-	use NoteDigitalDocumentTrait;
27
-	use DigitalDocumentTrait;
28
-	use CreativeWorkTrait;
29
-	use ThingTrait;
26
+    use NoteDigitalDocumentTrait;
27
+    use DigitalDocumentTrait;
28
+    use CreativeWorkTrait;
29
+    use ThingTrait;
30 30
 
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'NoteDigitalDocument';
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'NoteDigitalDocument';
37 37
 
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/NoteDigitalDocument';
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/NoteDigitalDocument';
44 44
 
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'DigitalDocument';
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'DigitalDocument';
51 51
 
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A file containing a note, primarily for the author.';
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A file containing a note, primarily for the author.';
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
-		    'character' => ['Person'],
99
-		    'citation' => ['CreativeWork', 'Text'],
100
-		    'comment' => ['Comment'],
101
-		    'commentCount' => ['Integer'],
102
-		    'conditionsOfAccess' => ['Text'],
103
-		    'contentLocation' => ['Place'],
104
-		    'contentRating' => ['Text', 'Rating'],
105
-		    'contentReferenceTime' => ['DateTime'],
106
-		    'contributor' => ['Organization', 'Person'],
107
-		    'copyrightHolder' => ['Organization', 'Person'],
108
-		    'copyrightNotice' => ['Text'],
109
-		    'copyrightYear' => ['Number'],
110
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
111
-		    'countryOfOrigin' => ['Country'],
112
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
113
-		    'creator' => ['Person', 'Organization'],
114
-		    'creditText' => ['Text'],
115
-		    'dateCreated' => ['DateTime', 'Date'],
116
-		    'dateModified' => ['DateTime', 'Date'],
117
-		    'datePublished' => ['DateTime', 'Date'],
118
-		    'description' => ['Text'],
119
-		    'disambiguatingDescription' => ['Text'],
120
-		    'discussionUrl' => ['URL'],
121
-		    'editEIDR' => ['URL', 'Text'],
122
-		    'editor' => ['Person'],
123
-		    'educationalAlignment' => ['AlignmentObject'],
124
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
125
-		    'educationalUse' => ['DefinedTerm', 'Text'],
126
-		    'encoding' => ['MediaObject'],
127
-		    'encodingFormat' => ['URL', 'Text'],
128
-		    'encodings' => ['MediaObject'],
129
-		    'exampleOfWork' => ['CreativeWork'],
130
-		    'expires' => ['Date', 'DateTime'],
131
-		    'fileFormat' => ['Text', 'URL'],
132
-		    'funder' => ['Organization', 'Person'],
133
-		    'funding' => ['Grant'],
134
-		    'genre' => ['Text', 'URL'],
135
-		    'hasDigitalDocumentPermission' => ['DigitalDocumentPermission'],
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
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
151
-		    'license' => ['URL', 'CreativeWork'],
152
-		    'locationCreated' => ['Place'],
153
-		    'mainEntity' => ['Thing'],
154
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
155
-		    'maintainer' => ['Person', 'Organization'],
156
-		    'material' => ['Product', 'URL', 'Text'],
157
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
158
-		    'mentions' => ['Thing'],
159
-		    'name' => ['Text'],
160
-		    'offers' => ['Demand', 'Offer'],
161
-		    'pattern' => ['DefinedTerm', 'Text'],
162
-		    'position' => ['Text', 'Integer'],
163
-		    'potentialAction' => ['Action'],
164
-		    'producer' => ['Organization', 'Person'],
165
-		    'provider' => ['Organization', 'Person'],
166
-		    'publication' => ['PublicationEvent'],
167
-		    'publisher' => ['Organization', 'Person'],
168
-		    'publisherImprint' => ['Organization'],
169
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
170
-		    'recordedAt' => ['Event'],
171
-		    'releasedEvent' => ['PublicationEvent'],
172
-		    'review' => ['Review'],
173
-		    'reviews' => ['Review'],
174
-		    'sameAs' => ['URL'],
175
-		    'schemaVersion' => ['URL', 'Text'],
176
-		    'sdDatePublished' => ['Date'],
177
-		    'sdLicense' => ['CreativeWork', 'URL'],
178
-		    'sdPublisher' => ['Organization', 'Person'],
179
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
180
-		    'sourceOrganization' => ['Organization'],
181
-		    'spatial' => ['Place'],
182
-		    'spatialCoverage' => ['Place'],
183
-		    'sponsor' => ['Organization', 'Person'],
184
-		    'subjectOf' => ['Event', 'CreativeWork'],
185
-		    'teaches' => ['DefinedTerm', 'Text'],
186
-		    'temporal' => ['DateTime', 'Text'],
187
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
188
-		    'text' => ['Text'],
189
-		    'thumbnailUrl' => ['URL'],
190
-		    'timeRequired' => ['Duration'],
191
-		    'translationOfWork' => ['CreativeWork'],
192
-		    'translator' => ['Organization', 'Person'],
193
-		    'typicalAgeRange' => ['Text'],
194
-		    'url' => ['URL'],
195
-		    'usageInfo' => ['URL', 'CreativeWork'],
196
-		    'version' => ['Number', 'Text'],
197
-		    'video' => ['VideoObject', 'Clip'],
198
-		    'workExample' => ['CreativeWork'],
199
-		    'workTranslation' => ['CreativeWork']
200
-		];
201
-	}
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
+            'character' => ['Person'],
99
+            'citation' => ['CreativeWork', 'Text'],
100
+            'comment' => ['Comment'],
101
+            'commentCount' => ['Integer'],
102
+            'conditionsOfAccess' => ['Text'],
103
+            'contentLocation' => ['Place'],
104
+            'contentRating' => ['Text', 'Rating'],
105
+            'contentReferenceTime' => ['DateTime'],
106
+            'contributor' => ['Organization', 'Person'],
107
+            'copyrightHolder' => ['Organization', 'Person'],
108
+            'copyrightNotice' => ['Text'],
109
+            'copyrightYear' => ['Number'],
110
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
111
+            'countryOfOrigin' => ['Country'],
112
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
113
+            'creator' => ['Person', 'Organization'],
114
+            'creditText' => ['Text'],
115
+            'dateCreated' => ['DateTime', 'Date'],
116
+            'dateModified' => ['DateTime', 'Date'],
117
+            'datePublished' => ['DateTime', 'Date'],
118
+            'description' => ['Text'],
119
+            'disambiguatingDescription' => ['Text'],
120
+            'discussionUrl' => ['URL'],
121
+            'editEIDR' => ['URL', 'Text'],
122
+            'editor' => ['Person'],
123
+            'educationalAlignment' => ['AlignmentObject'],
124
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
125
+            'educationalUse' => ['DefinedTerm', 'Text'],
126
+            'encoding' => ['MediaObject'],
127
+            'encodingFormat' => ['URL', 'Text'],
128
+            'encodings' => ['MediaObject'],
129
+            'exampleOfWork' => ['CreativeWork'],
130
+            'expires' => ['Date', 'DateTime'],
131
+            'fileFormat' => ['Text', 'URL'],
132
+            'funder' => ['Organization', 'Person'],
133
+            'funding' => ['Grant'],
134
+            'genre' => ['Text', 'URL'],
135
+            'hasDigitalDocumentPermission' => ['DigitalDocumentPermission'],
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
+            'learningResourceType' => ['DefinedTerm', 'Text'],
151
+            'license' => ['URL', 'CreativeWork'],
152
+            'locationCreated' => ['Place'],
153
+            'mainEntity' => ['Thing'],
154
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
155
+            'maintainer' => ['Person', 'Organization'],
156
+            'material' => ['Product', 'URL', 'Text'],
157
+            'materialExtent' => ['QuantitativeValue', 'Text'],
158
+            'mentions' => ['Thing'],
159
+            'name' => ['Text'],
160
+            'offers' => ['Demand', 'Offer'],
161
+            'pattern' => ['DefinedTerm', 'Text'],
162
+            'position' => ['Text', 'Integer'],
163
+            'potentialAction' => ['Action'],
164
+            'producer' => ['Organization', 'Person'],
165
+            'provider' => ['Organization', 'Person'],
166
+            'publication' => ['PublicationEvent'],
167
+            'publisher' => ['Organization', 'Person'],
168
+            'publisherImprint' => ['Organization'],
169
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
170
+            'recordedAt' => ['Event'],
171
+            'releasedEvent' => ['PublicationEvent'],
172
+            'review' => ['Review'],
173
+            'reviews' => ['Review'],
174
+            'sameAs' => ['URL'],
175
+            'schemaVersion' => ['URL', 'Text'],
176
+            'sdDatePublished' => ['Date'],
177
+            'sdLicense' => ['CreativeWork', 'URL'],
178
+            'sdPublisher' => ['Organization', 'Person'],
179
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
180
+            'sourceOrganization' => ['Organization'],
181
+            'spatial' => ['Place'],
182
+            'spatialCoverage' => ['Place'],
183
+            'sponsor' => ['Organization', 'Person'],
184
+            'subjectOf' => ['Event', 'CreativeWork'],
185
+            'teaches' => ['DefinedTerm', 'Text'],
186
+            'temporal' => ['DateTime', 'Text'],
187
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
188
+            'text' => ['Text'],
189
+            'thumbnailUrl' => ['URL'],
190
+            'timeRequired' => ['Duration'],
191
+            'translationOfWork' => ['CreativeWork'],
192
+            'translator' => ['Organization', 'Person'],
193
+            'typicalAgeRange' => ['Text'],
194
+            'url' => ['URL'],
195
+            'usageInfo' => ['URL', 'CreativeWork'],
196
+            'version' => ['Number', 'Text'],
197
+            'video' => ['VideoObject', 'Clip'],
198
+            'workExample' => ['CreativeWork'],
199
+            'workTranslation' => ['CreativeWork']
200
+        ];
201
+    }
202 202
 
203 203
 
204
-	/**
205
-	 * @inheritdoc
206
-	 */
207
-	public function getSchemaPropertyDescriptions(): array
208
-	{
209
-		return [
210
-		    'about' => 'The subject matter of the content.',
211
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
212
-		    '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).',
213
-		    '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).',
214
-		    '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).',
215
-		    '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).',
216
-		    '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).',
217
-		    '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).',
218
-		    '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."',
219
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
220
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
221
-		    '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.',
222
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
223
-		    'alternateName' => 'An alias for the item.',
224
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
225
-		    '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.',
226
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
227
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
228
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
229
-		    'audio' => 'An embedded audio object.',
230
-		    '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.',
231
-		    'award' => 'An award won by or for this item.',
232
-		    'awards' => 'Awards won by or for this item.',
233
-		    'character' => 'Fictional person connected with a creative work.',
234
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
235
-		    'comment' => 'Comments, typically from users.',
236
-		    '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.',
237
-		    '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 ". ',
238
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
239
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
240
-		    '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.',
241
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
242
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
243
-		    '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.',
244
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
245
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
246
-		    '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.',
247
-		    '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.',
248
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
249
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
250
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
251
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
252
-		    'datePublished' => 'Date of first broadcast/publication.',
253
-		    'description' => 'A description of the item.',
254
-		    '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.',
255
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
256
-		    '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. ',
257
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
258
-		    '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.',
259
-		    '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.',
260
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
261
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
262
-		    '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.',
263
-		    'encodings' => 'A media object that encodes this CreativeWork.',
264
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
265
-		    '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.',
266
-		    '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.',
267
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
268
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
269
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
270
-		    'hasDigitalDocumentPermission' => 'A permission related to the access to this document (e.g. permission to read or write an electronic document). For a public document, specify a grantee with an Audience with audienceType equal to "public".',
271
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
272
-		    'headline' => 'Headline of the article.',
273
-		    '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.         ',
274
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
275
-		    '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]].',
276
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
277
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
278
-		    '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]].',
279
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
280
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
281
-		    '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.',
282
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
283
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
284
-		    '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.',
285
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
286
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
287
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
288
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
289
-		    '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.',
290
-		    '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.       ',
291
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
292
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
293
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
294
-		    'name' => 'The name of the item.',
295
-		    '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.       ',
296
-		    '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.',
297
-		    'position' => 'The position of an item in a series or sequence of items.',
298
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
299
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
300
-		    '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.',
301
-		    'publication' => 'A publication event associated with the item.',
302
-		    'publisher' => 'The publisher of the creative work.',
303
-		    'publisherImprint' => 'The publishing division which published the comic.',
304
-		    '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. ',
305
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
306
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
307
-		    'review' => 'A review of the item.',
308
-		    'reviews' => 'Review of the item.',
309
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
310
-		    '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.',
311
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
312
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
313
-		    '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.',
314
-		    '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. ',
315
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
316
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
317
-		    '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.',
318
-		    '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.',
319
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
320
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
321
-		    '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.',
322
-		    '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.',
323
-		    'text' => 'The textual content of this CreativeWork.',
324
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
325
-		    '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\'.',
326
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
327
-		    '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.',
328
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
329
-		    'url' => 'URL of the item.',
330
-		    '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.',
331
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
332
-		    'video' => 'An embedded video object.',
333
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
334
-		    '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.'
335
-		];
336
-	}
204
+    /**
205
+     * @inheritdoc
206
+     */
207
+    public function getSchemaPropertyDescriptions(): array
208
+    {
209
+        return [
210
+            'about' => 'The subject matter of the content.',
211
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
212
+            '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).',
213
+            '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).',
214
+            '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).',
215
+            '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).',
216
+            '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).',
217
+            '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).',
218
+            '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."',
219
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
220
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
221
+            '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.',
222
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
223
+            'alternateName' => 'An alias for the item.',
224
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
225
+            '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.',
226
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
227
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
228
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
229
+            'audio' => 'An embedded audio object.',
230
+            '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.',
231
+            'award' => 'An award won by or for this item.',
232
+            'awards' => 'Awards won by or for this item.',
233
+            'character' => 'Fictional person connected with a creative work.',
234
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
235
+            'comment' => 'Comments, typically from users.',
236
+            '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.',
237
+            '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 ". ',
238
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
239
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
240
+            '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.',
241
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
242
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
243
+            '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.',
244
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
245
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
246
+            '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.',
247
+            '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.',
248
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
249
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
250
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
251
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
252
+            'datePublished' => 'Date of first broadcast/publication.',
253
+            'description' => 'A description of the item.',
254
+            '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.',
255
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
256
+            '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. ',
257
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
258
+            '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.',
259
+            '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.',
260
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
261
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
262
+            '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.',
263
+            'encodings' => 'A media object that encodes this CreativeWork.',
264
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
265
+            '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.',
266
+            '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.',
267
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
268
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
269
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
270
+            'hasDigitalDocumentPermission' => 'A permission related to the access to this document (e.g. permission to read or write an electronic document). For a public document, specify a grantee with an Audience with audienceType equal to "public".',
271
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
272
+            'headline' => 'Headline of the article.',
273
+            '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.         ',
274
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
275
+            '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]].',
276
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
277
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
278
+            '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]].',
279
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
280
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
281
+            '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.',
282
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
283
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
284
+            '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.',
285
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
286
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
287
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
288
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
289
+            '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.',
290
+            '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.       ',
291
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
292
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
293
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
294
+            'name' => 'The name of the item.',
295
+            '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.       ',
296
+            '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.',
297
+            'position' => 'The position of an item in a series or sequence of items.',
298
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
299
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
300
+            '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.',
301
+            'publication' => 'A publication event associated with the item.',
302
+            'publisher' => 'The publisher of the creative work.',
303
+            'publisherImprint' => 'The publishing division which published the comic.',
304
+            '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. ',
305
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
306
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
307
+            'review' => 'A review of the item.',
308
+            'reviews' => 'Review of the item.',
309
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
310
+            '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.',
311
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
312
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
313
+            '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.',
314
+            '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. ',
315
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
316
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
317
+            '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.',
318
+            '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.',
319
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
320
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
321
+            '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.',
322
+            '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.',
323
+            'text' => 'The textual content of this CreativeWork.',
324
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
325
+            '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\'.',
326
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
327
+            '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.',
328
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
329
+            'url' => 'URL of the item.',
330
+            '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.',
331
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
332
+            'video' => 'An embedded video object.',
333
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
334
+            '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.'
335
+        ];
336
+    }
337 337
 
338 338
 
339
-	/**
340
-	 * @inheritdoc
341
-	 */
342
-	public function getGoogleRequiredSchema(): array
343
-	{
344
-		return ['description', 'name'];
345
-	}
339
+    /**
340
+     * @inheritdoc
341
+     */
342
+    public function getGoogleRequiredSchema(): array
343
+    {
344
+        return ['description', 'name'];
345
+    }
346 346
 
347 347
 
348
-	/**
349
-	 * @inheritdoc
350
-	 */
351
-	public function getGoogleRecommendedSchema(): array
352
-	{
353
-		return ['image', 'url'];
354
-	}
348
+    /**
349
+     * @inheritdoc
350
+     */
351
+    public function getGoogleRecommendedSchema(): array
352
+    {
353
+        return ['image', 'url'];
354
+    }
355 355
 
356 356
 
357
-	/**
358
-	 * @inheritdoc
359
-	 */
360
-	public function defineRules(): array
361
-	{
362
-		$rules = parent::defineRules();
363
-		    $rules = array_merge($rules, [
364
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
365
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
366
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
367
-		    ]);
357
+    /**
358
+     * @inheritdoc
359
+     */
360
+    public function defineRules(): array
361
+    {
362
+        $rules = parent::defineRules();
363
+            $rules = array_merge($rules, [
364
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
365
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
366
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
367
+            ]);
368 368
 
369
-		    return $rules;
370
-	}
369
+            return $rules;
370
+    }
371 371
 }
Please login to merge, or discard this patch.
src/models/jsonld/PhysicalExam.php 1 patch
Indentation   +152 added lines, -152 removed lines patch added patch discarded remove patch
@@ -23,156 +23,156 @@
 block discarded – undo
23 23
  */
24 24
 class PhysicalExam extends MetaJsonLd implements PhysicalExamInterface, MedicalProcedureInterface, MedicalEntityInterface, ThingInterface, MedicalEnumerationInterface, EnumerationInterface, IntangibleInterface
25 25
 {
26
-	use PhysicalExamTrait;
27
-	use MedicalProcedureTrait;
28
-	use MedicalEntityTrait;
29
-	use ThingTrait;
30
-	use MedicalEnumerationTrait;
31
-	use EnumerationTrait;
32
-	use IntangibleTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'PhysicalExam';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/PhysicalExam';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'MedicalProcedure';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'A type of physical examination of a patient performed by a physician. ';
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
-		    'bodyLocation' => ['Text'],
81
-		    'code' => ['MedicalCode'],
82
-		    'description' => ['Text'],
83
-		    'disambiguatingDescription' => ['Text'],
84
-		    'followup' => ['Text'],
85
-		    'funding' => ['Grant'],
86
-		    'guideline' => ['MedicalGuideline'],
87
-		    'howPerformed' => ['Text'],
88
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
89
-		    'image' => ['URL', 'ImageObject'],
90
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
91
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
92
-		    'medicineSystem' => ['MedicineSystem'],
93
-		    'name' => ['Text'],
94
-		    'potentialAction' => ['Action'],
95
-		    'preparation' => ['Text', 'MedicalEntity'],
96
-		    'procedureType' => ['MedicalProcedureType'],
97
-		    'recognizingAuthority' => ['Organization'],
98
-		    'relevantSpecialty' => ['MedicalSpecialty'],
99
-		    'sameAs' => ['URL'],
100
-		    'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
101
-		    'study' => ['MedicalStudy'],
102
-		    'subjectOf' => ['Event', 'CreativeWork'],
103
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
104
-		    'url' => ['URL']
105
-		];
106
-	}
107
-
108
-
109
-	/**
110
-	 * @inheritdoc
111
-	 */
112
-	public function getSchemaPropertyDescriptions(): array
113
-	{
114
-		return [
115
-		    '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.',
116
-		    'alternateName' => 'An alias for the item.',
117
-		    'bodyLocation' => 'Location in the body of the anatomical structure.',
118
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
119
-		    'description' => 'A description of the item.',
120
-		    '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.',
121
-		    'followup' => 'Typical or recommended followup care after the procedure is performed.',
122
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
123
-		    'guideline' => 'A medical guideline related to this entity.',
124
-		    'howPerformed' => 'How the procedure is performed.',
125
-		    '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.         ',
126
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
127
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
128
-		    '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.',
129
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
130
-		    'name' => 'The name of the item.',
131
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
132
-		    'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
133
-		    'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
134
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
135
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
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
-		    'status' => 'The status of the study (enumerated).',
138
-		    'study' => 'A medical study or trial related to this entity.',
139
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
140
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
141
-		    'url' => 'URL of the item.'
142
-		];
143
-	}
144
-
145
-
146
-	/**
147
-	 * @inheritdoc
148
-	 */
149
-	public function getGoogleRequiredSchema(): array
150
-	{
151
-		return ['description', 'name'];
152
-	}
153
-
154
-
155
-	/**
156
-	 * @inheritdoc
157
-	 */
158
-	public function getGoogleRecommendedSchema(): array
159
-	{
160
-		return ['image', 'url'];
161
-	}
162
-
163
-
164
-	/**
165
-	 * @inheritdoc
166
-	 */
167
-	public function defineRules(): array
168
-	{
169
-		$rules = parent::defineRules();
170
-		    $rules = array_merge($rules, [
171
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
172
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
173
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
174
-		    ]);
175
-
176
-		    return $rules;
177
-	}
26
+    use PhysicalExamTrait;
27
+    use MedicalProcedureTrait;
28
+    use MedicalEntityTrait;
29
+    use ThingTrait;
30
+    use MedicalEnumerationTrait;
31
+    use EnumerationTrait;
32
+    use IntangibleTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'PhysicalExam';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/PhysicalExam';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'MedicalProcedure';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'A type of physical examination of a patient performed by a physician. ';
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
+            'bodyLocation' => ['Text'],
81
+            'code' => ['MedicalCode'],
82
+            'description' => ['Text'],
83
+            'disambiguatingDescription' => ['Text'],
84
+            'followup' => ['Text'],
85
+            'funding' => ['Grant'],
86
+            'guideline' => ['MedicalGuideline'],
87
+            'howPerformed' => ['Text'],
88
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
89
+            'image' => ['URL', 'ImageObject'],
90
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
91
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
92
+            'medicineSystem' => ['MedicineSystem'],
93
+            'name' => ['Text'],
94
+            'potentialAction' => ['Action'],
95
+            'preparation' => ['Text', 'MedicalEntity'],
96
+            'procedureType' => ['MedicalProcedureType'],
97
+            'recognizingAuthority' => ['Organization'],
98
+            'relevantSpecialty' => ['MedicalSpecialty'],
99
+            'sameAs' => ['URL'],
100
+            'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
101
+            'study' => ['MedicalStudy'],
102
+            'subjectOf' => ['Event', 'CreativeWork'],
103
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
104
+            'url' => ['URL']
105
+        ];
106
+    }
107
+
108
+
109
+    /**
110
+     * @inheritdoc
111
+     */
112
+    public function getSchemaPropertyDescriptions(): array
113
+    {
114
+        return [
115
+            '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.',
116
+            'alternateName' => 'An alias for the item.',
117
+            'bodyLocation' => 'Location in the body of the anatomical structure.',
118
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
119
+            'description' => 'A description of the item.',
120
+            '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.',
121
+            'followup' => 'Typical or recommended followup care after the procedure is performed.',
122
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
123
+            'guideline' => 'A medical guideline related to this entity.',
124
+            'howPerformed' => 'How the procedure is performed.',
125
+            '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.         ',
126
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
127
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
128
+            '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.',
129
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
130
+            'name' => 'The name of the item.',
131
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
132
+            'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
133
+            'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
134
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
135
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
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
+            'status' => 'The status of the study (enumerated).',
138
+            'study' => 'A medical study or trial related to this entity.',
139
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
140
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
141
+            'url' => 'URL of the item.'
142
+        ];
143
+    }
144
+
145
+
146
+    /**
147
+     * @inheritdoc
148
+     */
149
+    public function getGoogleRequiredSchema(): array
150
+    {
151
+        return ['description', 'name'];
152
+    }
153
+
154
+
155
+    /**
156
+     * @inheritdoc
157
+     */
158
+    public function getGoogleRecommendedSchema(): array
159
+    {
160
+        return ['image', 'url'];
161
+    }
162
+
163
+
164
+    /**
165
+     * @inheritdoc
166
+     */
167
+    public function defineRules(): array
168
+    {
169
+        $rules = parent::defineRules();
170
+            $rules = array_merge($rules, [
171
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
172
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
173
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
174
+            ]);
175
+
176
+            return $rules;
177
+    }
178 178
 }
Please login to merge, or discard this patch.
src/models/jsonld/ContactPointOption.php 1 patch
Indentation   +121 added lines, -121 removed lines patch added patch discarded remove patch
@@ -23,125 +23,125 @@
 block discarded – undo
23 23
  */
24 24
 class ContactPointOption extends MetaJsonLd implements ContactPointOptionInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use ContactPointOptionTrait;
27
-	use EnumerationTrait;
28
-	use IntangibleTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'ContactPointOption';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/ContactPointOption';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'Enumeration';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'Enumerated options related to a ContactPoint.';
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
-		    'additionalType' => ['URL'],
76
-		    'alternateName' => ['Text'],
77
-		    'description' => ['Text'],
78
-		    'disambiguatingDescription' => ['Text'],
79
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
80
-		    'image' => ['URL', 'ImageObject'],
81
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
82
-		    'name' => ['Text'],
83
-		    'potentialAction' => ['Action'],
84
-		    'sameAs' => ['URL'],
85
-		    'subjectOf' => ['Event', 'CreativeWork'],
86
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
87
-		    'url' => ['URL']
88
-		];
89
-	}
90
-
91
-
92
-	/**
93
-	 * @inheritdoc
94
-	 */
95
-	public function getSchemaPropertyDescriptions(): array
96
-	{
97
-		return [
98
-		    '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.',
99
-		    'alternateName' => 'An alias for the item.',
100
-		    'description' => 'A description of the item.',
101
-		    '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.',
102
-		    '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.         ',
103
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
104
-		    '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.',
105
-		    'name' => 'The name of the item.',
106
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
107
-		    '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.',
108
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
109
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
110
-		    'url' => 'URL of the item.'
111
-		];
112
-	}
113
-
114
-
115
-	/**
116
-	 * @inheritdoc
117
-	 */
118
-	public function getGoogleRequiredSchema(): array
119
-	{
120
-		return ['description', 'name'];
121
-	}
122
-
123
-
124
-	/**
125
-	 * @inheritdoc
126
-	 */
127
-	public function getGoogleRecommendedSchema(): array
128
-	{
129
-		return ['image', 'url'];
130
-	}
131
-
132
-
133
-	/**
134
-	 * @inheritdoc
135
-	 */
136
-	public function defineRules(): array
137
-	{
138
-		$rules = parent::defineRules();
139
-		    $rules = array_merge($rules, [
140
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
141
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
142
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
143
-		    ]);
144
-
145
-		    return $rules;
146
-	}
26
+    use ContactPointOptionTrait;
27
+    use EnumerationTrait;
28
+    use IntangibleTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'ContactPointOption';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/ContactPointOption';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'Enumeration';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'Enumerated options related to a ContactPoint.';
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
+            'additionalType' => ['URL'],
76
+            'alternateName' => ['Text'],
77
+            'description' => ['Text'],
78
+            'disambiguatingDescription' => ['Text'],
79
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
80
+            'image' => ['URL', 'ImageObject'],
81
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
82
+            'name' => ['Text'],
83
+            'potentialAction' => ['Action'],
84
+            'sameAs' => ['URL'],
85
+            'subjectOf' => ['Event', 'CreativeWork'],
86
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
87
+            'url' => ['URL']
88
+        ];
89
+    }
90
+
91
+
92
+    /**
93
+     * @inheritdoc
94
+     */
95
+    public function getSchemaPropertyDescriptions(): array
96
+    {
97
+        return [
98
+            '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.',
99
+            'alternateName' => 'An alias for the item.',
100
+            'description' => 'A description of the item.',
101
+            '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.',
102
+            '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.         ',
103
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
104
+            '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.',
105
+            'name' => 'The name of the item.',
106
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
107
+            '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.',
108
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
109
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
110
+            'url' => 'URL of the item.'
111
+        ];
112
+    }
113
+
114
+
115
+    /**
116
+     * @inheritdoc
117
+     */
118
+    public function getGoogleRequiredSchema(): array
119
+    {
120
+        return ['description', 'name'];
121
+    }
122
+
123
+
124
+    /**
125
+     * @inheritdoc
126
+     */
127
+    public function getGoogleRecommendedSchema(): array
128
+    {
129
+        return ['image', 'url'];
130
+    }
131
+
132
+
133
+    /**
134
+     * @inheritdoc
135
+     */
136
+    public function defineRules(): array
137
+    {
138
+        $rules = parent::defineRules();
139
+            $rules = array_merge($rules, [
140
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
141
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
142
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
143
+            ]);
144
+
145
+            return $rules;
146
+    }
147 147
 }
Please login to merge, or discard this patch.
src/models/jsonld/Game.php 1 patch
Indentation   +335 added lines, -335 removed lines patch added patch discarded remove patch
@@ -25,356 +25,356 @@
 block discarded – undo
25 25
  */
26 26
 class Game extends MetaJsonLd implements GameInterface, CreativeWorkInterface, ThingInterface
27 27
 {
28
-	use GameTrait;
29
-	use CreativeWorkTrait;
30
-	use ThingTrait;
28
+    use GameTrait;
29
+    use CreativeWorkTrait;
30
+    use ThingTrait;
31 31
 
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'Game';
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'Game';
38 38
 
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/Game';
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/Game';
45 45
 
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'CreativeWork';
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'CreativeWork';
52 52
 
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'The Game type represents things which are games. These are typically rule-governed recreational activities, e.g. role-playing games in which players assume the role of characters in a fictional setting.';
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'The Game type represents things which are games. These are typically rule-governed recreational activities, e.g. role-playing games in which players assume the role of characters in a fictional setting.';
59 59
 
60 60
 
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68 68
 
69 69
 
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'about' => ['Thing'],
77
-		    'abstract' => ['Text'],
78
-		    'accessMode' => ['Text'],
79
-		    'accessModeSufficient' => ['ItemList'],
80
-		    'accessibilityAPI' => ['Text'],
81
-		    'accessibilityControl' => ['Text'],
82
-		    'accessibilityFeature' => ['Text'],
83
-		    'accessibilityHazard' => ['Text'],
84
-		    'accessibilitySummary' => ['Text'],
85
-		    'accountablePerson' => ['Person'],
86
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
87
-		    'additionalType' => ['URL'],
88
-		    'aggregateRating' => ['AggregateRating'],
89
-		    'alternateName' => ['Text'],
90
-		    'alternativeHeadline' => ['Text'],
91
-		    'archivedAt' => ['WebPage', 'URL'],
92
-		    'assesses' => ['DefinedTerm', 'Text'],
93
-		    'associatedMedia' => ['MediaObject'],
94
-		    'audience' => ['Audience'],
95
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
96
-		    'author' => ['Organization', 'Person'],
97
-		    'award' => ['Text'],
98
-		    'awards' => ['Text'],
99
-		    'character' => ['Person'],
100
-		    'characterAttribute' => ['Thing'],
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
-		    'disambiguatingDescription' => ['Text'],
122
-		    'discussionUrl' => ['URL'],
123
-		    'editEIDR' => ['URL', 'Text'],
124
-		    'editor' => ['Person'],
125
-		    'educationalAlignment' => ['AlignmentObject'],
126
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
127
-		    'educationalUse' => ['DefinedTerm', 'Text'],
128
-		    'encoding' => ['MediaObject'],
129
-		    'encodingFormat' => ['URL', 'Text'],
130
-		    'encodings' => ['MediaObject'],
131
-		    'exampleOfWork' => ['CreativeWork'],
132
-		    'expires' => ['Date', 'DateTime'],
133
-		    'fileFormat' => ['Text', 'URL'],
134
-		    'funder' => ['Organization', 'Person'],
135
-		    'funding' => ['Grant'],
136
-		    'gameItem' => ['Thing'],
137
-		    'gameLocation' => ['PostalAddress', 'URL', 'Place'],
138
-		    'genre' => ['Text', 'URL'],
139
-		    'hasPart' => ['CreativeWork'],
140
-		    'headline' => ['Text'],
141
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
142
-		    'image' => ['URL', 'ImageObject'],
143
-		    'inLanguage' => ['Text', 'Language'],
144
-		    'interactionStatistic' => ['InteractionCounter'],
145
-		    'interactivityType' => ['Text'],
146
-		    'interpretedAsClaim' => ['Claim'],
147
-		    'isAccessibleForFree' => ['Boolean'],
148
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
149
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
150
-		    'isFamilyFriendly' => ['Boolean'],
151
-		    'isPartOf' => ['URL', 'CreativeWork'],
152
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
153
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
154
-		    'license' => ['URL', 'CreativeWork'],
155
-		    'locationCreated' => ['Place'],
156
-		    'mainEntity' => ['Thing'],
157
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
158
-		    'maintainer' => ['Person', 'Organization'],
159
-		    'material' => ['Product', 'URL', 'Text'],
160
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
161
-		    'mentions' => ['Thing'],
162
-		    'name' => ['Text'],
163
-		    'numberOfPlayers' => ['QuantitativeValue'],
164
-		    'offers' => ['Demand', 'Offer'],
165
-		    'pattern' => ['DefinedTerm', 'Text'],
166
-		    'position' => ['Text', 'Integer'],
167
-		    'potentialAction' => ['Action'],
168
-		    'producer' => ['Organization', 'Person'],
169
-		    'provider' => ['Organization', 'Person'],
170
-		    'publication' => ['PublicationEvent'],
171
-		    'publisher' => ['Organization', 'Person'],
172
-		    'publisherImprint' => ['Organization'],
173
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
174
-		    'quest' => ['Thing'],
175
-		    'recordedAt' => ['Event'],
176
-		    'releasedEvent' => ['PublicationEvent'],
177
-		    'review' => ['Review'],
178
-		    'reviews' => ['Review'],
179
-		    'sameAs' => ['URL'],
180
-		    'schemaVersion' => ['URL', 'Text'],
181
-		    'sdDatePublished' => ['Date'],
182
-		    'sdLicense' => ['CreativeWork', 'URL'],
183
-		    'sdPublisher' => ['Organization', 'Person'],
184
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
185
-		    'sourceOrganization' => ['Organization'],
186
-		    'spatial' => ['Place'],
187
-		    'spatialCoverage' => ['Place'],
188
-		    'sponsor' => ['Organization', 'Person'],
189
-		    'subjectOf' => ['Event', 'CreativeWork'],
190
-		    'teaches' => ['DefinedTerm', 'Text'],
191
-		    'temporal' => ['DateTime', 'Text'],
192
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
193
-		    'text' => ['Text'],
194
-		    'thumbnailUrl' => ['URL'],
195
-		    'timeRequired' => ['Duration'],
196
-		    'translationOfWork' => ['CreativeWork'],
197
-		    'translator' => ['Organization', 'Person'],
198
-		    'typicalAgeRange' => ['Text'],
199
-		    'url' => ['URL'],
200
-		    'usageInfo' => ['URL', 'CreativeWork'],
201
-		    'version' => ['Number', 'Text'],
202
-		    'video' => ['VideoObject', 'Clip'],
203
-		    'workExample' => ['CreativeWork'],
204
-		    'workTranslation' => ['CreativeWork']
205
-		];
206
-	}
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'about' => ['Thing'],
77
+            'abstract' => ['Text'],
78
+            'accessMode' => ['Text'],
79
+            'accessModeSufficient' => ['ItemList'],
80
+            'accessibilityAPI' => ['Text'],
81
+            'accessibilityControl' => ['Text'],
82
+            'accessibilityFeature' => ['Text'],
83
+            'accessibilityHazard' => ['Text'],
84
+            'accessibilitySummary' => ['Text'],
85
+            'accountablePerson' => ['Person'],
86
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
87
+            'additionalType' => ['URL'],
88
+            'aggregateRating' => ['AggregateRating'],
89
+            'alternateName' => ['Text'],
90
+            'alternativeHeadline' => ['Text'],
91
+            'archivedAt' => ['WebPage', 'URL'],
92
+            'assesses' => ['DefinedTerm', 'Text'],
93
+            'associatedMedia' => ['MediaObject'],
94
+            'audience' => ['Audience'],
95
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
96
+            'author' => ['Organization', 'Person'],
97
+            'award' => ['Text'],
98
+            'awards' => ['Text'],
99
+            'character' => ['Person'],
100
+            'characterAttribute' => ['Thing'],
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
+            'disambiguatingDescription' => ['Text'],
122
+            'discussionUrl' => ['URL'],
123
+            'editEIDR' => ['URL', 'Text'],
124
+            'editor' => ['Person'],
125
+            'educationalAlignment' => ['AlignmentObject'],
126
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
127
+            'educationalUse' => ['DefinedTerm', 'Text'],
128
+            'encoding' => ['MediaObject'],
129
+            'encodingFormat' => ['URL', 'Text'],
130
+            'encodings' => ['MediaObject'],
131
+            'exampleOfWork' => ['CreativeWork'],
132
+            'expires' => ['Date', 'DateTime'],
133
+            'fileFormat' => ['Text', 'URL'],
134
+            'funder' => ['Organization', 'Person'],
135
+            'funding' => ['Grant'],
136
+            'gameItem' => ['Thing'],
137
+            'gameLocation' => ['PostalAddress', 'URL', 'Place'],
138
+            'genre' => ['Text', 'URL'],
139
+            'hasPart' => ['CreativeWork'],
140
+            'headline' => ['Text'],
141
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
142
+            'image' => ['URL', 'ImageObject'],
143
+            'inLanguage' => ['Text', 'Language'],
144
+            'interactionStatistic' => ['InteractionCounter'],
145
+            'interactivityType' => ['Text'],
146
+            'interpretedAsClaim' => ['Claim'],
147
+            'isAccessibleForFree' => ['Boolean'],
148
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
149
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
150
+            'isFamilyFriendly' => ['Boolean'],
151
+            'isPartOf' => ['URL', 'CreativeWork'],
152
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
153
+            'learningResourceType' => ['DefinedTerm', 'Text'],
154
+            'license' => ['URL', 'CreativeWork'],
155
+            'locationCreated' => ['Place'],
156
+            'mainEntity' => ['Thing'],
157
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
158
+            'maintainer' => ['Person', 'Organization'],
159
+            'material' => ['Product', 'URL', 'Text'],
160
+            'materialExtent' => ['QuantitativeValue', 'Text'],
161
+            'mentions' => ['Thing'],
162
+            'name' => ['Text'],
163
+            'numberOfPlayers' => ['QuantitativeValue'],
164
+            'offers' => ['Demand', 'Offer'],
165
+            'pattern' => ['DefinedTerm', 'Text'],
166
+            'position' => ['Text', 'Integer'],
167
+            'potentialAction' => ['Action'],
168
+            'producer' => ['Organization', 'Person'],
169
+            'provider' => ['Organization', 'Person'],
170
+            'publication' => ['PublicationEvent'],
171
+            'publisher' => ['Organization', 'Person'],
172
+            'publisherImprint' => ['Organization'],
173
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
174
+            'quest' => ['Thing'],
175
+            'recordedAt' => ['Event'],
176
+            'releasedEvent' => ['PublicationEvent'],
177
+            'review' => ['Review'],
178
+            'reviews' => ['Review'],
179
+            'sameAs' => ['URL'],
180
+            'schemaVersion' => ['URL', 'Text'],
181
+            'sdDatePublished' => ['Date'],
182
+            'sdLicense' => ['CreativeWork', 'URL'],
183
+            'sdPublisher' => ['Organization', 'Person'],
184
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
185
+            'sourceOrganization' => ['Organization'],
186
+            'spatial' => ['Place'],
187
+            'spatialCoverage' => ['Place'],
188
+            'sponsor' => ['Organization', 'Person'],
189
+            'subjectOf' => ['Event', 'CreativeWork'],
190
+            'teaches' => ['DefinedTerm', 'Text'],
191
+            'temporal' => ['DateTime', 'Text'],
192
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
193
+            'text' => ['Text'],
194
+            'thumbnailUrl' => ['URL'],
195
+            'timeRequired' => ['Duration'],
196
+            'translationOfWork' => ['CreativeWork'],
197
+            'translator' => ['Organization', 'Person'],
198
+            'typicalAgeRange' => ['Text'],
199
+            'url' => ['URL'],
200
+            'usageInfo' => ['URL', 'CreativeWork'],
201
+            'version' => ['Number', 'Text'],
202
+            'video' => ['VideoObject', 'Clip'],
203
+            'workExample' => ['CreativeWork'],
204
+            'workTranslation' => ['CreativeWork']
205
+        ];
206
+    }
207 207
 
208 208
 
209
-	/**
210
-	 * @inheritdoc
211
-	 */
212
-	public function getSchemaPropertyDescriptions(): array
213
-	{
214
-		return [
215
-		    'about' => 'The subject matter of the content.',
216
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
217
-		    '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).',
218
-		    '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).',
219
-		    '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).',
220
-		    '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).',
221
-		    '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).',
222
-		    '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).',
223
-		    '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."',
224
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
225
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
226
-		    '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.',
227
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
228
-		    'alternateName' => 'An alias for the item.',
229
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
230
-		    '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.',
231
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
232
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
233
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
234
-		    'audio' => 'An embedded audio object.',
235
-		    '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.',
236
-		    'award' => 'An award won by or for this item.',
237
-		    'awards' => 'Awards won by or for this item.',
238
-		    'character' => 'Fictional person connected with a creative work.',
239
-		    'characterAttribute' => 'A piece of data that represents a particular aspect of a fictional character (skill, power, character points, advantage, disadvantage).',
240
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
241
-		    'comment' => 'Comments, typically from users.',
242
-		    '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.',
243
-		    '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 ". ',
244
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
245
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
246
-		    '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.',
247
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
248
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
249
-		    '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.',
250
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
251
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
252
-		    '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.',
253
-		    '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.',
254
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
255
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
256
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
257
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
258
-		    'datePublished' => 'Date of first broadcast/publication.',
259
-		    'description' => 'A description of the item.',
260
-		    '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.',
261
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
262
-		    '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. ',
263
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
264
-		    '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.',
265
-		    '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.',
266
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
267
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
268
-		    '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.',
269
-		    'encodings' => 'A media object that encodes this CreativeWork.',
270
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
271
-		    '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.',
272
-		    '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.',
273
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
274
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
275
-		    'gameItem' => 'An item is an object within the game world that can be collected by a player or, occasionally, a non-player character.',
276
-		    'gameLocation' => 'Real or fictional location of the game (or part of game).',
277
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
278
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
279
-		    'headline' => 'Headline of the article.',
280
-		    '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.         ',
281
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
282
-		    '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]].',
283
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
284
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
285
-		    '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]].',
286
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
287
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
288
-		    '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.',
289
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
290
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
291
-		    '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.',
292
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
293
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
294
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
295
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
296
-		    '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.',
297
-		    '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.       ',
298
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
299
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
300
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
301
-		    'name' => 'The name of the item.',
302
-		    'numberOfPlayers' => 'Indicate how many people can play this game (minimum, maximum, or range).',
303
-		    '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.       ',
304
-		    '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.',
305
-		    'position' => 'The position of an item in a series or sequence of items.',
306
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
307
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
308
-		    '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.',
309
-		    'publication' => 'A publication event associated with the item.',
310
-		    'publisher' => 'The publisher of the creative work.',
311
-		    'publisherImprint' => 'The publishing division which published the comic.',
312
-		    '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. ',
313
-		    'quest' => 'The task that a player-controlled character, or group of characters may complete in order to gain a reward.',
314
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
315
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
316
-		    'review' => 'A review of the item.',
317
-		    'reviews' => 'Review of the item.',
318
-		    '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.',
319
-		    '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.',
320
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
321
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
322
-		    '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.',
323
-		    '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. ',
324
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
325
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
326
-		    '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.',
327
-		    '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.',
328
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
329
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
330
-		    '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.',
331
-		    '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.',
332
-		    'text' => 'The textual content of this CreativeWork.',
333
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
334
-		    '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\'.',
335
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
336
-		    '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.',
337
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
338
-		    'url' => 'URL of the item.',
339
-		    '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.',
340
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
341
-		    'video' => 'An embedded video object.',
342
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
343
-		    '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.'
344
-		];
345
-	}
209
+    /**
210
+     * @inheritdoc
211
+     */
212
+    public function getSchemaPropertyDescriptions(): array
213
+    {
214
+        return [
215
+            'about' => 'The subject matter of the content.',
216
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
217
+            '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).',
218
+            '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).',
219
+            '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).',
220
+            '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).',
221
+            '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).',
222
+            '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).',
223
+            '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."',
224
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
225
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
226
+            '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.',
227
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
228
+            'alternateName' => 'An alias for the item.',
229
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
230
+            '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.',
231
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
232
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
233
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
234
+            'audio' => 'An embedded audio object.',
235
+            '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.',
236
+            'award' => 'An award won by or for this item.',
237
+            'awards' => 'Awards won by or for this item.',
238
+            'character' => 'Fictional person connected with a creative work.',
239
+            'characterAttribute' => 'A piece of data that represents a particular aspect of a fictional character (skill, power, character points, advantage, disadvantage).',
240
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
241
+            'comment' => 'Comments, typically from users.',
242
+            '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.',
243
+            '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 ". ',
244
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
245
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
246
+            '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.',
247
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
248
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
249
+            '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.',
250
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
251
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
252
+            '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.',
253
+            '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.',
254
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
255
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
256
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
257
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
258
+            'datePublished' => 'Date of first broadcast/publication.',
259
+            'description' => 'A description of the item.',
260
+            '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.',
261
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
262
+            '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. ',
263
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
264
+            '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.',
265
+            '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.',
266
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
267
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
268
+            '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.',
269
+            'encodings' => 'A media object that encodes this CreativeWork.',
270
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
271
+            '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.',
272
+            '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.',
273
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
274
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
275
+            'gameItem' => 'An item is an object within the game world that can be collected by a player or, occasionally, a non-player character.',
276
+            'gameLocation' => 'Real or fictional location of the game (or part of game).',
277
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
278
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
279
+            'headline' => 'Headline of the article.',
280
+            '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.         ',
281
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
282
+            '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]].',
283
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
284
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
285
+            '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]].',
286
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
287
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
288
+            '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.',
289
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
290
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
291
+            '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.',
292
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
293
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
294
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
295
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
296
+            '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.',
297
+            '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.       ',
298
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
299
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
300
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
301
+            'name' => 'The name of the item.',
302
+            'numberOfPlayers' => 'Indicate how many people can play this game (minimum, maximum, or range).',
303
+            '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.       ',
304
+            '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.',
305
+            'position' => 'The position of an item in a series or sequence of items.',
306
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
307
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
308
+            '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.',
309
+            'publication' => 'A publication event associated with the item.',
310
+            'publisher' => 'The publisher of the creative work.',
311
+            'publisherImprint' => 'The publishing division which published the comic.',
312
+            '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. ',
313
+            'quest' => 'The task that a player-controlled character, or group of characters may complete in order to gain a reward.',
314
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
315
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
316
+            'review' => 'A review of the item.',
317
+            'reviews' => 'Review of the item.',
318
+            '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.',
319
+            '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.',
320
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
321
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
322
+            '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.',
323
+            '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. ',
324
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
325
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
326
+            '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.',
327
+            '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.',
328
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
329
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
330
+            '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.',
331
+            '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.',
332
+            'text' => 'The textual content of this CreativeWork.',
333
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
334
+            '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\'.',
335
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
336
+            '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.',
337
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
338
+            'url' => 'URL of the item.',
339
+            '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.',
340
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
341
+            'video' => 'An embedded video object.',
342
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
343
+            '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.'
344
+        ];
345
+    }
346 346
 
347 347
 
348
-	/**
349
-	 * @inheritdoc
350
-	 */
351
-	public function getGoogleRequiredSchema(): array
352
-	{
353
-		return ['description', 'name'];
354
-	}
348
+    /**
349
+     * @inheritdoc
350
+     */
351
+    public function getGoogleRequiredSchema(): array
352
+    {
353
+        return ['description', 'name'];
354
+    }
355 355
 
356 356
 
357
-	/**
358
-	 * @inheritdoc
359
-	 */
360
-	public function getGoogleRecommendedSchema(): array
361
-	{
362
-		return ['image', 'url'];
363
-	}
357
+    /**
358
+     * @inheritdoc
359
+     */
360
+    public function getGoogleRecommendedSchema(): array
361
+    {
362
+        return ['image', 'url'];
363
+    }
364 364
 
365 365
 
366
-	/**
367
-	 * @inheritdoc
368
-	 */
369
-	public function defineRules(): array
370
-	{
371
-		$rules = parent::defineRules();
372
-		    $rules = array_merge($rules, [
373
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
374
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
375
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
376
-		    ]);
366
+    /**
367
+     * @inheritdoc
368
+     */
369
+    public function defineRules(): array
370
+    {
371
+        $rules = parent::defineRules();
372
+            $rules = array_merge($rules, [
373
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
374
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
375
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
376
+            ]);
377 377
 
378
-		    return $rules;
379
-	}
378
+            return $rules;
379
+    }
380 380
 }
Please login to merge, or discard this patch.
src/models/jsonld/Pathology.php 1 patch
Indentation   +124 added lines, -124 removed lines patch added patch discarded remove patch
@@ -27,128 +27,128 @@
 block discarded – undo
27 27
  */
28 28
 class Pathology extends MetaJsonLd implements PathologyInterface, MedicalSpecialtyInterface, SpecialtyInterface, EnumerationInterface, IntangibleInterface, ThingInterface, MedicalEnumerationInterface
29 29
 {
30
-	use PathologyTrait;
31
-	use MedicalSpecialtyTrait;
32
-	use SpecialtyTrait;
33
-	use EnumerationTrait;
34
-	use IntangibleTrait;
35
-	use ThingTrait;
36
-	use MedicalEnumerationTrait;
37
-
38
-	/**
39
-	 * The Schema.org Type Name
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeName = 'Pathology';
44
-
45
-	/**
46
-	 * The Schema.org Type Scope
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeScope = 'https://schema.org/Pathology';
51
-
52
-	/**
53
-	 * The Schema.org Type Extends
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeExtends = 'MedicalSpecialty';
58
-
59
-	/**
60
-	 * The Schema.org Type Description
61
-	 *
62
-	 * @var string
63
-	 */
64
-	public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the study of the cause, origin and nature of a disease state, including its consequences as a result of manifestation of the disease. In clinical care, the term is used to designate a branch of medicine using laboratory tests to diagnose and determine the prognostic significance of illness.';
65
-
66
-
67
-	/**
68
-	 * @inheritdoc
69
-	 */
70
-	public function getSchemaPropertyNames(): array
71
-	{
72
-		return array_keys($this->getSchemaPropertyExpectedTypes());
73
-	}
74
-
75
-
76
-	/**
77
-	 * @inheritdoc
78
-	 */
79
-	public function getSchemaPropertyExpectedTypes(): array
80
-	{
81
-		return [
82
-		    'additionalType' => ['URL'],
83
-		    'alternateName' => ['Text'],
84
-		    'description' => ['Text'],
85
-		    'disambiguatingDescription' => ['Text'],
86
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
87
-		    'image' => ['URL', 'ImageObject'],
88
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
-		    'name' => ['Text'],
90
-		    'potentialAction' => ['Action'],
91
-		    'sameAs' => ['URL'],
92
-		    'subjectOf' => ['Event', 'CreativeWork'],
93
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
94
-		    'url' => ['URL']
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
-		    '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.         ',
110
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
111
-		    '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.',
112
-		    'name' => 'The name of the item.',
113
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
114
-		    '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.',
115
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
117
-		    'url' => 'URL of the item.'
118
-		];
119
-	}
120
-
121
-
122
-	/**
123
-	 * @inheritdoc
124
-	 */
125
-	public function getGoogleRequiredSchema(): array
126
-	{
127
-		return ['description', 'name'];
128
-	}
129
-
130
-
131
-	/**
132
-	 * @inheritdoc
133
-	 */
134
-	public function getGoogleRecommendedSchema(): array
135
-	{
136
-		return ['image', 'url'];
137
-	}
138
-
139
-
140
-	/**
141
-	 * @inheritdoc
142
-	 */
143
-	public function defineRules(): array
144
-	{
145
-		$rules = parent::defineRules();
146
-		    $rules = array_merge($rules, [
147
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
-		    ]);
151
-
152
-		    return $rules;
153
-	}
30
+    use PathologyTrait;
31
+    use MedicalSpecialtyTrait;
32
+    use SpecialtyTrait;
33
+    use EnumerationTrait;
34
+    use IntangibleTrait;
35
+    use ThingTrait;
36
+    use MedicalEnumerationTrait;
37
+
38
+    /**
39
+     * The Schema.org Type Name
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeName = 'Pathology';
44
+
45
+    /**
46
+     * The Schema.org Type Scope
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeScope = 'https://schema.org/Pathology';
51
+
52
+    /**
53
+     * The Schema.org Type Extends
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeExtends = 'MedicalSpecialty';
58
+
59
+    /**
60
+     * The Schema.org Type Description
61
+     *
62
+     * @var string
63
+     */
64
+    public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the study of the cause, origin and nature of a disease state, including its consequences as a result of manifestation of the disease. In clinical care, the term is used to designate a branch of medicine using laboratory tests to diagnose and determine the prognostic significance of illness.';
65
+
66
+
67
+    /**
68
+     * @inheritdoc
69
+     */
70
+    public function getSchemaPropertyNames(): array
71
+    {
72
+        return array_keys($this->getSchemaPropertyExpectedTypes());
73
+    }
74
+
75
+
76
+    /**
77
+     * @inheritdoc
78
+     */
79
+    public function getSchemaPropertyExpectedTypes(): array
80
+    {
81
+        return [
82
+            'additionalType' => ['URL'],
83
+            'alternateName' => ['Text'],
84
+            'description' => ['Text'],
85
+            'disambiguatingDescription' => ['Text'],
86
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
87
+            'image' => ['URL', 'ImageObject'],
88
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
+            'name' => ['Text'],
90
+            'potentialAction' => ['Action'],
91
+            'sameAs' => ['URL'],
92
+            'subjectOf' => ['Event', 'CreativeWork'],
93
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
94
+            'url' => ['URL']
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
+            '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.         ',
110
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
111
+            '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.',
112
+            'name' => 'The name of the item.',
113
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
114
+            '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.',
115
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
117
+            'url' => 'URL of the item.'
118
+        ];
119
+    }
120
+
121
+
122
+    /**
123
+     * @inheritdoc
124
+     */
125
+    public function getGoogleRequiredSchema(): array
126
+    {
127
+        return ['description', 'name'];
128
+    }
129
+
130
+
131
+    /**
132
+     * @inheritdoc
133
+     */
134
+    public function getGoogleRecommendedSchema(): array
135
+    {
136
+        return ['image', 'url'];
137
+    }
138
+
139
+
140
+    /**
141
+     * @inheritdoc
142
+     */
143
+    public function defineRules(): array
144
+    {
145
+        $rules = parent::defineRules();
146
+            $rules = array_merge($rules, [
147
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
+            ]);
151
+
152
+            return $rules;
153
+    }
154 154
 }
Please login to merge, or discard this patch.
src/models/jsonld/CDFormat.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class CDFormat extends MetaJsonLd implements CDFormatInterface, MusicReleaseFormatTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use CDFormatTrait;
27
-	use MusicReleaseFormatTypeTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'CDFormat';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/CDFormat';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'MusicReleaseFormatType';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'CDFormat.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use CDFormatTrait;
27
+    use MusicReleaseFormatTypeTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'CDFormat';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/CDFormat';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'MusicReleaseFormatType';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'CDFormat.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501k.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 Nonprofit501k extends MetaJsonLd implements Nonprofit501kInterface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use Nonprofit501kTrait;
27
-	use USNonprofitTypeTrait;
28
-	use NonprofitTypeTrait;
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 = 'Nonprofit501k';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501k';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'USNonprofitType';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Nonprofit501k: Non-profit type referring to Child Care Organizations.';
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 Nonprofit501kTrait;
27
+    use USNonprofitTypeTrait;
28
+    use NonprofitTypeTrait;
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 = 'Nonprofit501k';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501k';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'USNonprofitType';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Nonprofit501k: Non-profit type referring to Child Care Organizations.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.
src/models/jsonld/LockerDelivery.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class LockerDelivery extends MetaJsonLd implements LockerDeliveryInterface, DeliveryMethodInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use LockerDeliveryTrait;
27
-	use DeliveryMethodTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'LockerDelivery';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/LockerDelivery';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'DeliveryMethod';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A DeliveryMethod in which an item is made available via locker.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use LockerDeliveryTrait;
27
+    use DeliveryMethodTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'LockerDelivery';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/LockerDelivery';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'DeliveryMethod';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A DeliveryMethod in which an item is made available via locker.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/WearableSizeGroupMaternity.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 WearableSizeGroupMaternity extends MetaJsonLd implements WearableSizeGroupMaternityInterface, WearableSizeGroupEnumerationInterface, SizeGroupEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use WearableSizeGroupMaternityTrait;
27
-	use WearableSizeGroupEnumerationTrait;
28
-	use SizeGroupEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'WearableSizeGroupMaternity';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/WearableSizeGroupMaternity';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'WearableSizeGroupEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Size group "Maternity" for wearables.';
60
-
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
69
-
70
-
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'sameAs' => ['URL'],
87
-		    'subjectOf' => ['Event', 'CreativeWork'],
88
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
-		    'url' => ['URL']
90
-		];
91
-	}
92
-
93
-
94
-	/**
95
-	 * @inheritdoc
96
-	 */
97
-	public function getSchemaPropertyDescriptions(): array
98
-	{
99
-		return [
100
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
-		    'alternateName' => 'An alias for the item.',
102
-		    'description' => 'A description of the item.',
103
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
-		    'name' => 'The name of the item.',
108
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
-		    'url' => 'URL of the item.'
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getGoogleRequiredSchema(): array
121
-	{
122
-		return ['description', 'name'];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRecommendedSchema(): array
130
-	{
131
-		return ['image', 'url'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function defineRules(): array
139
-	{
140
-		$rules = parent::defineRules();
141
-		    $rules = array_merge($rules, [
142
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
-		    ]);
146
-
147
-		    return $rules;
148
-	}
26
+    use WearableSizeGroupMaternityTrait;
27
+    use WearableSizeGroupEnumerationTrait;
28
+    use SizeGroupEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'WearableSizeGroupMaternity';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/WearableSizeGroupMaternity';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'WearableSizeGroupEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Size group "Maternity" for wearables.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.