Passed
Push — develop-v4 ( 7fca76...871448 )
by Andrew
18:23 queued 08:56
created
src/models/jsonld/DangerousGoodConsideration.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -27,126 +27,126 @@
 block discarded – undo
27 27
  */
28 28
 class DangerousGoodConsideration extends MetaJsonLd implements DangerousGoodConsiderationInterface, AdultOrientedEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
29 29
 {
30
-	use DangerousGoodConsiderationTrait;
31
-	use AdultOrientedEnumerationTrait;
32
-	use EnumerationTrait;
33
-	use IntangibleTrait;
34
-	use ThingTrait;
35
-
36
-	/**
37
-	 * The Schema.org Type Name
38
-	 *
39
-	 * @var string
40
-	 */
41
-	public static string $schemaTypeName = 'DangerousGoodConsideration';
42
-
43
-	/**
44
-	 * The Schema.org Type Scope
45
-	 *
46
-	 * @var string
47
-	 */
48
-	public static string $schemaTypeScope = 'https://schema.org/DangerousGoodConsideration';
49
-
50
-	/**
51
-	 * The Schema.org Type Extends
52
-	 *
53
-	 * @var string
54
-	 */
55
-	public static string $schemaTypeExtends = 'AdultOrientedEnumeration';
56
-
57
-	/**
58
-	 * The Schema.org Type Description
59
-	 *
60
-	 * @var string
61
-	 */
62
-	public static string $schemaTypeDescription = 'The item is dangerous and requires careful handling and/or special training of the user. See also the [UN Model Classification](https://unece.org/DAM/trans/danger/publi/unrec/rev17/English/02EREv17_Part2.pdf) defining the 9 classes of dangerous goods such as explosives, gases, flammables, and more.';
63
-
64
-
65
-	/**
66
-	 * @inheritdoc
67
-	 */
68
-	public function getSchemaPropertyNames(): array
69
-	{
70
-		return array_keys($this->getSchemaPropertyExpectedTypes());
71
-	}
72
-
73
-
74
-	/**
75
-	 * @inheritdoc
76
-	 */
77
-	public function getSchemaPropertyExpectedTypes(): array
78
-	{
79
-		return [
80
-		    'additionalType' => ['URL'],
81
-		    'alternateName' => ['Text'],
82
-		    'description' => ['Text'],
83
-		    'disambiguatingDescription' => ['Text'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
-		    'name' => ['Text'],
88
-		    'potentialAction' => ['Action'],
89
-		    'sameAs' => ['URL'],
90
-		    'subjectOf' => ['Event', 'CreativeWork'],
91
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
-		    'url' => ['URL']
93
-		];
94
-	}
95
-
96
-
97
-	/**
98
-	 * @inheritdoc
99
-	 */
100
-	public function getSchemaPropertyDescriptions(): array
101
-	{
102
-		return [
103
-		    '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.',
104
-		    'alternateName' => 'An alias for the item.',
105
-		    'description' => 'A description of the item.',
106
-		    '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.',
107
-		    '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.         ',
108
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
-		    '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.',
110
-		    'name' => 'The name of the item.',
111
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
-		    '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.',
113
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
-		    'url' => 'URL of the item.'
116
-		];
117
-	}
118
-
119
-
120
-	/**
121
-	 * @inheritdoc
122
-	 */
123
-	public function getGoogleRequiredSchema(): array
124
-	{
125
-		return ['description', 'name'];
126
-	}
127
-
128
-
129
-	/**
130
-	 * @inheritdoc
131
-	 */
132
-	public function getGoogleRecommendedSchema(): array
133
-	{
134
-		return ['image', 'url'];
135
-	}
136
-
137
-
138
-	/**
139
-	 * @inheritdoc
140
-	 */
141
-	public function defineRules(): array
142
-	{
143
-		$rules = parent::defineRules();
144
-		    $rules = array_merge($rules, [
145
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
-		    ]);
149
-
150
-		    return $rules;
151
-	}
30
+    use DangerousGoodConsiderationTrait;
31
+    use AdultOrientedEnumerationTrait;
32
+    use EnumerationTrait;
33
+    use IntangibleTrait;
34
+    use ThingTrait;
35
+
36
+    /**
37
+     * The Schema.org Type Name
38
+     *
39
+     * @var string
40
+     */
41
+    public static string $schemaTypeName = 'DangerousGoodConsideration';
42
+
43
+    /**
44
+     * The Schema.org Type Scope
45
+     *
46
+     * @var string
47
+     */
48
+    public static string $schemaTypeScope = 'https://schema.org/DangerousGoodConsideration';
49
+
50
+    /**
51
+     * The Schema.org Type Extends
52
+     *
53
+     * @var string
54
+     */
55
+    public static string $schemaTypeExtends = 'AdultOrientedEnumeration';
56
+
57
+    /**
58
+     * The Schema.org Type Description
59
+     *
60
+     * @var string
61
+     */
62
+    public static string $schemaTypeDescription = 'The item is dangerous and requires careful handling and/or special training of the user. See also the [UN Model Classification](https://unece.org/DAM/trans/danger/publi/unrec/rev17/English/02EREv17_Part2.pdf) defining the 9 classes of dangerous goods such as explosives, gases, flammables, and more.';
63
+
64
+
65
+    /**
66
+     * @inheritdoc
67
+     */
68
+    public function getSchemaPropertyNames(): array
69
+    {
70
+        return array_keys($this->getSchemaPropertyExpectedTypes());
71
+    }
72
+
73
+
74
+    /**
75
+     * @inheritdoc
76
+     */
77
+    public function getSchemaPropertyExpectedTypes(): array
78
+    {
79
+        return [
80
+            'additionalType' => ['URL'],
81
+            'alternateName' => ['Text'],
82
+            'description' => ['Text'],
83
+            'disambiguatingDescription' => ['Text'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
+            'name' => ['Text'],
88
+            'potentialAction' => ['Action'],
89
+            'sameAs' => ['URL'],
90
+            'subjectOf' => ['Event', 'CreativeWork'],
91
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
+            'url' => ['URL']
93
+        ];
94
+    }
95
+
96
+
97
+    /**
98
+     * @inheritdoc
99
+     */
100
+    public function getSchemaPropertyDescriptions(): array
101
+    {
102
+        return [
103
+            '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.',
104
+            'alternateName' => 'An alias for the item.',
105
+            'description' => 'A description of the item.',
106
+            '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.',
107
+            '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.         ',
108
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
+            '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.',
110
+            'name' => 'The name of the item.',
111
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
+            '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.',
113
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
+            'url' => 'URL of the item.'
116
+        ];
117
+    }
118
+
119
+
120
+    /**
121
+     * @inheritdoc
122
+     */
123
+    public function getGoogleRequiredSchema(): array
124
+    {
125
+        return ['description', 'name'];
126
+    }
127
+
128
+
129
+    /**
130
+     * @inheritdoc
131
+     */
132
+    public function getGoogleRecommendedSchema(): array
133
+    {
134
+        return ['image', 'url'];
135
+    }
136
+
137
+
138
+    /**
139
+     * @inheritdoc
140
+     */
141
+    public function defineRules(): array
142
+    {
143
+        $rules = parent::defineRules();
144
+            $rules = array_merge($rules, [
145
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
+            ]);
149
+
150
+            return $rules;
151
+    }
152 152
 }
Please login to merge, or discard this patch.
src/models/jsonld/ChooseAction.php 1 patch
Indentation   +147 added lines, -147 removed lines patch added patch discarded remove patch
@@ -24,151 +24,151 @@
 block discarded – undo
24 24
  */
25 25
 class ChooseAction extends MetaJsonLd implements ChooseActionInterface, AssessActionInterface, ActionInterface, ThingInterface
26 26
 {
27
-	use ChooseActionTrait;
28
-	use AssessActionTrait;
29
-	use ActionTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static string $schemaTypeName = 'ChooseAction';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static string $schemaTypeScope = 'https://schema.org/ChooseAction';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static string $schemaTypeExtends = 'AssessAction';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static string $schemaTypeDescription = 'The act of expressing a preference from a set of options or a large or unbounded set of choices/options.';
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
-		    'actionOption' => ['Text', 'Thing'],
77
-		    'actionStatus' => ['ActionStatusType'],
78
-		    'additionalType' => ['URL'],
79
-		    'agent' => ['Organization', 'Person'],
80
-		    'alternateName' => ['Text'],
81
-		    'description' => ['Text'],
82
-		    'disambiguatingDescription' => ['Text'],
83
-		    'endTime' => ['DateTime', 'Time'],
84
-		    'error' => ['Thing'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'instrument' => ['Thing'],
88
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
89
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
90
-		    'name' => ['Text'],
91
-		    'object' => ['Thing'],
92
-		    'option' => ['Text', 'Thing'],
93
-		    'participant' => ['Organization', 'Person'],
94
-		    'potentialAction' => ['Action'],
95
-		    'provider' => ['Organization', 'Person'],
96
-		    'result' => ['Thing'],
97
-		    'sameAs' => ['URL'],
98
-		    'startTime' => ['Time', 'DateTime'],
99
-		    'subjectOf' => ['Event', 'CreativeWork'],
100
-		    'target' => ['URL', 'EntryPoint'],
101
-		    'url' => ['URL']
102
-		];
103
-	}
104
-
105
-
106
-	/**
107
-	 * @inheritdoc
108
-	 */
109
-	public function getSchemaPropertyDescriptions(): array
110
-	{
111
-		return [
112
-		    'actionOption' => 'A sub property of object. The options subject to this action.',
113
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
114
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
115
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
-		    'alternateName' => 'An alias for the item.',
117
-		    'description' => 'A description of the item.',
118
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
119
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
-		    'error' => 'For failed actions, more information on the cause of the failure.',
121
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
-		    'name' => 'The name of the item.',
127
-		    'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
-		    'option' => 'A sub property of object. The options subject to this action.',
129
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
130
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
131
-		    '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.',
132
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
133
-		    '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.',
134
-		    '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.',
135
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
136
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
137
-		    'url' => 'URL of the item.'
138
-		];
139
-	}
140
-
141
-
142
-	/**
143
-	 * @inheritdoc
144
-	 */
145
-	public function getGoogleRequiredSchema(): array
146
-	{
147
-		return ['description', 'name'];
148
-	}
149
-
150
-
151
-	/**
152
-	 * @inheritdoc
153
-	 */
154
-	public function getGoogleRecommendedSchema(): array
155
-	{
156
-		return ['image', 'url'];
157
-	}
158
-
159
-
160
-	/**
161
-	 * @inheritdoc
162
-	 */
163
-	public function defineRules(): array
164
-	{
165
-		$rules = parent::defineRules();
166
-		    $rules = array_merge($rules, [
167
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
168
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
169
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
170
-		    ]);
171
-
172
-		    return $rules;
173
-	}
27
+    use ChooseActionTrait;
28
+    use AssessActionTrait;
29
+    use ActionTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static string $schemaTypeName = 'ChooseAction';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static string $schemaTypeScope = 'https://schema.org/ChooseAction';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static string $schemaTypeExtends = 'AssessAction';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static string $schemaTypeDescription = 'The act of expressing a preference from a set of options or a large or unbounded set of choices/options.';
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
+            'actionOption' => ['Text', 'Thing'],
77
+            'actionStatus' => ['ActionStatusType'],
78
+            'additionalType' => ['URL'],
79
+            'agent' => ['Organization', 'Person'],
80
+            'alternateName' => ['Text'],
81
+            'description' => ['Text'],
82
+            'disambiguatingDescription' => ['Text'],
83
+            'endTime' => ['DateTime', 'Time'],
84
+            'error' => ['Thing'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'instrument' => ['Thing'],
88
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
89
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
90
+            'name' => ['Text'],
91
+            'object' => ['Thing'],
92
+            'option' => ['Text', 'Thing'],
93
+            'participant' => ['Organization', 'Person'],
94
+            'potentialAction' => ['Action'],
95
+            'provider' => ['Organization', 'Person'],
96
+            'result' => ['Thing'],
97
+            'sameAs' => ['URL'],
98
+            'startTime' => ['Time', 'DateTime'],
99
+            'subjectOf' => ['Event', 'CreativeWork'],
100
+            'target' => ['URL', 'EntryPoint'],
101
+            'url' => ['URL']
102
+        ];
103
+    }
104
+
105
+
106
+    /**
107
+     * @inheritdoc
108
+     */
109
+    public function getSchemaPropertyDescriptions(): array
110
+    {
111
+        return [
112
+            'actionOption' => 'A sub property of object. The options subject to this action.',
113
+            'actionStatus' => 'Indicates the current disposition of the Action.',
114
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
115
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
+            'alternateName' => 'An alias for the item.',
117
+            'description' => 'A description of the item.',
118
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
119
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
+            'error' => 'For failed actions, more information on the cause of the failure.',
121
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
+            'name' => 'The name of the item.',
127
+            'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
+            'option' => 'A sub property of object. The options subject to this action.',
129
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
130
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
131
+            '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.',
132
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
133
+            '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.',
134
+            '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.',
135
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
136
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
137
+            'url' => 'URL of the item.'
138
+        ];
139
+    }
140
+
141
+
142
+    /**
143
+     * @inheritdoc
144
+     */
145
+    public function getGoogleRequiredSchema(): array
146
+    {
147
+        return ['description', 'name'];
148
+    }
149
+
150
+
151
+    /**
152
+     * @inheritdoc
153
+     */
154
+    public function getGoogleRecommendedSchema(): array
155
+    {
156
+        return ['image', 'url'];
157
+    }
158
+
159
+
160
+    /**
161
+     * @inheritdoc
162
+     */
163
+    public function defineRules(): array
164
+    {
165
+        $rules = parent::defineRules();
166
+            $rules = array_merge($rules, [
167
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
168
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
169
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
170
+            ]);
171
+
172
+            return $rules;
173
+    }
174 174
 }
Please login to merge, or discard this patch.
src/models/jsonld/EventRescheduled.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -26,127 +26,127 @@
 block discarded – undo
26 26
  */
27 27
 class EventRescheduled extends MetaJsonLd implements EventRescheduledInterface, EventStatusTypeInterface, StatusEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
28 28
 {
29
-	use EventRescheduledTrait;
30
-	use EventStatusTypeTrait;
31
-	use StatusEnumerationTrait;
32
-	use EnumerationTrait;
33
-	use IntangibleTrait;
34
-	use ThingTrait;
35
-
36
-	/**
37
-	 * The Schema.org Type Name
38
-	 *
39
-	 * @var string
40
-	 */
41
-	public static string $schemaTypeName = 'EventRescheduled';
42
-
43
-	/**
44
-	 * The Schema.org Type Scope
45
-	 *
46
-	 * @var string
47
-	 */
48
-	public static string $schemaTypeScope = 'https://schema.org/EventRescheduled';
49
-
50
-	/**
51
-	 * The Schema.org Type Extends
52
-	 *
53
-	 * @var string
54
-	 */
55
-	public static string $schemaTypeExtends = 'EventStatusType';
56
-
57
-	/**
58
-	 * The Schema.org Type Description
59
-	 *
60
-	 * @var string
61
-	 */
62
-	public static string $schemaTypeDescription = 'The event has been rescheduled. The event\'s previousStartDate should be set to the old date and the startDate should be set to the event\'s new date. (If the event has been rescheduled multiple times, the previousStartDate property may be repeated.)';
63
-
64
-
65
-	/**
66
-	 * @inheritdoc
67
-	 */
68
-	public function getSchemaPropertyNames(): array
69
-	{
70
-		return array_keys($this->getSchemaPropertyExpectedTypes());
71
-	}
72
-
73
-
74
-	/**
75
-	 * @inheritdoc
76
-	 */
77
-	public function getSchemaPropertyExpectedTypes(): array
78
-	{
79
-		return [
80
-		    'additionalType' => ['URL'],
81
-		    'alternateName' => ['Text'],
82
-		    'description' => ['Text'],
83
-		    'disambiguatingDescription' => ['Text'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
-		    'name' => ['Text'],
88
-		    'potentialAction' => ['Action'],
89
-		    'sameAs' => ['URL'],
90
-		    'subjectOf' => ['Event', 'CreativeWork'],
91
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
-		    'url' => ['URL']
93
-		];
94
-	}
95
-
96
-
97
-	/**
98
-	 * @inheritdoc
99
-	 */
100
-	public function getSchemaPropertyDescriptions(): array
101
-	{
102
-		return [
103
-		    '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.',
104
-		    'alternateName' => 'An alias for the item.',
105
-		    'description' => 'A description of the item.',
106
-		    '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.',
107
-		    '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.         ',
108
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
-		    '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.',
110
-		    'name' => 'The name of the item.',
111
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
-		    '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.',
113
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
-		    'url' => 'URL of the item.'
116
-		];
117
-	}
118
-
119
-
120
-	/**
121
-	 * @inheritdoc
122
-	 */
123
-	public function getGoogleRequiredSchema(): array
124
-	{
125
-		return ['description', 'name'];
126
-	}
127
-
128
-
129
-	/**
130
-	 * @inheritdoc
131
-	 */
132
-	public function getGoogleRecommendedSchema(): array
133
-	{
134
-		return ['image', 'url'];
135
-	}
136
-
137
-
138
-	/**
139
-	 * @inheritdoc
140
-	 */
141
-	public function defineRules(): array
142
-	{
143
-		$rules = parent::defineRules();
144
-		    $rules = array_merge($rules, [
145
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
-		    ]);
149
-
150
-		    return $rules;
151
-	}
29
+    use EventRescheduledTrait;
30
+    use EventStatusTypeTrait;
31
+    use StatusEnumerationTrait;
32
+    use EnumerationTrait;
33
+    use IntangibleTrait;
34
+    use ThingTrait;
35
+
36
+    /**
37
+     * The Schema.org Type Name
38
+     *
39
+     * @var string
40
+     */
41
+    public static string $schemaTypeName = 'EventRescheduled';
42
+
43
+    /**
44
+     * The Schema.org Type Scope
45
+     *
46
+     * @var string
47
+     */
48
+    public static string $schemaTypeScope = 'https://schema.org/EventRescheduled';
49
+
50
+    /**
51
+     * The Schema.org Type Extends
52
+     *
53
+     * @var string
54
+     */
55
+    public static string $schemaTypeExtends = 'EventStatusType';
56
+
57
+    /**
58
+     * The Schema.org Type Description
59
+     *
60
+     * @var string
61
+     */
62
+    public static string $schemaTypeDescription = 'The event has been rescheduled. The event\'s previousStartDate should be set to the old date and the startDate should be set to the event\'s new date. (If the event has been rescheduled multiple times, the previousStartDate property may be repeated.)';
63
+
64
+
65
+    /**
66
+     * @inheritdoc
67
+     */
68
+    public function getSchemaPropertyNames(): array
69
+    {
70
+        return array_keys($this->getSchemaPropertyExpectedTypes());
71
+    }
72
+
73
+
74
+    /**
75
+     * @inheritdoc
76
+     */
77
+    public function getSchemaPropertyExpectedTypes(): array
78
+    {
79
+        return [
80
+            'additionalType' => ['URL'],
81
+            'alternateName' => ['Text'],
82
+            'description' => ['Text'],
83
+            'disambiguatingDescription' => ['Text'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
+            'name' => ['Text'],
88
+            'potentialAction' => ['Action'],
89
+            'sameAs' => ['URL'],
90
+            'subjectOf' => ['Event', 'CreativeWork'],
91
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
+            'url' => ['URL']
93
+        ];
94
+    }
95
+
96
+
97
+    /**
98
+     * @inheritdoc
99
+     */
100
+    public function getSchemaPropertyDescriptions(): array
101
+    {
102
+        return [
103
+            '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.',
104
+            'alternateName' => 'An alias for the item.',
105
+            'description' => 'A description of the item.',
106
+            '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.',
107
+            '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.         ',
108
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
+            '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.',
110
+            'name' => 'The name of the item.',
111
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
+            '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.',
113
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
+            'url' => 'URL of the item.'
116
+        ];
117
+    }
118
+
119
+
120
+    /**
121
+     * @inheritdoc
122
+     */
123
+    public function getGoogleRequiredSchema(): array
124
+    {
125
+        return ['description', 'name'];
126
+    }
127
+
128
+
129
+    /**
130
+     * @inheritdoc
131
+     */
132
+    public function getGoogleRecommendedSchema(): array
133
+    {
134
+        return ['image', 'url'];
135
+    }
136
+
137
+
138
+    /**
139
+     * @inheritdoc
140
+     */
141
+    public function defineRules(): array
142
+    {
143
+        $rules = parent::defineRules();
144
+            $rules = array_merge($rules, [
145
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
+            ]);
149
+
150
+            return $rules;
151
+    }
152 152
 }
Please login to merge, or discard this patch.
src/models/jsonld/PlasticSurgery.php 1 patch
Indentation   +317 added lines, -317 removed lines patch added patch discarded remove patch
@@ -25,338 +25,338 @@
 block discarded – undo
25 25
  */
26 26
 class PlasticSurgery extends MetaJsonLd implements PlasticSurgeryInterface, MedicalBusinessInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface, MedicalSpecialtyInterface, SpecialtyInterface, EnumerationInterface, IntangibleInterface, MedicalEnumerationInterface
27 27
 {
28
-	use PlasticSurgeryTrait;
29
-	use MedicalBusinessTrait;
30
-	use LocalBusinessTrait;
31
-	use PlaceTrait;
32
-	use ThingTrait;
33
-	use OrganizationTrait;
34
-	use MedicalSpecialtyTrait;
35
-	use SpecialtyTrait;
36
-	use EnumerationTrait;
37
-	use IntangibleTrait;
38
-	use MedicalEnumerationTrait;
28
+    use PlasticSurgeryTrait;
29
+    use MedicalBusinessTrait;
30
+    use LocalBusinessTrait;
31
+    use PlaceTrait;
32
+    use ThingTrait;
33
+    use OrganizationTrait;
34
+    use MedicalSpecialtyTrait;
35
+    use SpecialtyTrait;
36
+    use EnumerationTrait;
37
+    use IntangibleTrait;
38
+    use MedicalEnumerationTrait;
39 39
 
40
-	/**
41
-	 * The Schema.org Type Name
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static string $schemaTypeName = 'PlasticSurgery';
40
+    /**
41
+     * The Schema.org Type Name
42
+     *
43
+     * @var string
44
+     */
45
+    public static string $schemaTypeName = 'PlasticSurgery';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Scope
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static string $schemaTypeScope = 'https://schema.org/PlasticSurgery';
47
+    /**
48
+     * The Schema.org Type Scope
49
+     *
50
+     * @var string
51
+     */
52
+    public static string $schemaTypeScope = 'https://schema.org/PlasticSurgery';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Extends
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static string $schemaTypeExtends = 'MedicalBusiness';
54
+    /**
55
+     * The Schema.org Type Extends
56
+     *
57
+     * @var string
58
+     */
59
+    public static string $schemaTypeExtends = 'MedicalBusiness';
60 60
 
61
-	/**
62
-	 * The Schema.org Type Description
63
-	 *
64
-	 * @var string
65
-	 */
66
-	public static string $schemaTypeDescription = 'A specific branch of medical science that pertains to therapeutic or cosmetic repair or re-formation of missing, injured or malformed tissues or body parts by manual and instrumental means.';
61
+    /**
62
+     * The Schema.org Type Description
63
+     *
64
+     * @var string
65
+     */
66
+    public static string $schemaTypeDescription = 'A specific branch of medical science that pertains to therapeutic or cosmetic repair or re-formation of missing, injured or malformed tissues or body parts by manual and instrumental means.';
67 67
 
68 68
 
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyNames(): array
73
-	{
74
-		return array_keys($this->getSchemaPropertyExpectedTypes());
75
-	}
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyNames(): array
73
+    {
74
+        return array_keys($this->getSchemaPropertyExpectedTypes());
75
+    }
76 76
 
77 77
 
78
-	/**
79
-	 * @inheritdoc
80
-	 */
81
-	public function getSchemaPropertyExpectedTypes(): array
82
-	{
83
-		return [
84
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
85
-		    'additionalProperty' => ['PropertyValue'],
86
-		    'additionalType' => ['URL'],
87
-		    'address' => ['Text', 'PostalAddress'],
88
-		    'aggregateRating' => ['AggregateRating'],
89
-		    'alternateName' => ['Text'],
90
-		    'alumni' => ['Person'],
91
-		    'amenityFeature' => ['LocationFeatureSpecification'],
92
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
93
-		    'award' => ['Text'],
94
-		    'awards' => ['Text'],
95
-		    'branchCode' => ['Text'],
96
-		    'branchOf' => ['Organization'],
97
-		    'brand' => ['Brand', 'Organization'],
98
-		    'contactPoint' => ['ContactPoint'],
99
-		    'contactPoints' => ['ContactPoint'],
100
-		    'containedIn' => ['Place'],
101
-		    'containedInPlace' => ['Place'],
102
-		    'containsPlace' => ['Place'],
103
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
104
-		    'currenciesAccepted' => ['Text'],
105
-		    'department' => ['Organization'],
106
-		    'description' => ['Text'],
107
-		    'disambiguatingDescription' => ['Text'],
108
-		    'dissolutionDate' => ['Date'],
109
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
110
-		    'diversityStaffingReport' => ['Article', 'URL'],
111
-		    'duns' => ['Text'],
112
-		    'email' => ['Text'],
113
-		    'employee' => ['Person'],
114
-		    'employees' => ['Person'],
115
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
116
-		    'event' => ['Event'],
117
-		    'events' => ['Event'],
118
-		    'faxNumber' => ['Text'],
119
-		    'founder' => ['Person'],
120
-		    'founders' => ['Person'],
121
-		    'foundingDate' => ['Date'],
122
-		    'foundingLocation' => ['Place'],
123
-		    'funder' => ['Organization', 'Person'],
124
-		    'funding' => ['Grant'],
125
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
126
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
127
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
128
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
129
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
130
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
131
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
132
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
133
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
134
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
135
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
136
-		    'globalLocationNumber' => ['Text'],
137
-		    'hasCredential' => ['EducationalOccupationalCredential'],
138
-		    'hasDriveThroughService' => ['Boolean'],
139
-		    'hasMap' => ['URL', 'Map'],
140
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
141
-		    'hasOfferCatalog' => ['OfferCatalog'],
142
-		    'hasPOS' => ['Place'],
143
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
144
-		    'image' => ['URL', 'ImageObject'],
145
-		    'interactionStatistic' => ['InteractionCounter'],
146
-		    'isAccessibleForFree' => ['Boolean'],
147
-		    'isicV4' => ['Text'],
148
-		    'iso6523Code' => ['Text'],
149
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
151
-		    'knowsLanguage' => ['Text', 'Language'],
152
-		    'latitude' => ['Number', 'Text'],
153
-		    'legalName' => ['Text'],
154
-		    'leiCode' => ['Text'],
155
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
156
-		    'logo' => ['ImageObject', 'URL'],
157
-		    'longitude' => ['Text', 'Number'],
158
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
159
-		    'makesOffer' => ['Offer'],
160
-		    'map' => ['URL'],
161
-		    'maps' => ['URL'],
162
-		    'maximumAttendeeCapacity' => ['Integer'],
163
-		    'member' => ['Organization', 'Person'],
164
-		    'memberOf' => ['Organization', 'ProgramMembership'],
165
-		    'members' => ['Organization', 'Person'],
166
-		    'naics' => ['Text'],
167
-		    'name' => ['Text'],
168
-		    'nonprofitStatus' => ['NonprofitType'],
169
-		    'numberOfEmployees' => ['QuantitativeValue'],
170
-		    'openingHours' => ['Text'],
171
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
172
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
173
-		    'owns' => ['Product', 'OwnershipInfo'],
174
-		    'parentOrganization' => ['Organization'],
175
-		    'paymentAccepted' => ['Text'],
176
-		    'photo' => ['Photograph', 'ImageObject'],
177
-		    'photos' => ['ImageObject', 'Photograph'],
178
-		    'potentialAction' => ['Action'],
179
-		    'priceRange' => ['Text'],
180
-		    'publicAccess' => ['Boolean'],
181
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
182
-		    'review' => ['Review'],
183
-		    'reviews' => ['Review'],
184
-		    'sameAs' => ['URL'],
185
-		    'seeks' => ['Demand'],
186
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
187
-		    'slogan' => ['Text'],
188
-		    'smokingAllowed' => ['Boolean'],
189
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
190
-		    'sponsor' => ['Organization', 'Person'],
191
-		    'subOrganization' => ['Organization'],
192
-		    'subjectOf' => ['Event', 'CreativeWork'],
193
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
194
-		    'taxID' => ['Text'],
195
-		    'telephone' => ['Text'],
196
-		    'tourBookingPage' => ['URL'],
197
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
198
-		    'url' => ['URL'],
199
-		    'vatID' => ['Text']
200
-		];
201
-	}
78
+    /**
79
+     * @inheritdoc
80
+     */
81
+    public function getSchemaPropertyExpectedTypes(): array
82
+    {
83
+        return [
84
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
85
+            'additionalProperty' => ['PropertyValue'],
86
+            'additionalType' => ['URL'],
87
+            'address' => ['Text', 'PostalAddress'],
88
+            'aggregateRating' => ['AggregateRating'],
89
+            'alternateName' => ['Text'],
90
+            'alumni' => ['Person'],
91
+            'amenityFeature' => ['LocationFeatureSpecification'],
92
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
93
+            'award' => ['Text'],
94
+            'awards' => ['Text'],
95
+            'branchCode' => ['Text'],
96
+            'branchOf' => ['Organization'],
97
+            'brand' => ['Brand', 'Organization'],
98
+            'contactPoint' => ['ContactPoint'],
99
+            'contactPoints' => ['ContactPoint'],
100
+            'containedIn' => ['Place'],
101
+            'containedInPlace' => ['Place'],
102
+            'containsPlace' => ['Place'],
103
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
104
+            'currenciesAccepted' => ['Text'],
105
+            'department' => ['Organization'],
106
+            'description' => ['Text'],
107
+            'disambiguatingDescription' => ['Text'],
108
+            'dissolutionDate' => ['Date'],
109
+            'diversityPolicy' => ['URL', 'CreativeWork'],
110
+            'diversityStaffingReport' => ['Article', 'URL'],
111
+            'duns' => ['Text'],
112
+            'email' => ['Text'],
113
+            'employee' => ['Person'],
114
+            'employees' => ['Person'],
115
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
116
+            'event' => ['Event'],
117
+            'events' => ['Event'],
118
+            'faxNumber' => ['Text'],
119
+            'founder' => ['Person'],
120
+            'founders' => ['Person'],
121
+            'foundingDate' => ['Date'],
122
+            'foundingLocation' => ['Place'],
123
+            'funder' => ['Organization', 'Person'],
124
+            'funding' => ['Grant'],
125
+            'geo' => ['GeoCoordinates', 'GeoShape'],
126
+            'geoContains' => ['Place', 'GeospatialGeometry'],
127
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
128
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
129
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
130
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
131
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
132
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
133
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
134
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
135
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
136
+            'globalLocationNumber' => ['Text'],
137
+            'hasCredential' => ['EducationalOccupationalCredential'],
138
+            'hasDriveThroughService' => ['Boolean'],
139
+            'hasMap' => ['URL', 'Map'],
140
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
141
+            'hasOfferCatalog' => ['OfferCatalog'],
142
+            'hasPOS' => ['Place'],
143
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
144
+            'image' => ['URL', 'ImageObject'],
145
+            'interactionStatistic' => ['InteractionCounter'],
146
+            'isAccessibleForFree' => ['Boolean'],
147
+            'isicV4' => ['Text'],
148
+            'iso6523Code' => ['Text'],
149
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
150
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
151
+            'knowsLanguage' => ['Text', 'Language'],
152
+            'latitude' => ['Number', 'Text'],
153
+            'legalName' => ['Text'],
154
+            'leiCode' => ['Text'],
155
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
156
+            'logo' => ['ImageObject', 'URL'],
157
+            'longitude' => ['Text', 'Number'],
158
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
159
+            'makesOffer' => ['Offer'],
160
+            'map' => ['URL'],
161
+            'maps' => ['URL'],
162
+            'maximumAttendeeCapacity' => ['Integer'],
163
+            'member' => ['Organization', 'Person'],
164
+            'memberOf' => ['Organization', 'ProgramMembership'],
165
+            'members' => ['Organization', 'Person'],
166
+            'naics' => ['Text'],
167
+            'name' => ['Text'],
168
+            'nonprofitStatus' => ['NonprofitType'],
169
+            'numberOfEmployees' => ['QuantitativeValue'],
170
+            'openingHours' => ['Text'],
171
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
172
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
173
+            'owns' => ['Product', 'OwnershipInfo'],
174
+            'parentOrganization' => ['Organization'],
175
+            'paymentAccepted' => ['Text'],
176
+            'photo' => ['Photograph', 'ImageObject'],
177
+            'photos' => ['ImageObject', 'Photograph'],
178
+            'potentialAction' => ['Action'],
179
+            'priceRange' => ['Text'],
180
+            'publicAccess' => ['Boolean'],
181
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
182
+            'review' => ['Review'],
183
+            'reviews' => ['Review'],
184
+            'sameAs' => ['URL'],
185
+            'seeks' => ['Demand'],
186
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
187
+            'slogan' => ['Text'],
188
+            'smokingAllowed' => ['Boolean'],
189
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
190
+            'sponsor' => ['Organization', 'Person'],
191
+            'subOrganization' => ['Organization'],
192
+            'subjectOf' => ['Event', 'CreativeWork'],
193
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
194
+            'taxID' => ['Text'],
195
+            'telephone' => ['Text'],
196
+            'tourBookingPage' => ['URL'],
197
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
198
+            'url' => ['URL'],
199
+            'vatID' => ['Text']
200
+        ];
201
+    }
202 202
 
203 203
 
204
-	/**
205
-	 * @inheritdoc
206
-	 */
207
-	public function getSchemaPropertyDescriptions(): array
208
-	{
209
-		return [
210
-		    'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
211
-		    '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. ',
212
-		    '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.',
213
-		    'address' => 'Physical address of the item.',
214
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
215
-		    'alternateName' => 'An alias for the item.',
216
-		    'alumni' => 'Alumni of an organization.',
217
-		    '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.',
218
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
219
-		    'award' => 'An award won by or for this item.',
220
-		    'awards' => 'Awards won by or for this item.',
221
-		    '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.       ',
222
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
223
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
224
-		    'contactPoint' => 'A contact point for a person or organization.',
225
-		    'contactPoints' => 'A contact point for a person or organization.',
226
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
227
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
228
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
229
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
230
-		    'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
231
-		    'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
232
-		    'description' => 'A description of the item.',
233
-		    '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.',
234
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
235
-		    'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
236
-		    'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
237
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
238
-		    'email' => 'Email address.',
239
-		    'employee' => 'Someone working for this organization.',
240
-		    'employees' => 'People working for this organization.',
241
-		    'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
242
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
243
-		    'events' => 'Upcoming or past events associated with this place or organization.',
244
-		    'faxNumber' => 'The fax number.',
245
-		    'founder' => 'A person who founded this organization.',
246
-		    'founders' => 'A person who founded this organization.',
247
-		    'foundingDate' => 'The date that this organization was founded.',
248
-		    'foundingLocation' => 'The place where the Organization was founded.',
249
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
250
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
251
-		    'geo' => 'The geo coordinates of the place.',
252
-		    '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).',
253
-		    '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).',
254
-		    '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).',
255
-		    '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).',
256
-		    '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).)',
257
-		    '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).',
258
-		    '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).',
259
-		    '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).',
260
-		    '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).)',
261
-		    '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).',
262
-		    '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.',
263
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
264
-		    '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.',
265
-		    'hasMap' => 'A URL to a map of the place.',
266
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
267
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
268
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
269
-		    '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.         ',
270
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
271
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
272
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
273
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
274
-		    'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
275
-		    '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.',
276
-		    'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
277
-		    'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
278
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
280
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
281
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
282
-		    'logo' => 'An associated logo.',
283
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
284
-		    '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.',
285
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
286
-		    'map' => 'A URL to a map of the place.',
287
-		    'maps' => 'A URL to a map of the place.',
288
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
289
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
290
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
291
-		    'members' => 'A member of this organization.',
292
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
293
-		    'name' => 'The name of the item.',
294
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
295
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
296
-		    '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>.',
297
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
298
-		    'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
299
-		    'owns' => 'Products owned by the organization or person.',
300
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
301
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
302
-		    'photo' => 'A photograph of this place.',
303
-		    'photos' => 'Photographs of this place.',
304
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
305
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
306
-		    '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',
307
-		    '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. ',
308
-		    'review' => 'A review of the item.',
309
-		    'reviews' => 'Review of the item.',
310
-		    '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.',
311
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
312
-		    'serviceArea' => 'The geographic area where the service is provided.',
313
-		    'slogan' => 'A slogan or motto associated with the item.',
314
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
315
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
316
-		    '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.',
317
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
318
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
319
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
320
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
321
-		    'telephone' => 'The telephone number.',
322
-		    '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.',
323
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
324
-		    'url' => 'URL of the item.',
325
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
326
-		];
327
-	}
204
+    /**
205
+     * @inheritdoc
206
+     */
207
+    public function getSchemaPropertyDescriptions(): array
208
+    {
209
+        return [
210
+            'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
211
+            '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. ',
212
+            '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.',
213
+            'address' => 'Physical address of the item.',
214
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
215
+            'alternateName' => 'An alias for the item.',
216
+            'alumni' => 'Alumni of an organization.',
217
+            '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.',
218
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
219
+            'award' => 'An award won by or for this item.',
220
+            'awards' => 'Awards won by or for this item.',
221
+            '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.       ',
222
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
223
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
224
+            'contactPoint' => 'A contact point for a person or organization.',
225
+            'contactPoints' => 'A contact point for a person or organization.',
226
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
227
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
228
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
229
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
230
+            'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
231
+            'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
232
+            'description' => 'A description of the item.',
233
+            '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.',
234
+            'dissolutionDate' => 'The date that this organization was dissolved.',
235
+            'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
236
+            'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
237
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
238
+            'email' => 'Email address.',
239
+            'employee' => 'Someone working for this organization.',
240
+            'employees' => 'People working for this organization.',
241
+            'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
242
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
243
+            'events' => 'Upcoming or past events associated with this place or organization.',
244
+            'faxNumber' => 'The fax number.',
245
+            'founder' => 'A person who founded this organization.',
246
+            'founders' => 'A person who founded this organization.',
247
+            'foundingDate' => 'The date that this organization was founded.',
248
+            'foundingLocation' => 'The place where the Organization was founded.',
249
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
250
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
251
+            'geo' => 'The geo coordinates of the place.',
252
+            '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).',
253
+            '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).',
254
+            '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).',
255
+            '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).',
256
+            '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).)',
257
+            '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).',
258
+            '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).',
259
+            '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).',
260
+            '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).)',
261
+            '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).',
262
+            '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.',
263
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
264
+            '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.',
265
+            'hasMap' => 'A URL to a map of the place.',
266
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
267
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
268
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
269
+            '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.         ',
270
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
271
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
272
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
273
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
274
+            'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
275
+            '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.',
276
+            'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
277
+            'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
278
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
280
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
281
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
282
+            'logo' => 'An associated logo.',
283
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
284
+            '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.',
285
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
286
+            'map' => 'A URL to a map of the place.',
287
+            'maps' => 'A URL to a map of the place.',
288
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
289
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
290
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
291
+            'members' => 'A member of this organization.',
292
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
293
+            'name' => 'The name of the item.',
294
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
295
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
296
+            '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>.',
297
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
298
+            'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
299
+            'owns' => 'Products owned by the organization or person.',
300
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
301
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
302
+            'photo' => 'A photograph of this place.',
303
+            'photos' => 'Photographs of this place.',
304
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
305
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
306
+            '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',
307
+            '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. ',
308
+            'review' => 'A review of the item.',
309
+            'reviews' => 'Review of the item.',
310
+            '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.',
311
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
312
+            'serviceArea' => 'The geographic area where the service is provided.',
313
+            'slogan' => 'A slogan or motto associated with the item.',
314
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
315
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
316
+            '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.',
317
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
318
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
319
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
320
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
321
+            'telephone' => 'The telephone number.',
322
+            '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.',
323
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
324
+            'url' => 'URL of the item.',
325
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
326
+        ];
327
+    }
328 328
 
329 329
 
330
-	/**
331
-	 * @inheritdoc
332
-	 */
333
-	public function getGoogleRequiredSchema(): array
334
-	{
335
-		return ['description', 'name'];
336
-	}
330
+    /**
331
+     * @inheritdoc
332
+     */
333
+    public function getGoogleRequiredSchema(): array
334
+    {
335
+        return ['description', 'name'];
336
+    }
337 337
 
338 338
 
339
-	/**
340
-	 * @inheritdoc
341
-	 */
342
-	public function getGoogleRecommendedSchema(): array
343
-	{
344
-		return ['image', 'url'];
345
-	}
339
+    /**
340
+     * @inheritdoc
341
+     */
342
+    public function getGoogleRecommendedSchema(): array
343
+    {
344
+        return ['image', 'url'];
345
+    }
346 346
 
347 347
 
348
-	/**
349
-	 * @inheritdoc
350
-	 */
351
-	public function defineRules(): array
352
-	{
353
-		$rules = parent::defineRules();
354
-		    $rules = array_merge($rules, [
355
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
356
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
357
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
358
-		    ]);
348
+    /**
349
+     * @inheritdoc
350
+     */
351
+    public function defineRules(): array
352
+    {
353
+        $rules = parent::defineRules();
354
+            $rules = array_merge($rules, [
355
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
356
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
357
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
358
+            ]);
359 359
 
360
-		    return $rules;
361
-	}
360
+            return $rules;
361
+    }
362 362
 }
Please login to merge, or discard this patch.
src/models/jsonld/DefinedRegion.php 1 patch
Indentation   +129 added lines, -129 removed lines patch added patch discarded remove patch
@@ -30,133 +30,133 @@
 block discarded – undo
30 30
  */
31 31
 class DefinedRegion extends MetaJsonLd implements DefinedRegionInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
32 32
 {
33
-	use DefinedRegionTrait;
34
-	use StructuredValueTrait;
35
-	use IntangibleTrait;
36
-	use ThingTrait;
37
-
38
-	/**
39
-	 * The Schema.org Type Name
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static string $schemaTypeName = 'DefinedRegion';
44
-
45
-	/**
46
-	 * The Schema.org Type Scope
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static string $schemaTypeScope = 'https://schema.org/DefinedRegion';
51
-
52
-	/**
53
-	 * The Schema.org Type Extends
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static string $schemaTypeExtends = 'StructuredValue';
58
-
59
-	/**
60
-	 * The Schema.org Type Description
61
-	 *
62
-	 * @var string
63
-	 */
64
-	public static string $schemaTypeDescription = "A DefinedRegion is a geographic area defined by potentially arbitrary (rather than political, administrative or natural geographical) criteria. Properties are provided for defining a region by reference to sets of postal codes.\n\nExamples: a delivery destination when shopping. Region where regional pricing is configured.\n\nRequirement 1:\nCountry: US\nStates: \"NY\", \"CA\"\n\nRequirement 2:\nCountry: US\nPostalCode Set: { [94000-94585], [97000, 97999], [13000, 13599]}\n{ [12345, 12345], [78945, 78945], }\nRegion = state, canton, prefecture, autonomous community...";
65
-
66
-
67
-	/**
68
-	 * @inheritdoc
69
-	 */
70
-	public function getSchemaPropertyNames(): array
71
-	{
72
-		return array_keys($this->getSchemaPropertyExpectedTypes());
73
-	}
74
-
75
-
76
-	/**
77
-	 * @inheritdoc
78
-	 */
79
-	public function getSchemaPropertyExpectedTypes(): array
80
-	{
81
-		return [
82
-		    'additionalType' => ['URL'],
83
-		    'addressCountry' => ['Country', 'Text'],
84
-		    'addressRegion' => ['Text'],
85
-		    'alternateName' => ['Text'],
86
-		    'description' => ['Text'],
87
-		    'disambiguatingDescription' => ['Text'],
88
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
89
-		    'image' => ['URL', 'ImageObject'],
90
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
91
-		    'name' => ['Text'],
92
-		    'postalCode' => ['Text'],
93
-		    'postalCodePrefix' => ['Text'],
94
-		    'postalCodeRange' => ['PostalCodeRangeSpecification'],
95
-		    'potentialAction' => ['Action'],
96
-		    'sameAs' => ['URL'],
97
-		    'subjectOf' => ['Event', 'CreativeWork'],
98
-		    'url' => ['URL']
99
-		];
100
-	}
101
-
102
-
103
-	/**
104
-	 * @inheritdoc
105
-	 */
106
-	public function getSchemaPropertyDescriptions(): array
107
-	{
108
-		return [
109
-		    '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.',
110
-		    'addressCountry' => 'The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).',
111
-		    'addressRegion' => 'The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).',
112
-		    'alternateName' => 'An alias for the item.',
113
-		    'description' => 'A description of the item.',
114
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
118
-		    'name' => 'The name of the item.',
119
-		    'postalCode' => 'The postal code. For example, 94043.',
120
-		    'postalCodePrefix' => 'A defined range of postal codes indicated by a common textual prefix. Used for non-numeric systems such as UK.',
121
-		    'postalCodeRange' => 'A defined range of postal codes.',
122
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
-		    '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.',
124
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
125
-		    'url' => 'URL of the item.'
126
-		];
127
-	}
128
-
129
-
130
-	/**
131
-	 * @inheritdoc
132
-	 */
133
-	public function getGoogleRequiredSchema(): array
134
-	{
135
-		return ['description', 'name'];
136
-	}
137
-
138
-
139
-	/**
140
-	 * @inheritdoc
141
-	 */
142
-	public function getGoogleRecommendedSchema(): array
143
-	{
144
-		return ['image', 'url'];
145
-	}
146
-
147
-
148
-	/**
149
-	 * @inheritdoc
150
-	 */
151
-	public function defineRules(): array
152
-	{
153
-		$rules = parent::defineRules();
154
-		    $rules = array_merge($rules, [
155
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
156
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
157
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
158
-		    ]);
159
-
160
-		    return $rules;
161
-	}
33
+    use DefinedRegionTrait;
34
+    use StructuredValueTrait;
35
+    use IntangibleTrait;
36
+    use ThingTrait;
37
+
38
+    /**
39
+     * The Schema.org Type Name
40
+     *
41
+     * @var string
42
+     */
43
+    public static string $schemaTypeName = 'DefinedRegion';
44
+
45
+    /**
46
+     * The Schema.org Type Scope
47
+     *
48
+     * @var string
49
+     */
50
+    public static string $schemaTypeScope = 'https://schema.org/DefinedRegion';
51
+
52
+    /**
53
+     * The Schema.org Type Extends
54
+     *
55
+     * @var string
56
+     */
57
+    public static string $schemaTypeExtends = 'StructuredValue';
58
+
59
+    /**
60
+     * The Schema.org Type Description
61
+     *
62
+     * @var string
63
+     */
64
+    public static string $schemaTypeDescription = "A DefinedRegion is a geographic area defined by potentially arbitrary (rather than political, administrative or natural geographical) criteria. Properties are provided for defining a region by reference to sets of postal codes.\n\nExamples: a delivery destination when shopping. Region where regional pricing is configured.\n\nRequirement 1:\nCountry: US\nStates: \"NY\", \"CA\"\n\nRequirement 2:\nCountry: US\nPostalCode Set: { [94000-94585], [97000, 97999], [13000, 13599]}\n{ [12345, 12345], [78945, 78945], }\nRegion = state, canton, prefecture, autonomous community...";
65
+
66
+
67
+    /**
68
+     * @inheritdoc
69
+     */
70
+    public function getSchemaPropertyNames(): array
71
+    {
72
+        return array_keys($this->getSchemaPropertyExpectedTypes());
73
+    }
74
+
75
+
76
+    /**
77
+     * @inheritdoc
78
+     */
79
+    public function getSchemaPropertyExpectedTypes(): array
80
+    {
81
+        return [
82
+            'additionalType' => ['URL'],
83
+            'addressCountry' => ['Country', 'Text'],
84
+            'addressRegion' => ['Text'],
85
+            'alternateName' => ['Text'],
86
+            'description' => ['Text'],
87
+            'disambiguatingDescription' => ['Text'],
88
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
89
+            'image' => ['URL', 'ImageObject'],
90
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
91
+            'name' => ['Text'],
92
+            'postalCode' => ['Text'],
93
+            'postalCodePrefix' => ['Text'],
94
+            'postalCodeRange' => ['PostalCodeRangeSpecification'],
95
+            'potentialAction' => ['Action'],
96
+            'sameAs' => ['URL'],
97
+            'subjectOf' => ['Event', 'CreativeWork'],
98
+            'url' => ['URL']
99
+        ];
100
+    }
101
+
102
+
103
+    /**
104
+     * @inheritdoc
105
+     */
106
+    public function getSchemaPropertyDescriptions(): array
107
+    {
108
+        return [
109
+            '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.',
110
+            'addressCountry' => 'The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).',
111
+            'addressRegion' => 'The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).',
112
+            'alternateName' => 'An alias for the item.',
113
+            'description' => 'A description of the item.',
114
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
115
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
116
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
117
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
118
+            'name' => 'The name of the item.',
119
+            'postalCode' => 'The postal code. For example, 94043.',
120
+            'postalCodePrefix' => 'A defined range of postal codes indicated by a common textual prefix. Used for non-numeric systems such as UK.',
121
+            'postalCodeRange' => 'A defined range of postal codes.',
122
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
123
+            '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.',
124
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
125
+            'url' => 'URL of the item.'
126
+        ];
127
+    }
128
+
129
+
130
+    /**
131
+     * @inheritdoc
132
+     */
133
+    public function getGoogleRequiredSchema(): array
134
+    {
135
+        return ['description', 'name'];
136
+    }
137
+
138
+
139
+    /**
140
+     * @inheritdoc
141
+     */
142
+    public function getGoogleRecommendedSchema(): array
143
+    {
144
+        return ['image', 'url'];
145
+    }
146
+
147
+
148
+    /**
149
+     * @inheritdoc
150
+     */
151
+    public function defineRules(): array
152
+    {
153
+        $rules = parent::defineRules();
154
+            $rules = array_merge($rules, [
155
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
156
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
157
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
158
+            ]);
159
+
160
+            return $rules;
161
+    }
162 162
 }
Please login to merge, or discard this patch.
src/models/jsonld/UseAction.php 1 patch
Indentation   +147 added lines, -147 removed lines patch added patch discarded remove patch
@@ -23,151 +23,151 @@
 block discarded – undo
23 23
  */
24 24
 class UseAction extends MetaJsonLd implements UseActionInterface, ConsumeActionInterface, ActionInterface, ThingInterface
25 25
 {
26
-	use UseActionTrait;
27
-	use ConsumeActionTrait;
28
-	use ActionTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static string $schemaTypeName = 'UseAction';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static string $schemaTypeScope = 'https://schema.org/UseAction';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static string $schemaTypeExtends = 'ConsumeAction';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static string $schemaTypeDescription = 'The act of applying an object to its intended purpose.';
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
-		    'actionAccessibilityRequirement' => ['ActionAccessSpecification'],
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
-		    'expectsAcceptanceOf' => ['Offer'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'instrument' => ['Thing'],
88
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
89
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
90
-		    'name' => ['Text'],
91
-		    'object' => ['Thing'],
92
-		    'participant' => ['Organization', 'Person'],
93
-		    'potentialAction' => ['Action'],
94
-		    'provider' => ['Organization', 'Person'],
95
-		    'result' => ['Thing'],
96
-		    'sameAs' => ['URL'],
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
-		    'actionAccessibilityRequirement' => 'A set of requirements that must be fulfilled in order to perform an Action. If more than one value is specified, fulfilling one set of requirements will allow the Action to be performed.',
112
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
113
-		    '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.',
114
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
115
-		    'alternateName' => 'An alias for the item.',
116
-		    'description' => 'A description of the item.',
117
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
118
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
119
-		    'error' => 'For failed actions, more information on the cause of the failure.',
120
-		    'expectsAcceptanceOf' => 'An Offer which must be accepted before the user can perform the Action. For example, the user may need to buy a movie before being able to watch it.',
121
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
-		    'name' => 'The name of the item.',
127
-		    'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
-		    '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.',
131
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
132
-		    '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.',
133
-		    '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.',
134
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
135
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
136
-		    'url' => 'URL of the item.'
137
-		];
138
-	}
139
-
140
-
141
-	/**
142
-	 * @inheritdoc
143
-	 */
144
-	public function getGoogleRequiredSchema(): array
145
-	{
146
-		return ['description', 'name'];
147
-	}
148
-
149
-
150
-	/**
151
-	 * @inheritdoc
152
-	 */
153
-	public function getGoogleRecommendedSchema(): array
154
-	{
155
-		return ['image', 'url'];
156
-	}
157
-
158
-
159
-	/**
160
-	 * @inheritdoc
161
-	 */
162
-	public function defineRules(): array
163
-	{
164
-		$rules = parent::defineRules();
165
-		    $rules = array_merge($rules, [
166
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
167
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
168
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
169
-		    ]);
170
-
171
-		    return $rules;
172
-	}
26
+    use UseActionTrait;
27
+    use ConsumeActionTrait;
28
+    use ActionTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static string $schemaTypeName = 'UseAction';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static string $schemaTypeScope = 'https://schema.org/UseAction';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static string $schemaTypeExtends = 'ConsumeAction';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static string $schemaTypeDescription = 'The act of applying an object to its intended purpose.';
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
+            'actionAccessibilityRequirement' => ['ActionAccessSpecification'],
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
+            'expectsAcceptanceOf' => ['Offer'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'instrument' => ['Thing'],
88
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
89
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
90
+            'name' => ['Text'],
91
+            'object' => ['Thing'],
92
+            'participant' => ['Organization', 'Person'],
93
+            'potentialAction' => ['Action'],
94
+            'provider' => ['Organization', 'Person'],
95
+            'result' => ['Thing'],
96
+            'sameAs' => ['URL'],
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
+            'actionAccessibilityRequirement' => 'A set of requirements that must be fulfilled in order to perform an Action. If more than one value is specified, fulfilling one set of requirements will allow the Action to be performed.',
112
+            'actionStatus' => 'Indicates the current disposition of the Action.',
113
+            '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.',
114
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
115
+            'alternateName' => 'An alias for the item.',
116
+            'description' => 'A description of the item.',
117
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
118
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
119
+            'error' => 'For failed actions, more information on the cause of the failure.',
120
+            'expectsAcceptanceOf' => 'An Offer which must be accepted before the user can perform the Action. For example, the user may need to buy a movie before being able to watch it.',
121
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
+            'name' => 'The name of the item.',
127
+            'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
+            '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.',
131
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
132
+            '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.',
133
+            '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.',
134
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
135
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
136
+            'url' => 'URL of the item.'
137
+        ];
138
+    }
139
+
140
+
141
+    /**
142
+     * @inheritdoc
143
+     */
144
+    public function getGoogleRequiredSchema(): array
145
+    {
146
+        return ['description', 'name'];
147
+    }
148
+
149
+
150
+    /**
151
+     * @inheritdoc
152
+     */
153
+    public function getGoogleRecommendedSchema(): array
154
+    {
155
+        return ['image', 'url'];
156
+    }
157
+
158
+
159
+    /**
160
+     * @inheritdoc
161
+     */
162
+    public function defineRules(): array
163
+    {
164
+        $rules = parent::defineRules();
165
+            $rules = array_merge($rules, [
166
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
167
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
168
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
169
+            ]);
170
+
171
+            return $rules;
172
+    }
173 173
 }
Please login to merge, or discard this patch.
src/models/jsonld/Mass.php 1 patch
Indentation   +119 added lines, -119 removed lines patch added patch discarded remove patch
@@ -24,123 +24,123 @@
 block discarded – undo
24 24
  */
25 25
 class Mass extends MetaJsonLd implements MassInterface, QuantityInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use MassTrait;
28
-	use QuantityTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static string $schemaTypeName = 'Mass';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static string $schemaTypeScope = 'https://schema.org/Mass';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static string $schemaTypeExtends = 'Quantity';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static string $schemaTypeDescription = 'Properties that take Mass as values are of the form \'<Number> <Mass unit of measure>\'. E.g., \'7 kg\'.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'url' => ['URL']
88
-		];
89
-	}
90
-
91
-
92
-	/**
93
-	 * @inheritdoc
94
-	 */
95
-	public function getSchemaPropertyDescriptions(): array
96
-	{
97
-		return [
98
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
99
-		    'alternateName' => 'An alias for the item.',
100
-		    'description' => 'A description of the item.',
101
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
102
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
103
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
104
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
105
-		    'name' => 'The name of the item.',
106
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
107
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
108
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
109
-		    'url' => 'URL of the item.'
110
-		];
111
-	}
112
-
113
-
114
-	/**
115
-	 * @inheritdoc
116
-	 */
117
-	public function getGoogleRequiredSchema(): array
118
-	{
119
-		return ['description', 'name'];
120
-	}
121
-
122
-
123
-	/**
124
-	 * @inheritdoc
125
-	 */
126
-	public function getGoogleRecommendedSchema(): array
127
-	{
128
-		return ['image', 'url'];
129
-	}
130
-
131
-
132
-	/**
133
-	 * @inheritdoc
134
-	 */
135
-	public function defineRules(): array
136
-	{
137
-		$rules = parent::defineRules();
138
-		    $rules = array_merge($rules, [
139
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
140
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
141
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
142
-		    ]);
143
-
144
-		    return $rules;
145
-	}
27
+    use MassTrait;
28
+    use QuantityTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static string $schemaTypeName = 'Mass';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static string $schemaTypeScope = 'https://schema.org/Mass';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static string $schemaTypeExtends = 'Quantity';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static string $schemaTypeDescription = 'Properties that take Mass as values are of the form \'<Number> <Mass unit of measure>\'. E.g., \'7 kg\'.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'url' => ['URL']
88
+        ];
89
+    }
90
+
91
+
92
+    /**
93
+     * @inheritdoc
94
+     */
95
+    public function getSchemaPropertyDescriptions(): array
96
+    {
97
+        return [
98
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
99
+            'alternateName' => 'An alias for the item.',
100
+            'description' => 'A description of the item.',
101
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
102
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
103
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
104
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
105
+            'name' => 'The name of the item.',
106
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
107
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
108
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
109
+            'url' => 'URL of the item.'
110
+        ];
111
+    }
112
+
113
+
114
+    /**
115
+     * @inheritdoc
116
+     */
117
+    public function getGoogleRequiredSchema(): array
118
+    {
119
+        return ['description', 'name'];
120
+    }
121
+
122
+
123
+    /**
124
+     * @inheritdoc
125
+     */
126
+    public function getGoogleRecommendedSchema(): array
127
+    {
128
+        return ['image', 'url'];
129
+    }
130
+
131
+
132
+    /**
133
+     * @inheritdoc
134
+     */
135
+    public function defineRules(): array
136
+    {
137
+        $rules = parent::defineRules();
138
+            $rules = array_merge($rules, [
139
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
140
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
141
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
142
+            ]);
143
+
144
+            return $rules;
145
+    }
146 146
 }
Please login to merge, or discard this patch.
src/models/jsonld/MovingCompany.php 1 patch
Indentation   +310 added lines, -310 removed lines patch added patch discarded remove patch
@@ -23,331 +23,331 @@
 block discarded – undo
23 23
  */
24 24
 class MovingCompany extends MetaJsonLd implements MovingCompanyInterface, HomeAndConstructionBusinessInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface
25 25
 {
26
-	use MovingCompanyTrait;
27
-	use HomeAndConstructionBusinessTrait;
28
-	use LocalBusinessTrait;
29
-	use PlaceTrait;
30
-	use ThingTrait;
31
-	use OrganizationTrait;
26
+    use MovingCompanyTrait;
27
+    use HomeAndConstructionBusinessTrait;
28
+    use LocalBusinessTrait;
29
+    use PlaceTrait;
30
+    use ThingTrait;
31
+    use OrganizationTrait;
32 32
 
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static string $schemaTypeName = 'MovingCompany';
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static string $schemaTypeName = 'MovingCompany';
39 39
 
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static string $schemaTypeScope = 'https://schema.org/MovingCompany';
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static string $schemaTypeScope = 'https://schema.org/MovingCompany';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static string $schemaTypeExtends = 'HomeAndConstructionBusiness';
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static string $schemaTypeExtends = 'HomeAndConstructionBusiness';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static string $schemaTypeDescription = 'A moving company.';
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static string $schemaTypeDescription = 'A moving company.';
60 60
 
61 61
 
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69 69
 
70 70
 
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
78
-		    'additionalProperty' => ['PropertyValue'],
79
-		    'additionalType' => ['URL'],
80
-		    'address' => ['Text', 'PostalAddress'],
81
-		    'aggregateRating' => ['AggregateRating'],
82
-		    'alternateName' => ['Text'],
83
-		    'alumni' => ['Person'],
84
-		    'amenityFeature' => ['LocationFeatureSpecification'],
85
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
86
-		    'award' => ['Text'],
87
-		    'awards' => ['Text'],
88
-		    'branchCode' => ['Text'],
89
-		    'branchOf' => ['Organization'],
90
-		    'brand' => ['Brand', 'Organization'],
91
-		    'contactPoint' => ['ContactPoint'],
92
-		    'contactPoints' => ['ContactPoint'],
93
-		    'containedIn' => ['Place'],
94
-		    'containedInPlace' => ['Place'],
95
-		    'containsPlace' => ['Place'],
96
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
97
-		    'currenciesAccepted' => ['Text'],
98
-		    'department' => ['Organization'],
99
-		    'description' => ['Text'],
100
-		    'disambiguatingDescription' => ['Text'],
101
-		    'dissolutionDate' => ['Date'],
102
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
103
-		    'diversityStaffingReport' => ['Article', 'URL'],
104
-		    'duns' => ['Text'],
105
-		    'email' => ['Text'],
106
-		    'employee' => ['Person'],
107
-		    'employees' => ['Person'],
108
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
109
-		    'event' => ['Event'],
110
-		    'events' => ['Event'],
111
-		    'faxNumber' => ['Text'],
112
-		    'founder' => ['Person'],
113
-		    'founders' => ['Person'],
114
-		    'foundingDate' => ['Date'],
115
-		    'foundingLocation' => ['Place'],
116
-		    'funder' => ['Organization', 'Person'],
117
-		    'funding' => ['Grant'],
118
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
119
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
120
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
121
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
122
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
123
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
124
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
125
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
126
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
127
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
128
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
129
-		    'globalLocationNumber' => ['Text'],
130
-		    'hasCredential' => ['EducationalOccupationalCredential'],
131
-		    'hasDriveThroughService' => ['Boolean'],
132
-		    'hasMap' => ['URL', 'Map'],
133
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
134
-		    'hasOfferCatalog' => ['OfferCatalog'],
135
-		    'hasPOS' => ['Place'],
136
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
137
-		    'image' => ['URL', 'ImageObject'],
138
-		    'interactionStatistic' => ['InteractionCounter'],
139
-		    'isAccessibleForFree' => ['Boolean'],
140
-		    'isicV4' => ['Text'],
141
-		    'iso6523Code' => ['Text'],
142
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
143
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
144
-		    'knowsLanguage' => ['Text', 'Language'],
145
-		    'latitude' => ['Number', 'Text'],
146
-		    'legalName' => ['Text'],
147
-		    'leiCode' => ['Text'],
148
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
149
-		    'logo' => ['ImageObject', 'URL'],
150
-		    'longitude' => ['Text', 'Number'],
151
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
152
-		    'makesOffer' => ['Offer'],
153
-		    'map' => ['URL'],
154
-		    'maps' => ['URL'],
155
-		    'maximumAttendeeCapacity' => ['Integer'],
156
-		    'member' => ['Organization', 'Person'],
157
-		    'memberOf' => ['Organization', 'ProgramMembership'],
158
-		    'members' => ['Organization', 'Person'],
159
-		    'naics' => ['Text'],
160
-		    'name' => ['Text'],
161
-		    'nonprofitStatus' => ['NonprofitType'],
162
-		    'numberOfEmployees' => ['QuantitativeValue'],
163
-		    'openingHours' => ['Text'],
164
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
165
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
166
-		    'owns' => ['Product', 'OwnershipInfo'],
167
-		    'parentOrganization' => ['Organization'],
168
-		    'paymentAccepted' => ['Text'],
169
-		    'photo' => ['Photograph', 'ImageObject'],
170
-		    'photos' => ['ImageObject', 'Photograph'],
171
-		    'potentialAction' => ['Action'],
172
-		    'priceRange' => ['Text'],
173
-		    'publicAccess' => ['Boolean'],
174
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
175
-		    'review' => ['Review'],
176
-		    'reviews' => ['Review'],
177
-		    'sameAs' => ['URL'],
178
-		    'seeks' => ['Demand'],
179
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
180
-		    'slogan' => ['Text'],
181
-		    'smokingAllowed' => ['Boolean'],
182
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
183
-		    'sponsor' => ['Organization', 'Person'],
184
-		    'subOrganization' => ['Organization'],
185
-		    'subjectOf' => ['Event', 'CreativeWork'],
186
-		    'taxID' => ['Text'],
187
-		    'telephone' => ['Text'],
188
-		    'tourBookingPage' => ['URL'],
189
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
190
-		    'url' => ['URL'],
191
-		    'vatID' => ['Text']
192
-		];
193
-	}
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
78
+            'additionalProperty' => ['PropertyValue'],
79
+            'additionalType' => ['URL'],
80
+            'address' => ['Text', 'PostalAddress'],
81
+            'aggregateRating' => ['AggregateRating'],
82
+            'alternateName' => ['Text'],
83
+            'alumni' => ['Person'],
84
+            'amenityFeature' => ['LocationFeatureSpecification'],
85
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
86
+            'award' => ['Text'],
87
+            'awards' => ['Text'],
88
+            'branchCode' => ['Text'],
89
+            'branchOf' => ['Organization'],
90
+            'brand' => ['Brand', 'Organization'],
91
+            'contactPoint' => ['ContactPoint'],
92
+            'contactPoints' => ['ContactPoint'],
93
+            'containedIn' => ['Place'],
94
+            'containedInPlace' => ['Place'],
95
+            'containsPlace' => ['Place'],
96
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
97
+            'currenciesAccepted' => ['Text'],
98
+            'department' => ['Organization'],
99
+            'description' => ['Text'],
100
+            'disambiguatingDescription' => ['Text'],
101
+            'dissolutionDate' => ['Date'],
102
+            'diversityPolicy' => ['URL', 'CreativeWork'],
103
+            'diversityStaffingReport' => ['Article', 'URL'],
104
+            'duns' => ['Text'],
105
+            'email' => ['Text'],
106
+            'employee' => ['Person'],
107
+            'employees' => ['Person'],
108
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
109
+            'event' => ['Event'],
110
+            'events' => ['Event'],
111
+            'faxNumber' => ['Text'],
112
+            'founder' => ['Person'],
113
+            'founders' => ['Person'],
114
+            'foundingDate' => ['Date'],
115
+            'foundingLocation' => ['Place'],
116
+            'funder' => ['Organization', 'Person'],
117
+            'funding' => ['Grant'],
118
+            'geo' => ['GeoCoordinates', 'GeoShape'],
119
+            'geoContains' => ['Place', 'GeospatialGeometry'],
120
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
121
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
122
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
123
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
124
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
125
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
126
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
127
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
128
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
129
+            'globalLocationNumber' => ['Text'],
130
+            'hasCredential' => ['EducationalOccupationalCredential'],
131
+            'hasDriveThroughService' => ['Boolean'],
132
+            'hasMap' => ['URL', 'Map'],
133
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
134
+            'hasOfferCatalog' => ['OfferCatalog'],
135
+            'hasPOS' => ['Place'],
136
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
137
+            'image' => ['URL', 'ImageObject'],
138
+            'interactionStatistic' => ['InteractionCounter'],
139
+            'isAccessibleForFree' => ['Boolean'],
140
+            'isicV4' => ['Text'],
141
+            'iso6523Code' => ['Text'],
142
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
143
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
144
+            'knowsLanguage' => ['Text', 'Language'],
145
+            'latitude' => ['Number', 'Text'],
146
+            'legalName' => ['Text'],
147
+            'leiCode' => ['Text'],
148
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
149
+            'logo' => ['ImageObject', 'URL'],
150
+            'longitude' => ['Text', 'Number'],
151
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
152
+            'makesOffer' => ['Offer'],
153
+            'map' => ['URL'],
154
+            'maps' => ['URL'],
155
+            'maximumAttendeeCapacity' => ['Integer'],
156
+            'member' => ['Organization', 'Person'],
157
+            'memberOf' => ['Organization', 'ProgramMembership'],
158
+            'members' => ['Organization', 'Person'],
159
+            'naics' => ['Text'],
160
+            'name' => ['Text'],
161
+            'nonprofitStatus' => ['NonprofitType'],
162
+            'numberOfEmployees' => ['QuantitativeValue'],
163
+            'openingHours' => ['Text'],
164
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
165
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
166
+            'owns' => ['Product', 'OwnershipInfo'],
167
+            'parentOrganization' => ['Organization'],
168
+            'paymentAccepted' => ['Text'],
169
+            'photo' => ['Photograph', 'ImageObject'],
170
+            'photos' => ['ImageObject', 'Photograph'],
171
+            'potentialAction' => ['Action'],
172
+            'priceRange' => ['Text'],
173
+            'publicAccess' => ['Boolean'],
174
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
175
+            'review' => ['Review'],
176
+            'reviews' => ['Review'],
177
+            'sameAs' => ['URL'],
178
+            'seeks' => ['Demand'],
179
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
180
+            'slogan' => ['Text'],
181
+            'smokingAllowed' => ['Boolean'],
182
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
183
+            'sponsor' => ['Organization', 'Person'],
184
+            'subOrganization' => ['Organization'],
185
+            'subjectOf' => ['Event', 'CreativeWork'],
186
+            'taxID' => ['Text'],
187
+            'telephone' => ['Text'],
188
+            'tourBookingPage' => ['URL'],
189
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
190
+            'url' => ['URL'],
191
+            'vatID' => ['Text']
192
+        ];
193
+    }
194 194
 
195 195
 
196
-	/**
197
-	 * @inheritdoc
198
-	 */
199
-	public function getSchemaPropertyDescriptions(): array
200
-	{
201
-		return [
202
-		    'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
203
-		    '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. ',
204
-		    '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.',
205
-		    'address' => 'Physical address of the item.',
206
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
207
-		    'alternateName' => 'An alias for the item.',
208
-		    'alumni' => 'Alumni of an organization.',
209
-		    '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.',
210
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
211
-		    'award' => 'An award won by or for this item.',
212
-		    'awards' => 'Awards won by or for this item.',
213
-		    '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.       ',
214
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
215
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
216
-		    'contactPoint' => 'A contact point for a person or organization.',
217
-		    'contactPoints' => 'A contact point for a person or organization.',
218
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
219
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
220
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
221
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
222
-		    'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
223
-		    'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
224
-		    'description' => 'A description of the item.',
225
-		    '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.',
226
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
227
-		    'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
228
-		    'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
229
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
230
-		    'email' => 'Email address.',
231
-		    'employee' => 'Someone working for this organization.',
232
-		    'employees' => 'People working for this organization.',
233
-		    'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
234
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
235
-		    'events' => 'Upcoming or past events associated with this place or organization.',
236
-		    'faxNumber' => 'The fax number.',
237
-		    'founder' => 'A person who founded this organization.',
238
-		    'founders' => 'A person who founded this organization.',
239
-		    'foundingDate' => 'The date that this organization was founded.',
240
-		    'foundingLocation' => 'The place where the Organization was founded.',
241
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
242
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
243
-		    'geo' => 'The geo coordinates of the place.',
244
-		    '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).',
245
-		    '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).',
246
-		    '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).',
247
-		    '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).',
248
-		    '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).)',
249
-		    '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).',
250
-		    '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).',
251
-		    '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).',
252
-		    '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).)',
253
-		    '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).',
254
-		    '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.',
255
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
256
-		    '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.',
257
-		    'hasMap' => 'A URL to a map of the place.',
258
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
259
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
260
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
261
-		    '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.         ',
262
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
263
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
264
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
265
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
266
-		    'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
267
-		    '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.',
268
-		    'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
269
-		    'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
270
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
271
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
272
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
273
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
274
-		    'logo' => 'An associated logo.',
275
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
276
-		    '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.',
277
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
278
-		    'map' => 'A URL to a map of the place.',
279
-		    'maps' => 'A URL to a map of the place.',
280
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
281
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
282
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
283
-		    'members' => 'A member of this organization.',
284
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
285
-		    'name' => 'The name of the item.',
286
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
287
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
288
-		    '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>.',
289
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
290
-		    'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
291
-		    'owns' => 'Products owned by the organization or person.',
292
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
293
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
294
-		    'photo' => 'A photograph of this place.',
295
-		    'photos' => 'Photographs of this place.',
296
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
297
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
298
-		    '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',
299
-		    '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. ',
300
-		    'review' => 'A review of the item.',
301
-		    'reviews' => 'Review of the item.',
302
-		    '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.',
303
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
304
-		    'serviceArea' => 'The geographic area where the service is provided.',
305
-		    'slogan' => 'A slogan or motto associated with the item.',
306
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
307
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
308
-		    '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.',
309
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
310
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
311
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
312
-		    'telephone' => 'The telephone number.',
313
-		    '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.',
314
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
315
-		    'url' => 'URL of the item.',
316
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
317
-		];
318
-	}
196
+    /**
197
+     * @inheritdoc
198
+     */
199
+    public function getSchemaPropertyDescriptions(): array
200
+    {
201
+        return [
202
+            'actionableFeedbackPolicy' => 'For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.',
203
+            '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. ',
204
+            '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.',
205
+            'address' => 'Physical address of the item.',
206
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
207
+            'alternateName' => 'An alias for the item.',
208
+            'alumni' => 'Alumni of an organization.',
209
+            '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.',
210
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
211
+            'award' => 'An award won by or for this item.',
212
+            'awards' => 'Awards won by or for this item.',
213
+            '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.       ',
214
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
215
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
216
+            'contactPoint' => 'A contact point for a person or organization.',
217
+            'contactPoints' => 'A contact point for a person or organization.',
218
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
219
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
220
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
221
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
222
+            'currenciesAccepted' => 'The currency accepted.  Use standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".',
223
+            'department' => 'A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.',
224
+            'description' => 'A description of the item.',
225
+            '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.',
226
+            'dissolutionDate' => 'The date that this organization was dissolved.',
227
+            'diversityPolicy' => 'Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.',
228
+            'diversityStaffingReport' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.',
229
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
230
+            'email' => 'Email address.',
231
+            'employee' => 'Someone working for this organization.',
232
+            'employees' => 'People working for this organization.',
233
+            'ethicsPolicy' => 'Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.',
234
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
235
+            'events' => 'Upcoming or past events associated with this place or organization.',
236
+            'faxNumber' => 'The fax number.',
237
+            'founder' => 'A person who founded this organization.',
238
+            'founders' => 'A person who founded this organization.',
239
+            'foundingDate' => 'The date that this organization was founded.',
240
+            'foundingLocation' => 'The place where the Organization was founded.',
241
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
242
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
243
+            'geo' => 'The geo coordinates of the place.',
244
+            '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).',
245
+            '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).',
246
+            '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).',
247
+            '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).',
248
+            '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).)',
249
+            '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).',
250
+            '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).',
251
+            '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).',
252
+            '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).)',
253
+            '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).',
254
+            '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.',
255
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
256
+            '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.',
257
+            'hasMap' => 'A URL to a map of the place.',
258
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
259
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
260
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
261
+            '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.         ',
262
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
263
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
264
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
265
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
266
+            'iso6523Code' => 'An organization identifier as defined in ISO 6523(-1). Note that many existing organization identifiers such as [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 identifier by setting the ICD part of the ISO 6523 identifier accordingly. ',
267
+            '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.',
268
+            'knowsAbout' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.',
269
+            'knowsLanguage' => 'Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).',
270
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
271
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
272
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
273
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
274
+            'logo' => 'An associated logo.',
275
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
276
+            '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.',
277
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
278
+            'map' => 'A URL to a map of the place.',
279
+            'maps' => 'A URL to a map of the place.',
280
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
281
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
282
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
283
+            'members' => 'A member of this organization.',
284
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
285
+            'name' => 'The name of the item.',
286
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
287
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
288
+            '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>.',
289
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
290
+            'ownershipFundingInfo' => 'For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence.   Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.',
291
+            'owns' => 'Products owned by the organization or person.',
292
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
293
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
294
+            'photo' => 'A photograph of this place.',
295
+            'photos' => 'Photographs of this place.',
296
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
297
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
298
+            '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',
299
+            '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. ',
300
+            'review' => 'A review of the item.',
301
+            'reviews' => 'Review of the item.',
302
+            '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.',
303
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
304
+            'serviceArea' => 'The geographic area where the service is provided.',
305
+            'slogan' => 'A slogan or motto associated with the item.',
306
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
307
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
308
+            '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.',
309
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
310
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
311
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
312
+            'telephone' => 'The telephone number.',
313
+            '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.',
314
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
315
+            'url' => 'URL of the item.',
316
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
317
+        ];
318
+    }
319 319
 
320 320
 
321
-	/**
322
-	 * @inheritdoc
323
-	 */
324
-	public function getGoogleRequiredSchema(): array
325
-	{
326
-		return ['description', 'name'];
327
-	}
321
+    /**
322
+     * @inheritdoc
323
+     */
324
+    public function getGoogleRequiredSchema(): array
325
+    {
326
+        return ['description', 'name'];
327
+    }
328 328
 
329 329
 
330
-	/**
331
-	 * @inheritdoc
332
-	 */
333
-	public function getGoogleRecommendedSchema(): array
334
-	{
335
-		return ['image', 'url'];
336
-	}
330
+    /**
331
+     * @inheritdoc
332
+     */
333
+    public function getGoogleRecommendedSchema(): array
334
+    {
335
+        return ['image', 'url'];
336
+    }
337 337
 
338 338
 
339
-	/**
340
-	 * @inheritdoc
341
-	 */
342
-	public function defineRules(): array
343
-	{
344
-		$rules = parent::defineRules();
345
-		    $rules = array_merge($rules, [
346
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
347
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
348
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
349
-		    ]);
339
+    /**
340
+     * @inheritdoc
341
+     */
342
+    public function defineRules(): array
343
+    {
344
+        $rules = parent::defineRules();
345
+            $rules = array_merge($rules, [
346
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
347
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
348
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
349
+            ]);
350 350
 
351
-		    return $rules;
352
-	}
351
+            return $rules;
352
+    }
353 353
 }
Please login to merge, or discard this patch.
src/models/jsonld/SubwayStation.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 SubwayStation extends MetaJsonLd implements SubwayStationInterface, CivicStructureInterface, PlaceInterface, ThingInterface
25 25
 {
26
-	use SubwayStationTrait;
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 string $schemaTypeName = 'SubwayStation';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static string $schemaTypeScope = 'https://schema.org/SubwayStation';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static string $schemaTypeExtends = 'CivicStructure';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static string $schemaTypeDescription = 'A subway station.';
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 SubwayStationTrait;
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 string $schemaTypeName = 'SubwayStation';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static string $schemaTypeScope = 'https://schema.org/SubwayStation';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static string $schemaTypeExtends = 'CivicStructure';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static string $schemaTypeDescription = 'A subway station.';
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.