Passed
Push — v3 ( 5141f6...ef9227 )
by Andrew
31:01 queued 18:03
created
src/models/jsonld/OfflineEventAttendanceMode.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 OfflineEventAttendanceMode extends MetaJsonLd implements OfflineEventAttendanceModeInterface, EventAttendanceModeEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use OfflineEventAttendanceModeTrait;
27
-	use EventAttendanceModeEnumerationTrait;
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 = 'OfflineEventAttendanceMode';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/OfflineEventAttendanceMode';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'EventAttendanceModeEnumeration';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'OfflineEventAttendanceMode - an event that is primarily conducted offline. ';
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 OfflineEventAttendanceModeTrait;
27
+    use EventAttendanceModeEnumerationTrait;
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 = 'OfflineEventAttendanceMode';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/OfflineEventAttendanceMode';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'EventAttendanceModeEnumeration';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'OfflineEventAttendanceMode - an event that is primarily conducted offline. ';
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/VideoGameSeries.php 1 patch
Indentation   +378 added lines, -378 removed lines patch added patch discarded remove patch
@@ -23,399 +23,399 @@
 block discarded – undo
23 23
  */
24 24
 class VideoGameSeries extends MetaJsonLd implements VideoGameSeriesInterface, CreativeWorkSeriesInterface, SeriesInterface, IntangibleInterface, ThingInterface, CreativeWorkInterface
25 25
 {
26
-	use VideoGameSeriesTrait;
27
-	use CreativeWorkSeriesTrait;
28
-	use SeriesTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-	use CreativeWorkTrait;
26
+    use VideoGameSeriesTrait;
27
+    use CreativeWorkSeriesTrait;
28
+    use SeriesTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+    use CreativeWorkTrait;
32 32
 
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'VideoGameSeries';
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'VideoGameSeries';
39 39
 
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/VideoGameSeries';
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/VideoGameSeries';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'CreativeWorkSeries';
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'CreativeWorkSeries';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'A video game series.';
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'A video game series.';
60 60
 
61 61
 
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69 69
 
70 70
 
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'about' => ['Thing'],
78
-		    'abstract' => ['Text'],
79
-		    'accessMode' => ['Text'],
80
-		    'accessModeSufficient' => ['ItemList'],
81
-		    'accessibilityAPI' => ['Text'],
82
-		    'accessibilityControl' => ['Text'],
83
-		    'accessibilityFeature' => ['Text'],
84
-		    'accessibilityHazard' => ['Text'],
85
-		    'accessibilitySummary' => ['Text'],
86
-		    'accountablePerson' => ['Person'],
87
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
88
-		    'actor' => ['Person'],
89
-		    'actors' => ['Person'],
90
-		    'additionalType' => ['URL'],
91
-		    'aggregateRating' => ['AggregateRating'],
92
-		    'alternateName' => ['Text'],
93
-		    'alternativeHeadline' => ['Text'],
94
-		    'archivedAt' => ['WebPage', 'URL'],
95
-		    'assesses' => ['DefinedTerm', 'Text'],
96
-		    'associatedMedia' => ['MediaObject'],
97
-		    'audience' => ['Audience'],
98
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
99
-		    'author' => ['Organization', 'Person'],
100
-		    'award' => ['Text'],
101
-		    'awards' => ['Text'],
102
-		    'character' => ['Person'],
103
-		    'characterAttribute' => ['Thing'],
104
-		    'cheatCode' => ['CreativeWork'],
105
-		    'citation' => ['CreativeWork', 'Text'],
106
-		    'comment' => ['Comment'],
107
-		    'commentCount' => ['Integer'],
108
-		    'conditionsOfAccess' => ['Text'],
109
-		    'containsSeason' => ['CreativeWorkSeason'],
110
-		    'contentLocation' => ['Place'],
111
-		    'contentRating' => ['Text', 'Rating'],
112
-		    'contentReferenceTime' => ['DateTime'],
113
-		    'contributor' => ['Organization', 'Person'],
114
-		    'copyrightHolder' => ['Organization', 'Person'],
115
-		    'copyrightNotice' => ['Text'],
116
-		    'copyrightYear' => ['Number'],
117
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
118
-		    'countryOfOrigin' => ['Country'],
119
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
120
-		    'creator' => ['Person', 'Organization'],
121
-		    'creditText' => ['Text'],
122
-		    'dateCreated' => ['DateTime', 'Date'],
123
-		    'dateModified' => ['DateTime', 'Date'],
124
-		    'datePublished' => ['DateTime', 'Date'],
125
-		    'description' => ['Text'],
126
-		    'director' => ['Person'],
127
-		    'directors' => ['Person'],
128
-		    'disambiguatingDescription' => ['Text'],
129
-		    'discussionUrl' => ['URL'],
130
-		    'editEIDR' => ['URL', 'Text'],
131
-		    'editor' => ['Person'],
132
-		    'educationalAlignment' => ['AlignmentObject'],
133
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
134
-		    'educationalUse' => ['DefinedTerm', 'Text'],
135
-		    'encoding' => ['MediaObject'],
136
-		    'encodingFormat' => ['URL', 'Text'],
137
-		    'encodings' => ['MediaObject'],
138
-		    'endDate' => ['DateTime', 'Date'],
139
-		    'episode' => ['Episode'],
140
-		    'episodes' => ['Episode'],
141
-		    'exampleOfWork' => ['CreativeWork'],
142
-		    'expires' => ['Date', 'DateTime'],
143
-		    'fileFormat' => ['Text', 'URL'],
144
-		    'funder' => ['Organization', 'Person'],
145
-		    'funding' => ['Grant'],
146
-		    'gameItem' => ['Thing'],
147
-		    'gameLocation' => ['PostalAddress', 'URL', 'Place'],
148
-		    'gamePlatform' => ['Thing', 'URL', 'Text'],
149
-		    'genre' => ['Text', 'URL'],
150
-		    'hasPart' => ['CreativeWork'],
151
-		    'headline' => ['Text'],
152
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
153
-		    'image' => ['URL', 'ImageObject'],
154
-		    'inLanguage' => ['Text', 'Language'],
155
-		    'interactionStatistic' => ['InteractionCounter'],
156
-		    'interactivityType' => ['Text'],
157
-		    'interpretedAsClaim' => ['Claim'],
158
-		    'isAccessibleForFree' => ['Boolean'],
159
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
160
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
161
-		    'isFamilyFriendly' => ['Boolean'],
162
-		    'isPartOf' => ['URL', 'CreativeWork'],
163
-		    'issn' => ['Text'],
164
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
165
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
166
-		    'license' => ['URL', 'CreativeWork'],
167
-		    'locationCreated' => ['Place'],
168
-		    'mainEntity' => ['Thing'],
169
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
170
-		    'maintainer' => ['Person', 'Organization'],
171
-		    'material' => ['Product', 'URL', 'Text'],
172
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
173
-		    'mentions' => ['Thing'],
174
-		    'musicBy' => ['MusicGroup', 'Person'],
175
-		    'name' => ['Text'],
176
-		    'numberOfEpisodes' => ['Integer'],
177
-		    'numberOfPlayers' => ['QuantitativeValue'],
178
-		    'numberOfSeasons' => ['Integer'],
179
-		    'offers' => ['Demand', 'Offer'],
180
-		    'pattern' => ['DefinedTerm', 'Text'],
181
-		    'playMode' => ['GamePlayMode'],
182
-		    'position' => ['Text', 'Integer'],
183
-		    'potentialAction' => ['Action'],
184
-		    'producer' => ['Organization', 'Person'],
185
-		    'productionCompany' => ['Organization'],
186
-		    'provider' => ['Organization', 'Person'],
187
-		    'publication' => ['PublicationEvent'],
188
-		    'publisher' => ['Organization', 'Person'],
189
-		    'publisherImprint' => ['Organization'],
190
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
191
-		    'quest' => ['Thing'],
192
-		    'recordedAt' => ['Event'],
193
-		    'releasedEvent' => ['PublicationEvent'],
194
-		    'review' => ['Review'],
195
-		    'reviews' => ['Review'],
196
-		    'sameAs' => ['URL'],
197
-		    'schemaVersion' => ['URL', 'Text'],
198
-		    'sdDatePublished' => ['Date'],
199
-		    'sdLicense' => ['CreativeWork', 'URL'],
200
-		    'sdPublisher' => ['Organization', 'Person'],
201
-		    'season' => ['URL', 'CreativeWorkSeason'],
202
-		    'seasons' => ['CreativeWorkSeason'],
203
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
204
-		    'sourceOrganization' => ['Organization'],
205
-		    'spatial' => ['Place'],
206
-		    'spatialCoverage' => ['Place'],
207
-		    'sponsor' => ['Organization', 'Person'],
208
-		    'startDate' => ['DateTime', 'Date'],
209
-		    'subjectOf' => ['Event', 'CreativeWork'],
210
-		    'teaches' => ['DefinedTerm', 'Text'],
211
-		    'temporal' => ['DateTime', 'Text'],
212
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
213
-		    'text' => ['Text'],
214
-		    'thumbnailUrl' => ['URL'],
215
-		    'timeRequired' => ['Duration'],
216
-		    'trailer' => ['VideoObject'],
217
-		    'translationOfWork' => ['CreativeWork'],
218
-		    'translator' => ['Organization', 'Person'],
219
-		    'typicalAgeRange' => ['Text'],
220
-		    'url' => ['URL'],
221
-		    'usageInfo' => ['URL', 'CreativeWork'],
222
-		    'version' => ['Number', 'Text'],
223
-		    'video' => ['VideoObject', 'Clip'],
224
-		    'workExample' => ['CreativeWork'],
225
-		    'workTranslation' => ['CreativeWork']
226
-		];
227
-	}
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'about' => ['Thing'],
78
+            'abstract' => ['Text'],
79
+            'accessMode' => ['Text'],
80
+            'accessModeSufficient' => ['ItemList'],
81
+            'accessibilityAPI' => ['Text'],
82
+            'accessibilityControl' => ['Text'],
83
+            'accessibilityFeature' => ['Text'],
84
+            'accessibilityHazard' => ['Text'],
85
+            'accessibilitySummary' => ['Text'],
86
+            'accountablePerson' => ['Person'],
87
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
88
+            'actor' => ['Person'],
89
+            'actors' => ['Person'],
90
+            'additionalType' => ['URL'],
91
+            'aggregateRating' => ['AggregateRating'],
92
+            'alternateName' => ['Text'],
93
+            'alternativeHeadline' => ['Text'],
94
+            'archivedAt' => ['WebPage', 'URL'],
95
+            'assesses' => ['DefinedTerm', 'Text'],
96
+            'associatedMedia' => ['MediaObject'],
97
+            'audience' => ['Audience'],
98
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
99
+            'author' => ['Organization', 'Person'],
100
+            'award' => ['Text'],
101
+            'awards' => ['Text'],
102
+            'character' => ['Person'],
103
+            'characterAttribute' => ['Thing'],
104
+            'cheatCode' => ['CreativeWork'],
105
+            'citation' => ['CreativeWork', 'Text'],
106
+            'comment' => ['Comment'],
107
+            'commentCount' => ['Integer'],
108
+            'conditionsOfAccess' => ['Text'],
109
+            'containsSeason' => ['CreativeWorkSeason'],
110
+            'contentLocation' => ['Place'],
111
+            'contentRating' => ['Text', 'Rating'],
112
+            'contentReferenceTime' => ['DateTime'],
113
+            'contributor' => ['Organization', 'Person'],
114
+            'copyrightHolder' => ['Organization', 'Person'],
115
+            'copyrightNotice' => ['Text'],
116
+            'copyrightYear' => ['Number'],
117
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
118
+            'countryOfOrigin' => ['Country'],
119
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
120
+            'creator' => ['Person', 'Organization'],
121
+            'creditText' => ['Text'],
122
+            'dateCreated' => ['DateTime', 'Date'],
123
+            'dateModified' => ['DateTime', 'Date'],
124
+            'datePublished' => ['DateTime', 'Date'],
125
+            'description' => ['Text'],
126
+            'director' => ['Person'],
127
+            'directors' => ['Person'],
128
+            'disambiguatingDescription' => ['Text'],
129
+            'discussionUrl' => ['URL'],
130
+            'editEIDR' => ['URL', 'Text'],
131
+            'editor' => ['Person'],
132
+            'educationalAlignment' => ['AlignmentObject'],
133
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
134
+            'educationalUse' => ['DefinedTerm', 'Text'],
135
+            'encoding' => ['MediaObject'],
136
+            'encodingFormat' => ['URL', 'Text'],
137
+            'encodings' => ['MediaObject'],
138
+            'endDate' => ['DateTime', 'Date'],
139
+            'episode' => ['Episode'],
140
+            'episodes' => ['Episode'],
141
+            'exampleOfWork' => ['CreativeWork'],
142
+            'expires' => ['Date', 'DateTime'],
143
+            'fileFormat' => ['Text', 'URL'],
144
+            'funder' => ['Organization', 'Person'],
145
+            'funding' => ['Grant'],
146
+            'gameItem' => ['Thing'],
147
+            'gameLocation' => ['PostalAddress', 'URL', 'Place'],
148
+            'gamePlatform' => ['Thing', 'URL', 'Text'],
149
+            'genre' => ['Text', 'URL'],
150
+            'hasPart' => ['CreativeWork'],
151
+            'headline' => ['Text'],
152
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
153
+            'image' => ['URL', 'ImageObject'],
154
+            'inLanguage' => ['Text', 'Language'],
155
+            'interactionStatistic' => ['InteractionCounter'],
156
+            'interactivityType' => ['Text'],
157
+            'interpretedAsClaim' => ['Claim'],
158
+            'isAccessibleForFree' => ['Boolean'],
159
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
160
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
161
+            'isFamilyFriendly' => ['Boolean'],
162
+            'isPartOf' => ['URL', 'CreativeWork'],
163
+            'issn' => ['Text'],
164
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
165
+            'learningResourceType' => ['DefinedTerm', 'Text'],
166
+            'license' => ['URL', 'CreativeWork'],
167
+            'locationCreated' => ['Place'],
168
+            'mainEntity' => ['Thing'],
169
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
170
+            'maintainer' => ['Person', 'Organization'],
171
+            'material' => ['Product', 'URL', 'Text'],
172
+            'materialExtent' => ['QuantitativeValue', 'Text'],
173
+            'mentions' => ['Thing'],
174
+            'musicBy' => ['MusicGroup', 'Person'],
175
+            'name' => ['Text'],
176
+            'numberOfEpisodes' => ['Integer'],
177
+            'numberOfPlayers' => ['QuantitativeValue'],
178
+            'numberOfSeasons' => ['Integer'],
179
+            'offers' => ['Demand', 'Offer'],
180
+            'pattern' => ['DefinedTerm', 'Text'],
181
+            'playMode' => ['GamePlayMode'],
182
+            'position' => ['Text', 'Integer'],
183
+            'potentialAction' => ['Action'],
184
+            'producer' => ['Organization', 'Person'],
185
+            'productionCompany' => ['Organization'],
186
+            'provider' => ['Organization', 'Person'],
187
+            'publication' => ['PublicationEvent'],
188
+            'publisher' => ['Organization', 'Person'],
189
+            'publisherImprint' => ['Organization'],
190
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
191
+            'quest' => ['Thing'],
192
+            'recordedAt' => ['Event'],
193
+            'releasedEvent' => ['PublicationEvent'],
194
+            'review' => ['Review'],
195
+            'reviews' => ['Review'],
196
+            'sameAs' => ['URL'],
197
+            'schemaVersion' => ['URL', 'Text'],
198
+            'sdDatePublished' => ['Date'],
199
+            'sdLicense' => ['CreativeWork', 'URL'],
200
+            'sdPublisher' => ['Organization', 'Person'],
201
+            'season' => ['URL', 'CreativeWorkSeason'],
202
+            'seasons' => ['CreativeWorkSeason'],
203
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
204
+            'sourceOrganization' => ['Organization'],
205
+            'spatial' => ['Place'],
206
+            'spatialCoverage' => ['Place'],
207
+            'sponsor' => ['Organization', 'Person'],
208
+            'startDate' => ['DateTime', 'Date'],
209
+            'subjectOf' => ['Event', 'CreativeWork'],
210
+            'teaches' => ['DefinedTerm', 'Text'],
211
+            'temporal' => ['DateTime', 'Text'],
212
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
213
+            'text' => ['Text'],
214
+            'thumbnailUrl' => ['URL'],
215
+            'timeRequired' => ['Duration'],
216
+            'trailer' => ['VideoObject'],
217
+            'translationOfWork' => ['CreativeWork'],
218
+            'translator' => ['Organization', 'Person'],
219
+            'typicalAgeRange' => ['Text'],
220
+            'url' => ['URL'],
221
+            'usageInfo' => ['URL', 'CreativeWork'],
222
+            'version' => ['Number', 'Text'],
223
+            'video' => ['VideoObject', 'Clip'],
224
+            'workExample' => ['CreativeWork'],
225
+            'workTranslation' => ['CreativeWork']
226
+        ];
227
+    }
228 228
 
229 229
 
230
-	/**
231
-	 * @inheritdoc
232
-	 */
233
-	public function getSchemaPropertyDescriptions(): array
234
-	{
235
-		return [
236
-		    'about' => 'The subject matter of the content.',
237
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
238
-		    '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).',
239
-		    '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).',
240
-		    '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).',
241
-		    '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).',
242
-		    '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).',
243
-		    '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).',
244
-		    '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."',
245
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
246
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
247
-		    'actor' => 'An actor, e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.',
248
-		    'actors' => 'An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.',
249
-		    '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.',
250
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
251
-		    'alternateName' => 'An alias for the item.',
252
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
253
-		    '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.',
254
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
255
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
256
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
257
-		    'audio' => 'An embedded audio object.',
258
-		    '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.',
259
-		    'award' => 'An award won by or for this item.',
260
-		    'awards' => 'Awards won by or for this item.',
261
-		    'character' => 'Fictional person connected with a creative work.',
262
-		    'characterAttribute' => 'A piece of data that represents a particular aspect of a fictional character (skill, power, character points, advantage, disadvantage).',
263
-		    'cheatCode' => 'Cheat codes to the game.',
264
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
265
-		    'comment' => 'Comments, typically from users.',
266
-		    '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.',
267
-		    '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 ". ',
268
-		    'containsSeason' => 'A season that is part of the media series.',
269
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
270
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
271
-		    '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.',
272
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
273
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
274
-		    '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.',
275
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
276
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
277
-		    '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.',
278
-		    '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.',
279
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
280
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
281
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
282
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
283
-		    'datePublished' => 'Date of first broadcast/publication.',
284
-		    'description' => 'A description of the item.',
285
-		    'director' => 'A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.',
286
-		    'directors' => 'A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.',
287
-		    '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.',
288
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
289
-		    '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. ',
290
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
291
-		    '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.',
292
-		    '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.',
293
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
294
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
295
-		    '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.',
296
-		    'encodings' => 'A media object that encodes this CreativeWork.',
297
-		    'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
298
-		    'episode' => 'An episode of a TV, radio or game media within a series or season.',
299
-		    'episodes' => 'An episode of a TV/radio series or season.',
300
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
301
-		    '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.',
302
-		    '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.',
303
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
304
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
305
-		    'gameItem' => 'An item is an object within the game world that can be collected by a player or, occasionally, a non-player character.',
306
-		    'gameLocation' => 'Real or fictional location of the game (or part of game).',
307
-		    'gamePlatform' => 'The electronic systems used to play <a href="http://en.wikipedia.org/wiki/Category:Video_game_platforms">video games</a>.',
308
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
309
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
310
-		    'headline' => 'Headline of the article.',
311
-		    '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.         ',
312
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
313
-		    '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]].',
314
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
315
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
316
-		    '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]].',
317
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
318
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
319
-		    '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.',
320
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
321
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
322
-		    'issn' => 'The International Standard Serial Number (ISSN) that identifies this serial publication. You can repeat this property to identify different formats of, or the linking ISSN (ISSN-L) for, this serial publication.',
323
-		    '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.',
324
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
325
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
326
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
327
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
328
-		    '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.',
329
-		    '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.       ',
330
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
331
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
332
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
333
-		    'musicBy' => 'The composer of the soundtrack.',
334
-		    'name' => 'The name of the item.',
335
-		    'numberOfEpisodes' => 'The number of episodes in this season or series.',
336
-		    'numberOfPlayers' => 'Indicate how many people can play this game (minimum, maximum, or range).',
337
-		    'numberOfSeasons' => 'The number of seasons in this series.',
338
-		    '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.       ',
339
-		    '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.',
340
-		    'playMode' => 'Indicates whether this game is multi-player, co-op or single-player.  The game can be marked as multi-player, co-op and single-player at the same time.',
341
-		    'position' => 'The position of an item in a series or sequence of items.',
342
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
343
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
344
-		    'productionCompany' => 'The production company or studio responsible for the item, e.g. series, video game, episode etc.',
345
-		    '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.',
346
-		    'publication' => 'A publication event associated with the item.',
347
-		    'publisher' => 'The publisher of the creative work.',
348
-		    'publisherImprint' => 'The publishing division which published the comic.',
349
-		    '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. ',
350
-		    'quest' => 'The task that a player-controlled character, or group of characters may complete in order to gain a reward.',
351
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
352
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
353
-		    'review' => 'A review of the item.',
354
-		    'reviews' => 'Review of the item.',
355
-		    '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.',
356
-		    '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.',
357
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
358
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
359
-		    '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.',
360
-		    'season' => 'A season in a media series.',
361
-		    'seasons' => 'A season in a media series.',
362
-		    '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. ',
363
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
364
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
365
-		    '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.',
366
-		    '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.',
367
-		    'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
368
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
369
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
370
-		    '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.',
371
-		    '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.',
372
-		    'text' => 'The textual content of this CreativeWork.',
373
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
374
-		    '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\'.',
375
-		    'trailer' => 'The trailer of a movie or TV/radio series, season, episode, etc.',
376
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
377
-		    '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.',
378
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
379
-		    'url' => 'URL of the item.',
380
-		    '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.',
381
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
382
-		    'video' => 'An embedded video object.',
383
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
384
-		    '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.'
385
-		];
386
-	}
230
+    /**
231
+     * @inheritdoc
232
+     */
233
+    public function getSchemaPropertyDescriptions(): array
234
+    {
235
+        return [
236
+            'about' => 'The subject matter of the content.',
237
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
238
+            '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).',
239
+            '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).',
240
+            '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).',
241
+            '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).',
242
+            '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).',
243
+            '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).',
244
+            '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."',
245
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
246
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
247
+            'actor' => 'An actor, e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.',
248
+            'actors' => 'An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.',
249
+            '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.',
250
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
251
+            'alternateName' => 'An alias for the item.',
252
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
253
+            '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.',
254
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
255
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
256
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
257
+            'audio' => 'An embedded audio object.',
258
+            '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.',
259
+            'award' => 'An award won by or for this item.',
260
+            'awards' => 'Awards won by or for this item.',
261
+            'character' => 'Fictional person connected with a creative work.',
262
+            'characterAttribute' => 'A piece of data that represents a particular aspect of a fictional character (skill, power, character points, advantage, disadvantage).',
263
+            'cheatCode' => 'Cheat codes to the game.',
264
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
265
+            'comment' => 'Comments, typically from users.',
266
+            '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.',
267
+            '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 ". ',
268
+            'containsSeason' => 'A season that is part of the media series.',
269
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
270
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
271
+            '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.',
272
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
273
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
274
+            '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.',
275
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
276
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
277
+            '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.',
278
+            '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.',
279
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
280
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
281
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
282
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
283
+            'datePublished' => 'Date of first broadcast/publication.',
284
+            'description' => 'A description of the item.',
285
+            'director' => 'A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.',
286
+            'directors' => 'A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.',
287
+            '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.',
288
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
289
+            '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. ',
290
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
291
+            '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.',
292
+            '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.',
293
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
294
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
295
+            '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.',
296
+            'encodings' => 'A media object that encodes this CreativeWork.',
297
+            'endDate' => 'The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
298
+            'episode' => 'An episode of a TV, radio or game media within a series or season.',
299
+            'episodes' => 'An episode of a TV/radio series or season.',
300
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
301
+            '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.',
302
+            '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.',
303
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
304
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
305
+            'gameItem' => 'An item is an object within the game world that can be collected by a player or, occasionally, a non-player character.',
306
+            'gameLocation' => 'Real or fictional location of the game (or part of game).',
307
+            'gamePlatform' => 'The electronic systems used to play <a href="http://en.wikipedia.org/wiki/Category:Video_game_platforms">video games</a>.',
308
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
309
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
310
+            'headline' => 'Headline of the article.',
311
+            '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.         ',
312
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
313
+            '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]].',
314
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
315
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
316
+            '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]].',
317
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
318
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
319
+            '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.',
320
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
321
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
322
+            'issn' => 'The International Standard Serial Number (ISSN) that identifies this serial publication. You can repeat this property to identify different formats of, or the linking ISSN (ISSN-L) for, this serial publication.',
323
+            '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.',
324
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
325
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
326
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
327
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
328
+            '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.',
329
+            '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.       ',
330
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
331
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
332
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
333
+            'musicBy' => 'The composer of the soundtrack.',
334
+            'name' => 'The name of the item.',
335
+            'numberOfEpisodes' => 'The number of episodes in this season or series.',
336
+            'numberOfPlayers' => 'Indicate how many people can play this game (minimum, maximum, or range).',
337
+            'numberOfSeasons' => 'The number of seasons in this series.',
338
+            '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.       ',
339
+            '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.',
340
+            'playMode' => 'Indicates whether this game is multi-player, co-op or single-player.  The game can be marked as multi-player, co-op and single-player at the same time.',
341
+            'position' => 'The position of an item in a series or sequence of items.',
342
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
343
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
344
+            'productionCompany' => 'The production company or studio responsible for the item, e.g. series, video game, episode etc.',
345
+            '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.',
346
+            'publication' => 'A publication event associated with the item.',
347
+            'publisher' => 'The publisher of the creative work.',
348
+            'publisherImprint' => 'The publishing division which published the comic.',
349
+            '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. ',
350
+            'quest' => 'The task that a player-controlled character, or group of characters may complete in order to gain a reward.',
351
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
352
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
353
+            'review' => 'A review of the item.',
354
+            'reviews' => 'Review of the item.',
355
+            '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.',
356
+            '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.',
357
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
358
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
359
+            '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.',
360
+            'season' => 'A season in a media series.',
361
+            'seasons' => 'A season in a media series.',
362
+            '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. ',
363
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
364
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
365
+            '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.',
366
+            '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.',
367
+            'startDate' => 'The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).',
368
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
369
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
370
+            '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.',
371
+            '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.',
372
+            'text' => 'The textual content of this CreativeWork.',
373
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
374
+            '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\'.',
375
+            'trailer' => 'The trailer of a movie or TV/radio series, season, episode, etc.',
376
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
377
+            '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.',
378
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
379
+            'url' => 'URL of the item.',
380
+            '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.',
381
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
382
+            'video' => 'An embedded video object.',
383
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
384
+            '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.'
385
+        ];
386
+    }
387 387
 
388 388
 
389
-	/**
390
-	 * @inheritdoc
391
-	 */
392
-	public function getGoogleRequiredSchema(): array
393
-	{
394
-		return ['description', 'name'];
395
-	}
389
+    /**
390
+     * @inheritdoc
391
+     */
392
+    public function getGoogleRequiredSchema(): array
393
+    {
394
+        return ['description', 'name'];
395
+    }
396 396
 
397 397
 
398
-	/**
399
-	 * @inheritdoc
400
-	 */
401
-	public function getGoogleRecommendedSchema(): array
402
-	{
403
-		return ['image', 'url'];
404
-	}
398
+    /**
399
+     * @inheritdoc
400
+     */
401
+    public function getGoogleRecommendedSchema(): array
402
+    {
403
+        return ['image', 'url'];
404
+    }
405 405
 
406 406
 
407
-	/**
408
-	 * @inheritdoc
409
-	 */
410
-	public function defineRules(): array
411
-	{
412
-		$rules = parent::defineRules();
413
-		    $rules = array_merge($rules, [
414
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
415
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
416
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
417
-		    ]);
407
+    /**
408
+     * @inheritdoc
409
+     */
410
+    public function defineRules(): array
411
+    {
412
+        $rules = parent::defineRules();
413
+            $rules = array_merge($rules, [
414
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
415
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
416
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
417
+            ]);
418 418
 
419
-		    return $rules;
420
-	}
419
+            return $rules;
420
+    }
421 421
 }
Please login to merge, or discard this patch.
src/models/jsonld/FinancialProduct.php 1 patch
Indentation   +173 added lines, -173 removed lines patch added patch discarded remove patch
@@ -26,177 +26,177 @@
 block discarded – undo
26 26
  */
27 27
 class FinancialProduct extends MetaJsonLd implements FinancialProductInterface, ServiceInterface, IntangibleInterface, ThingInterface
28 28
 {
29
-	use FinancialProductTrait;
30
-	use ServiceTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'FinancialProduct';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/FinancialProduct';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'Service';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'A product provided to consumers and businesses by financial institutions such as banks, insurance companies, brokerage firms, consumer finance companies, and investment companies which comprise the financial services industry.';
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
-		    'aggregateRating' => ['AggregateRating'],
80
-		    'alternateName' => ['Text'],
81
-		    'annualPercentageRate' => ['Number', 'QuantitativeValue'],
82
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
83
-		    'audience' => ['Audience'],
84
-		    'availableChannel' => ['ServiceChannel'],
85
-		    'award' => ['Text'],
86
-		    'brand' => ['Brand', 'Organization'],
87
-		    'broker' => ['Person', 'Organization'],
88
-		    'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
89
-		    'description' => ['Text'],
90
-		    'disambiguatingDescription' => ['Text'],
91
-		    'feesAndCommissionsSpecification' => ['URL', 'Text'],
92
-		    'hasOfferCatalog' => ['OfferCatalog'],
93
-		    'hoursAvailable' => ['OpeningHoursSpecification'],
94
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
95
-		    'image' => ['URL', 'ImageObject'],
96
-		    'interestRate' => ['Number', 'QuantitativeValue'],
97
-		    'isRelatedTo' => ['Product', 'Service'],
98
-		    'isSimilarTo' => ['Product', 'Service'],
99
-		    'logo' => ['ImageObject', 'URL'],
100
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
101
-		    'name' => ['Text'],
102
-		    'offers' => ['Demand', 'Offer'],
103
-		    'potentialAction' => ['Action'],
104
-		    'produces' => ['Thing'],
105
-		    'provider' => ['Organization', 'Person'],
106
-		    'providerMobility' => ['Text'],
107
-		    'review' => ['Review'],
108
-		    'sameAs' => ['URL'],
109
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
110
-		    'serviceAudience' => ['Audience'],
111
-		    'serviceOutput' => ['Thing'],
112
-		    'serviceType' => ['Text', 'GovernmentBenefitsType'],
113
-		    'slogan' => ['Text'],
114
-		    'subjectOf' => ['Event', 'CreativeWork'],
115
-		    'termsOfService' => ['URL', 'Text'],
116
-		    'url' => ['URL']
117
-		];
118
-	}
119
-
120
-
121
-	/**
122
-	 * @inheritdoc
123
-	 */
124
-	public function getSchemaPropertyDescriptions(): array
125
-	{
126
-		return [
127
-		    '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.',
128
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
129
-		    'alternateName' => 'An alias for the item.',
130
-		    'annualPercentageRate' => 'The annual rate that is charged for borrowing (or made by investing), expressed as a single percentage number that represents the actual yearly cost of funds over the term of a loan. This includes any fees or additional costs associated with the transaction.',
131
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
132
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
133
-		    'availableChannel' => 'A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).',
134
-		    'award' => 'An award won by or for this item.',
135
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
136
-		    'broker' => 'An entity that arranges for an exchange between a buyer and a seller.  In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.  If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred.',
137
-		    'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
138
-		    'description' => 'A description of the item.',
139
-		    '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.',
140
-		    'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
141
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
142
-		    'hoursAvailable' => 'The hours during which this service or contact is available.',
143
-		    '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.         ',
144
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
145
-		    'interestRate' => 'The interest rate, charged or paid, applicable to the financial product. Note: This is different from the calculated annualPercentageRate.',
146
-		    'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
147
-		    'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
148
-		    'logo' => 'An associated logo.',
149
-		    '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.',
150
-		    'name' => 'The name of the item.',
151
-		    '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.       ',
152
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
153
-		    'produces' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
154
-		    '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.',
155
-		    'providerMobility' => 'Indicates the mobility of a provided service (e.g. \'static\', \'dynamic\').',
156
-		    'review' => 'A review of the item.',
157
-		    '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.',
158
-		    'serviceArea' => 'The geographic area where the service is provided.',
159
-		    'serviceAudience' => 'The audience eligible for this service.',
160
-		    'serviceOutput' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
161
-		    'serviceType' => 'The type of service being offered, e.g. veterans\' benefits, emergency relief, etc.',
162
-		    'slogan' => 'A slogan or motto associated with the item.',
163
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
164
-		    'termsOfService' => 'Human-readable terms of service documentation.',
165
-		    'url' => 'URL of the item.'
166
-		];
167
-	}
168
-
169
-
170
-	/**
171
-	 * @inheritdoc
172
-	 */
173
-	public function getGoogleRequiredSchema(): array
174
-	{
175
-		return ['description', 'name'];
176
-	}
177
-
178
-
179
-	/**
180
-	 * @inheritdoc
181
-	 */
182
-	public function getGoogleRecommendedSchema(): array
183
-	{
184
-		return ['image', 'url'];
185
-	}
186
-
187
-
188
-	/**
189
-	 * @inheritdoc
190
-	 */
191
-	public function defineRules(): array
192
-	{
193
-		$rules = parent::defineRules();
194
-		    $rules = array_merge($rules, [
195
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
196
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
197
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
198
-		    ]);
199
-
200
-		    return $rules;
201
-	}
29
+    use FinancialProductTrait;
30
+    use ServiceTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'FinancialProduct';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/FinancialProduct';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'Service';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'A product provided to consumers and businesses by financial institutions such as banks, insurance companies, brokerage firms, consumer finance companies, and investment companies which comprise the financial services industry.';
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
+            'aggregateRating' => ['AggregateRating'],
80
+            'alternateName' => ['Text'],
81
+            'annualPercentageRate' => ['Number', 'QuantitativeValue'],
82
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
83
+            'audience' => ['Audience'],
84
+            'availableChannel' => ['ServiceChannel'],
85
+            'award' => ['Text'],
86
+            'brand' => ['Brand', 'Organization'],
87
+            'broker' => ['Person', 'Organization'],
88
+            'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
89
+            'description' => ['Text'],
90
+            'disambiguatingDescription' => ['Text'],
91
+            'feesAndCommissionsSpecification' => ['URL', 'Text'],
92
+            'hasOfferCatalog' => ['OfferCatalog'],
93
+            'hoursAvailable' => ['OpeningHoursSpecification'],
94
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
95
+            'image' => ['URL', 'ImageObject'],
96
+            'interestRate' => ['Number', 'QuantitativeValue'],
97
+            'isRelatedTo' => ['Product', 'Service'],
98
+            'isSimilarTo' => ['Product', 'Service'],
99
+            'logo' => ['ImageObject', 'URL'],
100
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
101
+            'name' => ['Text'],
102
+            'offers' => ['Demand', 'Offer'],
103
+            'potentialAction' => ['Action'],
104
+            'produces' => ['Thing'],
105
+            'provider' => ['Organization', 'Person'],
106
+            'providerMobility' => ['Text'],
107
+            'review' => ['Review'],
108
+            'sameAs' => ['URL'],
109
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
110
+            'serviceAudience' => ['Audience'],
111
+            'serviceOutput' => ['Thing'],
112
+            'serviceType' => ['Text', 'GovernmentBenefitsType'],
113
+            'slogan' => ['Text'],
114
+            'subjectOf' => ['Event', 'CreativeWork'],
115
+            'termsOfService' => ['URL', 'Text'],
116
+            'url' => ['URL']
117
+        ];
118
+    }
119
+
120
+
121
+    /**
122
+     * @inheritdoc
123
+     */
124
+    public function getSchemaPropertyDescriptions(): array
125
+    {
126
+        return [
127
+            '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.',
128
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
129
+            'alternateName' => 'An alias for the item.',
130
+            'annualPercentageRate' => 'The annual rate that is charged for borrowing (or made by investing), expressed as a single percentage number that represents the actual yearly cost of funds over the term of a loan. This includes any fees or additional costs associated with the transaction.',
131
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
132
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
133
+            'availableChannel' => 'A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).',
134
+            'award' => 'An award won by or for this item.',
135
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
136
+            'broker' => 'An entity that arranges for an exchange between a buyer and a seller.  In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.  If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred.',
137
+            'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
138
+            'description' => 'A description of the item.',
139
+            '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.',
140
+            'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
141
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
142
+            'hoursAvailable' => 'The hours during which this service or contact is available.',
143
+            '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.         ',
144
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
145
+            'interestRate' => 'The interest rate, charged or paid, applicable to the financial product. Note: This is different from the calculated annualPercentageRate.',
146
+            'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
147
+            'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
148
+            'logo' => 'An associated logo.',
149
+            '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.',
150
+            'name' => 'The name of the item.',
151
+            '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.       ',
152
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
153
+            'produces' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
154
+            '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.',
155
+            'providerMobility' => 'Indicates the mobility of a provided service (e.g. \'static\', \'dynamic\').',
156
+            'review' => 'A review of the item.',
157
+            '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.',
158
+            'serviceArea' => 'The geographic area where the service is provided.',
159
+            'serviceAudience' => 'The audience eligible for this service.',
160
+            'serviceOutput' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
161
+            'serviceType' => 'The type of service being offered, e.g. veterans\' benefits, emergency relief, etc.',
162
+            'slogan' => 'A slogan or motto associated with the item.',
163
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
164
+            'termsOfService' => 'Human-readable terms of service documentation.',
165
+            'url' => 'URL of the item.'
166
+        ];
167
+    }
168
+
169
+
170
+    /**
171
+     * @inheritdoc
172
+     */
173
+    public function getGoogleRequiredSchema(): array
174
+    {
175
+        return ['description', 'name'];
176
+    }
177
+
178
+
179
+    /**
180
+     * @inheritdoc
181
+     */
182
+    public function getGoogleRecommendedSchema(): array
183
+    {
184
+        return ['image', 'url'];
185
+    }
186
+
187
+
188
+    /**
189
+     * @inheritdoc
190
+     */
191
+    public function defineRules(): array
192
+    {
193
+        $rules = parent::defineRules();
194
+            $rules = array_merge($rules, [
195
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
196
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
197
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
198
+            ]);
199
+
200
+            return $rules;
201
+    }
202 202
 }
Please login to merge, or discard this patch.
src/models/jsonld/MonetaryAmountDistribution.php 1 patch
Indentation   +134 added lines, -134 removed lines patch added patch discarded remove patch
@@ -23,138 +23,138 @@
 block discarded – undo
23 23
  */
24 24
 class MonetaryAmountDistribution extends MetaJsonLd implements MonetaryAmountDistributionInterface, QuantitativeValueDistributionInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use MonetaryAmountDistributionTrait;
27
-	use QuantitativeValueDistributionTrait;
28
-	use StructuredValueTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'MonetaryAmountDistribution';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/MonetaryAmountDistribution';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'QuantitativeValueDistribution';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A statistical distribution of monetary amounts.';
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
-		    'currency' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'duration' => ['Duration'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'median' => ['Number'],
86
-		    'name' => ['Text'],
87
-		    'percentile10' => ['Number'],
88
-		    'percentile25' => ['Number'],
89
-		    'percentile75' => ['Number'],
90
-		    'percentile90' => ['Number'],
91
-		    'potentialAction' => ['Action'],
92
-		    'sameAs' => ['URL'],
93
-		    'subjectOf' => ['Event', 'CreativeWork'],
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
-		    'currency' => 'The currency in which the monetary amount is expressed.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
108
-		    'description' => 'A description of the item.',
109
-		    '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.',
110
-		    'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
111
-		    '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.         ',
112
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
113
-		    '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.',
114
-		    'median' => 'The median value.',
115
-		    'name' => 'The name of the item.',
116
-		    'percentile10' => 'The 10th percentile value.',
117
-		    'percentile25' => 'The 25th percentile value.',
118
-		    'percentile75' => 'The 75th percentile value.',
119
-		    'percentile90' => 'The 90th percentile value.',
120
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
121
-		    '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.',
122
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
123
-		    'url' => 'URL of the item.'
124
-		];
125
-	}
126
-
127
-
128
-	/**
129
-	 * @inheritdoc
130
-	 */
131
-	public function getGoogleRequiredSchema(): array
132
-	{
133
-		return ['description', 'name'];
134
-	}
135
-
136
-
137
-	/**
138
-	 * @inheritdoc
139
-	 */
140
-	public function getGoogleRecommendedSchema(): array
141
-	{
142
-		return ['image', 'url'];
143
-	}
144
-
145
-
146
-	/**
147
-	 * @inheritdoc
148
-	 */
149
-	public function defineRules(): array
150
-	{
151
-		$rules = parent::defineRules();
152
-		    $rules = array_merge($rules, [
153
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
154
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
155
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
156
-		    ]);
157
-
158
-		    return $rules;
159
-	}
26
+    use MonetaryAmountDistributionTrait;
27
+    use QuantitativeValueDistributionTrait;
28
+    use StructuredValueTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'MonetaryAmountDistribution';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/MonetaryAmountDistribution';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'QuantitativeValueDistribution';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A statistical distribution of monetary amounts.';
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
+            'currency' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'duration' => ['Duration'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'median' => ['Number'],
86
+            'name' => ['Text'],
87
+            'percentile10' => ['Number'],
88
+            'percentile25' => ['Number'],
89
+            'percentile75' => ['Number'],
90
+            'percentile90' => ['Number'],
91
+            'potentialAction' => ['Action'],
92
+            'sameAs' => ['URL'],
93
+            'subjectOf' => ['Event', 'CreativeWork'],
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
+            'currency' => 'The currency in which the monetary amount is expressed.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
108
+            'description' => 'A description of the item.',
109
+            '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.',
110
+            'duration' => 'The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).',
111
+            '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.         ',
112
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
113
+            '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.',
114
+            'median' => 'The median value.',
115
+            'name' => 'The name of the item.',
116
+            'percentile10' => 'The 10th percentile value.',
117
+            'percentile25' => 'The 25th percentile value.',
118
+            'percentile75' => 'The 75th percentile value.',
119
+            'percentile90' => 'The 90th percentile value.',
120
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
121
+            '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.',
122
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
123
+            'url' => 'URL of the item.'
124
+        ];
125
+    }
126
+
127
+
128
+    /**
129
+     * @inheritdoc
130
+     */
131
+    public function getGoogleRequiredSchema(): array
132
+    {
133
+        return ['description', 'name'];
134
+    }
135
+
136
+
137
+    /**
138
+     * @inheritdoc
139
+     */
140
+    public function getGoogleRecommendedSchema(): array
141
+    {
142
+        return ['image', 'url'];
143
+    }
144
+
145
+
146
+    /**
147
+     * @inheritdoc
148
+     */
149
+    public function defineRules(): array
150
+    {
151
+        $rules = parent::defineRules();
152
+            $rules = array_merge($rules, [
153
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
154
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
155
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
156
+            ]);
157
+
158
+            return $rules;
159
+    }
160 160
 }
Please login to merge, or discard this patch.
src/models/jsonld/WearableMeasurementChestOrBust.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 WearableMeasurementChestOrBust extends MetaJsonLd implements WearableMeasurementChestOrBustInterface, WearableMeasurementTypeEnumerationInterface, MeasurementTypeEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use WearableMeasurementChestOrBustTrait;
27
-	use WearableMeasurementTypeEnumerationTrait;
28
-	use MeasurementTypeEnumerationTrait;
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 = 'WearableMeasurementChestOrBust';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/WearableMeasurementChestOrBust';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'WearableMeasurementTypeEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Measurement of the chest/bust section, for example of a suit';
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 WearableMeasurementChestOrBustTrait;
27
+    use WearableMeasurementTypeEnumerationTrait;
28
+    use MeasurementTypeEnumerationTrait;
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 = 'WearableMeasurementChestOrBust';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/WearableMeasurementChestOrBust';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'WearableMeasurementTypeEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Measurement of the chest/bust section, for example of a suit';
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/ChildCare.php 1 patch
Indentation   +309 added lines, -309 removed lines patch added patch discarded remove patch
@@ -23,330 +23,330 @@
 block discarded – undo
23 23
  */
24 24
 class ChildCare extends MetaJsonLd implements ChildCareInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface
25 25
 {
26
-	use ChildCareTrait;
27
-	use LocalBusinessTrait;
28
-	use PlaceTrait;
29
-	use ThingTrait;
30
-	use OrganizationTrait;
26
+    use ChildCareTrait;
27
+    use LocalBusinessTrait;
28
+    use PlaceTrait;
29
+    use ThingTrait;
30
+    use OrganizationTrait;
31 31
 
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'ChildCare';
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'ChildCare';
38 38
 
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/ChildCare';
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/ChildCare';
45 45
 
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'LocalBusiness';
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'LocalBusiness';
52 52
 
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A Childcare center.';
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A Childcare center.';
59 59
 
60 60
 
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68 68
 
69 69
 
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
77
-		    'additionalProperty' => ['PropertyValue'],
78
-		    'additionalType' => ['URL'],
79
-		    'address' => ['Text', 'PostalAddress'],
80
-		    'aggregateRating' => ['AggregateRating'],
81
-		    'alternateName' => ['Text'],
82
-		    'alumni' => ['Person'],
83
-		    'amenityFeature' => ['LocationFeatureSpecification'],
84
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
85
-		    'award' => ['Text'],
86
-		    'awards' => ['Text'],
87
-		    'branchCode' => ['Text'],
88
-		    'branchOf' => ['Organization'],
89
-		    'brand' => ['Brand', 'Organization'],
90
-		    'contactPoint' => ['ContactPoint'],
91
-		    'contactPoints' => ['ContactPoint'],
92
-		    'containedIn' => ['Place'],
93
-		    'containedInPlace' => ['Place'],
94
-		    'containsPlace' => ['Place'],
95
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
96
-		    'currenciesAccepted' => ['Text'],
97
-		    'department' => ['Organization'],
98
-		    'description' => ['Text'],
99
-		    'disambiguatingDescription' => ['Text'],
100
-		    'dissolutionDate' => ['Date'],
101
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
102
-		    'diversityStaffingReport' => ['Article', 'URL'],
103
-		    'duns' => ['Text'],
104
-		    'email' => ['Text'],
105
-		    'employee' => ['Person'],
106
-		    'employees' => ['Person'],
107
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
108
-		    'event' => ['Event'],
109
-		    'events' => ['Event'],
110
-		    'faxNumber' => ['Text'],
111
-		    'founder' => ['Person'],
112
-		    'founders' => ['Person'],
113
-		    'foundingDate' => ['Date'],
114
-		    'foundingLocation' => ['Place'],
115
-		    'funder' => ['Organization', 'Person'],
116
-		    'funding' => ['Grant'],
117
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
118
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
119
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
120
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
121
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
122
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
123
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
124
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
125
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
126
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
127
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
128
-		    'globalLocationNumber' => ['Text'],
129
-		    'hasCredential' => ['EducationalOccupationalCredential'],
130
-		    'hasDriveThroughService' => ['Boolean'],
131
-		    'hasMap' => ['URL', 'Map'],
132
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
133
-		    'hasOfferCatalog' => ['OfferCatalog'],
134
-		    'hasPOS' => ['Place'],
135
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
136
-		    'image' => ['URL', 'ImageObject'],
137
-		    'interactionStatistic' => ['InteractionCounter'],
138
-		    'isAccessibleForFree' => ['Boolean'],
139
-		    'isicV4' => ['Text'],
140
-		    'iso6523Code' => ['Text'],
141
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
142
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
143
-		    'knowsLanguage' => ['Text', 'Language'],
144
-		    'latitude' => ['Number', 'Text'],
145
-		    'legalName' => ['Text'],
146
-		    'leiCode' => ['Text'],
147
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
148
-		    'logo' => ['ImageObject', 'URL'],
149
-		    'longitude' => ['Text', 'Number'],
150
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
151
-		    'makesOffer' => ['Offer'],
152
-		    'map' => ['URL'],
153
-		    'maps' => ['URL'],
154
-		    'maximumAttendeeCapacity' => ['Integer'],
155
-		    'member' => ['Organization', 'Person'],
156
-		    'memberOf' => ['Organization', 'ProgramMembership'],
157
-		    'members' => ['Organization', 'Person'],
158
-		    'naics' => ['Text'],
159
-		    'name' => ['Text'],
160
-		    'nonprofitStatus' => ['NonprofitType'],
161
-		    'numberOfEmployees' => ['QuantitativeValue'],
162
-		    'openingHours' => ['Text'],
163
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
164
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
165
-		    'owns' => ['Product', 'OwnershipInfo'],
166
-		    'parentOrganization' => ['Organization'],
167
-		    'paymentAccepted' => ['Text'],
168
-		    'photo' => ['Photograph', 'ImageObject'],
169
-		    'photos' => ['ImageObject', 'Photograph'],
170
-		    'potentialAction' => ['Action'],
171
-		    'priceRange' => ['Text'],
172
-		    'publicAccess' => ['Boolean'],
173
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
174
-		    'review' => ['Review'],
175
-		    'reviews' => ['Review'],
176
-		    'sameAs' => ['URL'],
177
-		    'seeks' => ['Demand'],
178
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
179
-		    'slogan' => ['Text'],
180
-		    'smokingAllowed' => ['Boolean'],
181
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
182
-		    'sponsor' => ['Organization', 'Person'],
183
-		    'subOrganization' => ['Organization'],
184
-		    'subjectOf' => ['Event', 'CreativeWork'],
185
-		    'taxID' => ['Text'],
186
-		    'telephone' => ['Text'],
187
-		    'tourBookingPage' => ['URL'],
188
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
189
-		    'url' => ['URL'],
190
-		    'vatID' => ['Text']
191
-		];
192
-	}
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
77
+            'additionalProperty' => ['PropertyValue'],
78
+            'additionalType' => ['URL'],
79
+            'address' => ['Text', 'PostalAddress'],
80
+            'aggregateRating' => ['AggregateRating'],
81
+            'alternateName' => ['Text'],
82
+            'alumni' => ['Person'],
83
+            'amenityFeature' => ['LocationFeatureSpecification'],
84
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
85
+            'award' => ['Text'],
86
+            'awards' => ['Text'],
87
+            'branchCode' => ['Text'],
88
+            'branchOf' => ['Organization'],
89
+            'brand' => ['Brand', 'Organization'],
90
+            'contactPoint' => ['ContactPoint'],
91
+            'contactPoints' => ['ContactPoint'],
92
+            'containedIn' => ['Place'],
93
+            'containedInPlace' => ['Place'],
94
+            'containsPlace' => ['Place'],
95
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
96
+            'currenciesAccepted' => ['Text'],
97
+            'department' => ['Organization'],
98
+            'description' => ['Text'],
99
+            'disambiguatingDescription' => ['Text'],
100
+            'dissolutionDate' => ['Date'],
101
+            'diversityPolicy' => ['URL', 'CreativeWork'],
102
+            'diversityStaffingReport' => ['Article', 'URL'],
103
+            'duns' => ['Text'],
104
+            'email' => ['Text'],
105
+            'employee' => ['Person'],
106
+            'employees' => ['Person'],
107
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
108
+            'event' => ['Event'],
109
+            'events' => ['Event'],
110
+            'faxNumber' => ['Text'],
111
+            'founder' => ['Person'],
112
+            'founders' => ['Person'],
113
+            'foundingDate' => ['Date'],
114
+            'foundingLocation' => ['Place'],
115
+            'funder' => ['Organization', 'Person'],
116
+            'funding' => ['Grant'],
117
+            'geo' => ['GeoCoordinates', 'GeoShape'],
118
+            'geoContains' => ['Place', 'GeospatialGeometry'],
119
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
120
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
121
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
122
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
123
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
124
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
125
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
126
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
127
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
128
+            'globalLocationNumber' => ['Text'],
129
+            'hasCredential' => ['EducationalOccupationalCredential'],
130
+            'hasDriveThroughService' => ['Boolean'],
131
+            'hasMap' => ['URL', 'Map'],
132
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
133
+            'hasOfferCatalog' => ['OfferCatalog'],
134
+            'hasPOS' => ['Place'],
135
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
136
+            'image' => ['URL', 'ImageObject'],
137
+            'interactionStatistic' => ['InteractionCounter'],
138
+            'isAccessibleForFree' => ['Boolean'],
139
+            'isicV4' => ['Text'],
140
+            'iso6523Code' => ['Text'],
141
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
142
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
143
+            'knowsLanguage' => ['Text', 'Language'],
144
+            'latitude' => ['Number', 'Text'],
145
+            'legalName' => ['Text'],
146
+            'leiCode' => ['Text'],
147
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
148
+            'logo' => ['ImageObject', 'URL'],
149
+            'longitude' => ['Text', 'Number'],
150
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
151
+            'makesOffer' => ['Offer'],
152
+            'map' => ['URL'],
153
+            'maps' => ['URL'],
154
+            'maximumAttendeeCapacity' => ['Integer'],
155
+            'member' => ['Organization', 'Person'],
156
+            'memberOf' => ['Organization', 'ProgramMembership'],
157
+            'members' => ['Organization', 'Person'],
158
+            'naics' => ['Text'],
159
+            'name' => ['Text'],
160
+            'nonprofitStatus' => ['NonprofitType'],
161
+            'numberOfEmployees' => ['QuantitativeValue'],
162
+            'openingHours' => ['Text'],
163
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
164
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
165
+            'owns' => ['Product', 'OwnershipInfo'],
166
+            'parentOrganization' => ['Organization'],
167
+            'paymentAccepted' => ['Text'],
168
+            'photo' => ['Photograph', 'ImageObject'],
169
+            'photos' => ['ImageObject', 'Photograph'],
170
+            'potentialAction' => ['Action'],
171
+            'priceRange' => ['Text'],
172
+            'publicAccess' => ['Boolean'],
173
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
174
+            'review' => ['Review'],
175
+            'reviews' => ['Review'],
176
+            'sameAs' => ['URL'],
177
+            'seeks' => ['Demand'],
178
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
179
+            'slogan' => ['Text'],
180
+            'smokingAllowed' => ['Boolean'],
181
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
182
+            'sponsor' => ['Organization', 'Person'],
183
+            'subOrganization' => ['Organization'],
184
+            'subjectOf' => ['Event', 'CreativeWork'],
185
+            'taxID' => ['Text'],
186
+            'telephone' => ['Text'],
187
+            'tourBookingPage' => ['URL'],
188
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
189
+            'url' => ['URL'],
190
+            'vatID' => ['Text']
191
+        ];
192
+    }
193 193
 
194 194
 
195
-	/**
196
-	 * @inheritdoc
197
-	 */
198
-	public function getSchemaPropertyDescriptions(): array
199
-	{
200
-		return [
201
-		    'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
202
-		    'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
203
-		    '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.',
204
-		    'address' => 'Physical address of the item.',
205
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
206
-		    'alternateName' => 'An alias for the item.',
207
-		    'alumni' => 'Alumni of an organization.',
208
-		    'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
209
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
210
-		    'award' => 'An award won by or for this item.',
211
-		    'awards' => 'Awards won by or for this item.',
212
-		    'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
213
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
214
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
215
-		    'contactPoint' => 'A contact point for a person or organization.',
216
-		    'contactPoints' => 'A contact point for a person or organization.',
217
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
218
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
219
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
220
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
221
-		    'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
222
-		    'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
223
-		    'description' => 'A description of the item.',
224
-		    '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.',
225
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
226
-		    'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
227
-		    'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
228
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
229
-		    'email' => 'Email address.',
230
-		    'employee' => 'Someone working for this organization.',
231
-		    'employees' => 'People working for this organization.',
232
-		    'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
233
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
234
-		    'events' => 'Upcoming or past events associated with this place or organization.',
235
-		    'faxNumber' => 'The fax number.',
236
-		    'founder' => 'A person who founded this organization.',
237
-		    'founders' => 'A person who founded this organization.',
238
-		    'foundingDate' => 'The date that this organization was founded.',
239
-		    'foundingLocation' => 'The place where the Organization was founded.',
240
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
241
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
242
-		    'geo' => 'The geo coordinates of the place.',
243
-		    'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
244
-		    'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
245
-		    'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
246
-		    'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
247
-		    'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
248
-		    'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
249
-		    'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
250
-		    'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
251
-		    'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
252
-		    'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
253
-		    'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
254
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
255
-		    'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
256
-		    'hasMap' => 'A URL to a map of the place.',
257
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
258
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
259
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
260
-		    '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.         ',
261
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
262
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
263
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
264
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
265
-		    'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
266
-		    '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.',
267
-		    'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
268
-		    'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
269
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
270
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
271
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
272
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
273
-		    'logo' => 'An associated logo.',
274
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
275
-		    '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.',
276
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
277
-		    'map' => 'A URL to a map of the place.',
278
-		    'maps' => 'A URL to a map of the place.',
279
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
280
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
281
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
282
-		    'members' => 'A member of this organization.',
283
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
284
-		    'name' => 'The name of the item.',
285
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
286
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
287
-		    'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
288
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
289
-		    'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
290
-		    'owns' => 'Products owned by the organization or person.',
291
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
292
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
293
-		    'photo' => 'A photograph of this place.',
294
-		    'photos' => 'Photographs of this place.',
295
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
296
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
297
-		    'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
298
-		    '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. ',
299
-		    'review' => 'A review of the item.',
300
-		    'reviews' => 'Review of the item.',
301
-		    '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.',
302
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
303
-		    'serviceArea' => 'The geographic area where the service is provided.',
304
-		    'slogan' => 'A slogan or motto associated with the item.',
305
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
306
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
307
-		    '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.',
308
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
309
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
310
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
311
-		    'telephone' => 'The telephone number.',
312
-		    'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
313
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
314
-		    'url' => 'URL of the item.',
315
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
316
-		];
317
-	}
195
+    /**
196
+     * @inheritdoc
197
+     */
198
+    public function getSchemaPropertyDescriptions(): array
199
+    {
200
+        return [
201
+            'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
202
+            'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
203
+            '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.',
204
+            'address' => 'Physical address of the item.',
205
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
206
+            'alternateName' => 'An alias for the item.',
207
+            'alumni' => 'Alumni of an organization.',
208
+            'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
209
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
210
+            'award' => 'An award won by or for this item.',
211
+            'awards' => 'Awards won by or for this item.',
212
+            'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
213
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
214
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
215
+            'contactPoint' => 'A contact point for a person or organization.',
216
+            'contactPoints' => 'A contact point for a person or organization.',
217
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
218
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
219
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
220
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
221
+            'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
222
+            'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
223
+            'description' => 'A description of the item.',
224
+            '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.',
225
+            'dissolutionDate' => 'The date that this organization was dissolved.',
226
+            'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
227
+            'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
228
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
229
+            'email' => 'Email address.',
230
+            'employee' => 'Someone working for this organization.',
231
+            'employees' => 'People working for this organization.',
232
+            'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
233
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
234
+            'events' => 'Upcoming or past events associated with this place or organization.',
235
+            'faxNumber' => 'The fax number.',
236
+            'founder' => 'A person who founded this organization.',
237
+            'founders' => 'A person who founded this organization.',
238
+            'foundingDate' => 'The date that this organization was founded.',
239
+            'foundingLocation' => 'The place where the Organization was founded.',
240
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
241
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
242
+            'geo' => 'The geo coordinates of the place.',
243
+            'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
244
+            'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
245
+            'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
246
+            'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
247
+            'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
248
+            'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
249
+            'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
250
+            'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
251
+            'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
252
+            'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
253
+            'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
254
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
255
+            'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
256
+            'hasMap' => 'A URL to a map of the place.',
257
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
258
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
259
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
260
+            '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.         ',
261
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
262
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
263
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
264
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
265
+            'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
266
+            '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.',
267
+            'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
268
+            'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
269
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
270
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
271
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
272
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
273
+            'logo' => 'An associated logo.',
274
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
275
+            '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.',
276
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
277
+            'map' => 'A URL to a map of the place.',
278
+            'maps' => 'A URL to a map of the place.',
279
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
280
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
281
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
282
+            'members' => 'A member of this organization.',
283
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
284
+            'name' => 'The name of the item.',
285
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
286
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
287
+            'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
288
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
289
+            'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
290
+            'owns' => 'Products owned by the organization or person.',
291
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
292
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
293
+            'photo' => 'A photograph of this place.',
294
+            'photos' => 'Photographs of this place.',
295
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
296
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
297
+            'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
298
+            '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. ',
299
+            'review' => 'A review of the item.',
300
+            'reviews' => 'Review of the item.',
301
+            '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.',
302
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
303
+            'serviceArea' => 'The geographic area where the service is provided.',
304
+            'slogan' => 'A slogan or motto associated with the item.',
305
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
306
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
307
+            '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.',
308
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
309
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
310
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
311
+            'telephone' => 'The telephone number.',
312
+            'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
313
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
314
+            'url' => 'URL of the item.',
315
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
316
+        ];
317
+    }
318 318
 
319 319
 
320
-	/**
321
-	 * @inheritdoc
322
-	 */
323
-	public function getGoogleRequiredSchema(): array
324
-	{
325
-		return ['description', 'name'];
326
-	}
320
+    /**
321
+     * @inheritdoc
322
+     */
323
+    public function getGoogleRequiredSchema(): array
324
+    {
325
+        return ['description', 'name'];
326
+    }
327 327
 
328 328
 
329
-	/**
330
-	 * @inheritdoc
331
-	 */
332
-	public function getGoogleRecommendedSchema(): array
333
-	{
334
-		return ['image', 'url'];
335
-	}
329
+    /**
330
+     * @inheritdoc
331
+     */
332
+    public function getGoogleRecommendedSchema(): array
333
+    {
334
+        return ['image', 'url'];
335
+    }
336 336
 
337 337
 
338
-	/**
339
-	 * @inheritdoc
340
-	 */
341
-	public function defineRules(): array
342
-	{
343
-		$rules = parent::defineRules();
344
-		    $rules = array_merge($rules, [
345
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
346
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
347
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
348
-		    ]);
338
+    /**
339
+     * @inheritdoc
340
+     */
341
+    public function defineRules(): array
342
+    {
343
+        $rules = parent::defineRules();
344
+            $rules = array_merge($rules, [
345
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
346
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
347
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
348
+            ]);
349 349
 
350
-		    return $rules;
351
-	}
350
+            return $rules;
351
+    }
352 352
 }
Please login to merge, or discard this patch.
src/models/jsonld/DeleteAction.php 1 patch
Indentation   +147 added lines, -147 removed lines patch added patch discarded remove patch
@@ -23,151 +23,151 @@
 block discarded – undo
23 23
  */
24 24
 class DeleteAction extends MetaJsonLd implements DeleteActionInterface, UpdateActionInterface, ActionInterface, ThingInterface
25 25
 {
26
-	use DeleteActionTrait;
27
-	use UpdateActionTrait;
28
-	use ActionTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'DeleteAction';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/DeleteAction';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'UpdateAction';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'The act of editing a recipient by removing one of its objects.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'actionStatus' => ['ActionStatusType'],
76
-		    'additionalType' => ['URL'],
77
-		    'agent' => ['Organization', 'Person'],
78
-		    'alternateName' => ['Text'],
79
-		    'collection' => ['Thing'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'endTime' => ['DateTime', 'Time'],
83
-		    'error' => ['Thing'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'instrument' => ['Thing'],
87
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
88
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
-		    'name' => ['Text'],
90
-		    'object' => ['Thing'],
91
-		    'participant' => ['Organization', 'Person'],
92
-		    'potentialAction' => ['Action'],
93
-		    'provider' => ['Organization', 'Person'],
94
-		    'result' => ['Thing'],
95
-		    'sameAs' => ['URL'],
96
-		    'startTime' => ['Time', 'DateTime'],
97
-		    'subjectOf' => ['Event', 'CreativeWork'],
98
-		    'target' => ['URL', 'EntryPoint'],
99
-		    'targetCollection' => ['Thing'],
100
-		    'url' => ['URL']
101
-		];
102
-	}
103
-
104
-
105
-	/**
106
-	 * @inheritdoc
107
-	 */
108
-	public function getSchemaPropertyDescriptions(): array
109
-	{
110
-		return [
111
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
112
-		    '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.',
113
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
114
-		    'alternateName' => 'An alias for the item.',
115
-		    'collection' => 'A sub property of object. The collection target of the action.',
116
-		    'description' => 'A description of the item.',
117
-		    '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.',
118
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
119
-		    'error' => 'For failed actions, more information on the cause of the failure.',
120
-		    '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.         ',
121
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
122
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
123
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
124
-		    '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.',
125
-		    'name' => 'The name of the item.',
126
-		    'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
127
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
128
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
129
-		    '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.',
130
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
131
-		    '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.',
132
-		    'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
133
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
134
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
135
-		    'targetCollection' => 'A sub property of object. The collection target of the action.',
136
-		    'url' => 'URL of the item.'
137
-		];
138
-	}
139
-
140
-
141
-	/**
142
-	 * @inheritdoc
143
-	 */
144
-	public function getGoogleRequiredSchema(): array
145
-	{
146
-		return ['description', 'name'];
147
-	}
148
-
149
-
150
-	/**
151
-	 * @inheritdoc
152
-	 */
153
-	public function getGoogleRecommendedSchema(): array
154
-	{
155
-		return ['image', 'url'];
156
-	}
157
-
158
-
159
-	/**
160
-	 * @inheritdoc
161
-	 */
162
-	public function defineRules(): array
163
-	{
164
-		$rules = parent::defineRules();
165
-		    $rules = array_merge($rules, [
166
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
167
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
168
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
169
-		    ]);
170
-
171
-		    return $rules;
172
-	}
26
+    use DeleteActionTrait;
27
+    use UpdateActionTrait;
28
+    use ActionTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'DeleteAction';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/DeleteAction';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'UpdateAction';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'The act of editing a recipient by removing one of its objects.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'actionStatus' => ['ActionStatusType'],
76
+            'additionalType' => ['URL'],
77
+            'agent' => ['Organization', 'Person'],
78
+            'alternateName' => ['Text'],
79
+            'collection' => ['Thing'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'endTime' => ['DateTime', 'Time'],
83
+            'error' => ['Thing'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'instrument' => ['Thing'],
87
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
88
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
+            'name' => ['Text'],
90
+            'object' => ['Thing'],
91
+            'participant' => ['Organization', 'Person'],
92
+            'potentialAction' => ['Action'],
93
+            'provider' => ['Organization', 'Person'],
94
+            'result' => ['Thing'],
95
+            'sameAs' => ['URL'],
96
+            'startTime' => ['Time', 'DateTime'],
97
+            'subjectOf' => ['Event', 'CreativeWork'],
98
+            'target' => ['URL', 'EntryPoint'],
99
+            'targetCollection' => ['Thing'],
100
+            'url' => ['URL']
101
+        ];
102
+    }
103
+
104
+
105
+    /**
106
+     * @inheritdoc
107
+     */
108
+    public function getSchemaPropertyDescriptions(): array
109
+    {
110
+        return [
111
+            'actionStatus' => 'Indicates the current disposition of the Action.',
112
+            '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.',
113
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
114
+            'alternateName' => 'An alias for the item.',
115
+            'collection' => 'A sub property of object. The collection target of the action.',
116
+            'description' => 'A description of the item.',
117
+            '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.',
118
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
119
+            'error' => 'For failed actions, more information on the cause of the failure.',
120
+            '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.         ',
121
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
122
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
123
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
124
+            '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.',
125
+            'name' => 'The name of the item.',
126
+            'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
127
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
128
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
129
+            '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.',
130
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
131
+            '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.',
132
+            'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
133
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
134
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
135
+            'targetCollection' => 'A sub property of object. The collection target of the action.',
136
+            'url' => 'URL of the item.'
137
+        ];
138
+    }
139
+
140
+
141
+    /**
142
+     * @inheritdoc
143
+     */
144
+    public function getGoogleRequiredSchema(): array
145
+    {
146
+        return ['description', 'name'];
147
+    }
148
+
149
+
150
+    /**
151
+     * @inheritdoc
152
+     */
153
+    public function getGoogleRecommendedSchema(): array
154
+    {
155
+        return ['image', 'url'];
156
+    }
157
+
158
+
159
+    /**
160
+     * @inheritdoc
161
+     */
162
+    public function defineRules(): array
163
+    {
164
+        $rules = parent::defineRules();
165
+            $rules = array_merge($rules, [
166
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
167
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
168
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
169
+            ]);
170
+
171
+            return $rules;
172
+    }
173 173
 }
Please login to merge, or discard this patch.
src/models/jsonld/OrderDelivered.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 OrderDelivered extends MetaJsonLd implements OrderDeliveredInterface, OrderStatusInterface, StatusEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use OrderDeliveredTrait;
27
-	use OrderStatusTrait;
28
-	use StatusEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'OrderDelivered';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/OrderDelivered';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'OrderStatus';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'OrderStatus representing successful delivery of an order.';
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 OrderDeliveredTrait;
27
+    use OrderStatusTrait;
28
+    use StatusEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'OrderDelivered';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/OrderDelivered';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'OrderStatus';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'OrderStatus representing successful delivery of an order.';
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/Subscription.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -24,126 +24,126 @@
 block discarded – undo
24 24
  */
25 25
 class Subscription extends MetaJsonLd implements SubscriptionInterface, PriceComponentTypeEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use SubscriptionTrait;
28
-	use PriceComponentTypeEnumerationTrait;
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 = 'Subscription';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/Subscription';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'PriceComponentTypeEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Represents the subscription pricing component of the total price for an offered product.';
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
-	}
27
+    use SubscriptionTrait;
28
+    use PriceComponentTypeEnumerationTrait;
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 = 'Subscription';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/Subscription';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'PriceComponentTypeEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Represents the subscription pricing component of the total price for an offered product.';
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.