Passed
Push — develop ( 90ed2c...5af6db )
by Andrew
09:42
created
src/models/jsonld/PlanAction.php 1 patch
Indentation   +145 added lines, -145 removed lines patch added patch discarded remove patch
@@ -24,149 +24,149 @@
 block discarded – undo
24 24
  */
25 25
 class PlanAction extends MetaJsonLd implements PlanActionInterface, OrganizeActionInterface, ActionInterface, ThingInterface
26 26
 {
27
-	use PlanActionTrait;
28
-	use OrganizeActionTrait;
29
-	use ActionTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'PlanAction';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/PlanAction';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'OrganizeAction';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'The act of planning the execution of an event/task/action/reservation/plan to a future date.';
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
-		    'actionStatus' => ['ActionStatusType'],
77
-		    'additionalType' => ['URL'],
78
-		    'agent' => ['Organization', 'Person'],
79
-		    'alternateName' => ['Text'],
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
-		    'scheduledTime' => ['DateTime'],
97
-		    'startTime' => ['Time', 'DateTime'],
98
-		    'subjectOf' => ['Event', 'CreativeWork'],
99
-		    'target' => ['URL', 'EntryPoint'],
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
-		    'description' => 'A description of the item.',
116
-		    '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.',
117
-		    '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.',
118
-		    'error' => 'For failed actions, more information on the cause of the failure.',
119
-		    '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.         ',
120
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
121
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
122
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
123
-		    '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.',
124
-		    'name' => 'The name of the item.',
125
-		    '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*.',
126
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
127
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
128
-		    '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.',
129
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
130
-		    '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.',
131
-		    'scheduledTime' => 'The time the object is scheduled to.',
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
-		    'url' => 'URL of the item.'
136
-		];
137
-	}
138
-
139
-
140
-	/**
141
-	 * @inheritdoc
142
-	 */
143
-	public function getGoogleRequiredSchema(): array
144
-	{
145
-		return ['description', 'name'];
146
-	}
147
-
148
-
149
-	/**
150
-	 * @inheritdoc
151
-	 */
152
-	public function getGoogleRecommendedSchema(): array
153
-	{
154
-		return ['image', 'url'];
155
-	}
156
-
157
-
158
-	/**
159
-	 * @inheritdoc
160
-	 */
161
-	public function defineRules(): array
162
-	{
163
-		$rules = parent::defineRules();
164
-		    $rules = array_merge($rules, [
165
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
166
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
167
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
168
-		    ]);
169
-
170
-		    return $rules;
171
-	}
27
+    use PlanActionTrait;
28
+    use OrganizeActionTrait;
29
+    use ActionTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'PlanAction';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/PlanAction';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'OrganizeAction';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'The act of planning the execution of an event/task/action/reservation/plan to a future date.';
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
+            'actionStatus' => ['ActionStatusType'],
77
+            'additionalType' => ['URL'],
78
+            'agent' => ['Organization', 'Person'],
79
+            'alternateName' => ['Text'],
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
+            'scheduledTime' => ['DateTime'],
97
+            'startTime' => ['Time', 'DateTime'],
98
+            'subjectOf' => ['Event', 'CreativeWork'],
99
+            'target' => ['URL', 'EntryPoint'],
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
+            'description' => 'A description of the item.',
116
+            '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.',
117
+            '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.',
118
+            'error' => 'For failed actions, more information on the cause of the failure.',
119
+            '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.         ',
120
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
121
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
122
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
123
+            '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.',
124
+            'name' => 'The name of the item.',
125
+            '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*.',
126
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
127
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
128
+            '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.',
129
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
130
+            '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.',
131
+            'scheduledTime' => 'The time the object is scheduled to.',
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
+            'url' => 'URL of the item.'
136
+        ];
137
+    }
138
+
139
+
140
+    /**
141
+     * @inheritdoc
142
+     */
143
+    public function getGoogleRequiredSchema(): array
144
+    {
145
+        return ['description', 'name'];
146
+    }
147
+
148
+
149
+    /**
150
+     * @inheritdoc
151
+     */
152
+    public function getGoogleRecommendedSchema(): array
153
+    {
154
+        return ['image', 'url'];
155
+    }
156
+
157
+
158
+    /**
159
+     * @inheritdoc
160
+     */
161
+    public function defineRules(): array
162
+    {
163
+        $rules = parent::defineRules();
164
+            $rules = array_merge($rules, [
165
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
166
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
167
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
168
+            ]);
169
+
170
+            return $rules;
171
+    }
172 172
 }
Please login to merge, or discard this patch.
src/models/jsonld/ConfirmAction.php 1 patch
Indentation   +155 added lines, -155 removed lines patch added patch discarded remove patch
@@ -25,159 +25,159 @@
 block discarded – undo
25 25
  */
26 26
 class ConfirmAction extends MetaJsonLd implements ConfirmActionInterface, InformActionInterface, CommunicateActionInterface, InteractActionInterface, ActionInterface, ThingInterface
27 27
 {
28
-	use ConfirmActionTrait;
29
-	use InformActionTrait;
30
-	use CommunicateActionTrait;
31
-	use InteractActionTrait;
32
-	use ActionTrait;
33
-	use ThingTrait;
34
-
35
-	/**
36
-	 * The Schema.org Type Name
37
-	 *
38
-	 * @var string
39
-	 */
40
-	public static $schemaTypeName = 'ConfirmAction';
41
-
42
-	/**
43
-	 * The Schema.org Type Scope
44
-	 *
45
-	 * @var string
46
-	 */
47
-	public static $schemaTypeScope = 'https://schema.org/ConfirmAction';
48
-
49
-	/**
50
-	 * The Schema.org Type Extends
51
-	 *
52
-	 * @var string
53
-	 */
54
-	public static $schemaTypeExtends = 'InformAction';
55
-
56
-	/**
57
-	 * The Schema.org Type Description
58
-	 *
59
-	 * @var string
60
-	 */
61
-	public static $schemaTypeDescription = 'The act of notifying someone that a future event/action is going to happen as expected.\n\nRelated actions:\n\n* [[CancelAction]]: The antonym of ConfirmAction.';
62
-
63
-
64
-	/**
65
-	 * @inheritdoc
66
-	 */
67
-	public function getSchemaPropertyNames(): array
68
-	{
69
-		return array_keys($this->getSchemaPropertyExpectedTypes());
70
-	}
71
-
72
-
73
-	/**
74
-	 * @inheritdoc
75
-	 */
76
-	public function getSchemaPropertyExpectedTypes(): array
77
-	{
78
-		return [
79
-		    'about' => ['Thing'],
80
-		    'actionStatus' => ['ActionStatusType'],
81
-		    'additionalType' => ['URL'],
82
-		    'agent' => ['Organization', 'Person'],
83
-		    'alternateName' => ['Text'],
84
-		    'description' => ['Text'],
85
-		    'disambiguatingDescription' => ['Text'],
86
-		    'endTime' => ['DateTime', 'Time'],
87
-		    'error' => ['Thing'],
88
-		    'event' => ['Event'],
89
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
90
-		    'image' => ['URL', 'ImageObject'],
91
-		    'inLanguage' => ['Text', 'Language'],
92
-		    'instrument' => ['Thing'],
93
-		    'language' => ['Language'],
94
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
95
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
96
-		    'name' => ['Text'],
97
-		    'object' => ['Thing'],
98
-		    'participant' => ['Organization', 'Person'],
99
-		    'potentialAction' => ['Action'],
100
-		    'provider' => ['Organization', 'Person'],
101
-		    'recipient' => ['Organization', 'ContactPoint', 'Person', 'Audience'],
102
-		    'result' => ['Thing'],
103
-		    'sameAs' => ['URL'],
104
-		    'startTime' => ['Time', 'DateTime'],
105
-		    'subjectOf' => ['Event', 'CreativeWork'],
106
-		    'target' => ['URL', 'EntryPoint'],
107
-		    'url' => ['URL']
108
-		];
109
-	}
110
-
111
-
112
-	/**
113
-	 * @inheritdoc
114
-	 */
115
-	public function getSchemaPropertyDescriptions(): array
116
-	{
117
-		return [
118
-		    'about' => 'The subject matter of the content.',
119
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
120
-		    '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.',
121
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
122
-		    'alternateName' => 'An alias for the item.',
123
-		    'description' => 'A description of the item.',
124
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
125
-		    '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.',
126
-		    'error' => 'For failed actions, more information on the cause of the failure.',
127
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
128
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
129
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
130
-		    '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]].',
131
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
132
-		    'language' => 'A sub property of instrument. The language used on this action.',
133
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
134
-		    '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.',
135
-		    'name' => 'The name of the item.',
136
-		    '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*.',
137
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
138
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
139
-		    '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.',
140
-		    'recipient' => 'A sub property of participant. The participant who is at the receiving end of the action.',
141
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
142
-		    '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.',
143
-		    '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.',
144
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
145
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
146
-		    'url' => 'URL of the item.'
147
-		];
148
-	}
149
-
150
-
151
-	/**
152
-	 * @inheritdoc
153
-	 */
154
-	public function getGoogleRequiredSchema(): array
155
-	{
156
-		return ['description', 'name'];
157
-	}
158
-
159
-
160
-	/**
161
-	 * @inheritdoc
162
-	 */
163
-	public function getGoogleRecommendedSchema(): array
164
-	{
165
-		return ['image', 'url'];
166
-	}
167
-
168
-
169
-	/**
170
-	 * @inheritdoc
171
-	 */
172
-	public function defineRules(): array
173
-	{
174
-		$rules = parent::defineRules();
175
-		    $rules = array_merge($rules, [
176
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
177
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
178
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
179
-		    ]);
180
-
181
-		    return $rules;
182
-	}
28
+    use ConfirmActionTrait;
29
+    use InformActionTrait;
30
+    use CommunicateActionTrait;
31
+    use InteractActionTrait;
32
+    use ActionTrait;
33
+    use ThingTrait;
34
+
35
+    /**
36
+     * The Schema.org Type Name
37
+     *
38
+     * @var string
39
+     */
40
+    public static $schemaTypeName = 'ConfirmAction';
41
+
42
+    /**
43
+     * The Schema.org Type Scope
44
+     *
45
+     * @var string
46
+     */
47
+    public static $schemaTypeScope = 'https://schema.org/ConfirmAction';
48
+
49
+    /**
50
+     * The Schema.org Type Extends
51
+     *
52
+     * @var string
53
+     */
54
+    public static $schemaTypeExtends = 'InformAction';
55
+
56
+    /**
57
+     * The Schema.org Type Description
58
+     *
59
+     * @var string
60
+     */
61
+    public static $schemaTypeDescription = 'The act of notifying someone that a future event/action is going to happen as expected.\n\nRelated actions:\n\n* [[CancelAction]]: The antonym of ConfirmAction.';
62
+
63
+
64
+    /**
65
+     * @inheritdoc
66
+     */
67
+    public function getSchemaPropertyNames(): array
68
+    {
69
+        return array_keys($this->getSchemaPropertyExpectedTypes());
70
+    }
71
+
72
+
73
+    /**
74
+     * @inheritdoc
75
+     */
76
+    public function getSchemaPropertyExpectedTypes(): array
77
+    {
78
+        return [
79
+            'about' => ['Thing'],
80
+            'actionStatus' => ['ActionStatusType'],
81
+            'additionalType' => ['URL'],
82
+            'agent' => ['Organization', 'Person'],
83
+            'alternateName' => ['Text'],
84
+            'description' => ['Text'],
85
+            'disambiguatingDescription' => ['Text'],
86
+            'endTime' => ['DateTime', 'Time'],
87
+            'error' => ['Thing'],
88
+            'event' => ['Event'],
89
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
90
+            'image' => ['URL', 'ImageObject'],
91
+            'inLanguage' => ['Text', 'Language'],
92
+            'instrument' => ['Thing'],
93
+            'language' => ['Language'],
94
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
95
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
96
+            'name' => ['Text'],
97
+            'object' => ['Thing'],
98
+            'participant' => ['Organization', 'Person'],
99
+            'potentialAction' => ['Action'],
100
+            'provider' => ['Organization', 'Person'],
101
+            'recipient' => ['Organization', 'ContactPoint', 'Person', 'Audience'],
102
+            'result' => ['Thing'],
103
+            'sameAs' => ['URL'],
104
+            'startTime' => ['Time', 'DateTime'],
105
+            'subjectOf' => ['Event', 'CreativeWork'],
106
+            'target' => ['URL', 'EntryPoint'],
107
+            'url' => ['URL']
108
+        ];
109
+    }
110
+
111
+
112
+    /**
113
+     * @inheritdoc
114
+     */
115
+    public function getSchemaPropertyDescriptions(): array
116
+    {
117
+        return [
118
+            'about' => 'The subject matter of the content.',
119
+            'actionStatus' => 'Indicates the current disposition of the Action.',
120
+            '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.',
121
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
122
+            'alternateName' => 'An alias for the item.',
123
+            'description' => 'A description of the item.',
124
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
125
+            '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.',
126
+            'error' => 'For failed actions, more information on the cause of the failure.',
127
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
128
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
129
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
130
+            '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]].',
131
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
132
+            'language' => 'A sub property of instrument. The language used on this action.',
133
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
134
+            '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.',
135
+            'name' => 'The name of the item.',
136
+            '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*.',
137
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
138
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
139
+            '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.',
140
+            'recipient' => 'A sub property of participant. The participant who is at the receiving end of the action.',
141
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
142
+            '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.',
143
+            '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.',
144
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
145
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
146
+            'url' => 'URL of the item.'
147
+        ];
148
+    }
149
+
150
+
151
+    /**
152
+     * @inheritdoc
153
+     */
154
+    public function getGoogleRequiredSchema(): array
155
+    {
156
+        return ['description', 'name'];
157
+    }
158
+
159
+
160
+    /**
161
+     * @inheritdoc
162
+     */
163
+    public function getGoogleRecommendedSchema(): array
164
+    {
165
+        return ['image', 'url'];
166
+    }
167
+
168
+
169
+    /**
170
+     * @inheritdoc
171
+     */
172
+    public function defineRules(): array
173
+    {
174
+        $rules = parent::defineRules();
175
+            $rules = array_merge($rules, [
176
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
177
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
178
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
179
+            ]);
180
+
181
+            return $rules;
182
+    }
183 183
 }
Please login to merge, or discard this patch.
src/models/jsonld/APIReference.php 1 patch
Indentation   +357 added lines, -357 removed lines patch added patch discarded remove patch
@@ -23,378 +23,378 @@
 block discarded – undo
23 23
  */
24 24
 class APIReference extends MetaJsonLd implements APIReferenceInterface, TechArticleInterface, ArticleInterface, CreativeWorkInterface, ThingInterface
25 25
 {
26
-	use APIReferenceTrait;
27
-	use TechArticleTrait;
28
-	use ArticleTrait;
29
-	use CreativeWorkTrait;
30
-	use ThingTrait;
26
+    use APIReferenceTrait;
27
+    use TechArticleTrait;
28
+    use ArticleTrait;
29
+    use CreativeWorkTrait;
30
+    use ThingTrait;
31 31
 
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'APIReference';
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'APIReference';
38 38
 
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/APIReference';
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/APIReference';
45 45
 
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'TechArticle';
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'TechArticle';
52 52
 
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'Reference documentation for application programming interfaces (APIs).';
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'Reference documentation for application programming interfaces (APIs).';
59 59
 
60 60
 
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68 68
 
69 69
 
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'about' => ['Thing'],
77
-		    'abstract' => ['Text'],
78
-		    'accessMode' => ['Text'],
79
-		    'accessModeSufficient' => ['ItemList'],
80
-		    'accessibilityAPI' => ['Text'],
81
-		    'accessibilityControl' => ['Text'],
82
-		    'accessibilityFeature' => ['Text'],
83
-		    'accessibilityHazard' => ['Text'],
84
-		    'accessibilitySummary' => ['Text'],
85
-		    'accountablePerson' => ['Person'],
86
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
87
-		    'additionalType' => ['URL'],
88
-		    'aggregateRating' => ['AggregateRating'],
89
-		    'alternateName' => ['Text'],
90
-		    'alternativeHeadline' => ['Text'],
91
-		    'archivedAt' => ['WebPage', 'URL'],
92
-		    'articleBody' => ['Text'],
93
-		    'articleSection' => ['Text'],
94
-		    'assembly' => ['Text'],
95
-		    'assemblyVersion' => ['Text'],
96
-		    'assesses' => ['DefinedTerm', 'Text'],
97
-		    'associatedMedia' => ['MediaObject'],
98
-		    'audience' => ['Audience'],
99
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
100
-		    'author' => ['Organization', 'Person'],
101
-		    'award' => ['Text'],
102
-		    'awards' => ['Text'],
103
-		    'backstory' => ['CreativeWork', 'Text'],
104
-		    'character' => ['Person'],
105
-		    'citation' => ['CreativeWork', 'Text'],
106
-		    'comment' => ['Comment'],
107
-		    'commentCount' => ['Integer'],
108
-		    'conditionsOfAccess' => ['Text'],
109
-		    'contentLocation' => ['Place'],
110
-		    'contentRating' => ['Text', 'Rating'],
111
-		    'contentReferenceTime' => ['DateTime'],
112
-		    'contributor' => ['Organization', 'Person'],
113
-		    'copyrightHolder' => ['Organization', 'Person'],
114
-		    'copyrightNotice' => ['Text'],
115
-		    'copyrightYear' => ['Number'],
116
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
117
-		    'countryOfOrigin' => ['Country'],
118
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
119
-		    'creator' => ['Person', 'Organization'],
120
-		    'creditText' => ['Text'],
121
-		    'dateCreated' => ['DateTime', 'Date'],
122
-		    'dateModified' => ['DateTime', 'Date'],
123
-		    'datePublished' => ['DateTime', 'Date'],
124
-		    'dependencies' => ['Text'],
125
-		    'description' => ['Text'],
126
-		    'disambiguatingDescription' => ['Text'],
127
-		    'discussionUrl' => ['URL'],
128
-		    'editEIDR' => ['URL', 'Text'],
129
-		    'editor' => ['Person'],
130
-		    'educationalAlignment' => ['AlignmentObject'],
131
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
132
-		    'educationalUse' => ['DefinedTerm', 'Text'],
133
-		    'encoding' => ['MediaObject'],
134
-		    'encodingFormat' => ['URL', 'Text'],
135
-		    'encodings' => ['MediaObject'],
136
-		    'exampleOfWork' => ['CreativeWork'],
137
-		    'executableLibraryName' => ['Text'],
138
-		    'expires' => ['Date', 'DateTime'],
139
-		    'fileFormat' => ['Text', 'URL'],
140
-		    'funder' => ['Organization', 'Person'],
141
-		    'funding' => ['Grant'],
142
-		    'genre' => ['Text', 'URL'],
143
-		    'hasPart' => ['CreativeWork'],
144
-		    'headline' => ['Text'],
145
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
146
-		    'image' => ['URL', 'ImageObject'],
147
-		    'inLanguage' => ['Text', 'Language'],
148
-		    'interactionStatistic' => ['InteractionCounter'],
149
-		    'interactivityType' => ['Text'],
150
-		    'interpretedAsClaim' => ['Claim'],
151
-		    'isAccessibleForFree' => ['Boolean'],
152
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
153
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
154
-		    'isFamilyFriendly' => ['Boolean'],
155
-		    'isPartOf' => ['URL', 'CreativeWork'],
156
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
157
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
158
-		    'license' => ['URL', 'CreativeWork'],
159
-		    'locationCreated' => ['Place'],
160
-		    'mainEntity' => ['Thing'],
161
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
162
-		    'maintainer' => ['Person', 'Organization'],
163
-		    'material' => ['Product', 'URL', 'Text'],
164
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
165
-		    'mentions' => ['Thing'],
166
-		    'name' => ['Text'],
167
-		    'offers' => ['Demand', 'Offer'],
168
-		    'pageEnd' => ['Integer', 'Text'],
169
-		    'pageStart' => ['Integer', 'Text'],
170
-		    'pagination' => ['Text'],
171
-		    'pattern' => ['DefinedTerm', 'Text'],
172
-		    'position' => ['Text', 'Integer'],
173
-		    'potentialAction' => ['Action'],
174
-		    'producer' => ['Organization', 'Person'],
175
-		    'proficiencyLevel' => ['Text'],
176
-		    'programmingModel' => ['Text'],
177
-		    'provider' => ['Organization', 'Person'],
178
-		    'publication' => ['PublicationEvent'],
179
-		    'publisher' => ['Organization', 'Person'],
180
-		    'publisherImprint' => ['Organization'],
181
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
182
-		    'recordedAt' => ['Event'],
183
-		    'releasedEvent' => ['PublicationEvent'],
184
-		    'review' => ['Review'],
185
-		    'reviews' => ['Review'],
186
-		    'sameAs' => ['URL'],
187
-		    'schemaVersion' => ['URL', 'Text'],
188
-		    'sdDatePublished' => ['Date'],
189
-		    'sdLicense' => ['CreativeWork', 'URL'],
190
-		    'sdPublisher' => ['Organization', 'Person'],
191
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
192
-		    'sourceOrganization' => ['Organization'],
193
-		    'spatial' => ['Place'],
194
-		    'spatialCoverage' => ['Place'],
195
-		    'speakable' => ['SpeakableSpecification', 'URL'],
196
-		    'sponsor' => ['Organization', 'Person'],
197
-		    'subjectOf' => ['Event', 'CreativeWork'],
198
-		    'targetPlatform' => ['Text'],
199
-		    'teaches' => ['DefinedTerm', 'Text'],
200
-		    'temporal' => ['DateTime', 'Text'],
201
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
202
-		    'text' => ['Text'],
203
-		    'thumbnailUrl' => ['URL'],
204
-		    'timeRequired' => ['Duration'],
205
-		    'translationOfWork' => ['CreativeWork'],
206
-		    'translator' => ['Organization', 'Person'],
207
-		    'typicalAgeRange' => ['Text'],
208
-		    'url' => ['URL'],
209
-		    'usageInfo' => ['URL', 'CreativeWork'],
210
-		    'version' => ['Number', 'Text'],
211
-		    'video' => ['VideoObject', 'Clip'],
212
-		    'wordCount' => ['Integer'],
213
-		    'workExample' => ['CreativeWork'],
214
-		    'workTranslation' => ['CreativeWork']
215
-		];
216
-	}
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'about' => ['Thing'],
77
+            'abstract' => ['Text'],
78
+            'accessMode' => ['Text'],
79
+            'accessModeSufficient' => ['ItemList'],
80
+            'accessibilityAPI' => ['Text'],
81
+            'accessibilityControl' => ['Text'],
82
+            'accessibilityFeature' => ['Text'],
83
+            'accessibilityHazard' => ['Text'],
84
+            'accessibilitySummary' => ['Text'],
85
+            'accountablePerson' => ['Person'],
86
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
87
+            'additionalType' => ['URL'],
88
+            'aggregateRating' => ['AggregateRating'],
89
+            'alternateName' => ['Text'],
90
+            'alternativeHeadline' => ['Text'],
91
+            'archivedAt' => ['WebPage', 'URL'],
92
+            'articleBody' => ['Text'],
93
+            'articleSection' => ['Text'],
94
+            'assembly' => ['Text'],
95
+            'assemblyVersion' => ['Text'],
96
+            'assesses' => ['DefinedTerm', 'Text'],
97
+            'associatedMedia' => ['MediaObject'],
98
+            'audience' => ['Audience'],
99
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
100
+            'author' => ['Organization', 'Person'],
101
+            'award' => ['Text'],
102
+            'awards' => ['Text'],
103
+            'backstory' => ['CreativeWork', 'Text'],
104
+            'character' => ['Person'],
105
+            'citation' => ['CreativeWork', 'Text'],
106
+            'comment' => ['Comment'],
107
+            'commentCount' => ['Integer'],
108
+            'conditionsOfAccess' => ['Text'],
109
+            'contentLocation' => ['Place'],
110
+            'contentRating' => ['Text', 'Rating'],
111
+            'contentReferenceTime' => ['DateTime'],
112
+            'contributor' => ['Organization', 'Person'],
113
+            'copyrightHolder' => ['Organization', 'Person'],
114
+            'copyrightNotice' => ['Text'],
115
+            'copyrightYear' => ['Number'],
116
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
117
+            'countryOfOrigin' => ['Country'],
118
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
119
+            'creator' => ['Person', 'Organization'],
120
+            'creditText' => ['Text'],
121
+            'dateCreated' => ['DateTime', 'Date'],
122
+            'dateModified' => ['DateTime', 'Date'],
123
+            'datePublished' => ['DateTime', 'Date'],
124
+            'dependencies' => ['Text'],
125
+            'description' => ['Text'],
126
+            'disambiguatingDescription' => ['Text'],
127
+            'discussionUrl' => ['URL'],
128
+            'editEIDR' => ['URL', 'Text'],
129
+            'editor' => ['Person'],
130
+            'educationalAlignment' => ['AlignmentObject'],
131
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
132
+            'educationalUse' => ['DefinedTerm', 'Text'],
133
+            'encoding' => ['MediaObject'],
134
+            'encodingFormat' => ['URL', 'Text'],
135
+            'encodings' => ['MediaObject'],
136
+            'exampleOfWork' => ['CreativeWork'],
137
+            'executableLibraryName' => ['Text'],
138
+            'expires' => ['Date', 'DateTime'],
139
+            'fileFormat' => ['Text', 'URL'],
140
+            'funder' => ['Organization', 'Person'],
141
+            'funding' => ['Grant'],
142
+            'genre' => ['Text', 'URL'],
143
+            'hasPart' => ['CreativeWork'],
144
+            'headline' => ['Text'],
145
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
146
+            'image' => ['URL', 'ImageObject'],
147
+            'inLanguage' => ['Text', 'Language'],
148
+            'interactionStatistic' => ['InteractionCounter'],
149
+            'interactivityType' => ['Text'],
150
+            'interpretedAsClaim' => ['Claim'],
151
+            'isAccessibleForFree' => ['Boolean'],
152
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
153
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
154
+            'isFamilyFriendly' => ['Boolean'],
155
+            'isPartOf' => ['URL', 'CreativeWork'],
156
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
157
+            'learningResourceType' => ['DefinedTerm', 'Text'],
158
+            'license' => ['URL', 'CreativeWork'],
159
+            'locationCreated' => ['Place'],
160
+            'mainEntity' => ['Thing'],
161
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
162
+            'maintainer' => ['Person', 'Organization'],
163
+            'material' => ['Product', 'URL', 'Text'],
164
+            'materialExtent' => ['QuantitativeValue', 'Text'],
165
+            'mentions' => ['Thing'],
166
+            'name' => ['Text'],
167
+            'offers' => ['Demand', 'Offer'],
168
+            'pageEnd' => ['Integer', 'Text'],
169
+            'pageStart' => ['Integer', 'Text'],
170
+            'pagination' => ['Text'],
171
+            'pattern' => ['DefinedTerm', 'Text'],
172
+            'position' => ['Text', 'Integer'],
173
+            'potentialAction' => ['Action'],
174
+            'producer' => ['Organization', 'Person'],
175
+            'proficiencyLevel' => ['Text'],
176
+            'programmingModel' => ['Text'],
177
+            'provider' => ['Organization', 'Person'],
178
+            'publication' => ['PublicationEvent'],
179
+            'publisher' => ['Organization', 'Person'],
180
+            'publisherImprint' => ['Organization'],
181
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
182
+            'recordedAt' => ['Event'],
183
+            'releasedEvent' => ['PublicationEvent'],
184
+            'review' => ['Review'],
185
+            'reviews' => ['Review'],
186
+            'sameAs' => ['URL'],
187
+            'schemaVersion' => ['URL', 'Text'],
188
+            'sdDatePublished' => ['Date'],
189
+            'sdLicense' => ['CreativeWork', 'URL'],
190
+            'sdPublisher' => ['Organization', 'Person'],
191
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
192
+            'sourceOrganization' => ['Organization'],
193
+            'spatial' => ['Place'],
194
+            'spatialCoverage' => ['Place'],
195
+            'speakable' => ['SpeakableSpecification', 'URL'],
196
+            'sponsor' => ['Organization', 'Person'],
197
+            'subjectOf' => ['Event', 'CreativeWork'],
198
+            'targetPlatform' => ['Text'],
199
+            'teaches' => ['DefinedTerm', 'Text'],
200
+            'temporal' => ['DateTime', 'Text'],
201
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
202
+            'text' => ['Text'],
203
+            'thumbnailUrl' => ['URL'],
204
+            'timeRequired' => ['Duration'],
205
+            'translationOfWork' => ['CreativeWork'],
206
+            'translator' => ['Organization', 'Person'],
207
+            'typicalAgeRange' => ['Text'],
208
+            'url' => ['URL'],
209
+            'usageInfo' => ['URL', 'CreativeWork'],
210
+            'version' => ['Number', 'Text'],
211
+            'video' => ['VideoObject', 'Clip'],
212
+            'wordCount' => ['Integer'],
213
+            'workExample' => ['CreativeWork'],
214
+            'workTranslation' => ['CreativeWork']
215
+        ];
216
+    }
217 217
 
218 218
 
219
-	/**
220
-	 * @inheritdoc
221
-	 */
222
-	public function getSchemaPropertyDescriptions(): array
223
-	{
224
-		return [
225
-		    'about' => 'The subject matter of the content.',
226
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
227
-		    '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).',
228
-		    '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).',
229
-		    '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).',
230
-		    '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).',
231
-		    '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).',
232
-		    '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).',
233
-		    '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."',
234
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
235
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
236
-		    '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.',
237
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
238
-		    'alternateName' => 'An alias for the item.',
239
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
240
-		    '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.',
241
-		    'articleBody' => 'The actual body of the article.',
242
-		    'articleSection' => 'Articles may belong to one or more \'sections\' in a magazine or newspaper, such as Sports, Lifestyle, etc.',
243
-		    'assembly' => 'Library file name, e.g., mscorlib.dll, system.web.dll.',
244
-		    'assemblyVersion' => 'Associated product/technology version. E.g., .NET Framework 4.5.',
245
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
246
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
247
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
248
-		    'audio' => 'An embedded audio object.',
249
-		    '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.',
250
-		    'award' => 'An award won by or for this item.',
251
-		    'awards' => 'Awards won by or for this item.',
252
-		    'backstory' => 'For an [[Article]], typically a [[NewsArticle]], the backstory property provides a textual summary giving a brief explanation of why and how an article was created. In a journalistic setting this could include information about reporting process, methods, interviews, data sources, etc.',
253
-		    'character' => 'Fictional person connected with a creative work.',
254
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
255
-		    'comment' => 'Comments, typically from users.',
256
-		    '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.',
257
-		    '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 ". ',
258
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
259
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
260
-		    '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.',
261
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
262
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
263
-		    '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.',
264
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
265
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
266
-		    '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.',
267
-		    '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.',
268
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
269
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
270
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
271
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
272
-		    'datePublished' => 'Date of first broadcast/publication.',
273
-		    'dependencies' => 'Prerequisites needed to fulfill steps in article.',
274
-		    'description' => 'A description of the item.',
275
-		    '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.',
276
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
277
-		    '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. ',
278
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
279
-		    '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.',
280
-		    '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.',
281
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
282
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
283
-		    '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.',
284
-		    'encodings' => 'A media object that encodes this CreativeWork.',
285
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
286
-		    'executableLibraryName' => 'Library file name, e.g., mscorlib.dll, system.web.dll.',
287
-		    '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.',
288
-		    '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.',
289
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
290
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
291
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
292
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
293
-		    'headline' => 'Headline of the article.',
294
-		    '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.         ',
295
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
296
-		    '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]].',
297
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
298
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
299
-		    '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]].',
300
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
301
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
302
-		    '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.',
303
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
304
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
305
-		    '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.',
306
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
307
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
308
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
309
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
310
-		    '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.',
311
-		    '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.       ',
312
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
313
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
314
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
315
-		    'name' => 'The name of the item.',
316
-		    '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.       ',
317
-		    'pageEnd' => 'The page on which the work ends; for example "138" or "xvi".',
318
-		    'pageStart' => 'The page on which the work starts; for example "135" or "xiii".',
319
-		    'pagination' => 'Any description of pages that is not separated into pageStart and pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49".',
320
-		    '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.',
321
-		    'position' => 'The position of an item in a series or sequence of items.',
322
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
323
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
324
-		    'proficiencyLevel' => 'Proficiency needed for this content; expected values: \'Beginner\', \'Expert\'.',
325
-		    'programmingModel' => 'Indicates whether API is managed or unmanaged.',
326
-		    '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.',
327
-		    'publication' => 'A publication event associated with the item.',
328
-		    'publisher' => 'The publisher of the creative work.',
329
-		    'publisherImprint' => 'The publishing division which published the comic.',
330
-		    '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. ',
331
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
332
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
333
-		    'review' => 'A review of the item.',
334
-		    'reviews' => 'Review of the item.',
335
-		    '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.',
336
-		    '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.',
337
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
338
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
339
-		    '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.',
340
-		    '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. ',
341
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
342
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
343
-		    '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.',
344
-		    'speakable' => 'Indicates sections of a Web page that are particularly \'speakable\' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the \'speakable\' property serves to indicate the parts most likely to be generally useful for speech.  The *speakable* property can be repeated an arbitrary number of times, with three kinds of possible \'content-locator\' values:  1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.  2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.  3.)  XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.   For more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this we define a supporting type, [[SpeakableSpecification]]  which is defined to be a possible value of the *speakable* property.          ',
345
-		    '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.',
346
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
347
-		    'targetPlatform' => 'Type of app development: phone, Metro style, desktop, XBox, etc.',
348
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
349
-		    '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.',
350
-		    '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.',
351
-		    'text' => 'The textual content of this CreativeWork.',
352
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
353
-		    '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\'.',
354
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
355
-		    '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.',
356
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
357
-		    'url' => 'URL of the item.',
358
-		    '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.',
359
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
360
-		    'video' => 'An embedded video object.',
361
-		    'wordCount' => 'The number of words in the text of the Article.',
362
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
363
-		    '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.'
364
-		];
365
-	}
219
+    /**
220
+     * @inheritdoc
221
+     */
222
+    public function getSchemaPropertyDescriptions(): array
223
+    {
224
+        return [
225
+            'about' => 'The subject matter of the content.',
226
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
227
+            '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).',
228
+            '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).',
229
+            '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).',
230
+            '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).',
231
+            '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).',
232
+            '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).',
233
+            '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."',
234
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
235
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
236
+            '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.',
237
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
238
+            'alternateName' => 'An alias for the item.',
239
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
240
+            '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.',
241
+            'articleBody' => 'The actual body of the article.',
242
+            'articleSection' => 'Articles may belong to one or more \'sections\' in a magazine or newspaper, such as Sports, Lifestyle, etc.',
243
+            'assembly' => 'Library file name, e.g., mscorlib.dll, system.web.dll.',
244
+            'assemblyVersion' => 'Associated product/technology version. E.g., .NET Framework 4.5.',
245
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
246
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
247
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
248
+            'audio' => 'An embedded audio object.',
249
+            '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.',
250
+            'award' => 'An award won by or for this item.',
251
+            'awards' => 'Awards won by or for this item.',
252
+            'backstory' => 'For an [[Article]], typically a [[NewsArticle]], the backstory property provides a textual summary giving a brief explanation of why and how an article was created. In a journalistic setting this could include information about reporting process, methods, interviews, data sources, etc.',
253
+            'character' => 'Fictional person connected with a creative work.',
254
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
255
+            'comment' => 'Comments, typically from users.',
256
+            '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.',
257
+            '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 ". ',
258
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
259
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
260
+            '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.',
261
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
262
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
263
+            '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.',
264
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
265
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
266
+            '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.',
267
+            '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.',
268
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
269
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
270
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
271
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
272
+            'datePublished' => 'Date of first broadcast/publication.',
273
+            'dependencies' => 'Prerequisites needed to fulfill steps in article.',
274
+            'description' => 'A description of the item.',
275
+            '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.',
276
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
277
+            '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. ',
278
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
279
+            '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.',
280
+            '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.',
281
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
282
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
283
+            '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.',
284
+            'encodings' => 'A media object that encodes this CreativeWork.',
285
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
286
+            'executableLibraryName' => 'Library file name, e.g., mscorlib.dll, system.web.dll.',
287
+            '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.',
288
+            '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.',
289
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
290
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
291
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
292
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
293
+            'headline' => 'Headline of the article.',
294
+            '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.         ',
295
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
296
+            '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]].',
297
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
298
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
299
+            '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]].',
300
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
301
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
302
+            '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.',
303
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
304
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
305
+            '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.',
306
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
307
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
308
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
309
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
310
+            '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.',
311
+            '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.       ',
312
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
313
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
314
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
315
+            'name' => 'The name of the item.',
316
+            '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.       ',
317
+            'pageEnd' => 'The page on which the work ends; for example "138" or "xvi".',
318
+            'pageStart' => 'The page on which the work starts; for example "135" or "xiii".',
319
+            'pagination' => 'Any description of pages that is not separated into pageStart and pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49".',
320
+            '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.',
321
+            'position' => 'The position of an item in a series or sequence of items.',
322
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
323
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
324
+            'proficiencyLevel' => 'Proficiency needed for this content; expected values: \'Beginner\', \'Expert\'.',
325
+            'programmingModel' => 'Indicates whether API is managed or unmanaged.',
326
+            '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.',
327
+            'publication' => 'A publication event associated with the item.',
328
+            'publisher' => 'The publisher of the creative work.',
329
+            'publisherImprint' => 'The publishing division which published the comic.',
330
+            '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. ',
331
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
332
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
333
+            'review' => 'A review of the item.',
334
+            'reviews' => 'Review of the item.',
335
+            '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.',
336
+            '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.',
337
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
338
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
339
+            '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.',
340
+            '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. ',
341
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
342
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
343
+            '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.',
344
+            'speakable' => 'Indicates sections of a Web page that are particularly \'speakable\' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the \'speakable\' property serves to indicate the parts most likely to be generally useful for speech.  The *speakable* property can be repeated an arbitrary number of times, with three kinds of possible \'content-locator\' values:  1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.  2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.  3.)  XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.   For more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this we define a supporting type, [[SpeakableSpecification]]  which is defined to be a possible value of the *speakable* property.          ',
345
+            '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.',
346
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
347
+            'targetPlatform' => 'Type of app development: phone, Metro style, desktop, XBox, etc.',
348
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
349
+            '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.',
350
+            '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.',
351
+            'text' => 'The textual content of this CreativeWork.',
352
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
353
+            '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\'.',
354
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
355
+            '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.',
356
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
357
+            'url' => 'URL of the item.',
358
+            '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.',
359
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
360
+            'video' => 'An embedded video object.',
361
+            'wordCount' => 'The number of words in the text of the Article.',
362
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
363
+            '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.'
364
+        ];
365
+    }
366 366
 
367 367
 
368
-	/**
369
-	 * @inheritdoc
370
-	 */
371
-	public function getGoogleRequiredSchema(): array
372
-	{
373
-		return ['author', 'datePublished', 'description', 'headline', 'image', 'name', 'publisher'];
374
-	}
368
+    /**
369
+     * @inheritdoc
370
+     */
371
+    public function getGoogleRequiredSchema(): array
372
+    {
373
+        return ['author', 'datePublished', 'description', 'headline', 'image', 'name', 'publisher'];
374
+    }
375 375
 
376 376
 
377
-	/**
378
-	 * @inheritdoc
379
-	 */
380
-	public function getGoogleRecommendedSchema(): array
381
-	{
382
-		return ['dateModified', 'image', 'mainEntityOfPage', 'url'];
383
-	}
377
+    /**
378
+     * @inheritdoc
379
+     */
380
+    public function getGoogleRecommendedSchema(): array
381
+    {
382
+        return ['dateModified', 'image', 'mainEntityOfPage', 'url'];
383
+    }
384 384
 
385 385
 
386
-	/**
387
-	 * @inheritdoc
388
-	 */
389
-	public function defineRules(): array
390
-	{
391
-		$rules = parent::defineRules();
392
-		    $rules = array_merge($rules, [
393
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
394
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
395
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
396
-		    ]);
386
+    /**
387
+     * @inheritdoc
388
+     */
389
+    public function defineRules(): array
390
+    {
391
+        $rules = parent::defineRules();
392
+            $rules = array_merge($rules, [
393
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
394
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
395
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
396
+            ]);
397 397
 
398
-		    return $rules;
399
-	}
398
+            return $rules;
399
+    }
400 400
 }
Please login to merge, or discard this patch.
src/models/jsonld/FailedActionStatus.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -24,127 +24,127 @@
 block discarded – undo
24 24
  */
25 25
 class FailedActionStatus extends MetaJsonLd implements FailedActionStatusInterface, ActionStatusTypeInterface, StatusEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use FailedActionStatusTrait;
28
-	use ActionStatusTypeTrait;
29
-	use StatusEnumerationTrait;
30
-	use EnumerationTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'FailedActionStatus';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/FailedActionStatus';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'ActionStatusType';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'An action that failed to complete. The action\'s error property and the HTTP return code contain more information about the failure.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'additionalType' => ['URL'],
79
-		    'alternateName' => ['Text'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'name' => ['Text'],
86
-		    'potentialAction' => ['Action'],
87
-		    'sameAs' => ['URL'],
88
-		    'subjectOf' => ['Event', 'CreativeWork'],
89
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
-		    'name' => 'The name of the item.',
109
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
-		    'url' => 'URL of the item.'
114
-		];
115
-	}
116
-
117
-
118
-	/**
119
-	 * @inheritdoc
120
-	 */
121
-	public function getGoogleRequiredSchema(): array
122
-	{
123
-		return ['description', 'name'];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRecommendedSchema(): array
131
-	{
132
-		return ['image', 'url'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function defineRules(): array
140
-	{
141
-		$rules = parent::defineRules();
142
-		    $rules = array_merge($rules, [
143
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
-		    ]);
147
-
148
-		    return $rules;
149
-	}
27
+    use FailedActionStatusTrait;
28
+    use ActionStatusTypeTrait;
29
+    use StatusEnumerationTrait;
30
+    use EnumerationTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'FailedActionStatus';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/FailedActionStatus';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'ActionStatusType';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'An action that failed to complete. The action\'s error property and the HTTP return code contain more information about the failure.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'additionalType' => ['URL'],
79
+            'alternateName' => ['Text'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'name' => ['Text'],
86
+            'potentialAction' => ['Action'],
87
+            'sameAs' => ['URL'],
88
+            'subjectOf' => ['Event', 'CreativeWork'],
89
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
+            'name' => 'The name of the item.',
109
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
+            'url' => 'URL of the item.'
114
+        ];
115
+    }
116
+
117
+
118
+    /**
119
+     * @inheritdoc
120
+     */
121
+    public function getGoogleRequiredSchema(): array
122
+    {
123
+        return ['description', 'name'];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRecommendedSchema(): array
131
+    {
132
+        return ['image', 'url'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function defineRules(): array
140
+    {
141
+        $rules = parent::defineRules();
142
+            $rules = array_merge($rules, [
143
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
+            ]);
147
+
148
+            return $rules;
149
+    }
150 150
 }
Please login to merge, or discard this patch.
src/models/jsonld/Drawing.php 1 patch
Indentation   +325 added lines, -325 removed lines patch added patch discarded remove patch
@@ -23,346 +23,346 @@
 block discarded – undo
23 23
  */
24 24
 class Drawing extends MetaJsonLd implements DrawingInterface, CreativeWorkInterface, ThingInterface
25 25
 {
26
-	use DrawingTrait;
27
-	use CreativeWorkTrait;
28
-	use ThingTrait;
26
+    use DrawingTrait;
27
+    use CreativeWorkTrait;
28
+    use ThingTrait;
29 29
 
30
-	/**
31
-	 * The Schema.org Type Name
32
-	 *
33
-	 * @var string
34
-	 */
35
-	public static $schemaTypeName = 'Drawing';
30
+    /**
31
+     * The Schema.org Type Name
32
+     *
33
+     * @var string
34
+     */
35
+    public static $schemaTypeName = 'Drawing';
36 36
 
37
-	/**
38
-	 * The Schema.org Type Scope
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeScope = 'https://schema.org/Drawing';
37
+    /**
38
+     * The Schema.org Type Scope
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeScope = 'https://schema.org/Drawing';
43 43
 
44
-	/**
45
-	 * The Schema.org Type Extends
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeExtends = 'CreativeWork';
44
+    /**
45
+     * The Schema.org Type Extends
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeExtends = 'CreativeWork';
50 50
 
51
-	/**
52
-	 * The Schema.org Type Description
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeDescription = 'A picture or diagram made with a pencil, pen, or crayon rather than paint.';
51
+    /**
52
+     * The Schema.org Type Description
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeDescription = 'A picture or diagram made with a pencil, pen, or crayon rather than paint.';
57 57
 
58 58
 
59
-	/**
60
-	 * @inheritdoc
61
-	 */
62
-	public function getSchemaPropertyNames(): array
63
-	{
64
-		return array_keys($this->getSchemaPropertyExpectedTypes());
65
-	}
59
+    /**
60
+     * @inheritdoc
61
+     */
62
+    public function getSchemaPropertyNames(): array
63
+    {
64
+        return array_keys($this->getSchemaPropertyExpectedTypes());
65
+    }
66 66
 
67 67
 
68
-	/**
69
-	 * @inheritdoc
70
-	 */
71
-	public function getSchemaPropertyExpectedTypes(): array
72
-	{
73
-		return [
74
-		    'about' => ['Thing'],
75
-		    'abstract' => ['Text'],
76
-		    'accessMode' => ['Text'],
77
-		    'accessModeSufficient' => ['ItemList'],
78
-		    'accessibilityAPI' => ['Text'],
79
-		    'accessibilityControl' => ['Text'],
80
-		    'accessibilityFeature' => ['Text'],
81
-		    'accessibilityHazard' => ['Text'],
82
-		    'accessibilitySummary' => ['Text'],
83
-		    'accountablePerson' => ['Person'],
84
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
85
-		    'additionalType' => ['URL'],
86
-		    'aggregateRating' => ['AggregateRating'],
87
-		    'alternateName' => ['Text'],
88
-		    'alternativeHeadline' => ['Text'],
89
-		    'archivedAt' => ['WebPage', 'URL'],
90
-		    'assesses' => ['DefinedTerm', 'Text'],
91
-		    'associatedMedia' => ['MediaObject'],
92
-		    'audience' => ['Audience'],
93
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
94
-		    'author' => ['Organization', 'Person'],
95
-		    'award' => ['Text'],
96
-		    'awards' => ['Text'],
97
-		    'character' => ['Person'],
98
-		    'citation' => ['CreativeWork', 'Text'],
99
-		    'comment' => ['Comment'],
100
-		    'commentCount' => ['Integer'],
101
-		    'conditionsOfAccess' => ['Text'],
102
-		    'contentLocation' => ['Place'],
103
-		    'contentRating' => ['Text', 'Rating'],
104
-		    'contentReferenceTime' => ['DateTime'],
105
-		    'contributor' => ['Organization', 'Person'],
106
-		    'copyrightHolder' => ['Organization', 'Person'],
107
-		    'copyrightNotice' => ['Text'],
108
-		    'copyrightYear' => ['Number'],
109
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
110
-		    'countryOfOrigin' => ['Country'],
111
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
112
-		    'creator' => ['Person', 'Organization'],
113
-		    'creditText' => ['Text'],
114
-		    'dateCreated' => ['DateTime', 'Date'],
115
-		    'dateModified' => ['DateTime', 'Date'],
116
-		    'datePublished' => ['DateTime', 'Date'],
117
-		    'description' => ['Text'],
118
-		    'disambiguatingDescription' => ['Text'],
119
-		    'discussionUrl' => ['URL'],
120
-		    'editEIDR' => ['URL', 'Text'],
121
-		    'editor' => ['Person'],
122
-		    'educationalAlignment' => ['AlignmentObject'],
123
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
124
-		    'educationalUse' => ['DefinedTerm', 'Text'],
125
-		    'encoding' => ['MediaObject'],
126
-		    'encodingFormat' => ['URL', 'Text'],
127
-		    'encodings' => ['MediaObject'],
128
-		    'exampleOfWork' => ['CreativeWork'],
129
-		    'expires' => ['Date', 'DateTime'],
130
-		    'fileFormat' => ['Text', 'URL'],
131
-		    'funder' => ['Organization', 'Person'],
132
-		    'funding' => ['Grant'],
133
-		    'genre' => ['Text', 'URL'],
134
-		    'hasPart' => ['CreativeWork'],
135
-		    'headline' => ['Text'],
136
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
137
-		    'image' => ['URL', 'ImageObject'],
138
-		    'inLanguage' => ['Text', 'Language'],
139
-		    'interactionStatistic' => ['InteractionCounter'],
140
-		    'interactivityType' => ['Text'],
141
-		    'interpretedAsClaim' => ['Claim'],
142
-		    'isAccessibleForFree' => ['Boolean'],
143
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
144
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
145
-		    'isFamilyFriendly' => ['Boolean'],
146
-		    'isPartOf' => ['URL', 'CreativeWork'],
147
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
148
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
149
-		    'license' => ['URL', 'CreativeWork'],
150
-		    'locationCreated' => ['Place'],
151
-		    'mainEntity' => ['Thing'],
152
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
153
-		    'maintainer' => ['Person', 'Organization'],
154
-		    'material' => ['Product', 'URL', 'Text'],
155
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
156
-		    'mentions' => ['Thing'],
157
-		    'name' => ['Text'],
158
-		    'offers' => ['Demand', 'Offer'],
159
-		    'pattern' => ['DefinedTerm', 'Text'],
160
-		    'position' => ['Text', 'Integer'],
161
-		    'potentialAction' => ['Action'],
162
-		    'producer' => ['Organization', 'Person'],
163
-		    'provider' => ['Organization', 'Person'],
164
-		    'publication' => ['PublicationEvent'],
165
-		    'publisher' => ['Organization', 'Person'],
166
-		    'publisherImprint' => ['Organization'],
167
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
168
-		    'recordedAt' => ['Event'],
169
-		    'releasedEvent' => ['PublicationEvent'],
170
-		    'review' => ['Review'],
171
-		    'reviews' => ['Review'],
172
-		    'sameAs' => ['URL'],
173
-		    'schemaVersion' => ['URL', 'Text'],
174
-		    'sdDatePublished' => ['Date'],
175
-		    'sdLicense' => ['CreativeWork', 'URL'],
176
-		    'sdPublisher' => ['Organization', 'Person'],
177
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
178
-		    'sourceOrganization' => ['Organization'],
179
-		    'spatial' => ['Place'],
180
-		    'spatialCoverage' => ['Place'],
181
-		    'sponsor' => ['Organization', 'Person'],
182
-		    'subjectOf' => ['Event', 'CreativeWork'],
183
-		    'teaches' => ['DefinedTerm', 'Text'],
184
-		    'temporal' => ['DateTime', 'Text'],
185
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
186
-		    'text' => ['Text'],
187
-		    'thumbnailUrl' => ['URL'],
188
-		    'timeRequired' => ['Duration'],
189
-		    'translationOfWork' => ['CreativeWork'],
190
-		    'translator' => ['Organization', 'Person'],
191
-		    'typicalAgeRange' => ['Text'],
192
-		    'url' => ['URL'],
193
-		    'usageInfo' => ['URL', 'CreativeWork'],
194
-		    'version' => ['Number', 'Text'],
195
-		    'video' => ['VideoObject', 'Clip'],
196
-		    'workExample' => ['CreativeWork'],
197
-		    'workTranslation' => ['CreativeWork']
198
-		];
199
-	}
68
+    /**
69
+     * @inheritdoc
70
+     */
71
+    public function getSchemaPropertyExpectedTypes(): array
72
+    {
73
+        return [
74
+            'about' => ['Thing'],
75
+            'abstract' => ['Text'],
76
+            'accessMode' => ['Text'],
77
+            'accessModeSufficient' => ['ItemList'],
78
+            'accessibilityAPI' => ['Text'],
79
+            'accessibilityControl' => ['Text'],
80
+            'accessibilityFeature' => ['Text'],
81
+            'accessibilityHazard' => ['Text'],
82
+            'accessibilitySummary' => ['Text'],
83
+            'accountablePerson' => ['Person'],
84
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
85
+            'additionalType' => ['URL'],
86
+            'aggregateRating' => ['AggregateRating'],
87
+            'alternateName' => ['Text'],
88
+            'alternativeHeadline' => ['Text'],
89
+            'archivedAt' => ['WebPage', 'URL'],
90
+            'assesses' => ['DefinedTerm', 'Text'],
91
+            'associatedMedia' => ['MediaObject'],
92
+            'audience' => ['Audience'],
93
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
94
+            'author' => ['Organization', 'Person'],
95
+            'award' => ['Text'],
96
+            'awards' => ['Text'],
97
+            'character' => ['Person'],
98
+            'citation' => ['CreativeWork', 'Text'],
99
+            'comment' => ['Comment'],
100
+            'commentCount' => ['Integer'],
101
+            'conditionsOfAccess' => ['Text'],
102
+            'contentLocation' => ['Place'],
103
+            'contentRating' => ['Text', 'Rating'],
104
+            'contentReferenceTime' => ['DateTime'],
105
+            'contributor' => ['Organization', 'Person'],
106
+            'copyrightHolder' => ['Organization', 'Person'],
107
+            'copyrightNotice' => ['Text'],
108
+            'copyrightYear' => ['Number'],
109
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
110
+            'countryOfOrigin' => ['Country'],
111
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
112
+            'creator' => ['Person', 'Organization'],
113
+            'creditText' => ['Text'],
114
+            'dateCreated' => ['DateTime', 'Date'],
115
+            'dateModified' => ['DateTime', 'Date'],
116
+            'datePublished' => ['DateTime', 'Date'],
117
+            'description' => ['Text'],
118
+            'disambiguatingDescription' => ['Text'],
119
+            'discussionUrl' => ['URL'],
120
+            'editEIDR' => ['URL', 'Text'],
121
+            'editor' => ['Person'],
122
+            'educationalAlignment' => ['AlignmentObject'],
123
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
124
+            'educationalUse' => ['DefinedTerm', 'Text'],
125
+            'encoding' => ['MediaObject'],
126
+            'encodingFormat' => ['URL', 'Text'],
127
+            'encodings' => ['MediaObject'],
128
+            'exampleOfWork' => ['CreativeWork'],
129
+            'expires' => ['Date', 'DateTime'],
130
+            'fileFormat' => ['Text', 'URL'],
131
+            'funder' => ['Organization', 'Person'],
132
+            'funding' => ['Grant'],
133
+            'genre' => ['Text', 'URL'],
134
+            'hasPart' => ['CreativeWork'],
135
+            'headline' => ['Text'],
136
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
137
+            'image' => ['URL', 'ImageObject'],
138
+            'inLanguage' => ['Text', 'Language'],
139
+            'interactionStatistic' => ['InteractionCounter'],
140
+            'interactivityType' => ['Text'],
141
+            'interpretedAsClaim' => ['Claim'],
142
+            'isAccessibleForFree' => ['Boolean'],
143
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
144
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
145
+            'isFamilyFriendly' => ['Boolean'],
146
+            'isPartOf' => ['URL', 'CreativeWork'],
147
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
148
+            'learningResourceType' => ['DefinedTerm', 'Text'],
149
+            'license' => ['URL', 'CreativeWork'],
150
+            'locationCreated' => ['Place'],
151
+            'mainEntity' => ['Thing'],
152
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
153
+            'maintainer' => ['Person', 'Organization'],
154
+            'material' => ['Product', 'URL', 'Text'],
155
+            'materialExtent' => ['QuantitativeValue', 'Text'],
156
+            'mentions' => ['Thing'],
157
+            'name' => ['Text'],
158
+            'offers' => ['Demand', 'Offer'],
159
+            'pattern' => ['DefinedTerm', 'Text'],
160
+            'position' => ['Text', 'Integer'],
161
+            'potentialAction' => ['Action'],
162
+            'producer' => ['Organization', 'Person'],
163
+            'provider' => ['Organization', 'Person'],
164
+            'publication' => ['PublicationEvent'],
165
+            'publisher' => ['Organization', 'Person'],
166
+            'publisherImprint' => ['Organization'],
167
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
168
+            'recordedAt' => ['Event'],
169
+            'releasedEvent' => ['PublicationEvent'],
170
+            'review' => ['Review'],
171
+            'reviews' => ['Review'],
172
+            'sameAs' => ['URL'],
173
+            'schemaVersion' => ['URL', 'Text'],
174
+            'sdDatePublished' => ['Date'],
175
+            'sdLicense' => ['CreativeWork', 'URL'],
176
+            'sdPublisher' => ['Organization', 'Person'],
177
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
178
+            'sourceOrganization' => ['Organization'],
179
+            'spatial' => ['Place'],
180
+            'spatialCoverage' => ['Place'],
181
+            'sponsor' => ['Organization', 'Person'],
182
+            'subjectOf' => ['Event', 'CreativeWork'],
183
+            'teaches' => ['DefinedTerm', 'Text'],
184
+            'temporal' => ['DateTime', 'Text'],
185
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
186
+            'text' => ['Text'],
187
+            'thumbnailUrl' => ['URL'],
188
+            'timeRequired' => ['Duration'],
189
+            'translationOfWork' => ['CreativeWork'],
190
+            'translator' => ['Organization', 'Person'],
191
+            'typicalAgeRange' => ['Text'],
192
+            'url' => ['URL'],
193
+            'usageInfo' => ['URL', 'CreativeWork'],
194
+            'version' => ['Number', 'Text'],
195
+            'video' => ['VideoObject', 'Clip'],
196
+            'workExample' => ['CreativeWork'],
197
+            'workTranslation' => ['CreativeWork']
198
+        ];
199
+    }
200 200
 
201 201
 
202
-	/**
203
-	 * @inheritdoc
204
-	 */
205
-	public function getSchemaPropertyDescriptions(): array
206
-	{
207
-		return [
208
-		    'about' => 'The subject matter of the content.',
209
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
210
-		    '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).',
211
-		    '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).',
212
-		    '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).',
213
-		    '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).',
214
-		    '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).',
215
-		    '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).',
216
-		    '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."',
217
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
218
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
219
-		    '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.',
220
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
221
-		    'alternateName' => 'An alias for the item.',
222
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
223
-		    '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.',
224
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
225
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
226
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
227
-		    'audio' => 'An embedded audio object.',
228
-		    '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.',
229
-		    'award' => 'An award won by or for this item.',
230
-		    'awards' => 'Awards won by or for this item.',
231
-		    'character' => 'Fictional person connected with a creative work.',
232
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
233
-		    'comment' => 'Comments, typically from users.',
234
-		    '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.',
235
-		    '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 ". ',
236
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
237
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
238
-		    '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.',
239
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
240
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
241
-		    '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.',
242
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
243
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
244
-		    '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.',
245
-		    '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.',
246
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
247
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
248
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
249
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
250
-		    'datePublished' => 'Date of first broadcast/publication.',
251
-		    'description' => 'A description of the item.',
252
-		    '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.',
253
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
254
-		    '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. ',
255
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
256
-		    '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.',
257
-		    '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.',
258
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
259
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
260
-		    '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.',
261
-		    'encodings' => 'A media object that encodes this CreativeWork.',
262
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
263
-		    '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.',
264
-		    '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.',
265
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
266
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
267
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
268
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
269
-		    'headline' => 'Headline of the article.',
270
-		    '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.         ',
271
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
272
-		    '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]].',
273
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
274
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
275
-		    '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]].',
276
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
277
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
278
-		    '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.',
279
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
280
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
281
-		    '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.',
282
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
283
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
284
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
285
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
286
-		    '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.',
287
-		    '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.       ',
288
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
289
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
290
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
291
-		    'name' => 'The name of the item.',
292
-		    '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.       ',
293
-		    '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.',
294
-		    'position' => 'The position of an item in a series or sequence of items.',
295
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
296
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
297
-		    '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.',
298
-		    'publication' => 'A publication event associated with the item.',
299
-		    'publisher' => 'The publisher of the creative work.',
300
-		    'publisherImprint' => 'The publishing division which published the comic.',
301
-		    '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. ',
302
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
303
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
304
-		    'review' => 'A review of the item.',
305
-		    'reviews' => 'Review of the item.',
306
-		    '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.',
307
-		    '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.',
308
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
309
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
310
-		    '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.',
311
-		    '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. ',
312
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
313
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
314
-		    '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.',
315
-		    'sponsor' => 'A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.',
316
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
317
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
318
-		    '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.',
319
-		    '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.',
320
-		    'text' => 'The textual content of this CreativeWork.',
321
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
322
-		    '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\'.',
323
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
324
-		    '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.',
325
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
326
-		    'url' => 'URL of the item.',
327
-		    '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.',
328
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
329
-		    'video' => 'An embedded video object.',
330
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
331
-		    '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.'
332
-		];
333
-	}
202
+    /**
203
+     * @inheritdoc
204
+     */
205
+    public function getSchemaPropertyDescriptions(): array
206
+    {
207
+        return [
208
+            'about' => 'The subject matter of the content.',
209
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
210
+            '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).',
211
+            '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).',
212
+            '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).',
213
+            '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).',
214
+            '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).',
215
+            '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).',
216
+            '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."',
217
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
218
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
219
+            '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.',
220
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
221
+            'alternateName' => 'An alias for the item.',
222
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
223
+            '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.',
224
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
225
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
226
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
227
+            'audio' => 'An embedded audio object.',
228
+            '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.',
229
+            'award' => 'An award won by or for this item.',
230
+            'awards' => 'Awards won by or for this item.',
231
+            'character' => 'Fictional person connected with a creative work.',
232
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
233
+            'comment' => 'Comments, typically from users.',
234
+            '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.',
235
+            '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 ". ',
236
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
237
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
238
+            '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.',
239
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
240
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
241
+            '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.',
242
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
243
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
244
+            '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.',
245
+            '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.',
246
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
247
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
248
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
249
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
250
+            'datePublished' => 'Date of first broadcast/publication.',
251
+            'description' => 'A description of the item.',
252
+            '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.',
253
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
254
+            '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. ',
255
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
256
+            '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.',
257
+            '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.',
258
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
259
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
260
+            '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.',
261
+            'encodings' => 'A media object that encodes this CreativeWork.',
262
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
263
+            '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.',
264
+            '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.',
265
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
266
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
267
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
268
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
269
+            'headline' => 'Headline of the article.',
270
+            '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.         ',
271
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
272
+            '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]].',
273
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
274
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
275
+            '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]].',
276
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
277
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
278
+            '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.',
279
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
280
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
281
+            '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.',
282
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
283
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
284
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
285
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
286
+            '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.',
287
+            '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.       ',
288
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
289
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
290
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
291
+            'name' => 'The name of the item.',
292
+            '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.       ',
293
+            '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.',
294
+            'position' => 'The position of an item in a series or sequence of items.',
295
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
296
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
297
+            '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.',
298
+            'publication' => 'A publication event associated with the item.',
299
+            'publisher' => 'The publisher of the creative work.',
300
+            'publisherImprint' => 'The publishing division which published the comic.',
301
+            '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. ',
302
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
303
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
304
+            'review' => 'A review of the item.',
305
+            'reviews' => 'Review of the item.',
306
+            '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.',
307
+            '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.',
308
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
309
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
310
+            '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.',
311
+            '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. ',
312
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
313
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
314
+            '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.',
315
+            'sponsor' => 'A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.',
316
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
317
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
318
+            '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.',
319
+            '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.',
320
+            'text' => 'The textual content of this CreativeWork.',
321
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
322
+            '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\'.',
323
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
324
+            '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.',
325
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
326
+            'url' => 'URL of the item.',
327
+            '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.',
328
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
329
+            'video' => 'An embedded video object.',
330
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
331
+            '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.'
332
+        ];
333
+    }
334 334
 
335 335
 
336
-	/**
337
-	 * @inheritdoc
338
-	 */
339
-	public function getGoogleRequiredSchema(): array
340
-	{
341
-		return ['description', 'name'];
342
-	}
336
+    /**
337
+     * @inheritdoc
338
+     */
339
+    public function getGoogleRequiredSchema(): array
340
+    {
341
+        return ['description', 'name'];
342
+    }
343 343
 
344 344
 
345
-	/**
346
-	 * @inheritdoc
347
-	 */
348
-	public function getGoogleRecommendedSchema(): array
349
-	{
350
-		return ['image', 'url'];
351
-	}
345
+    /**
346
+     * @inheritdoc
347
+     */
348
+    public function getGoogleRecommendedSchema(): array
349
+    {
350
+        return ['image', 'url'];
351
+    }
352 352
 
353 353
 
354
-	/**
355
-	 * @inheritdoc
356
-	 */
357
-	public function defineRules(): array
358
-	{
359
-		$rules = parent::defineRules();
360
-		    $rules = array_merge($rules, [
361
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
362
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
363
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
364
-		    ]);
354
+    /**
355
+     * @inheritdoc
356
+     */
357
+    public function defineRules(): array
358
+    {
359
+        $rules = parent::defineRules();
360
+            $rules = array_merge($rules, [
361
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
362
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
363
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
364
+            ]);
365 365
 
366
-		    return $rules;
367
-	}
366
+            return $rules;
367
+    }
368 368
 }
Please login to merge, or discard this patch.
src/models/jsonld/ParkingFacility.php 1 patch
Indentation   +211 added lines, -211 removed lines patch added patch discarded remove patch
@@ -23,215 +23,215 @@
 block discarded – undo
23 23
  */
24 24
 class ParkingFacility extends MetaJsonLd implements ParkingFacilityInterface, CivicStructureInterface, PlaceInterface, ThingInterface
25 25
 {
26
-	use ParkingFacilityTrait;
27
-	use CivicStructureTrait;
28
-	use PlaceTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'ParkingFacility';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/ParkingFacility';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'CivicStructure';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A parking lot or other parking facility.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'additionalProperty' => ['PropertyValue'],
76
-		    'additionalType' => ['URL'],
77
-		    'address' => ['Text', 'PostalAddress'],
78
-		    'aggregateRating' => ['AggregateRating'],
79
-		    'alternateName' => ['Text'],
80
-		    'amenityFeature' => ['LocationFeatureSpecification'],
81
-		    'branchCode' => ['Text'],
82
-		    'containedIn' => ['Place'],
83
-		    'containedInPlace' => ['Place'],
84
-		    'containsPlace' => ['Place'],
85
-		    'description' => ['Text'],
86
-		    'disambiguatingDescription' => ['Text'],
87
-		    'event' => ['Event'],
88
-		    'events' => ['Event'],
89
-		    'faxNumber' => ['Text'],
90
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
91
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
92
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
93
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
94
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
95
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
96
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
97
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
98
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
99
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
100
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
101
-		    'globalLocationNumber' => ['Text'],
102
-		    'hasDriveThroughService' => ['Boolean'],
103
-		    'hasMap' => ['URL', 'Map'],
104
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
105
-		    'image' => ['URL', 'ImageObject'],
106
-		    'isAccessibleForFree' => ['Boolean'],
107
-		    'isicV4' => ['Text'],
108
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
109
-		    'latitude' => ['Number', 'Text'],
110
-		    'logo' => ['ImageObject', 'URL'],
111
-		    'longitude' => ['Text', 'Number'],
112
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
113
-		    'map' => ['URL'],
114
-		    'maps' => ['URL'],
115
-		    'maximumAttendeeCapacity' => ['Integer'],
116
-		    'name' => ['Text'],
117
-		    'openingHours' => ['Text'],
118
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
119
-		    'photo' => ['Photograph', 'ImageObject'],
120
-		    'photos' => ['ImageObject', 'Photograph'],
121
-		    'potentialAction' => ['Action'],
122
-		    'publicAccess' => ['Boolean'],
123
-		    'review' => ['Review'],
124
-		    'reviews' => ['Review'],
125
-		    'sameAs' => ['URL'],
126
-		    'slogan' => ['Text'],
127
-		    'smokingAllowed' => ['Boolean'],
128
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
129
-		    'subjectOf' => ['Event', 'CreativeWork'],
130
-		    'telephone' => ['Text'],
131
-		    'tourBookingPage' => ['URL'],
132
-		    'url' => ['URL']
133
-		];
134
-	}
135
-
136
-
137
-	/**
138
-	 * @inheritdoc
139
-	 */
140
-	public function getSchemaPropertyDescriptions(): array
141
-	{
142
-		return [
143
-		    'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
144
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
145
-		    'address' => 'Physical address of the item.',
146
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
147
-		    'alternateName' => 'An alias for the item.',
148
-		    'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
149
-		    'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
150
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
151
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
152
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
153
-		    'description' => 'A description of the item.',
154
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
155
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
156
-		    'events' => 'Upcoming or past events associated with this place or organization.',
157
-		    'faxNumber' => 'The fax number.',
158
-		    'geo' => 'The geo coordinates of the place.',
159
-		    'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
160
-		    'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
161
-		    'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
162
-		    'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
163
-		    'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
164
-		    'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
165
-		    'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
166
-		    'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
167
-		    'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
168
-		    'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
169
-		    'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
170
-		    'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
171
-		    'hasMap' => 'A URL to a map of the place.',
172
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
173
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
174
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
175
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
176
-		    'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
177
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
178
-		    'logo' => 'An associated logo.',
179
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
180
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
181
-		    'map' => 'A URL to a map of the place.',
182
-		    'maps' => 'A URL to a map of the place.',
183
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
184
-		    'name' => 'The name of the item.',
185
-		    'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
186
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
187
-		    'photo' => 'A photograph of this place.',
188
-		    'photos' => 'Photographs of this place.',
189
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
190
-		    'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
191
-		    'review' => 'A review of the item.',
192
-		    'reviews' => 'Review of the item.',
193
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
194
-		    'slogan' => 'A slogan or motto associated with the item.',
195
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
196
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
197
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
198
-		    'telephone' => 'The telephone number.',
199
-		    'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
200
-		    'url' => 'URL of the item.'
201
-		];
202
-	}
203
-
204
-
205
-	/**
206
-	 * @inheritdoc
207
-	 */
208
-	public function getGoogleRequiredSchema(): array
209
-	{
210
-		return ['description', 'name'];
211
-	}
212
-
213
-
214
-	/**
215
-	 * @inheritdoc
216
-	 */
217
-	public function getGoogleRecommendedSchema(): array
218
-	{
219
-		return ['image', 'url'];
220
-	}
221
-
222
-
223
-	/**
224
-	 * @inheritdoc
225
-	 */
226
-	public function defineRules(): array
227
-	{
228
-		$rules = parent::defineRules();
229
-		    $rules = array_merge($rules, [
230
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
231
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
232
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
233
-		    ]);
234
-
235
-		    return $rules;
236
-	}
26
+    use ParkingFacilityTrait;
27
+    use CivicStructureTrait;
28
+    use PlaceTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'ParkingFacility';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/ParkingFacility';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'CivicStructure';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A parking lot or other parking facility.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'additionalProperty' => ['PropertyValue'],
76
+            'additionalType' => ['URL'],
77
+            'address' => ['Text', 'PostalAddress'],
78
+            'aggregateRating' => ['AggregateRating'],
79
+            'alternateName' => ['Text'],
80
+            'amenityFeature' => ['LocationFeatureSpecification'],
81
+            'branchCode' => ['Text'],
82
+            'containedIn' => ['Place'],
83
+            'containedInPlace' => ['Place'],
84
+            'containsPlace' => ['Place'],
85
+            'description' => ['Text'],
86
+            'disambiguatingDescription' => ['Text'],
87
+            'event' => ['Event'],
88
+            'events' => ['Event'],
89
+            'faxNumber' => ['Text'],
90
+            'geo' => ['GeoCoordinates', 'GeoShape'],
91
+            'geoContains' => ['Place', 'GeospatialGeometry'],
92
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
93
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
94
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
95
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
96
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
97
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
98
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
99
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
100
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
101
+            'globalLocationNumber' => ['Text'],
102
+            'hasDriveThroughService' => ['Boolean'],
103
+            'hasMap' => ['URL', 'Map'],
104
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
105
+            'image' => ['URL', 'ImageObject'],
106
+            'isAccessibleForFree' => ['Boolean'],
107
+            'isicV4' => ['Text'],
108
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
109
+            'latitude' => ['Number', 'Text'],
110
+            'logo' => ['ImageObject', 'URL'],
111
+            'longitude' => ['Text', 'Number'],
112
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
113
+            'map' => ['URL'],
114
+            'maps' => ['URL'],
115
+            'maximumAttendeeCapacity' => ['Integer'],
116
+            'name' => ['Text'],
117
+            'openingHours' => ['Text'],
118
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
119
+            'photo' => ['Photograph', 'ImageObject'],
120
+            'photos' => ['ImageObject', 'Photograph'],
121
+            'potentialAction' => ['Action'],
122
+            'publicAccess' => ['Boolean'],
123
+            'review' => ['Review'],
124
+            'reviews' => ['Review'],
125
+            'sameAs' => ['URL'],
126
+            'slogan' => ['Text'],
127
+            'smokingAllowed' => ['Boolean'],
128
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
129
+            'subjectOf' => ['Event', 'CreativeWork'],
130
+            'telephone' => ['Text'],
131
+            'tourBookingPage' => ['URL'],
132
+            'url' => ['URL']
133
+        ];
134
+    }
135
+
136
+
137
+    /**
138
+     * @inheritdoc
139
+     */
140
+    public function getSchemaPropertyDescriptions(): array
141
+    {
142
+        return [
143
+            'additionalProperty' => 'A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.  Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. ',
144
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
145
+            'address' => 'Physical address of the item.',
146
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
147
+            'alternateName' => 'An alias for the item.',
148
+            'amenityFeature' => 'An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.',
149
+            'branchCode' => 'A short textual code (also called "store code") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.  For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.       ',
150
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
151
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
152
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
153
+            'description' => 'A description of the item.',
154
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
155
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
156
+            'events' => 'Upcoming or past events associated with this place or organization.',
157
+            'faxNumber' => 'The fax number.',
158
+            'geo' => 'The geo coordinates of the place.',
159
+            'geoContains' => 'Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. "a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
160
+            'geoCoveredBy' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
161
+            'geoCovers' => 'Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. "Every point of b is a point of (the interior or boundary of) a". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
162
+            'geoCrosses' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: "a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
163
+            'geoDisjoint' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: "they have no point in common. They form a set of disconnected geometries." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
164
+            'geoEquals' => 'Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other" (a symmetric relationship).',
165
+            'geoIntersects' => 'Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
166
+            'geoOverlaps' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
167
+            'geoTouches' => 'Represents spatial relations in which two geometries (or the places they represent) touch: "they have at least one boundary point in common, but no interior points." (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)',
168
+            'geoWithin' => 'Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).',
169
+            'globalLocationNumber' => 'The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.',
170
+            'hasDriveThroughService' => 'Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users.',
171
+            'hasMap' => 'A URL to a map of the place.',
172
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
173
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
174
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
175
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
176
+            'keywords' => 'Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.',
177
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
178
+            'logo' => 'An associated logo.',
179
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
180
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
181
+            'map' => 'A URL to a map of the place.',
182
+            'maps' => 'A URL to a map of the place.',
183
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
184
+            'name' => 'The name of the item.',
185
+            'openingHours' => 'The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas \',\' separating each day. Day or time ranges are specified using a hyphen \'-\'.  * Days are specified using the following two-letter combinations: ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. * Times are specified using 24:00 format. For example, 3pm is specified as ```15:00```, 10am as ```10:00```.  * Here is an example: <code><time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time></code>. * If a business is open 7 days a week, then it can be specified as <code><time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time></code>.',
186
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
187
+            'photo' => 'A photograph of this place.',
188
+            'photos' => 'Photographs of this place.',
189
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
190
+            'publicAccess' => 'A flag to signal that the [[Place]] is open to public visitors.  If this property is omitted there is no assumed default boolean value',
191
+            'review' => 'A review of the item.',
192
+            'reviews' => 'Review of the item.',
193
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
194
+            'slogan' => 'A slogan or motto associated with the item.',
195
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
196
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
197
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
198
+            'telephone' => 'The telephone number.',
199
+            'tourBookingPage' => 'A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.',
200
+            'url' => 'URL of the item.'
201
+        ];
202
+    }
203
+
204
+
205
+    /**
206
+     * @inheritdoc
207
+     */
208
+    public function getGoogleRequiredSchema(): array
209
+    {
210
+        return ['description', 'name'];
211
+    }
212
+
213
+
214
+    /**
215
+     * @inheritdoc
216
+     */
217
+    public function getGoogleRecommendedSchema(): array
218
+    {
219
+        return ['image', 'url'];
220
+    }
221
+
222
+
223
+    /**
224
+     * @inheritdoc
225
+     */
226
+    public function defineRules(): array
227
+    {
228
+        $rules = parent::defineRules();
229
+            $rules = array_merge($rules, [
230
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
231
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
232
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
233
+            ]);
234
+
235
+            return $rules;
236
+    }
237 237
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501q.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -24,127 +24,127 @@
 block discarded – undo
24 24
  */
25 25
 class Nonprofit501q extends MetaJsonLd implements Nonprofit501qInterface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use Nonprofit501qTrait;
28
-	use USNonprofitTypeTrait;
29
-	use NonprofitTypeTrait;
30
-	use EnumerationTrait;
31
-	use IntangibleTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'Nonprofit501q';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501q';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'USNonprofitType';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'Nonprofit501q: Non-profit type referring to Credit Counseling Organizations.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'additionalType' => ['URL'],
79
-		    'alternateName' => ['Text'],
80
-		    'description' => ['Text'],
81
-		    'disambiguatingDescription' => ['Text'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
-		    'name' => ['Text'],
86
-		    'potentialAction' => ['Action'],
87
-		    'sameAs' => ['URL'],
88
-		    'subjectOf' => ['Event', 'CreativeWork'],
89
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'alternateName' => 'An alias for the item.',
103
-		    'description' => 'A description of the item.',
104
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
-		    'name' => 'The name of the item.',
109
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
-		    'url' => 'URL of the item.'
114
-		];
115
-	}
116
-
117
-
118
-	/**
119
-	 * @inheritdoc
120
-	 */
121
-	public function getGoogleRequiredSchema(): array
122
-	{
123
-		return ['description', 'name'];
124
-	}
125
-
126
-
127
-	/**
128
-	 * @inheritdoc
129
-	 */
130
-	public function getGoogleRecommendedSchema(): array
131
-	{
132
-		return ['image', 'url'];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function defineRules(): array
140
-	{
141
-		$rules = parent::defineRules();
142
-		    $rules = array_merge($rules, [
143
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
-		    ]);
147
-
148
-		    return $rules;
149
-	}
27
+    use Nonprofit501qTrait;
28
+    use USNonprofitTypeTrait;
29
+    use NonprofitTypeTrait;
30
+    use EnumerationTrait;
31
+    use IntangibleTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'Nonprofit501q';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501q';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'USNonprofitType';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'Nonprofit501q: Non-profit type referring to Credit Counseling Organizations.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'additionalType' => ['URL'],
79
+            'alternateName' => ['Text'],
80
+            'description' => ['Text'],
81
+            'disambiguatingDescription' => ['Text'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
85
+            'name' => ['Text'],
86
+            'potentialAction' => ['Action'],
87
+            'sameAs' => ['URL'],
88
+            'subjectOf' => ['Event', 'CreativeWork'],
89
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'alternateName' => 'An alias for the item.',
103
+            'description' => 'A description of the item.',
104
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
105
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
106
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
107
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
108
+            'name' => 'The name of the item.',
109
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
110
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
111
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
112
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
113
+            'url' => 'URL of the item.'
114
+        ];
115
+    }
116
+
117
+
118
+    /**
119
+     * @inheritdoc
120
+     */
121
+    public function getGoogleRequiredSchema(): array
122
+    {
123
+        return ['description', 'name'];
124
+    }
125
+
126
+
127
+    /**
128
+     * @inheritdoc
129
+     */
130
+    public function getGoogleRecommendedSchema(): array
131
+    {
132
+        return ['image', 'url'];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function defineRules(): array
140
+    {
141
+        $rules = parent::defineRules();
142
+            $rules = array_merge($rules, [
143
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
144
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
145
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
146
+            ]);
147
+
148
+            return $rules;
149
+    }
150 150
 }
Please login to merge, or discard this patch.
src/models/jsonld/Appearance.php 1 patch
Indentation   +153 added lines, -153 removed lines patch added patch discarded remove patch
@@ -23,157 +23,157 @@
 block discarded – undo
23 23
  */
24 24
 class Appearance extends MetaJsonLd implements AppearanceInterface, PhysicalExamInterface, MedicalProcedureInterface, MedicalEntityInterface, ThingInterface, MedicalEnumerationInterface, EnumerationInterface, IntangibleInterface
25 25
 {
26
-	use AppearanceTrait;
27
-	use PhysicalExamTrait;
28
-	use MedicalProcedureTrait;
29
-	use MedicalEntityTrait;
30
-	use ThingTrait;
31
-	use MedicalEnumerationTrait;
32
-	use EnumerationTrait;
33
-	use IntangibleTrait;
34
-
35
-	/**
36
-	 * The Schema.org Type Name
37
-	 *
38
-	 * @var string
39
-	 */
40
-	public static $schemaTypeName = 'Appearance';
41
-
42
-	/**
43
-	 * The Schema.org Type Scope
44
-	 *
45
-	 * @var string
46
-	 */
47
-	public static $schemaTypeScope = 'https://schema.org/Appearance';
48
-
49
-	/**
50
-	 * The Schema.org Type Extends
51
-	 *
52
-	 * @var string
53
-	 */
54
-	public static $schemaTypeExtends = 'PhysicalExam';
55
-
56
-	/**
57
-	 * The Schema.org Type Description
58
-	 *
59
-	 * @var string
60
-	 */
61
-	public static $schemaTypeDescription = 'Appearance assessment with clinical examination.';
62
-
63
-
64
-	/**
65
-	 * @inheritdoc
66
-	 */
67
-	public function getSchemaPropertyNames(): array
68
-	{
69
-		return array_keys($this->getSchemaPropertyExpectedTypes());
70
-	}
71
-
72
-
73
-	/**
74
-	 * @inheritdoc
75
-	 */
76
-	public function getSchemaPropertyExpectedTypes(): array
77
-	{
78
-		return [
79
-		    'additionalType' => ['URL'],
80
-		    'alternateName' => ['Text'],
81
-		    'bodyLocation' => ['Text'],
82
-		    'code' => ['MedicalCode'],
83
-		    'description' => ['Text'],
84
-		    'disambiguatingDescription' => ['Text'],
85
-		    'followup' => ['Text'],
86
-		    'funding' => ['Grant'],
87
-		    'guideline' => ['MedicalGuideline'],
88
-		    'howPerformed' => ['Text'],
89
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
90
-		    'image' => ['URL', 'ImageObject'],
91
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
92
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
93
-		    'medicineSystem' => ['MedicineSystem'],
94
-		    'name' => ['Text'],
95
-		    'potentialAction' => ['Action'],
96
-		    'preparation' => ['Text', 'MedicalEntity'],
97
-		    'procedureType' => ['MedicalProcedureType'],
98
-		    'recognizingAuthority' => ['Organization'],
99
-		    'relevantSpecialty' => ['MedicalSpecialty'],
100
-		    'sameAs' => ['URL'],
101
-		    'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
102
-		    'study' => ['MedicalStudy'],
103
-		    'subjectOf' => ['Event', 'CreativeWork'],
104
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
105
-		    'url' => ['URL']
106
-		];
107
-	}
108
-
109
-
110
-	/**
111
-	 * @inheritdoc
112
-	 */
113
-	public function getSchemaPropertyDescriptions(): array
114
-	{
115
-		return [
116
-		    '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.',
117
-		    'alternateName' => 'An alias for the item.',
118
-		    'bodyLocation' => 'Location in the body of the anatomical structure.',
119
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
120
-		    'description' => 'A description of the item.',
121
-		    '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.',
122
-		    'followup' => 'Typical or recommended followup care after the procedure is performed.',
123
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
124
-		    'guideline' => 'A medical guideline related to this entity.',
125
-		    'howPerformed' => 'How the procedure is performed.',
126
-		    '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.         ',
127
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
128
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
129
-		    '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.',
130
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
131
-		    'name' => 'The name of the item.',
132
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
133
-		    'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
134
-		    'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
135
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
136
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
137
-		    '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.',
138
-		    'status' => 'The status of the study (enumerated).',
139
-		    'study' => 'A medical study or trial related to this entity.',
140
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
141
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
142
-		    'url' => 'URL of the item.'
143
-		];
144
-	}
145
-
146
-
147
-	/**
148
-	 * @inheritdoc
149
-	 */
150
-	public function getGoogleRequiredSchema(): array
151
-	{
152
-		return ['description', 'name'];
153
-	}
154
-
155
-
156
-	/**
157
-	 * @inheritdoc
158
-	 */
159
-	public function getGoogleRecommendedSchema(): array
160
-	{
161
-		return ['image', 'url'];
162
-	}
163
-
164
-
165
-	/**
166
-	 * @inheritdoc
167
-	 */
168
-	public function defineRules(): array
169
-	{
170
-		$rules = parent::defineRules();
171
-		    $rules = array_merge($rules, [
172
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
173
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
174
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
175
-		    ]);
176
-
177
-		    return $rules;
178
-	}
26
+    use AppearanceTrait;
27
+    use PhysicalExamTrait;
28
+    use MedicalProcedureTrait;
29
+    use MedicalEntityTrait;
30
+    use ThingTrait;
31
+    use MedicalEnumerationTrait;
32
+    use EnumerationTrait;
33
+    use IntangibleTrait;
34
+
35
+    /**
36
+     * The Schema.org Type Name
37
+     *
38
+     * @var string
39
+     */
40
+    public static $schemaTypeName = 'Appearance';
41
+
42
+    /**
43
+     * The Schema.org Type Scope
44
+     *
45
+     * @var string
46
+     */
47
+    public static $schemaTypeScope = 'https://schema.org/Appearance';
48
+
49
+    /**
50
+     * The Schema.org Type Extends
51
+     *
52
+     * @var string
53
+     */
54
+    public static $schemaTypeExtends = 'PhysicalExam';
55
+
56
+    /**
57
+     * The Schema.org Type Description
58
+     *
59
+     * @var string
60
+     */
61
+    public static $schemaTypeDescription = 'Appearance assessment with clinical examination.';
62
+
63
+
64
+    /**
65
+     * @inheritdoc
66
+     */
67
+    public function getSchemaPropertyNames(): array
68
+    {
69
+        return array_keys($this->getSchemaPropertyExpectedTypes());
70
+    }
71
+
72
+
73
+    /**
74
+     * @inheritdoc
75
+     */
76
+    public function getSchemaPropertyExpectedTypes(): array
77
+    {
78
+        return [
79
+            'additionalType' => ['URL'],
80
+            'alternateName' => ['Text'],
81
+            'bodyLocation' => ['Text'],
82
+            'code' => ['MedicalCode'],
83
+            'description' => ['Text'],
84
+            'disambiguatingDescription' => ['Text'],
85
+            'followup' => ['Text'],
86
+            'funding' => ['Grant'],
87
+            'guideline' => ['MedicalGuideline'],
88
+            'howPerformed' => ['Text'],
89
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
90
+            'image' => ['URL', 'ImageObject'],
91
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
92
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
93
+            'medicineSystem' => ['MedicineSystem'],
94
+            'name' => ['Text'],
95
+            'potentialAction' => ['Action'],
96
+            'preparation' => ['Text', 'MedicalEntity'],
97
+            'procedureType' => ['MedicalProcedureType'],
98
+            'recognizingAuthority' => ['Organization'],
99
+            'relevantSpecialty' => ['MedicalSpecialty'],
100
+            'sameAs' => ['URL'],
101
+            'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
102
+            'study' => ['MedicalStudy'],
103
+            'subjectOf' => ['Event', 'CreativeWork'],
104
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
105
+            'url' => ['URL']
106
+        ];
107
+    }
108
+
109
+
110
+    /**
111
+     * @inheritdoc
112
+     */
113
+    public function getSchemaPropertyDescriptions(): array
114
+    {
115
+        return [
116
+            '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.',
117
+            'alternateName' => 'An alias for the item.',
118
+            'bodyLocation' => 'Location in the body of the anatomical structure.',
119
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
120
+            'description' => 'A description of the item.',
121
+            '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.',
122
+            'followup' => 'Typical or recommended followup care after the procedure is performed.',
123
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
124
+            'guideline' => 'A medical guideline related to this entity.',
125
+            'howPerformed' => 'How the procedure is performed.',
126
+            '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.         ',
127
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
128
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
129
+            '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.',
130
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
131
+            'name' => 'The name of the item.',
132
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
133
+            'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
134
+            'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
135
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
136
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
137
+            '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.',
138
+            'status' => 'The status of the study (enumerated).',
139
+            'study' => 'A medical study or trial related to this entity.',
140
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
141
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
142
+            'url' => 'URL of the item.'
143
+        ];
144
+    }
145
+
146
+
147
+    /**
148
+     * @inheritdoc
149
+     */
150
+    public function getGoogleRequiredSchema(): array
151
+    {
152
+        return ['description', 'name'];
153
+    }
154
+
155
+
156
+    /**
157
+     * @inheritdoc
158
+     */
159
+    public function getGoogleRecommendedSchema(): array
160
+    {
161
+        return ['image', 'url'];
162
+    }
163
+
164
+
165
+    /**
166
+     * @inheritdoc
167
+     */
168
+    public function defineRules(): array
169
+    {
170
+        $rules = parent::defineRules();
171
+            $rules = array_merge($rules, [
172
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
173
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
174
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
175
+            ]);
176
+
177
+            return $rules;
178
+    }
179 179
 }
Please login to merge, or discard this patch.
src/models/jsonld/MortgageLoan.php 1 patch
Indentation   +197 added lines, -197 removed lines patch added patch discarded remove patch
@@ -24,201 +24,201 @@
 block discarded – undo
24 24
  */
25 25
 class MortgageLoan extends MetaJsonLd implements MortgageLoanInterface, LoanOrCreditInterface, FinancialProductInterface, ServiceInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use MortgageLoanTrait;
28
-	use LoanOrCreditTrait;
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 = 'MortgageLoan';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/MortgageLoan';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'LoanOrCredit';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'A loan in which property or real estate is used as collateral. (A loan securitized against some real estate.)';
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
-		    'amount' => ['MonetaryAmount', 'Number'],
82
-		    'annualPercentageRate' => ['Number', 'QuantitativeValue'],
83
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
84
-		    'audience' => ['Audience'],
85
-		    'availableChannel' => ['ServiceChannel'],
86
-		    'award' => ['Text'],
87
-		    'brand' => ['Brand', 'Organization'],
88
-		    'broker' => ['Person', 'Organization'],
89
-		    'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
90
-		    'currency' => ['Text'],
91
-		    'description' => ['Text'],
92
-		    'disambiguatingDescription' => ['Text'],
93
-		    'domiciledMortgage' => ['Boolean'],
94
-		    'feesAndCommissionsSpecification' => ['URL', 'Text'],
95
-		    'gracePeriod' => ['Duration'],
96
-		    'hasOfferCatalog' => ['OfferCatalog'],
97
-		    'hoursAvailable' => ['OpeningHoursSpecification'],
98
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
99
-		    'image' => ['URL', 'ImageObject'],
100
-		    'interestRate' => ['Number', 'QuantitativeValue'],
101
-		    'isRelatedTo' => ['Product', 'Service'],
102
-		    'isSimilarTo' => ['Product', 'Service'],
103
-		    'loanMortgageMandateAmount' => ['MonetaryAmount'],
104
-		    'loanRepaymentForm' => ['RepaymentSpecification'],
105
-		    'loanTerm' => ['QuantitativeValue'],
106
-		    'loanType' => ['URL', 'Text'],
107
-		    'logo' => ['ImageObject', 'URL'],
108
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
109
-		    'name' => ['Text'],
110
-		    'offers' => ['Demand', 'Offer'],
111
-		    'potentialAction' => ['Action'],
112
-		    'produces' => ['Thing'],
113
-		    'provider' => ['Organization', 'Person'],
114
-		    'providerMobility' => ['Text'],
115
-		    'recourseLoan' => ['Boolean'],
116
-		    'renegotiableLoan' => ['Boolean'],
117
-		    'requiredCollateral' => ['Thing', 'Text'],
118
-		    'review' => ['Review'],
119
-		    'sameAs' => ['URL'],
120
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
121
-		    'serviceAudience' => ['Audience'],
122
-		    'serviceOutput' => ['Thing'],
123
-		    'serviceType' => ['Text', 'GovernmentBenefitsType'],
124
-		    'slogan' => ['Text'],
125
-		    'subjectOf' => ['Event', 'CreativeWork'],
126
-		    'termsOfService' => ['URL', 'Text'],
127
-		    'url' => ['URL']
128
-		];
129
-	}
130
-
131
-
132
-	/**
133
-	 * @inheritdoc
134
-	 */
135
-	public function getSchemaPropertyDescriptions(): array
136
-	{
137
-		return [
138
-		    '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.',
139
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
140
-		    'alternateName' => 'An alias for the item.',
141
-		    'amount' => 'The amount of money.',
142
-		    '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.',
143
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
144
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
145
-		    'availableChannel' => 'A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).',
146
-		    'award' => 'An award won by or for this item.',
147
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
148
-		    '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.',
149
-		    'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
150
-		    '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".',
151
-		    'description' => 'A description of the item.',
152
-		    '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.',
153
-		    'domiciledMortgage' => 'Whether borrower is a resident of the jurisdiction where the property is located.',
154
-		    'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
155
-		    'gracePeriod' => 'The period of time after any due date that the borrower has to fulfil its obligations before a default (failure to pay) is deemed to have occurred.',
156
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
157
-		    'hoursAvailable' => 'The hours during which this service or contact is available.',
158
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
159
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
160
-		    'interestRate' => 'The interest rate, charged or paid, applicable to the financial product. Note: This is different from the calculated annualPercentageRate.',
161
-		    'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
162
-		    'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
163
-		    'loanMortgageMandateAmount' => 'Amount of mortgage mandate that can be converted into a proper mortgage at a later stage.',
164
-		    'loanRepaymentForm' => 'A form of paying back money previously borrowed from a lender. Repayment usually takes the form of periodic payments that normally include part principal plus interest in each payment.',
165
-		    'loanTerm' => 'The duration of the loan or credit agreement.',
166
-		    'loanType' => 'The type of a loan or credit.',
167
-		    'logo' => 'An associated logo.',
168
-		    '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.',
169
-		    'name' => 'The name of the item.',
170
-		    '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.       ',
171
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
172
-		    'produces' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
173
-		    '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.',
174
-		    'providerMobility' => 'Indicates the mobility of a provided service (e.g. \'static\', \'dynamic\').',
175
-		    'recourseLoan' => 'The only way you get the money back in the event of default is the security. Recourse is where you still have the opportunity to go back to the borrower for the rest of the money.',
176
-		    'renegotiableLoan' => 'Whether the terms for payment of interest can be renegotiated during the life of the loan.',
177
-		    'requiredCollateral' => 'Assets required to secure loan or credit repayments. It may take form of third party pledge, goods, financial instruments (cash, securities, etc.)',
178
-		    'review' => 'A review of the item.',
179
-		    '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.',
180
-		    'serviceArea' => 'The geographic area where the service is provided.',
181
-		    'serviceAudience' => 'The audience eligible for this service.',
182
-		    'serviceOutput' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
183
-		    'serviceType' => 'The type of service being offered, e.g. veterans\' benefits, emergency relief, etc.',
184
-		    'slogan' => 'A slogan or motto associated with the item.',
185
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
186
-		    'termsOfService' => 'Human-readable terms of service documentation.',
187
-		    'url' => 'URL of the item.'
188
-		];
189
-	}
190
-
191
-
192
-	/**
193
-	 * @inheritdoc
194
-	 */
195
-	public function getGoogleRequiredSchema(): array
196
-	{
197
-		return ['description', 'name'];
198
-	}
199
-
200
-
201
-	/**
202
-	 * @inheritdoc
203
-	 */
204
-	public function getGoogleRecommendedSchema(): array
205
-	{
206
-		return ['image', 'url'];
207
-	}
208
-
209
-
210
-	/**
211
-	 * @inheritdoc
212
-	 */
213
-	public function defineRules(): array
214
-	{
215
-		$rules = parent::defineRules();
216
-		    $rules = array_merge($rules, [
217
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
218
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
219
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
220
-		    ]);
221
-
222
-		    return $rules;
223
-	}
27
+    use MortgageLoanTrait;
28
+    use LoanOrCreditTrait;
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 = 'MortgageLoan';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/MortgageLoan';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'LoanOrCredit';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'A loan in which property or real estate is used as collateral. (A loan securitized against some real estate.)';
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
+            'amount' => ['MonetaryAmount', 'Number'],
82
+            'annualPercentageRate' => ['Number', 'QuantitativeValue'],
83
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
84
+            'audience' => ['Audience'],
85
+            'availableChannel' => ['ServiceChannel'],
86
+            'award' => ['Text'],
87
+            'brand' => ['Brand', 'Organization'],
88
+            'broker' => ['Person', 'Organization'],
89
+            'category' => ['URL', 'CategoryCode', 'Text', 'Thing', 'PhysicalActivityCategory'],
90
+            'currency' => ['Text'],
91
+            'description' => ['Text'],
92
+            'disambiguatingDescription' => ['Text'],
93
+            'domiciledMortgage' => ['Boolean'],
94
+            'feesAndCommissionsSpecification' => ['URL', 'Text'],
95
+            'gracePeriod' => ['Duration'],
96
+            'hasOfferCatalog' => ['OfferCatalog'],
97
+            'hoursAvailable' => ['OpeningHoursSpecification'],
98
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
99
+            'image' => ['URL', 'ImageObject'],
100
+            'interestRate' => ['Number', 'QuantitativeValue'],
101
+            'isRelatedTo' => ['Product', 'Service'],
102
+            'isSimilarTo' => ['Product', 'Service'],
103
+            'loanMortgageMandateAmount' => ['MonetaryAmount'],
104
+            'loanRepaymentForm' => ['RepaymentSpecification'],
105
+            'loanTerm' => ['QuantitativeValue'],
106
+            'loanType' => ['URL', 'Text'],
107
+            'logo' => ['ImageObject', 'URL'],
108
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
109
+            'name' => ['Text'],
110
+            'offers' => ['Demand', 'Offer'],
111
+            'potentialAction' => ['Action'],
112
+            'produces' => ['Thing'],
113
+            'provider' => ['Organization', 'Person'],
114
+            'providerMobility' => ['Text'],
115
+            'recourseLoan' => ['Boolean'],
116
+            'renegotiableLoan' => ['Boolean'],
117
+            'requiredCollateral' => ['Thing', 'Text'],
118
+            'review' => ['Review'],
119
+            'sameAs' => ['URL'],
120
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
121
+            'serviceAudience' => ['Audience'],
122
+            'serviceOutput' => ['Thing'],
123
+            'serviceType' => ['Text', 'GovernmentBenefitsType'],
124
+            'slogan' => ['Text'],
125
+            'subjectOf' => ['Event', 'CreativeWork'],
126
+            'termsOfService' => ['URL', 'Text'],
127
+            'url' => ['URL']
128
+        ];
129
+    }
130
+
131
+
132
+    /**
133
+     * @inheritdoc
134
+     */
135
+    public function getSchemaPropertyDescriptions(): array
136
+    {
137
+        return [
138
+            '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.',
139
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
140
+            'alternateName' => 'An alias for the item.',
141
+            'amount' => 'The amount of money.',
142
+            '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.',
143
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
144
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
145
+            'availableChannel' => 'A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).',
146
+            'award' => 'An award won by or for this item.',
147
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
148
+            '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.',
149
+            'category' => 'A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.',
150
+            '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".',
151
+            'description' => 'A description of the item.',
152
+            '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.',
153
+            'domiciledMortgage' => 'Whether borrower is a resident of the jurisdiction where the property is located.',
154
+            'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
155
+            'gracePeriod' => 'The period of time after any due date that the borrower has to fulfil its obligations before a default (failure to pay) is deemed to have occurred.',
156
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
157
+            'hoursAvailable' => 'The hours during which this service or contact is available.',
158
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
159
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
160
+            'interestRate' => 'The interest rate, charged or paid, applicable to the financial product. Note: This is different from the calculated annualPercentageRate.',
161
+            'isRelatedTo' => 'A pointer to another, somehow related product (or multiple products).',
162
+            'isSimilarTo' => 'A pointer to another, functionally similar product (or multiple products).',
163
+            'loanMortgageMandateAmount' => 'Amount of mortgage mandate that can be converted into a proper mortgage at a later stage.',
164
+            'loanRepaymentForm' => 'A form of paying back money previously borrowed from a lender. Repayment usually takes the form of periodic payments that normally include part principal plus interest in each payment.',
165
+            'loanTerm' => 'The duration of the loan or credit agreement.',
166
+            'loanType' => 'The type of a loan or credit.',
167
+            'logo' => 'An associated logo.',
168
+            '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.',
169
+            'name' => 'The name of the item.',
170
+            '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.       ',
171
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
172
+            'produces' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
173
+            '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.',
174
+            'providerMobility' => 'Indicates the mobility of a provided service (e.g. \'static\', \'dynamic\').',
175
+            'recourseLoan' => 'The only way you get the money back in the event of default is the security. Recourse is where you still have the opportunity to go back to the borrower for the rest of the money.',
176
+            'renegotiableLoan' => 'Whether the terms for payment of interest can be renegotiated during the life of the loan.',
177
+            'requiredCollateral' => 'Assets required to secure loan or credit repayments. It may take form of third party pledge, goods, financial instruments (cash, securities, etc.)',
178
+            'review' => 'A review of the item.',
179
+            '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.',
180
+            'serviceArea' => 'The geographic area where the service is provided.',
181
+            'serviceAudience' => 'The audience eligible for this service.',
182
+            'serviceOutput' => 'The tangible thing generated by the service, e.g. a passport, permit, etc.',
183
+            'serviceType' => 'The type of service being offered, e.g. veterans\' benefits, emergency relief, etc.',
184
+            'slogan' => 'A slogan or motto associated with the item.',
185
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
186
+            'termsOfService' => 'Human-readable terms of service documentation.',
187
+            'url' => 'URL of the item.'
188
+        ];
189
+    }
190
+
191
+
192
+    /**
193
+     * @inheritdoc
194
+     */
195
+    public function getGoogleRequiredSchema(): array
196
+    {
197
+        return ['description', 'name'];
198
+    }
199
+
200
+
201
+    /**
202
+     * @inheritdoc
203
+     */
204
+    public function getGoogleRecommendedSchema(): array
205
+    {
206
+        return ['image', 'url'];
207
+    }
208
+
209
+
210
+    /**
211
+     * @inheritdoc
212
+     */
213
+    public function defineRules(): array
214
+    {
215
+        $rules = parent::defineRules();
216
+            $rules = array_merge($rules, [
217
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
218
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
219
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
220
+            ]);
221
+
222
+            return $rules;
223
+    }
224 224
 }
Please login to merge, or discard this patch.