Passed
Push — develop ( 4f138b...630b57 )
by Andrew
22:11 queued 11:30
created
src/models/jsonld/ActionStatusType.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class ActionStatusType extends MetaJsonLd implements ActionStatusTypeInterface, StatusEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use ActionStatusTypeTrait;
27
-	use StatusEnumerationTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'ActionStatusType';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/ActionStatusType';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'StatusEnumeration';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'The status of an Action.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use ActionStatusTypeTrait;
27
+    use StatusEnumerationTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'ActionStatusType';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/ActionStatusType';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'StatusEnumeration';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'The status of an Action.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Electrician.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 Electrician extends MetaJsonLd implements ElectricianInterface, HomeAndConstructionBusinessInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface
25 25
 {
26
-	use ElectricianTrait;
27
-	use HomeAndConstructionBusinessTrait;
28
-	use LocalBusinessTrait;
29
-	use PlaceTrait;
30
-	use ThingTrait;
31
-	use OrganizationTrait;
26
+    use ElectricianTrait;
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 $schemaTypeName = 'Electrician';
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'Electrician';
39 39
 
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/Electrician';
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/Electrician';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'HomeAndConstructionBusiness';
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'HomeAndConstructionBusiness';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'An electrician.';
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'An electrician.';
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/ViolenceConsideration.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class ViolenceConsideration extends MetaJsonLd implements ViolenceConsiderationInterface, AdultOrientedEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use ViolenceConsiderationTrait;
27
-	use AdultOrientedEnumerationTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'ViolenceConsideration';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/ViolenceConsideration';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'AdultOrientedEnumeration';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'Item shows or promotes violence.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use ViolenceConsiderationTrait;
27
+    use AdultOrientedEnumerationTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'ViolenceConsideration';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/ViolenceConsideration';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'AdultOrientedEnumeration';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'Item shows or promotes violence.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Physician.php 1 patch
Indentation   +321 added lines, -321 removed lines patch added patch discarded remove patch
@@ -23,342 +23,342 @@
 block discarded – undo
23 23
  */
24 24
 class Physician extends MetaJsonLd implements PhysicianInterface, MedicalOrganizationInterface, OrganizationInterface, ThingInterface, MedicalBusinessInterface, LocalBusinessInterface, PlaceInterface
25 25
 {
26
-	use PhysicianTrait;
27
-	use MedicalOrganizationTrait;
28
-	use OrganizationTrait;
29
-	use ThingTrait;
30
-	use MedicalBusinessTrait;
31
-	use LocalBusinessTrait;
32
-	use PlaceTrait;
26
+    use PhysicianTrait;
27
+    use MedicalOrganizationTrait;
28
+    use OrganizationTrait;
29
+    use ThingTrait;
30
+    use MedicalBusinessTrait;
31
+    use LocalBusinessTrait;
32
+    use PlaceTrait;
33 33
 
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'Physician';
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'Physician';
40 40
 
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/Physician';
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/Physician';
47 47
 
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'MedicalOrganization';
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'MedicalOrganization';
54 54
 
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'A doctor\'s office.';
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'A doctor\'s office.';
61 61
 
62 62
 
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70 70
 
71 71
 
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
79
-		    'additionalProperty' => ['PropertyValue'],
80
-		    'additionalType' => ['URL'],
81
-		    'address' => ['Text', 'PostalAddress'],
82
-		    'aggregateRating' => ['AggregateRating'],
83
-		    'alternateName' => ['Text'],
84
-		    'alumni' => ['Person'],
85
-		    'amenityFeature' => ['LocationFeatureSpecification'],
86
-		    'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
87
-		    'availableService' => ['MedicalTherapy', 'MedicalTest', 'MedicalProcedure'],
88
-		    'award' => ['Text'],
89
-		    'awards' => ['Text'],
90
-		    'branchCode' => ['Text'],
91
-		    'branchOf' => ['Organization'],
92
-		    'brand' => ['Brand', 'Organization'],
93
-		    'contactPoint' => ['ContactPoint'],
94
-		    'contactPoints' => ['ContactPoint'],
95
-		    'containedIn' => ['Place'],
96
-		    'containedInPlace' => ['Place'],
97
-		    'containsPlace' => ['Place'],
98
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
99
-		    'currenciesAccepted' => ['Text'],
100
-		    'department' => ['Organization'],
101
-		    'description' => ['Text'],
102
-		    'disambiguatingDescription' => ['Text'],
103
-		    'dissolutionDate' => ['Date'],
104
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
105
-		    'diversityStaffingReport' => ['Article', 'URL'],
106
-		    'duns' => ['Text'],
107
-		    'email' => ['Text'],
108
-		    'employee' => ['Person'],
109
-		    'employees' => ['Person'],
110
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
111
-		    'event' => ['Event'],
112
-		    'events' => ['Event'],
113
-		    'faxNumber' => ['Text'],
114
-		    'founder' => ['Person'],
115
-		    'founders' => ['Person'],
116
-		    'foundingDate' => ['Date'],
117
-		    'foundingLocation' => ['Place'],
118
-		    'funder' => ['Organization', 'Person'],
119
-		    'funding' => ['Grant'],
120
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
121
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
122
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
123
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
124
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
125
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
126
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
127
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
128
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
129
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
130
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
131
-		    'globalLocationNumber' => ['Text'],
132
-		    'hasCredential' => ['EducationalOccupationalCredential'],
133
-		    'hasDriveThroughService' => ['Boolean'],
134
-		    'hasMap' => ['URL', 'Map'],
135
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
136
-		    'hasOfferCatalog' => ['OfferCatalog'],
137
-		    'hasPOS' => ['Place'],
138
-		    'healthPlanNetworkId' => ['Text'],
139
-		    'hospitalAffiliation' => ['Hospital'],
140
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
141
-		    'image' => ['URL', 'ImageObject'],
142
-		    'interactionStatistic' => ['InteractionCounter'],
143
-		    'isAcceptingNewPatients' => ['Boolean'],
144
-		    'isAccessibleForFree' => ['Boolean'],
145
-		    'isicV4' => ['Text'],
146
-		    'iso6523Code' => ['Text'],
147
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
148
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
149
-		    'knowsLanguage' => ['Text', 'Language'],
150
-		    'latitude' => ['Number', 'Text'],
151
-		    'legalName' => ['Text'],
152
-		    'leiCode' => ['Text'],
153
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
154
-		    'logo' => ['ImageObject', 'URL'],
155
-		    'longitude' => ['Text', 'Number'],
156
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
157
-		    'makesOffer' => ['Offer'],
158
-		    'map' => ['URL'],
159
-		    'maps' => ['URL'],
160
-		    'maximumAttendeeCapacity' => ['Integer'],
161
-		    'medicalSpecialty' => ['MedicalSpecialty'],
162
-		    'member' => ['Organization', 'Person'],
163
-		    'memberOf' => ['Organization', 'ProgramMembership'],
164
-		    'members' => ['Organization', 'Person'],
165
-		    'naics' => ['Text'],
166
-		    'name' => ['Text'],
167
-		    'nonprofitStatus' => ['NonprofitType'],
168
-		    'numberOfEmployees' => ['QuantitativeValue'],
169
-		    'openingHours' => ['Text'],
170
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
171
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
172
-		    'owns' => ['Product', 'OwnershipInfo'],
173
-		    'parentOrganization' => ['Organization'],
174
-		    'paymentAccepted' => ['Text'],
175
-		    'photo' => ['Photograph', 'ImageObject'],
176
-		    'photos' => ['ImageObject', 'Photograph'],
177
-		    'potentialAction' => ['Action'],
178
-		    'priceRange' => ['Text'],
179
-		    'publicAccess' => ['Boolean'],
180
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
181
-		    'review' => ['Review'],
182
-		    'reviews' => ['Review'],
183
-		    'sameAs' => ['URL'],
184
-		    'seeks' => ['Demand'],
185
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
186
-		    'slogan' => ['Text'],
187
-		    'smokingAllowed' => ['Boolean'],
188
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
189
-		    'sponsor' => ['Organization', 'Person'],
190
-		    'subOrganization' => ['Organization'],
191
-		    'subjectOf' => ['Event', 'CreativeWork'],
192
-		    'taxID' => ['Text'],
193
-		    'telephone' => ['Text'],
194
-		    'tourBookingPage' => ['URL'],
195
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
196
-		    'url' => ['URL'],
197
-		    'vatID' => ['Text']
198
-		];
199
-	}
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
79
+            'additionalProperty' => ['PropertyValue'],
80
+            'additionalType' => ['URL'],
81
+            'address' => ['Text', 'PostalAddress'],
82
+            'aggregateRating' => ['AggregateRating'],
83
+            'alternateName' => ['Text'],
84
+            'alumni' => ['Person'],
85
+            'amenityFeature' => ['LocationFeatureSpecification'],
86
+            'areaServed' => ['Text', 'Place', 'GeoShape', 'AdministrativeArea'],
87
+            'availableService' => ['MedicalTherapy', 'MedicalTest', 'MedicalProcedure'],
88
+            'award' => ['Text'],
89
+            'awards' => ['Text'],
90
+            'branchCode' => ['Text'],
91
+            'branchOf' => ['Organization'],
92
+            'brand' => ['Brand', 'Organization'],
93
+            'contactPoint' => ['ContactPoint'],
94
+            'contactPoints' => ['ContactPoint'],
95
+            'containedIn' => ['Place'],
96
+            'containedInPlace' => ['Place'],
97
+            'containsPlace' => ['Place'],
98
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
99
+            'currenciesAccepted' => ['Text'],
100
+            'department' => ['Organization'],
101
+            'description' => ['Text'],
102
+            'disambiguatingDescription' => ['Text'],
103
+            'dissolutionDate' => ['Date'],
104
+            'diversityPolicy' => ['URL', 'CreativeWork'],
105
+            'diversityStaffingReport' => ['Article', 'URL'],
106
+            'duns' => ['Text'],
107
+            'email' => ['Text'],
108
+            'employee' => ['Person'],
109
+            'employees' => ['Person'],
110
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
111
+            'event' => ['Event'],
112
+            'events' => ['Event'],
113
+            'faxNumber' => ['Text'],
114
+            'founder' => ['Person'],
115
+            'founders' => ['Person'],
116
+            'foundingDate' => ['Date'],
117
+            'foundingLocation' => ['Place'],
118
+            'funder' => ['Organization', 'Person'],
119
+            'funding' => ['Grant'],
120
+            'geo' => ['GeoCoordinates', 'GeoShape'],
121
+            'geoContains' => ['Place', 'GeospatialGeometry'],
122
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
123
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
124
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
125
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
126
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
127
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
128
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
129
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
130
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
131
+            'globalLocationNumber' => ['Text'],
132
+            'hasCredential' => ['EducationalOccupationalCredential'],
133
+            'hasDriveThroughService' => ['Boolean'],
134
+            'hasMap' => ['URL', 'Map'],
135
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
136
+            'hasOfferCatalog' => ['OfferCatalog'],
137
+            'hasPOS' => ['Place'],
138
+            'healthPlanNetworkId' => ['Text'],
139
+            'hospitalAffiliation' => ['Hospital'],
140
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
141
+            'image' => ['URL', 'ImageObject'],
142
+            'interactionStatistic' => ['InteractionCounter'],
143
+            'isAcceptingNewPatients' => ['Boolean'],
144
+            'isAccessibleForFree' => ['Boolean'],
145
+            'isicV4' => ['Text'],
146
+            'iso6523Code' => ['Text'],
147
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
148
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
149
+            'knowsLanguage' => ['Text', 'Language'],
150
+            'latitude' => ['Number', 'Text'],
151
+            'legalName' => ['Text'],
152
+            'leiCode' => ['Text'],
153
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
154
+            'logo' => ['ImageObject', 'URL'],
155
+            'longitude' => ['Text', 'Number'],
156
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
157
+            'makesOffer' => ['Offer'],
158
+            'map' => ['URL'],
159
+            'maps' => ['URL'],
160
+            'maximumAttendeeCapacity' => ['Integer'],
161
+            'medicalSpecialty' => ['MedicalSpecialty'],
162
+            'member' => ['Organization', 'Person'],
163
+            'memberOf' => ['Organization', 'ProgramMembership'],
164
+            'members' => ['Organization', 'Person'],
165
+            'naics' => ['Text'],
166
+            'name' => ['Text'],
167
+            'nonprofitStatus' => ['NonprofitType'],
168
+            'numberOfEmployees' => ['QuantitativeValue'],
169
+            'openingHours' => ['Text'],
170
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
171
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
172
+            'owns' => ['Product', 'OwnershipInfo'],
173
+            'parentOrganization' => ['Organization'],
174
+            'paymentAccepted' => ['Text'],
175
+            'photo' => ['Photograph', 'ImageObject'],
176
+            'photos' => ['ImageObject', 'Photograph'],
177
+            'potentialAction' => ['Action'],
178
+            'priceRange' => ['Text'],
179
+            'publicAccess' => ['Boolean'],
180
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
181
+            'review' => ['Review'],
182
+            'reviews' => ['Review'],
183
+            'sameAs' => ['URL'],
184
+            'seeks' => ['Demand'],
185
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
186
+            'slogan' => ['Text'],
187
+            'smokingAllowed' => ['Boolean'],
188
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
189
+            'sponsor' => ['Organization', 'Person'],
190
+            'subOrganization' => ['Organization'],
191
+            'subjectOf' => ['Event', 'CreativeWork'],
192
+            'taxID' => ['Text'],
193
+            'telephone' => ['Text'],
194
+            'tourBookingPage' => ['URL'],
195
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
196
+            'url' => ['URL'],
197
+            'vatID' => ['Text']
198
+        ];
199
+    }
200 200
 
201 201
 
202
-	/**
203
-	 * @inheritdoc
204
-	 */
205
-	public function getSchemaPropertyDescriptions(): array
206
-	{
207
-		return [
208
-		    '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.',
209
-		    '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. ',
210
-		    '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.',
211
-		    'address' => 'Physical address of the item.',
212
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
213
-		    'alternateName' => 'An alias for the item.',
214
-		    'alumni' => 'Alumni of an organization.',
215
-		    '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.',
216
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
217
-		    'availableService' => 'A medical service available from this provider.',
218
-		    'award' => 'An award won by or for this item.',
219
-		    'awards' => 'Awards won by or for this item.',
220
-		    '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.       ',
221
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
222
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
223
-		    'contactPoint' => 'A contact point for a person or organization.',
224
-		    'contactPoints' => 'A contact point for a person or organization.',
225
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
226
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
227
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
228
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
229
-		    '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".',
230
-		    '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.',
231
-		    'description' => 'A description of the item.',
232
-		    '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.',
233
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
234
-		    '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.',
235
-		    '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.',
236
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
237
-		    'email' => 'Email address.',
238
-		    'employee' => 'Someone working for this organization.',
239
-		    'employees' => 'People working for this organization.',
240
-		    '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.',
241
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
242
-		    'events' => 'Upcoming or past events associated with this place or organization.',
243
-		    'faxNumber' => 'The fax number.',
244
-		    'founder' => 'A person who founded this organization.',
245
-		    'founders' => 'A person who founded this organization.',
246
-		    'foundingDate' => 'The date that this organization was founded.',
247
-		    'foundingLocation' => 'The place where the Organization was founded.',
248
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
249
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
250
-		    'geo' => 'The geo coordinates of the place.',
251
-		    '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).',
252
-		    '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).',
253
-		    '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).',
254
-		    '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).',
255
-		    '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).)',
256
-		    '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).',
257
-		    '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).',
258
-		    '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).',
259
-		    '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).)',
260
-		    '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).',
261
-		    '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.',
262
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
263
-		    '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.',
264
-		    'hasMap' => 'A URL to a map of the place.',
265
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
266
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
267
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
268
-		    'healthPlanNetworkId' => 'Name or unique ID of network. (Networks are often reused across different insurance plans.)',
269
-		    'hospitalAffiliation' => 'A hospital with which the physician or office is affiliated.',
270
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
271
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
272
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
273
-		    'isAcceptingNewPatients' => 'Whether the provider is accepting new patients.',
274
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
275
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
276
-		    '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. ',
277
-		    '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.',
278
-		    '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.',
279
-		    '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).',
280
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
281
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
282
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
283
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
284
-		    'logo' => 'An associated logo.',
285
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
286
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
287
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
288
-		    'map' => 'A URL to a map of the place.',
289
-		    'maps' => 'A URL to a map of the place.',
290
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
291
-		    'medicalSpecialty' => 'A medical specialty of the provider.',
292
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
293
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
294
-		    'members' => 'A member of this organization.',
295
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
296
-		    'name' => 'The name of the item.',
297
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
298
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
299
-		    '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>.',
300
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
301
-		    '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.',
302
-		    'owns' => 'Products owned by the organization or person.',
303
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
304
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
305
-		    'photo' => 'A photograph of this place.',
306
-		    'photos' => 'Photographs of this place.',
307
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
308
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
309
-		    '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',
310
-		    '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. ',
311
-		    'review' => 'A review of the item.',
312
-		    'reviews' => 'Review of the item.',
313
-		    '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.',
314
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
315
-		    'serviceArea' => 'The geographic area where the service is provided.',
316
-		    'slogan' => 'A slogan or motto associated with the item.',
317
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
318
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
319
-		    '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.',
320
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
321
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
322
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
323
-		    'telephone' => 'The telephone number.',
324
-		    '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.',
325
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
326
-		    'url' => 'URL of the item.',
327
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
328
-		];
329
-	}
202
+    /**
203
+     * @inheritdoc
204
+     */
205
+    public function getSchemaPropertyDescriptions(): array
206
+    {
207
+        return [
208
+            '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.',
209
+            '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. ',
210
+            '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.',
211
+            'address' => 'Physical address of the item.',
212
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
213
+            'alternateName' => 'An alias for the item.',
214
+            'alumni' => 'Alumni of an organization.',
215
+            '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.',
216
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
217
+            'availableService' => 'A medical service available from this provider.',
218
+            'award' => 'An award won by or for this item.',
219
+            'awards' => 'Awards won by or for this item.',
220
+            '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.       ',
221
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
222
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
223
+            'contactPoint' => 'A contact point for a person or organization.',
224
+            'contactPoints' => 'A contact point for a person or organization.',
225
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
226
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
227
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
228
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
229
+            '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".',
230
+            '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.',
231
+            'description' => 'A description of the item.',
232
+            '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.',
233
+            'dissolutionDate' => 'The date that this organization was dissolved.',
234
+            '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.',
235
+            '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.',
236
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
237
+            'email' => 'Email address.',
238
+            'employee' => 'Someone working for this organization.',
239
+            'employees' => 'People working for this organization.',
240
+            '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.',
241
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
242
+            'events' => 'Upcoming or past events associated with this place or organization.',
243
+            'faxNumber' => 'The fax number.',
244
+            'founder' => 'A person who founded this organization.',
245
+            'founders' => 'A person who founded this organization.',
246
+            'foundingDate' => 'The date that this organization was founded.',
247
+            'foundingLocation' => 'The place where the Organization was founded.',
248
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
249
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
250
+            'geo' => 'The geo coordinates of the place.',
251
+            '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).',
252
+            '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).',
253
+            '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).',
254
+            '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).',
255
+            '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).)',
256
+            '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).',
257
+            '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).',
258
+            '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).',
259
+            '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).)',
260
+            '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).',
261
+            '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.',
262
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
263
+            '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.',
264
+            'hasMap' => 'A URL to a map of the place.',
265
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
266
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
267
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
268
+            'healthPlanNetworkId' => 'Name or unique ID of network. (Networks are often reused across different insurance plans.)',
269
+            'hospitalAffiliation' => 'A hospital with which the physician or office is affiliated.',
270
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
271
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
272
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
273
+            'isAcceptingNewPatients' => 'Whether the provider is accepting new patients.',
274
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
275
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
276
+            '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. ',
277
+            '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.',
278
+            '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.',
279
+            '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).',
280
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
281
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
282
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
283
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
284
+            'logo' => 'An associated logo.',
285
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
286
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
287
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
288
+            'map' => 'A URL to a map of the place.',
289
+            'maps' => 'A URL to a map of the place.',
290
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
291
+            'medicalSpecialty' => 'A medical specialty of the provider.',
292
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
293
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
294
+            'members' => 'A member of this organization.',
295
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
296
+            'name' => 'The name of the item.',
297
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
298
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
299
+            '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>.',
300
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
301
+            '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.',
302
+            'owns' => 'Products owned by the organization or person.',
303
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
304
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
305
+            'photo' => 'A photograph of this place.',
306
+            'photos' => 'Photographs of this place.',
307
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
308
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
309
+            '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',
310
+            '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. ',
311
+            'review' => 'A review of the item.',
312
+            'reviews' => 'Review of the item.',
313
+            '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.',
314
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
315
+            'serviceArea' => 'The geographic area where the service is provided.',
316
+            'slogan' => 'A slogan or motto associated with the item.',
317
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
318
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
319
+            '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.',
320
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
321
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
322
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
323
+            'telephone' => 'The telephone number.',
324
+            '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.',
325
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
326
+            'url' => 'URL of the item.',
327
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
328
+        ];
329
+    }
330 330
 
331 331
 
332
-	/**
333
-	 * @inheritdoc
334
-	 */
335
-	public function getGoogleRequiredSchema(): array
336
-	{
337
-		return ['description', 'name'];
338
-	}
332
+    /**
333
+     * @inheritdoc
334
+     */
335
+    public function getGoogleRequiredSchema(): array
336
+    {
337
+        return ['description', 'name'];
338
+    }
339 339
 
340 340
 
341
-	/**
342
-	 * @inheritdoc
343
-	 */
344
-	public function getGoogleRecommendedSchema(): array
345
-	{
346
-		return ['image', 'url'];
347
-	}
341
+    /**
342
+     * @inheritdoc
343
+     */
344
+    public function getGoogleRecommendedSchema(): array
345
+    {
346
+        return ['image', 'url'];
347
+    }
348 348
 
349 349
 
350
-	/**
351
-	 * @inheritdoc
352
-	 */
353
-	public function defineRules(): array
354
-	{
355
-		$rules = parent::defineRules();
356
-		    $rules = array_merge($rules, [
357
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
358
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
359
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
360
-		    ]);
350
+    /**
351
+     * @inheritdoc
352
+     */
353
+    public function defineRules(): array
354
+    {
355
+        $rules = parent::defineRules();
356
+            $rules = array_merge($rules, [
357
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
358
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
359
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
360
+            ]);
361 361
 
362
-		    return $rules;
363
-	}
362
+            return $rules;
363
+    }
364 364
 }
Please login to merge, or discard this patch.
src/models/jsonld/MedicalTherapy.php 1 patch
Indentation   +160 added lines, -160 removed lines patch added patch discarded remove patch
@@ -28,164 +28,164 @@
 block discarded – undo
28 28
  */
29 29
 class MedicalTherapy extends MetaJsonLd implements MedicalTherapyInterface, TherapeuticProcedureInterface, MedicalProcedureInterface, MedicalEntityInterface, ThingInterface
30 30
 {
31
-	use MedicalTherapyTrait;
32
-	use TherapeuticProcedureTrait;
33
-	use MedicalProcedureTrait;
34
-	use MedicalEntityTrait;
35
-	use ThingTrait;
36
-
37
-	/**
38
-	 * The Schema.org Type Name
39
-	 *
40
-	 * @var string
41
-	 */
42
-	public static $schemaTypeName = 'MedicalTherapy';
43
-
44
-	/**
45
-	 * The Schema.org Type Scope
46
-	 *
47
-	 * @var string
48
-	 */
49
-	public static $schemaTypeScope = 'https://schema.org/MedicalTherapy';
50
-
51
-	/**
52
-	 * The Schema.org Type Extends
53
-	 *
54
-	 * @var string
55
-	 */
56
-	public static $schemaTypeExtends = 'TherapeuticProcedure';
57
-
58
-	/**
59
-	 * The Schema.org Type Description
60
-	 *
61
-	 * @var string
62
-	 */
63
-	public static $schemaTypeDescription = 'Any medical intervention designed to prevent, treat, and cure human diseases and medical conditions, including both curative and palliative therapies. Medical therapies are typically processes of care relying upon pharmacotherapy, behavioral therapy, supportive therapy (with fluid or nutrition for example), or detoxification (e.g. hemodialysis) aimed at improving or preventing a health condition.';
64
-
65
-
66
-	/**
67
-	 * @inheritdoc
68
-	 */
69
-	public function getSchemaPropertyNames(): array
70
-	{
71
-		return array_keys($this->getSchemaPropertyExpectedTypes());
72
-	}
73
-
74
-
75
-	/**
76
-	 * @inheritdoc
77
-	 */
78
-	public function getSchemaPropertyExpectedTypes(): array
79
-	{
80
-		return [
81
-		    'additionalType' => ['URL'],
82
-		    'adverseOutcome' => ['MedicalEntity'],
83
-		    'alternateName' => ['Text'],
84
-		    'bodyLocation' => ['Text'],
85
-		    'code' => ['MedicalCode'],
86
-		    'contraindication' => ['Text', 'MedicalContraindication'],
87
-		    'description' => ['Text'],
88
-		    'disambiguatingDescription' => ['Text'],
89
-		    'doseSchedule' => ['DoseSchedule'],
90
-		    'drug' => ['Drug'],
91
-		    'duplicateTherapy' => ['MedicalTherapy'],
92
-		    'followup' => ['Text'],
93
-		    'funding' => ['Grant'],
94
-		    'guideline' => ['MedicalGuideline'],
95
-		    'howPerformed' => ['Text'],
96
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
97
-		    'image' => ['URL', 'ImageObject'],
98
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
99
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
100
-		    'medicineSystem' => ['MedicineSystem'],
101
-		    'name' => ['Text'],
102
-		    'potentialAction' => ['Action'],
103
-		    'preparation' => ['Text', 'MedicalEntity'],
104
-		    'procedureType' => ['MedicalProcedureType'],
105
-		    'recognizingAuthority' => ['Organization'],
106
-		    'relevantSpecialty' => ['MedicalSpecialty'],
107
-		    'sameAs' => ['URL'],
108
-		    'seriousAdverseOutcome' => ['MedicalEntity'],
109
-		    'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
110
-		    'study' => ['MedicalStudy'],
111
-		    'subjectOf' => ['Event', 'CreativeWork'],
112
-		    'url' => ['URL']
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getSchemaPropertyDescriptions(): array
121
-	{
122
-		return [
123
-		    '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.',
124
-		    'adverseOutcome' => 'A possible complication and/or side effect of this therapy. If it is known that an adverse outcome is serious (resulting in death, disability, or permanent damage; requiring hospitalization; or otherwise life-threatening or requiring immediate medical attention), tag it as a seriousAdverseOutcome instead.',
125
-		    'alternateName' => 'An alias for the item.',
126
-		    'bodyLocation' => 'Location in the body of the anatomical structure.',
127
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
128
-		    'contraindication' => 'A contraindication for this therapy.',
129
-		    'description' => 'A description of the item.',
130
-		    '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.',
131
-		    'doseSchedule' => 'A dosing schedule for the drug for a given population, either observed, recommended, or maximum dose based on the type used.',
132
-		    'drug' => 'Specifying a drug or medicine used in a medication procedure.',
133
-		    'duplicateTherapy' => 'A therapy that duplicates or overlaps this one.',
134
-		    'followup' => 'Typical or recommended followup care after the procedure is performed.',
135
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
136
-		    'guideline' => 'A medical guideline related to this entity.',
137
-		    'howPerformed' => 'How the procedure is performed.',
138
-		    '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.         ',
139
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
140
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
141
-		    '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.',
142
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
143
-		    'name' => 'The name of the item.',
144
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
145
-		    'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
146
-		    'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
147
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
148
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
149
-		    '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.',
150
-		    'seriousAdverseOutcome' => 'A possible serious complication and/or serious side effect of this therapy. Serious adverse outcomes include those that are life-threatening; result in death, disability, or permanent damage; require hospitalization or prolong existing hospitalization; cause congenital anomalies or birth defects; or jeopardize the patient and may require medical or surgical intervention to prevent one of the outcomes in this definition.',
151
-		    'status' => 'The status of the study (enumerated).',
152
-		    'study' => 'A medical study or trial related to this entity.',
153
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
154
-		    'url' => 'URL of the item.'
155
-		];
156
-	}
157
-
158
-
159
-	/**
160
-	 * @inheritdoc
161
-	 */
162
-	public function getGoogleRequiredSchema(): array
163
-	{
164
-		return ['description', 'name'];
165
-	}
166
-
167
-
168
-	/**
169
-	 * @inheritdoc
170
-	 */
171
-	public function getGoogleRecommendedSchema(): array
172
-	{
173
-		return ['image', 'url'];
174
-	}
175
-
176
-
177
-	/**
178
-	 * @inheritdoc
179
-	 */
180
-	public function defineRules(): array
181
-	{
182
-		$rules = parent::defineRules();
183
-		    $rules = array_merge($rules, [
184
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
185
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
186
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
187
-		    ]);
188
-
189
-		    return $rules;
190
-	}
31
+    use MedicalTherapyTrait;
32
+    use TherapeuticProcedureTrait;
33
+    use MedicalProcedureTrait;
34
+    use MedicalEntityTrait;
35
+    use ThingTrait;
36
+
37
+    /**
38
+     * The Schema.org Type Name
39
+     *
40
+     * @var string
41
+     */
42
+    public static $schemaTypeName = 'MedicalTherapy';
43
+
44
+    /**
45
+     * The Schema.org Type Scope
46
+     *
47
+     * @var string
48
+     */
49
+    public static $schemaTypeScope = 'https://schema.org/MedicalTherapy';
50
+
51
+    /**
52
+     * The Schema.org Type Extends
53
+     *
54
+     * @var string
55
+     */
56
+    public static $schemaTypeExtends = 'TherapeuticProcedure';
57
+
58
+    /**
59
+     * The Schema.org Type Description
60
+     *
61
+     * @var string
62
+     */
63
+    public static $schemaTypeDescription = 'Any medical intervention designed to prevent, treat, and cure human diseases and medical conditions, including both curative and palliative therapies. Medical therapies are typically processes of care relying upon pharmacotherapy, behavioral therapy, supportive therapy (with fluid or nutrition for example), or detoxification (e.g. hemodialysis) aimed at improving or preventing a health condition.';
64
+
65
+
66
+    /**
67
+     * @inheritdoc
68
+     */
69
+    public function getSchemaPropertyNames(): array
70
+    {
71
+        return array_keys($this->getSchemaPropertyExpectedTypes());
72
+    }
73
+
74
+
75
+    /**
76
+     * @inheritdoc
77
+     */
78
+    public function getSchemaPropertyExpectedTypes(): array
79
+    {
80
+        return [
81
+            'additionalType' => ['URL'],
82
+            'adverseOutcome' => ['MedicalEntity'],
83
+            'alternateName' => ['Text'],
84
+            'bodyLocation' => ['Text'],
85
+            'code' => ['MedicalCode'],
86
+            'contraindication' => ['Text', 'MedicalContraindication'],
87
+            'description' => ['Text'],
88
+            'disambiguatingDescription' => ['Text'],
89
+            'doseSchedule' => ['DoseSchedule'],
90
+            'drug' => ['Drug'],
91
+            'duplicateTherapy' => ['MedicalTherapy'],
92
+            'followup' => ['Text'],
93
+            'funding' => ['Grant'],
94
+            'guideline' => ['MedicalGuideline'],
95
+            'howPerformed' => ['Text'],
96
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
97
+            'image' => ['URL', 'ImageObject'],
98
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
99
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
100
+            'medicineSystem' => ['MedicineSystem'],
101
+            'name' => ['Text'],
102
+            'potentialAction' => ['Action'],
103
+            'preparation' => ['Text', 'MedicalEntity'],
104
+            'procedureType' => ['MedicalProcedureType'],
105
+            'recognizingAuthority' => ['Organization'],
106
+            'relevantSpecialty' => ['MedicalSpecialty'],
107
+            'sameAs' => ['URL'],
108
+            'seriousAdverseOutcome' => ['MedicalEntity'],
109
+            'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
110
+            'study' => ['MedicalStudy'],
111
+            'subjectOf' => ['Event', 'CreativeWork'],
112
+            'url' => ['URL']
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getSchemaPropertyDescriptions(): array
121
+    {
122
+        return [
123
+            '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.',
124
+            'adverseOutcome' => 'A possible complication and/or side effect of this therapy. If it is known that an adverse outcome is serious (resulting in death, disability, or permanent damage; requiring hospitalization; or otherwise life-threatening or requiring immediate medical attention), tag it as a seriousAdverseOutcome instead.',
125
+            'alternateName' => 'An alias for the item.',
126
+            'bodyLocation' => 'Location in the body of the anatomical structure.',
127
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
128
+            'contraindication' => 'A contraindication for this therapy.',
129
+            'description' => 'A description of the item.',
130
+            '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.',
131
+            'doseSchedule' => 'A dosing schedule for the drug for a given population, either observed, recommended, or maximum dose based on the type used.',
132
+            'drug' => 'Specifying a drug or medicine used in a medication procedure.',
133
+            'duplicateTherapy' => 'A therapy that duplicates or overlaps this one.',
134
+            'followup' => 'Typical or recommended followup care after the procedure is performed.',
135
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
136
+            'guideline' => 'A medical guideline related to this entity.',
137
+            'howPerformed' => 'How the procedure is performed.',
138
+            '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.         ',
139
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
140
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
141
+            '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.',
142
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
143
+            'name' => 'The name of the item.',
144
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
145
+            'preparation' => 'Typical preparation that a patient must undergo before having the procedure performed.',
146
+            'procedureType' => 'The type of procedure, for example Surgical, Noninvasive, or Percutaneous.',
147
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
148
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
149
+            '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.',
150
+            'seriousAdverseOutcome' => 'A possible serious complication and/or serious side effect of this therapy. Serious adverse outcomes include those that are life-threatening; result in death, disability, or permanent damage; require hospitalization or prolong existing hospitalization; cause congenital anomalies or birth defects; or jeopardize the patient and may require medical or surgical intervention to prevent one of the outcomes in this definition.',
151
+            'status' => 'The status of the study (enumerated).',
152
+            'study' => 'A medical study or trial related to this entity.',
153
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
154
+            'url' => 'URL of the item.'
155
+        ];
156
+    }
157
+
158
+
159
+    /**
160
+     * @inheritdoc
161
+     */
162
+    public function getGoogleRequiredSchema(): array
163
+    {
164
+        return ['description', 'name'];
165
+    }
166
+
167
+
168
+    /**
169
+     * @inheritdoc
170
+     */
171
+    public function getGoogleRecommendedSchema(): array
172
+    {
173
+        return ['image', 'url'];
174
+    }
175
+
176
+
177
+    /**
178
+     * @inheritdoc
179
+     */
180
+    public function defineRules(): array
181
+    {
182
+        $rules = parent::defineRules();
183
+            $rules = array_merge($rules, [
184
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
185
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
186
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
187
+            ]);
188
+
189
+            return $rules;
190
+    }
191 191
 }
Please login to merge, or discard this patch.
src/models/jsonld/ElementarySchool.php 1 patch
Indentation   +302 added lines, -302 removed lines patch added patch discarded remove patch
@@ -23,323 +23,323 @@
 block discarded – undo
23 23
  */
24 24
 class ElementarySchool extends MetaJsonLd implements ElementarySchoolInterface, EducationalOrganizationInterface, CivicStructureInterface, PlaceInterface, ThingInterface, OrganizationInterface
25 25
 {
26
-	use ElementarySchoolTrait;
27
-	use EducationalOrganizationTrait;
28
-	use CivicStructureTrait;
29
-	use PlaceTrait;
30
-	use ThingTrait;
31
-	use OrganizationTrait;
26
+    use ElementarySchoolTrait;
27
+    use EducationalOrganizationTrait;
28
+    use CivicStructureTrait;
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 $schemaTypeName = 'ElementarySchool';
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'ElementarySchool';
39 39
 
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/ElementarySchool';
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/ElementarySchool';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'EducationalOrganization';
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'EducationalOrganization';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'An elementary school.';
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'An elementary school.';
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
-		    'brand' => ['Brand', 'Organization'],
90
-		    'contactPoint' => ['ContactPoint'],
91
-		    'contactPoints' => ['ContactPoint'],
92
-		    'containedIn' => ['Place'],
93
-		    'containedInPlace' => ['Place'],
94
-		    'containsPlace' => ['Place'],
95
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
96
-		    'department' => ['Organization'],
97
-		    'description' => ['Text'],
98
-		    'disambiguatingDescription' => ['Text'],
99
-		    'dissolutionDate' => ['Date'],
100
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
101
-		    'diversityStaffingReport' => ['Article', 'URL'],
102
-		    'duns' => ['Text'],
103
-		    'email' => ['Text'],
104
-		    'employee' => ['Person'],
105
-		    'employees' => ['Person'],
106
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
107
-		    'event' => ['Event'],
108
-		    'events' => ['Event'],
109
-		    'faxNumber' => ['Text'],
110
-		    'founder' => ['Person'],
111
-		    'founders' => ['Person'],
112
-		    'foundingDate' => ['Date'],
113
-		    'foundingLocation' => ['Place'],
114
-		    'funder' => ['Organization', 'Person'],
115
-		    'funding' => ['Grant'],
116
-		    'geo' => ['GeoCoordinates', 'GeoShape'],
117
-		    'geoContains' => ['Place', 'GeospatialGeometry'],
118
-		    'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
119
-		    'geoCovers' => ['GeospatialGeometry', 'Place'],
120
-		    'geoCrosses' => ['GeospatialGeometry', 'Place'],
121
-		    'geoDisjoint' => ['GeospatialGeometry', 'Place'],
122
-		    'geoEquals' => ['GeospatialGeometry', 'Place'],
123
-		    'geoIntersects' => ['GeospatialGeometry', 'Place'],
124
-		    'geoOverlaps' => ['GeospatialGeometry', 'Place'],
125
-		    'geoTouches' => ['GeospatialGeometry', 'Place'],
126
-		    'geoWithin' => ['GeospatialGeometry', 'Place'],
127
-		    'globalLocationNumber' => ['Text'],
128
-		    'hasCredential' => ['EducationalOccupationalCredential'],
129
-		    'hasDriveThroughService' => ['Boolean'],
130
-		    'hasMap' => ['URL', 'Map'],
131
-		    'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
132
-		    'hasOfferCatalog' => ['OfferCatalog'],
133
-		    'hasPOS' => ['Place'],
134
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
135
-		    'image' => ['URL', 'ImageObject'],
136
-		    'interactionStatistic' => ['InteractionCounter'],
137
-		    'isAccessibleForFree' => ['Boolean'],
138
-		    'isicV4' => ['Text'],
139
-		    'iso6523Code' => ['Text'],
140
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
141
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
142
-		    'knowsLanguage' => ['Text', 'Language'],
143
-		    'latitude' => ['Number', 'Text'],
144
-		    'legalName' => ['Text'],
145
-		    'leiCode' => ['Text'],
146
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
147
-		    'logo' => ['ImageObject', 'URL'],
148
-		    'longitude' => ['Text', 'Number'],
149
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
150
-		    'makesOffer' => ['Offer'],
151
-		    'map' => ['URL'],
152
-		    'maps' => ['URL'],
153
-		    'maximumAttendeeCapacity' => ['Integer'],
154
-		    'member' => ['Organization', 'Person'],
155
-		    'memberOf' => ['Organization', 'ProgramMembership'],
156
-		    'members' => ['Organization', 'Person'],
157
-		    'naics' => ['Text'],
158
-		    'name' => ['Text'],
159
-		    'nonprofitStatus' => ['NonprofitType'],
160
-		    'numberOfEmployees' => ['QuantitativeValue'],
161
-		    'openingHours' => ['Text'],
162
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
163
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
164
-		    'owns' => ['Product', 'OwnershipInfo'],
165
-		    'parentOrganization' => ['Organization'],
166
-		    'photo' => ['Photograph', 'ImageObject'],
167
-		    'photos' => ['ImageObject', 'Photograph'],
168
-		    'potentialAction' => ['Action'],
169
-		    'publicAccess' => ['Boolean'],
170
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
171
-		    'review' => ['Review'],
172
-		    'reviews' => ['Review'],
173
-		    'sameAs' => ['URL'],
174
-		    'seeks' => ['Demand'],
175
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
176
-		    'slogan' => ['Text'],
177
-		    'smokingAllowed' => ['Boolean'],
178
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
179
-		    'sponsor' => ['Organization', 'Person'],
180
-		    'subOrganization' => ['Organization'],
181
-		    'subjectOf' => ['Event', 'CreativeWork'],
182
-		    'taxID' => ['Text'],
183
-		    'telephone' => ['Text'],
184
-		    'tourBookingPage' => ['URL'],
185
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
186
-		    'url' => ['URL'],
187
-		    'vatID' => ['Text']
188
-		];
189
-	}
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
+            'brand' => ['Brand', 'Organization'],
90
+            'contactPoint' => ['ContactPoint'],
91
+            'contactPoints' => ['ContactPoint'],
92
+            'containedIn' => ['Place'],
93
+            'containedInPlace' => ['Place'],
94
+            'containsPlace' => ['Place'],
95
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
96
+            'department' => ['Organization'],
97
+            'description' => ['Text'],
98
+            'disambiguatingDescription' => ['Text'],
99
+            'dissolutionDate' => ['Date'],
100
+            'diversityPolicy' => ['URL', 'CreativeWork'],
101
+            'diversityStaffingReport' => ['Article', 'URL'],
102
+            'duns' => ['Text'],
103
+            'email' => ['Text'],
104
+            'employee' => ['Person'],
105
+            'employees' => ['Person'],
106
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
107
+            'event' => ['Event'],
108
+            'events' => ['Event'],
109
+            'faxNumber' => ['Text'],
110
+            'founder' => ['Person'],
111
+            'founders' => ['Person'],
112
+            'foundingDate' => ['Date'],
113
+            'foundingLocation' => ['Place'],
114
+            'funder' => ['Organization', 'Person'],
115
+            'funding' => ['Grant'],
116
+            'geo' => ['GeoCoordinates', 'GeoShape'],
117
+            'geoContains' => ['Place', 'GeospatialGeometry'],
118
+            'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
119
+            'geoCovers' => ['GeospatialGeometry', 'Place'],
120
+            'geoCrosses' => ['GeospatialGeometry', 'Place'],
121
+            'geoDisjoint' => ['GeospatialGeometry', 'Place'],
122
+            'geoEquals' => ['GeospatialGeometry', 'Place'],
123
+            'geoIntersects' => ['GeospatialGeometry', 'Place'],
124
+            'geoOverlaps' => ['GeospatialGeometry', 'Place'],
125
+            'geoTouches' => ['GeospatialGeometry', 'Place'],
126
+            'geoWithin' => ['GeospatialGeometry', 'Place'],
127
+            'globalLocationNumber' => ['Text'],
128
+            'hasCredential' => ['EducationalOccupationalCredential'],
129
+            'hasDriveThroughService' => ['Boolean'],
130
+            'hasMap' => ['URL', 'Map'],
131
+            'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
132
+            'hasOfferCatalog' => ['OfferCatalog'],
133
+            'hasPOS' => ['Place'],
134
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
135
+            'image' => ['URL', 'ImageObject'],
136
+            'interactionStatistic' => ['InteractionCounter'],
137
+            'isAccessibleForFree' => ['Boolean'],
138
+            'isicV4' => ['Text'],
139
+            'iso6523Code' => ['Text'],
140
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
141
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
142
+            'knowsLanguage' => ['Text', 'Language'],
143
+            'latitude' => ['Number', 'Text'],
144
+            'legalName' => ['Text'],
145
+            'leiCode' => ['Text'],
146
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
147
+            'logo' => ['ImageObject', 'URL'],
148
+            'longitude' => ['Text', 'Number'],
149
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
150
+            'makesOffer' => ['Offer'],
151
+            'map' => ['URL'],
152
+            'maps' => ['URL'],
153
+            'maximumAttendeeCapacity' => ['Integer'],
154
+            'member' => ['Organization', 'Person'],
155
+            'memberOf' => ['Organization', 'ProgramMembership'],
156
+            'members' => ['Organization', 'Person'],
157
+            'naics' => ['Text'],
158
+            'name' => ['Text'],
159
+            'nonprofitStatus' => ['NonprofitType'],
160
+            'numberOfEmployees' => ['QuantitativeValue'],
161
+            'openingHours' => ['Text'],
162
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
163
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
164
+            'owns' => ['Product', 'OwnershipInfo'],
165
+            'parentOrganization' => ['Organization'],
166
+            'photo' => ['Photograph', 'ImageObject'],
167
+            'photos' => ['ImageObject', 'Photograph'],
168
+            'potentialAction' => ['Action'],
169
+            'publicAccess' => ['Boolean'],
170
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
171
+            'review' => ['Review'],
172
+            'reviews' => ['Review'],
173
+            'sameAs' => ['URL'],
174
+            'seeks' => ['Demand'],
175
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
176
+            'slogan' => ['Text'],
177
+            'smokingAllowed' => ['Boolean'],
178
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
179
+            'sponsor' => ['Organization', 'Person'],
180
+            'subOrganization' => ['Organization'],
181
+            'subjectOf' => ['Event', 'CreativeWork'],
182
+            'taxID' => ['Text'],
183
+            'telephone' => ['Text'],
184
+            'tourBookingPage' => ['URL'],
185
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
186
+            'url' => ['URL'],
187
+            'vatID' => ['Text']
188
+        ];
189
+    }
190 190
 
191 191
 
192
-	/**
193
-	 * @inheritdoc
194
-	 */
195
-	public function getSchemaPropertyDescriptions(): array
196
-	{
197
-		return [
198
-		    '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.',
199
-		    '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. ',
200
-		    '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.',
201
-		    'address' => 'Physical address of the item.',
202
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
203
-		    'alternateName' => 'An alias for the item.',
204
-		    'alumni' => 'Alumni of an organization.',
205
-		    '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.',
206
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
207
-		    'award' => 'An award won by or for this item.',
208
-		    'awards' => 'Awards won by or for this item.',
209
-		    '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.       ',
210
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
211
-		    'contactPoint' => 'A contact point for a person or organization.',
212
-		    'contactPoints' => 'A contact point for a person or organization.',
213
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
214
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
215
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
216
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
217
-		    '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.',
218
-		    'description' => 'A description of the item.',
219
-		    '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.',
220
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
221
-		    '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.',
222
-		    '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.',
223
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
224
-		    'email' => 'Email address.',
225
-		    'employee' => 'Someone working for this organization.',
226
-		    'employees' => 'People working for this organization.',
227
-		    '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.',
228
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
229
-		    'events' => 'Upcoming or past events associated with this place or organization.',
230
-		    'faxNumber' => 'The fax number.',
231
-		    'founder' => 'A person who founded this organization.',
232
-		    'founders' => 'A person who founded this organization.',
233
-		    'foundingDate' => 'The date that this organization was founded.',
234
-		    'foundingLocation' => 'The place where the Organization was founded.',
235
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
236
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
237
-		    'geo' => 'The geo coordinates of the place.',
238
-		    '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).',
239
-		    '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).',
240
-		    '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).',
241
-		    '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).',
242
-		    '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).)',
243
-		    '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).',
244
-		    '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).',
245
-		    '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).',
246
-		    '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).)',
247
-		    '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).',
248
-		    '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.',
249
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
250
-		    '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.',
251
-		    'hasMap' => 'A URL to a map of the place.',
252
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
253
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
254
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
255
-		    '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.         ',
256
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
257
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
258
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
259
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
260
-		    '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. ',
261
-		    '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.',
262
-		    '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.',
263
-		    '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).',
264
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
265
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
266
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
267
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
268
-		    'logo' => 'An associated logo.',
269
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
270
-		    '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.',
271
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
272
-		    'map' => 'A URL to a map of the place.',
273
-		    'maps' => 'A URL to a map of the place.',
274
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
275
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
276
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
277
-		    'members' => 'A member of this organization.',
278
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
279
-		    'name' => 'The name of the item.',
280
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
281
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
282
-		    '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>.',
283
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
284
-		    '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.',
285
-		    'owns' => 'Products owned by the organization or person.',
286
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
287
-		    'photo' => 'A photograph of this place.',
288
-		    'photos' => 'Photographs of this place.',
289
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
290
-		    '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',
291
-		    '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. ',
292
-		    'review' => 'A review of the item.',
293
-		    'reviews' => 'Review of the item.',
294
-		    '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.',
295
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
296
-		    'serviceArea' => 'The geographic area where the service is provided.',
297
-		    'slogan' => 'A slogan or motto associated with the item.',
298
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
299
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
300
-		    '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.',
301
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
302
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
303
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
304
-		    'telephone' => 'The telephone number.',
305
-		    '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.',
306
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
307
-		    'url' => 'URL of the item.',
308
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
309
-		];
310
-	}
192
+    /**
193
+     * @inheritdoc
194
+     */
195
+    public function getSchemaPropertyDescriptions(): array
196
+    {
197
+        return [
198
+            '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.',
199
+            '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. ',
200
+            '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.',
201
+            'address' => 'Physical address of the item.',
202
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
203
+            'alternateName' => 'An alias for the item.',
204
+            'alumni' => 'Alumni of an organization.',
205
+            '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.',
206
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
207
+            'award' => 'An award won by or for this item.',
208
+            'awards' => 'Awards won by or for this item.',
209
+            '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.       ',
210
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
211
+            'contactPoint' => 'A contact point for a person or organization.',
212
+            'contactPoints' => 'A contact point for a person or organization.',
213
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
214
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
215
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
216
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
217
+            '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.',
218
+            'description' => 'A description of the item.',
219
+            '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.',
220
+            'dissolutionDate' => 'The date that this organization was dissolved.',
221
+            '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.',
222
+            '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.',
223
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
224
+            'email' => 'Email address.',
225
+            'employee' => 'Someone working for this organization.',
226
+            'employees' => 'People working for this organization.',
227
+            '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.',
228
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
229
+            'events' => 'Upcoming or past events associated with this place or organization.',
230
+            'faxNumber' => 'The fax number.',
231
+            'founder' => 'A person who founded this organization.',
232
+            'founders' => 'A person who founded this organization.',
233
+            'foundingDate' => 'The date that this organization was founded.',
234
+            'foundingLocation' => 'The place where the Organization was founded.',
235
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
236
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
237
+            'geo' => 'The geo coordinates of the place.',
238
+            '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).',
239
+            '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).',
240
+            '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).',
241
+            '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).',
242
+            '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).)',
243
+            '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).',
244
+            '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).',
245
+            '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).',
246
+            '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).)',
247
+            '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).',
248
+            '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.',
249
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
250
+            '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.',
251
+            'hasMap' => 'A URL to a map of the place.',
252
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
253
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
254
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
255
+            '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.         ',
256
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
257
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
258
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
259
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
260
+            '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. ',
261
+            '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.',
262
+            '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.',
263
+            '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).',
264
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
265
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
266
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
267
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
268
+            'logo' => 'An associated logo.',
269
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
270
+            '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.',
271
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
272
+            'map' => 'A URL to a map of the place.',
273
+            'maps' => 'A URL to a map of the place.',
274
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
275
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
276
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
277
+            'members' => 'A member of this organization.',
278
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
279
+            'name' => 'The name of the item.',
280
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
281
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
282
+            '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>.',
283
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
284
+            '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.',
285
+            'owns' => 'Products owned by the organization or person.',
286
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
287
+            'photo' => 'A photograph of this place.',
288
+            'photos' => 'Photographs of this place.',
289
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
290
+            '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',
291
+            '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. ',
292
+            'review' => 'A review of the item.',
293
+            'reviews' => 'Review of the item.',
294
+            '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.',
295
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
296
+            'serviceArea' => 'The geographic area where the service is provided.',
297
+            'slogan' => 'A slogan or motto associated with the item.',
298
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
299
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
300
+            '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.',
301
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
302
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
303
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
304
+            'telephone' => 'The telephone number.',
305
+            '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.',
306
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
307
+            'url' => 'URL of the item.',
308
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
309
+        ];
310
+    }
311 311
 
312 312
 
313
-	/**
314
-	 * @inheritdoc
315
-	 */
316
-	public function getGoogleRequiredSchema(): array
317
-	{
318
-		return ['description', 'name'];
319
-	}
313
+    /**
314
+     * @inheritdoc
315
+     */
316
+    public function getGoogleRequiredSchema(): array
317
+    {
318
+        return ['description', 'name'];
319
+    }
320 320
 
321 321
 
322
-	/**
323
-	 * @inheritdoc
324
-	 */
325
-	public function getGoogleRecommendedSchema(): array
326
-	{
327
-		return ['image', 'url'];
328
-	}
322
+    /**
323
+     * @inheritdoc
324
+     */
325
+    public function getGoogleRecommendedSchema(): array
326
+    {
327
+        return ['image', 'url'];
328
+    }
329 329
 
330 330
 
331
-	/**
332
-	 * @inheritdoc
333
-	 */
334
-	public function defineRules(): array
335
-	{
336
-		$rules = parent::defineRules();
337
-		    $rules = array_merge($rules, [
338
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
339
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
340
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
341
-		    ]);
331
+    /**
332
+     * @inheritdoc
333
+     */
334
+    public function defineRules(): array
335
+    {
336
+        $rules = parent::defineRules();
337
+            $rules = array_merge($rules, [
338
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
339
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
340
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
341
+            ]);
342 342
 
343
-		    return $rules;
344
-	}
343
+            return $rules;
344
+    }
345 345
 }
Please login to merge, or discard this patch.
src/models/jsonld/AMRadioChannel.php 1 patch
Indentation   +132 added lines, -132 removed lines patch added patch discarded remove patch
@@ -23,136 +23,136 @@
 block discarded – undo
23 23
  */
24 24
 class AMRadioChannel extends MetaJsonLd implements AMRadioChannelInterface, RadioChannelInterface, BroadcastChannelInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use AMRadioChannelTrait;
27
-	use RadioChannelTrait;
28
-	use BroadcastChannelTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'AMRadioChannel';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/AMRadioChannel';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'RadioChannel';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A radio channel that uses AM.';
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
-		    'broadcastChannelId' => ['Text'],
79
-		    'broadcastFrequency' => ['Text', 'BroadcastFrequencySpecification'],
80
-		    'broadcastServiceTier' => ['Text'],
81
-		    'description' => ['Text'],
82
-		    'disambiguatingDescription' => ['Text'],
83
-		    'genre' => ['Text', 'URL'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'inBroadcastLineup' => ['CableOrSatelliteService'],
87
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
-		    'name' => ['Text'],
89
-		    'potentialAction' => ['Action'],
90
-		    'providesBroadcastService' => ['BroadcastService'],
91
-		    'sameAs' => ['URL'],
92
-		    'subjectOf' => ['Event', 'CreativeWork'],
93
-		    'url' => ['URL']
94
-		];
95
-	}
96
-
97
-
98
-	/**
99
-	 * @inheritdoc
100
-	 */
101
-	public function getSchemaPropertyDescriptions(): array
102
-	{
103
-		return [
104
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
105
-		    'alternateName' => 'An alias for the item.',
106
-		    'broadcastChannelId' => 'The unique address by which the BroadcastService can be identified in a provider lineup. In US, this is typically a number.',
107
-		    'broadcastFrequency' => 'The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".',
108
-		    'broadcastServiceTier' => 'The type of service required to have access to the channel (e.g. Standard or Premium).',
109
-		    'description' => 'A description of the item.',
110
-		    '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.',
111
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
112
-		    '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.         ',
113
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
114
-		    'inBroadcastLineup' => 'The CableOrSatelliteService offering the channel.',
115
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
116
-		    'name' => 'The name of the item.',
117
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
118
-		    'providesBroadcastService' => 'The BroadcastService offered on this channel.',
119
-		    '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.',
120
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
-		    'url' => 'URL of the item.'
122
-		];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRequiredSchema(): array
130
-	{
131
-		return ['description', 'name'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function getGoogleRecommendedSchema(): array
139
-	{
140
-		return ['image', 'url'];
141
-	}
142
-
143
-
144
-	/**
145
-	 * @inheritdoc
146
-	 */
147
-	public function defineRules(): array
148
-	{
149
-		$rules = parent::defineRules();
150
-		    $rules = array_merge($rules, [
151
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
152
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
153
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
154
-		    ]);
155
-
156
-		    return $rules;
157
-	}
26
+    use AMRadioChannelTrait;
27
+    use RadioChannelTrait;
28
+    use BroadcastChannelTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'AMRadioChannel';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/AMRadioChannel';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'RadioChannel';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A radio channel that uses AM.';
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
+            'broadcastChannelId' => ['Text'],
79
+            'broadcastFrequency' => ['Text', 'BroadcastFrequencySpecification'],
80
+            'broadcastServiceTier' => ['Text'],
81
+            'description' => ['Text'],
82
+            'disambiguatingDescription' => ['Text'],
83
+            'genre' => ['Text', 'URL'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'inBroadcastLineup' => ['CableOrSatelliteService'],
87
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
88
+            'name' => ['Text'],
89
+            'potentialAction' => ['Action'],
90
+            'providesBroadcastService' => ['BroadcastService'],
91
+            'sameAs' => ['URL'],
92
+            'subjectOf' => ['Event', 'CreativeWork'],
93
+            'url' => ['URL']
94
+        ];
95
+    }
96
+
97
+
98
+    /**
99
+     * @inheritdoc
100
+     */
101
+    public function getSchemaPropertyDescriptions(): array
102
+    {
103
+        return [
104
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
105
+            'alternateName' => 'An alias for the item.',
106
+            'broadcastChannelId' => 'The unique address by which the BroadcastService can be identified in a provider lineup. In US, this is typically a number.',
107
+            'broadcastFrequency' => 'The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. "87 FM".',
108
+            'broadcastServiceTier' => 'The type of service required to have access to the channel (e.g. Standard or Premium).',
109
+            'description' => 'A description of the item.',
110
+            '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.',
111
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
112
+            '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.         ',
113
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
114
+            'inBroadcastLineup' => 'The CableOrSatelliteService offering the channel.',
115
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
116
+            'name' => 'The name of the item.',
117
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
118
+            'providesBroadcastService' => 'The BroadcastService offered on this channel.',
119
+            '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.',
120
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
121
+            'url' => 'URL of the item.'
122
+        ];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRequiredSchema(): array
130
+    {
131
+        return ['description', 'name'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function getGoogleRecommendedSchema(): array
139
+    {
140
+        return ['image', 'url'];
141
+    }
142
+
143
+
144
+    /**
145
+     * @inheritdoc
146
+     */
147
+    public function defineRules(): array
148
+    {
149
+        $rules = parent::defineRules();
150
+            $rules = array_merge($rules, [
151
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
152
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
153
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
154
+            ]);
155
+
156
+            return $rules;
157
+    }
158 158
 }
Please login to merge, or discard this patch.
src/models/jsonld/State.php 1 patch
Indentation   +209 added lines, -209 removed lines patch added patch discarded remove patch
@@ -23,213 +23,213 @@
 block discarded – undo
23 23
  */
24 24
 class State extends MetaJsonLd implements StateInterface, AdministrativeAreaInterface, PlaceInterface, ThingInterface
25 25
 {
26
-	use StateTrait;
27
-	use AdministrativeAreaTrait;
28
-	use PlaceTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'State';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/State';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'AdministrativeArea';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A state or province of a country.';
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
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
118
-		    'photo' => ['Photograph', 'ImageObject'],
119
-		    'photos' => ['ImageObject', 'Photograph'],
120
-		    'potentialAction' => ['Action'],
121
-		    'publicAccess' => ['Boolean'],
122
-		    'review' => ['Review'],
123
-		    'reviews' => ['Review'],
124
-		    'sameAs' => ['URL'],
125
-		    'slogan' => ['Text'],
126
-		    'smokingAllowed' => ['Boolean'],
127
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
128
-		    'subjectOf' => ['Event', 'CreativeWork'],
129
-		    'telephone' => ['Text'],
130
-		    'tourBookingPage' => ['URL'],
131
-		    'url' => ['URL']
132
-		];
133
-	}
134
-
135
-
136
-	/**
137
-	 * @inheritdoc
138
-	 */
139
-	public function getSchemaPropertyDescriptions(): array
140
-	{
141
-		return [
142
-		    '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. ',
143
-		    '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.',
144
-		    'address' => 'Physical address of the item.',
145
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
146
-		    'alternateName' => 'An alias for the item.',
147
-		    '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.',
148
-		    '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.       ',
149
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
150
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
151
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
152
-		    'description' => 'A description of the item.',
153
-		    '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.',
154
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
155
-		    'events' => 'Upcoming or past events associated with this place or organization.',
156
-		    'faxNumber' => 'The fax number.',
157
-		    'geo' => 'The geo coordinates of the place.',
158
-		    '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).',
159
-		    '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).',
160
-		    '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).',
161
-		    '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).',
162
-		    '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).)',
163
-		    '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).',
164
-		    '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).',
165
-		    '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).',
166
-		    '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).)',
167
-		    '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).',
168
-		    '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.',
169
-		    '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.',
170
-		    'hasMap' => 'A URL to a map of the place.',
171
-		    '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.         ',
172
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
173
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
174
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
175
-		    '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.',
176
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
177
-		    'logo' => 'An associated logo.',
178
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
179
-		    '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.',
180
-		    'map' => 'A URL to a map of the place.',
181
-		    'maps' => 'A URL to a map of the place.',
182
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
183
-		    'name' => 'The name of the item.',
184
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
185
-		    'photo' => 'A photograph of this place.',
186
-		    'photos' => 'Photographs of this place.',
187
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
188
-		    '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',
189
-		    'review' => 'A review of the item.',
190
-		    'reviews' => 'Review of the item.',
191
-		    '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.',
192
-		    'slogan' => 'A slogan or motto associated with the item.',
193
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
194
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
195
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
196
-		    'telephone' => 'The telephone number.',
197
-		    '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.',
198
-		    'url' => 'URL of the item.'
199
-		];
200
-	}
201
-
202
-
203
-	/**
204
-	 * @inheritdoc
205
-	 */
206
-	public function getGoogleRequiredSchema(): array
207
-	{
208
-		return ['description', 'name'];
209
-	}
210
-
211
-
212
-	/**
213
-	 * @inheritdoc
214
-	 */
215
-	public function getGoogleRecommendedSchema(): array
216
-	{
217
-		return ['image', 'url'];
218
-	}
219
-
220
-
221
-	/**
222
-	 * @inheritdoc
223
-	 */
224
-	public function defineRules(): array
225
-	{
226
-		$rules = parent::defineRules();
227
-		    $rules = array_merge($rules, [
228
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
229
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
230
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
231
-		    ]);
232
-
233
-		    return $rules;
234
-	}
26
+    use StateTrait;
27
+    use AdministrativeAreaTrait;
28
+    use PlaceTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'State';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/State';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'AdministrativeArea';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A state or province of a country.';
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
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
118
+            'photo' => ['Photograph', 'ImageObject'],
119
+            'photos' => ['ImageObject', 'Photograph'],
120
+            'potentialAction' => ['Action'],
121
+            'publicAccess' => ['Boolean'],
122
+            'review' => ['Review'],
123
+            'reviews' => ['Review'],
124
+            'sameAs' => ['URL'],
125
+            'slogan' => ['Text'],
126
+            'smokingAllowed' => ['Boolean'],
127
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
128
+            'subjectOf' => ['Event', 'CreativeWork'],
129
+            'telephone' => ['Text'],
130
+            'tourBookingPage' => ['URL'],
131
+            'url' => ['URL']
132
+        ];
133
+    }
134
+
135
+
136
+    /**
137
+     * @inheritdoc
138
+     */
139
+    public function getSchemaPropertyDescriptions(): array
140
+    {
141
+        return [
142
+            '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. ',
143
+            '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.',
144
+            'address' => 'Physical address of the item.',
145
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
146
+            'alternateName' => 'An alias for the item.',
147
+            '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.',
148
+            '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.       ',
149
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
150
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
151
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
152
+            'description' => 'A description of the item.',
153
+            '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.',
154
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
155
+            'events' => 'Upcoming or past events associated with this place or organization.',
156
+            'faxNumber' => 'The fax number.',
157
+            'geo' => 'The geo coordinates of the place.',
158
+            '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).',
159
+            '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).',
160
+            '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).',
161
+            '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).',
162
+            '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).)',
163
+            '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).',
164
+            '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).',
165
+            '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).',
166
+            '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).)',
167
+            '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).',
168
+            '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.',
169
+            '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.',
170
+            'hasMap' => 'A URL to a map of the place.',
171
+            '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.         ',
172
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
173
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
174
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
175
+            '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.',
176
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
177
+            'logo' => 'An associated logo.',
178
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
179
+            '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.',
180
+            'map' => 'A URL to a map of the place.',
181
+            'maps' => 'A URL to a map of the place.',
182
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
183
+            'name' => 'The name of the item.',
184
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
185
+            'photo' => 'A photograph of this place.',
186
+            'photos' => 'Photographs of this place.',
187
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
188
+            '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',
189
+            'review' => 'A review of the item.',
190
+            'reviews' => 'Review of the item.',
191
+            '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.',
192
+            'slogan' => 'A slogan or motto associated with the item.',
193
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
194
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
195
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
196
+            'telephone' => 'The telephone number.',
197
+            '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.',
198
+            'url' => 'URL of the item.'
199
+        ];
200
+    }
201
+
202
+
203
+    /**
204
+     * @inheritdoc
205
+     */
206
+    public function getGoogleRequiredSchema(): array
207
+    {
208
+        return ['description', 'name'];
209
+    }
210
+
211
+
212
+    /**
213
+     * @inheritdoc
214
+     */
215
+    public function getGoogleRecommendedSchema(): array
216
+    {
217
+        return ['image', 'url'];
218
+    }
219
+
220
+
221
+    /**
222
+     * @inheritdoc
223
+     */
224
+    public function defineRules(): array
225
+    {
226
+        $rules = parent::defineRules();
227
+            $rules = array_merge($rules, [
228
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
229
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
230
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
231
+            ]);
232
+
233
+            return $rules;
234
+    }
235 235
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501c3.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 Nonprofit501c3 extends MetaJsonLd implements Nonprofit501c3Interface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
28 28
 {
29
-	use Nonprofit501c3Trait;
30
-	use USNonprofitTypeTrait;
31
-	use NonprofitTypeTrait;
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 $schemaTypeName = 'Nonprofit501c3';
42
-
43
-	/**
44
-	 * The Schema.org Type Scope
45
-	 *
46
-	 * @var string
47
-	 */
48
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501c3';
49
-
50
-	/**
51
-	 * The Schema.org Type Extends
52
-	 *
53
-	 * @var string
54
-	 */
55
-	public static $schemaTypeExtends = 'USNonprofitType';
56
-
57
-	/**
58
-	 * The Schema.org Type Description
59
-	 *
60
-	 * @var string
61
-	 */
62
-	public static $schemaTypeDescription = 'Nonprofit501c3: Non-profit type referring to Religious, Educational, Charitable, Scientific, Literary, Testing for Public Safety, Fostering National or International Amateur Sports Competition, or Prevention of Cruelty to Children or Animals Organizations.';
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 Nonprofit501c3Trait;
30
+    use USNonprofitTypeTrait;
31
+    use NonprofitTypeTrait;
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 $schemaTypeName = 'Nonprofit501c3';
42
+
43
+    /**
44
+     * The Schema.org Type Scope
45
+     *
46
+     * @var string
47
+     */
48
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501c3';
49
+
50
+    /**
51
+     * The Schema.org Type Extends
52
+     *
53
+     * @var string
54
+     */
55
+    public static $schemaTypeExtends = 'USNonprofitType';
56
+
57
+    /**
58
+     * The Schema.org Type Description
59
+     *
60
+     * @var string
61
+     */
62
+    public static $schemaTypeDescription = 'Nonprofit501c3: Non-profit type referring to Religious, Educational, Charitable, Scientific, Literary, Testing for Public Safety, Fostering National or International Amateur Sports Competition, or Prevention of Cruelty to Children or Animals Organizations.';
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.