Passed
Push — develop ( 90ed2c...5af6db )
by Andrew
09:42
created
src/models/jsonld/MedicalIntangible.php 1 patch
Indentation   +134 added lines, -134 removed lines patch added patch discarded remove patch
@@ -24,138 +24,138 @@
 block discarded – undo
24 24
  */
25 25
 class MedicalIntangible extends MetaJsonLd implements MedicalIntangibleInterface, MedicalEntityInterface, ThingInterface
26 26
 {
27
-	use MedicalIntangibleTrait;
28
-	use MedicalEntityTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'MedicalIntangible';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/MedicalIntangible';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'MedicalEntity';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A utility class that serves as the umbrella for a number of \'intangible\' things in the medical space.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'additionalType' => ['URL'],
76
-		    'alternateName' => ['Text'],
77
-		    'code' => ['MedicalCode'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'funding' => ['Grant'],
81
-		    'guideline' => ['MedicalGuideline'],
82
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
83
-		    'image' => ['URL', 'ImageObject'],
84
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
85
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
-		    'medicineSystem' => ['MedicineSystem'],
87
-		    'name' => ['Text'],
88
-		    'potentialAction' => ['Action'],
89
-		    'recognizingAuthority' => ['Organization'],
90
-		    'relevantSpecialty' => ['MedicalSpecialty'],
91
-		    'sameAs' => ['URL'],
92
-		    'study' => ['MedicalStudy'],
93
-		    'subjectOf' => ['Event', 'CreativeWork'],
94
-		    'url' => ['URL']
95
-		];
96
-	}
97
-
98
-
99
-	/**
100
-	 * @inheritdoc
101
-	 */
102
-	public function getSchemaPropertyDescriptions(): array
103
-	{
104
-		return [
105
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
106
-		    'alternateName' => 'An alias for the item.',
107
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
108
-		    'description' => 'A description of the item.',
109
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
110
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
111
-		    'guideline' => 'A medical guideline related to this entity.',
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
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
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
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
117
-		    'name' => 'The name of the item.',
118
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
119
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
120
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
121
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
122
-		    'study' => 'A medical study or trial related to this entity.',
123
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
124
-		    'url' => 'URL of the item.'
125
-		];
126
-	}
127
-
128
-
129
-	/**
130
-	 * @inheritdoc
131
-	 */
132
-	public function getGoogleRequiredSchema(): array
133
-	{
134
-		return ['description', 'name'];
135
-	}
136
-
137
-
138
-	/**
139
-	 * @inheritdoc
140
-	 */
141
-	public function getGoogleRecommendedSchema(): array
142
-	{
143
-		return ['image', 'url'];
144
-	}
145
-
146
-
147
-	/**
148
-	 * @inheritdoc
149
-	 */
150
-	public function defineRules(): array
151
-	{
152
-		$rules = parent::defineRules();
153
-		    $rules = array_merge($rules, [
154
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
155
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
156
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
157
-		    ]);
158
-
159
-		    return $rules;
160
-	}
27
+    use MedicalIntangibleTrait;
28
+    use MedicalEntityTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'MedicalIntangible';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/MedicalIntangible';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'MedicalEntity';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A utility class that serves as the umbrella for a number of \'intangible\' things in the medical space.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'additionalType' => ['URL'],
76
+            'alternateName' => ['Text'],
77
+            'code' => ['MedicalCode'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'funding' => ['Grant'],
81
+            'guideline' => ['MedicalGuideline'],
82
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
83
+            'image' => ['URL', 'ImageObject'],
84
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
85
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
86
+            'medicineSystem' => ['MedicineSystem'],
87
+            'name' => ['Text'],
88
+            'potentialAction' => ['Action'],
89
+            'recognizingAuthority' => ['Organization'],
90
+            'relevantSpecialty' => ['MedicalSpecialty'],
91
+            'sameAs' => ['URL'],
92
+            'study' => ['MedicalStudy'],
93
+            'subjectOf' => ['Event', 'CreativeWork'],
94
+            'url' => ['URL']
95
+        ];
96
+    }
97
+
98
+
99
+    /**
100
+     * @inheritdoc
101
+     */
102
+    public function getSchemaPropertyDescriptions(): array
103
+    {
104
+        return [
105
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
106
+            'alternateName' => 'An alias for the item.',
107
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
108
+            'description' => 'A description of the item.',
109
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
110
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
111
+            'guideline' => 'A medical guideline related to this entity.',
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
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
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
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
117
+            'name' => 'The name of the item.',
118
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
119
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
120
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
121
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
122
+            'study' => 'A medical study or trial related to this entity.',
123
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
124
+            'url' => 'URL of the item.'
125
+        ];
126
+    }
127
+
128
+
129
+    /**
130
+     * @inheritdoc
131
+     */
132
+    public function getGoogleRequiredSchema(): array
133
+    {
134
+        return ['description', 'name'];
135
+    }
136
+
137
+
138
+    /**
139
+     * @inheritdoc
140
+     */
141
+    public function getGoogleRecommendedSchema(): array
142
+    {
143
+        return ['image', 'url'];
144
+    }
145
+
146
+
147
+    /**
148
+     * @inheritdoc
149
+     */
150
+    public function defineRules(): array
151
+    {
152
+        $rules = parent::defineRules();
153
+            $rules = array_merge($rules, [
154
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
155
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
156
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
157
+            ]);
158
+
159
+            return $rules;
160
+    }
161 161
 }
Please login to merge, or discard this patch.
src/models/jsonld/GolfCourse.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 GolfCourse extends MetaJsonLd implements GolfCourseInterface, SportsActivityLocationInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface
25 25
 {
26
-	use GolfCourseTrait;
27
-	use SportsActivityLocationTrait;
28
-	use LocalBusinessTrait;
29
-	use PlaceTrait;
30
-	use ThingTrait;
31
-	use OrganizationTrait;
26
+    use GolfCourseTrait;
27
+    use SportsActivityLocationTrait;
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 = 'GolfCourse';
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'GolfCourse';
39 39
 
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/GolfCourse';
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/GolfCourse';
46 46
 
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'SportsActivityLocation';
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'SportsActivityLocation';
53 53
 
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'A golf course.';
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'A golf course.';
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/OwnershipInfo.php 1 patch
Indentation   +127 added lines, -127 removed lines patch added patch discarded remove patch
@@ -24,131 +24,131 @@
 block discarded – undo
24 24
  */
25 25
 class OwnershipInfo extends MetaJsonLd implements OwnershipInfoInterface, StructuredValueInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use OwnershipInfoTrait;
28
-	use StructuredValueTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'OwnershipInfo';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/OwnershipInfo';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'StructuredValue';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A structured value providing information about when a certain organization or person owned a certain product.';
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
-		    'acquiredFrom' => ['Person', 'Organization'],
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'ownedFrom' => ['DateTime'],
86
-		    'ownedThrough' => ['DateTime'],
87
-		    'potentialAction' => ['Action'],
88
-		    'sameAs' => ['URL'],
89
-		    'subjectOf' => ['Event', 'CreativeWork'],
90
-		    'typeOfGood' => ['Product', 'Service'],
91
-		    'url' => ['URL']
92
-		];
93
-	}
94
-
95
-
96
-	/**
97
-	 * @inheritdoc
98
-	 */
99
-	public function getSchemaPropertyDescriptions(): array
100
-	{
101
-		return [
102
-		    'acquiredFrom' => 'The organization or person from which the product was acquired.',
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
-		    'ownedFrom' => 'The date and time of obtaining the product.',
112
-		    'ownedThrough' => 'The date and time of giving up ownership on the product.',
113
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
114
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
115
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
-		    'typeOfGood' => 'The product that this structured value is referring to.',
117
-		    'url' => 'URL of the item.'
118
-		];
119
-	}
120
-
121
-
122
-	/**
123
-	 * @inheritdoc
124
-	 */
125
-	public function getGoogleRequiredSchema(): array
126
-	{
127
-		return ['description', 'name'];
128
-	}
129
-
130
-
131
-	/**
132
-	 * @inheritdoc
133
-	 */
134
-	public function getGoogleRecommendedSchema(): array
135
-	{
136
-		return ['image', 'url'];
137
-	}
138
-
139
-
140
-	/**
141
-	 * @inheritdoc
142
-	 */
143
-	public function defineRules(): array
144
-	{
145
-		$rules = parent::defineRules();
146
-		    $rules = array_merge($rules, [
147
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
-		    ]);
151
-
152
-		    return $rules;
153
-	}
27
+    use OwnershipInfoTrait;
28
+    use StructuredValueTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'OwnershipInfo';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/OwnershipInfo';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'StructuredValue';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A structured value providing information about when a certain organization or person owned a certain product.';
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
+            'acquiredFrom' => ['Person', 'Organization'],
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'ownedFrom' => ['DateTime'],
86
+            'ownedThrough' => ['DateTime'],
87
+            'potentialAction' => ['Action'],
88
+            'sameAs' => ['URL'],
89
+            'subjectOf' => ['Event', 'CreativeWork'],
90
+            'typeOfGood' => ['Product', 'Service'],
91
+            'url' => ['URL']
92
+        ];
93
+    }
94
+
95
+
96
+    /**
97
+     * @inheritdoc
98
+     */
99
+    public function getSchemaPropertyDescriptions(): array
100
+    {
101
+        return [
102
+            'acquiredFrom' => 'The organization or person from which the product was acquired.',
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
+            'ownedFrom' => 'The date and time of obtaining the product.',
112
+            'ownedThrough' => 'The date and time of giving up ownership on the product.',
113
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
114
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
115
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
+            'typeOfGood' => 'The product that this structured value is referring to.',
117
+            'url' => 'URL of the item.'
118
+        ];
119
+    }
120
+
121
+
122
+    /**
123
+     * @inheritdoc
124
+     */
125
+    public function getGoogleRequiredSchema(): array
126
+    {
127
+        return ['description', 'name'];
128
+    }
129
+
130
+
131
+    /**
132
+     * @inheritdoc
133
+     */
134
+    public function getGoogleRecommendedSchema(): array
135
+    {
136
+        return ['image', 'url'];
137
+    }
138
+
139
+
140
+    /**
141
+     * @inheritdoc
142
+     */
143
+    public function defineRules(): array
144
+    {
145
+        $rules = parent::defineRules();
146
+            $rules = array_merge($rules, [
147
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
148
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
149
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
150
+            ]);
151
+
152
+            return $rules;
153
+    }
154 154
 }
Please login to merge, or discard this patch.
src/models/jsonld/EUEnergyEfficiencyEnumeration.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -24,126 +24,126 @@
 block discarded – undo
24 24
  */
25 25
 class EUEnergyEfficiencyEnumeration extends MetaJsonLd implements EUEnergyEfficiencyEnumerationInterface, EnergyEfficiencyEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use EUEnergyEfficiencyEnumerationTrait;
28
-	use EnergyEfficiencyEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'EUEnergyEfficiencyEnumeration';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/EUEnergyEfficiencyEnumeration';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'EnergyEfficiencyEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Enumerates the EU energy efficiency classes A-G as well as A+, A++, and A+++ as defined in EU directive 2017/1369.';
60
-
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
69
-
70
-
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'sameAs' => ['URL'],
87
-		    'subjectOf' => ['Event', 'CreativeWork'],
88
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
-		    'url' => ['URL']
90
-		];
91
-	}
92
-
93
-
94
-	/**
95
-	 * @inheritdoc
96
-	 */
97
-	public function getSchemaPropertyDescriptions(): array
98
-	{
99
-		return [
100
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
-		    'alternateName' => 'An alias for the item.',
102
-		    'description' => 'A description of the item.',
103
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
-		    'name' => 'The name of the item.',
108
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
-		    'url' => 'URL of the item.'
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getGoogleRequiredSchema(): array
121
-	{
122
-		return ['description', 'name'];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRecommendedSchema(): array
130
-	{
131
-		return ['image', 'url'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function defineRules(): array
139
-	{
140
-		$rules = parent::defineRules();
141
-		    $rules = array_merge($rules, [
142
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
-		    ]);
146
-
147
-		    return $rules;
148
-	}
27
+    use EUEnergyEfficiencyEnumerationTrait;
28
+    use EnergyEfficiencyEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'EUEnergyEfficiencyEnumeration';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/EUEnergyEfficiencyEnumeration';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'EnergyEfficiencyEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Enumerates the EU energy efficiency classes A-G as well as A+, A++, and A+++ as defined in EU directive 2017/1369.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.
src/models/jsonld/DrugStrength.php 1 patch
Indentation   +145 added lines, -145 removed lines patch added patch discarded remove patch
@@ -24,149 +24,149 @@
 block discarded – undo
24 24
  */
25 25
 class DrugStrength extends MetaJsonLd implements DrugStrengthInterface, MedicalIntangibleInterface, MedicalEntityInterface, ThingInterface
26 26
 {
27
-	use DrugStrengthTrait;
28
-	use MedicalIntangibleTrait;
29
-	use MedicalEntityTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'DrugStrength';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/DrugStrength';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'MedicalIntangible';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A specific strength in which a medical drug is available in a specific country.';
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
-		    'activeIngredient' => ['Text'],
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'availableIn' => ['AdministrativeArea'],
80
-		    'code' => ['MedicalCode'],
81
-		    'description' => ['Text'],
82
-		    'disambiguatingDescription' => ['Text'],
83
-		    'funding' => ['Grant'],
84
-		    'guideline' => ['MedicalGuideline'],
85
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
86
-		    'image' => ['URL', 'ImageObject'],
87
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
88
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
-		    'maximumIntake' => ['MaximumDoseSchedule'],
90
-		    'medicineSystem' => ['MedicineSystem'],
91
-		    'name' => ['Text'],
92
-		    'potentialAction' => ['Action'],
93
-		    'recognizingAuthority' => ['Organization'],
94
-		    'relevantSpecialty' => ['MedicalSpecialty'],
95
-		    'sameAs' => ['URL'],
96
-		    'strengthUnit' => ['Text'],
97
-		    'strengthValue' => ['Number'],
98
-		    'study' => ['MedicalStudy'],
99
-		    'subjectOf' => ['Event', 'CreativeWork'],
100
-		    'url' => ['URL']
101
-		];
102
-	}
103
-
104
-
105
-	/**
106
-	 * @inheritdoc
107
-	 */
108
-	public function getSchemaPropertyDescriptions(): array
109
-	{
110
-		return [
111
-		    'activeIngredient' => 'An active ingredient, typically chemical compounds and/or biologic substances.',
112
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
113
-		    'alternateName' => 'An alias for the item.',
114
-		    'availableIn' => 'The location in which the strength is available.',
115
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
116
-		    'description' => 'A description of the item.',
117
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
118
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
119
-		    'guideline' => 'A medical guideline related to this entity.',
120
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
121
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
122
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
123
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
124
-		    'maximumIntake' => 'Recommended intake of this supplement for a given population as defined by a specific recommending authority.',
125
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
126
-		    'name' => 'The name of the item.',
127
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
128
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
129
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
130
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
131
-		    'strengthUnit' => 'The units of an active ingredient\'s strength, e.g. mg.',
132
-		    'strengthValue' => 'The value of an active ingredient\'s strength, e.g. 325.',
133
-		    'study' => 'A medical study or trial related to this entity.',
134
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
135
-		    'url' => 'URL of the item.'
136
-		];
137
-	}
138
-
139
-
140
-	/**
141
-	 * @inheritdoc
142
-	 */
143
-	public function getGoogleRequiredSchema(): array
144
-	{
145
-		return ['description', 'name'];
146
-	}
147
-
148
-
149
-	/**
150
-	 * @inheritdoc
151
-	 */
152
-	public function getGoogleRecommendedSchema(): array
153
-	{
154
-		return ['image', 'url'];
155
-	}
156
-
157
-
158
-	/**
159
-	 * @inheritdoc
160
-	 */
161
-	public function defineRules(): array
162
-	{
163
-		$rules = parent::defineRules();
164
-		    $rules = array_merge($rules, [
165
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
166
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
167
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
168
-		    ]);
169
-
170
-		    return $rules;
171
-	}
27
+    use DrugStrengthTrait;
28
+    use MedicalIntangibleTrait;
29
+    use MedicalEntityTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'DrugStrength';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/DrugStrength';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'MedicalIntangible';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A specific strength in which a medical drug is available in a specific country.';
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
+            'activeIngredient' => ['Text'],
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'availableIn' => ['AdministrativeArea'],
80
+            'code' => ['MedicalCode'],
81
+            'description' => ['Text'],
82
+            'disambiguatingDescription' => ['Text'],
83
+            'funding' => ['Grant'],
84
+            'guideline' => ['MedicalGuideline'],
85
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
86
+            'image' => ['URL', 'ImageObject'],
87
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
88
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
89
+            'maximumIntake' => ['MaximumDoseSchedule'],
90
+            'medicineSystem' => ['MedicineSystem'],
91
+            'name' => ['Text'],
92
+            'potentialAction' => ['Action'],
93
+            'recognizingAuthority' => ['Organization'],
94
+            'relevantSpecialty' => ['MedicalSpecialty'],
95
+            'sameAs' => ['URL'],
96
+            'strengthUnit' => ['Text'],
97
+            'strengthValue' => ['Number'],
98
+            'study' => ['MedicalStudy'],
99
+            'subjectOf' => ['Event', 'CreativeWork'],
100
+            'url' => ['URL']
101
+        ];
102
+    }
103
+
104
+
105
+    /**
106
+     * @inheritdoc
107
+     */
108
+    public function getSchemaPropertyDescriptions(): array
109
+    {
110
+        return [
111
+            'activeIngredient' => 'An active ingredient, typically chemical compounds and/or biologic substances.',
112
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
113
+            'alternateName' => 'An alias for the item.',
114
+            'availableIn' => 'The location in which the strength is available.',
115
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
116
+            'description' => 'A description of the item.',
117
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
118
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
119
+            'guideline' => 'A medical guideline related to this entity.',
120
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
121
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
122
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
123
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
124
+            'maximumIntake' => 'Recommended intake of this supplement for a given population as defined by a specific recommending authority.',
125
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
126
+            'name' => 'The name of the item.',
127
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
128
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
129
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
130
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
131
+            'strengthUnit' => 'The units of an active ingredient\'s strength, e.g. mg.',
132
+            'strengthValue' => 'The value of an active ingredient\'s strength, e.g. 325.',
133
+            'study' => 'A medical study or trial related to this entity.',
134
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
135
+            'url' => 'URL of the item.'
136
+        ];
137
+    }
138
+
139
+
140
+    /**
141
+     * @inheritdoc
142
+     */
143
+    public function getGoogleRequiredSchema(): array
144
+    {
145
+        return ['description', 'name'];
146
+    }
147
+
148
+
149
+    /**
150
+     * @inheritdoc
151
+     */
152
+    public function getGoogleRecommendedSchema(): array
153
+    {
154
+        return ['image', 'url'];
155
+    }
156
+
157
+
158
+    /**
159
+     * @inheritdoc
160
+     */
161
+    public function defineRules(): array
162
+    {
163
+        $rules = parent::defineRules();
164
+            $rules = array_merge($rules, [
165
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
166
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
167
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
168
+            ]);
169
+
170
+            return $rules;
171
+    }
172 172
 }
Please login to merge, or discard this patch.
src/models/jsonld/PrescriptionOnly.php 1 patch
Indentation   +123 added lines, -123 removed lines patch added patch discarded remove patch
@@ -23,127 +23,127 @@
 block discarded – undo
23 23
  */
24 24
 class PrescriptionOnly extends MetaJsonLd implements PrescriptionOnlyInterface, DrugPrescriptionStatusInterface, MedicalEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use PrescriptionOnlyTrait;
27
-	use DrugPrescriptionStatusTrait;
28
-	use MedicalEnumerationTrait;
29
-	use EnumerationTrait;
30
-	use IntangibleTrait;
31
-	use ThingTrait;
32
-
33
-	/**
34
-	 * The Schema.org Type Name
35
-	 *
36
-	 * @var string
37
-	 */
38
-	public static $schemaTypeName = 'PrescriptionOnly';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/PrescriptionOnly';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'DrugPrescriptionStatus';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Available by prescription only.';
60
-
61
-
62
-	/**
63
-	 * @inheritdoc
64
-	 */
65
-	public function getSchemaPropertyNames(): array
66
-	{
67
-		return array_keys($this->getSchemaPropertyExpectedTypes());
68
-	}
69
-
70
-
71
-	/**
72
-	 * @inheritdoc
73
-	 */
74
-	public function getSchemaPropertyExpectedTypes(): array
75
-	{
76
-		return [
77
-		    'additionalType' => ['URL'],
78
-		    'alternateName' => ['Text'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
82
-		    'image' => ['URL', 'ImageObject'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'sameAs' => ['URL'],
87
-		    'subjectOf' => ['Event', 'CreativeWork'],
88
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
-		    'url' => ['URL']
90
-		];
91
-	}
92
-
93
-
94
-	/**
95
-	 * @inheritdoc
96
-	 */
97
-	public function getSchemaPropertyDescriptions(): array
98
-	{
99
-		return [
100
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
-		    'alternateName' => 'An alias for the item.',
102
-		    'description' => 'A description of the item.',
103
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
-		    'name' => 'The name of the item.',
108
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
-		    'url' => 'URL of the item.'
113
-		];
114
-	}
115
-
116
-
117
-	/**
118
-	 * @inheritdoc
119
-	 */
120
-	public function getGoogleRequiredSchema(): array
121
-	{
122
-		return ['description', 'name'];
123
-	}
124
-
125
-
126
-	/**
127
-	 * @inheritdoc
128
-	 */
129
-	public function getGoogleRecommendedSchema(): array
130
-	{
131
-		return ['image', 'url'];
132
-	}
133
-
134
-
135
-	/**
136
-	 * @inheritdoc
137
-	 */
138
-	public function defineRules(): array
139
-	{
140
-		$rules = parent::defineRules();
141
-		    $rules = array_merge($rules, [
142
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
-		    ]);
146
-
147
-		    return $rules;
148
-	}
26
+    use PrescriptionOnlyTrait;
27
+    use DrugPrescriptionStatusTrait;
28
+    use MedicalEnumerationTrait;
29
+    use EnumerationTrait;
30
+    use IntangibleTrait;
31
+    use ThingTrait;
32
+
33
+    /**
34
+     * The Schema.org Type Name
35
+     *
36
+     * @var string
37
+     */
38
+    public static $schemaTypeName = 'PrescriptionOnly';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/PrescriptionOnly';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'DrugPrescriptionStatus';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Available by prescription only.';
60
+
61
+
62
+    /**
63
+     * @inheritdoc
64
+     */
65
+    public function getSchemaPropertyNames(): array
66
+    {
67
+        return array_keys($this->getSchemaPropertyExpectedTypes());
68
+    }
69
+
70
+
71
+    /**
72
+     * @inheritdoc
73
+     */
74
+    public function getSchemaPropertyExpectedTypes(): array
75
+    {
76
+        return [
77
+            'additionalType' => ['URL'],
78
+            'alternateName' => ['Text'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
82
+            'image' => ['URL', 'ImageObject'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'sameAs' => ['URL'],
87
+            'subjectOf' => ['Event', 'CreativeWork'],
88
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
89
+            'url' => ['URL']
90
+        ];
91
+    }
92
+
93
+
94
+    /**
95
+     * @inheritdoc
96
+     */
97
+    public function getSchemaPropertyDescriptions(): array
98
+    {
99
+        return [
100
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
101
+            'alternateName' => 'An alias for the item.',
102
+            'description' => 'A description of the item.',
103
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
104
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
105
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
106
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
107
+            'name' => 'The name of the item.',
108
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
109
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
110
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
111
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
112
+            'url' => 'URL of the item.'
113
+        ];
114
+    }
115
+
116
+
117
+    /**
118
+     * @inheritdoc
119
+     */
120
+    public function getGoogleRequiredSchema(): array
121
+    {
122
+        return ['description', 'name'];
123
+    }
124
+
125
+
126
+    /**
127
+     * @inheritdoc
128
+     */
129
+    public function getGoogleRecommendedSchema(): array
130
+    {
131
+        return ['image', 'url'];
132
+    }
133
+
134
+
135
+    /**
136
+     * @inheritdoc
137
+     */
138
+    public function defineRules(): array
139
+    {
140
+        $rules = parent::defineRules();
141
+            $rules = array_merge($rules, [
142
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
143
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
144
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
145
+            ]);
146
+
147
+            return $rules;
148
+    }
149 149
 }
Please login to merge, or discard this patch.
src/models/jsonld/AccountingService.php 1 patch
Indentation   +312 added lines, -312 removed lines patch added patch discarded remove patch
@@ -24,333 +24,333 @@
 block discarded – undo
24 24
  */
25 25
 class AccountingService extends MetaJsonLd implements AccountingServiceInterface, FinancialServiceInterface, LocalBusinessInterface, PlaceInterface, ThingInterface, OrganizationInterface
26 26
 {
27
-	use AccountingServiceTrait;
28
-	use FinancialServiceTrait;
29
-	use LocalBusinessTrait;
30
-	use PlaceTrait;
31
-	use ThingTrait;
32
-	use OrganizationTrait;
27
+    use AccountingServiceTrait;
28
+    use FinancialServiceTrait;
29
+    use LocalBusinessTrait;
30
+    use PlaceTrait;
31
+    use ThingTrait;
32
+    use OrganizationTrait;
33 33
 
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'AccountingService';
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'AccountingService';
40 40
 
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/AccountingService';
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/AccountingService';
47 47
 
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'FinancialService';
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'FinancialService';
54 54
 
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = "Accountancy business.\\n\\nAs a [[LocalBusiness]] it can be described as a [[provider]] of one or more [[Service]]\\(s).\n      ";
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = "Accountancy business.\\n\\nAs a [[LocalBusiness]] it can be described as a [[provider]] of one or more [[Service]]\\(s).\n      ";
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
-		    'award' => ['Text'],
88
-		    'awards' => ['Text'],
89
-		    'branchCode' => ['Text'],
90
-		    'branchOf' => ['Organization'],
91
-		    'brand' => ['Brand', 'Organization'],
92
-		    'contactPoint' => ['ContactPoint'],
93
-		    'contactPoints' => ['ContactPoint'],
94
-		    'containedIn' => ['Place'],
95
-		    'containedInPlace' => ['Place'],
96
-		    'containsPlace' => ['Place'],
97
-		    'correctionsPolicy' => ['URL', 'CreativeWork'],
98
-		    'currenciesAccepted' => ['Text'],
99
-		    'department' => ['Organization'],
100
-		    'description' => ['Text'],
101
-		    'disambiguatingDescription' => ['Text'],
102
-		    'dissolutionDate' => ['Date'],
103
-		    'diversityPolicy' => ['URL', 'CreativeWork'],
104
-		    'diversityStaffingReport' => ['Article', 'URL'],
105
-		    'duns' => ['Text'],
106
-		    'email' => ['Text'],
107
-		    'employee' => ['Person'],
108
-		    'employees' => ['Person'],
109
-		    'ethicsPolicy' => ['CreativeWork', 'URL'],
110
-		    'event' => ['Event'],
111
-		    'events' => ['Event'],
112
-		    'faxNumber' => ['Text'],
113
-		    'feesAndCommissionsSpecification' => ['URL', '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
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
139
-		    'image' => ['URL', 'ImageObject'],
140
-		    'interactionStatistic' => ['InteractionCounter'],
141
-		    'isAccessibleForFree' => ['Boolean'],
142
-		    'isicV4' => ['Text'],
143
-		    'iso6523Code' => ['Text'],
144
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
145
-		    'knowsAbout' => ['Thing', 'Text', 'URL'],
146
-		    'knowsLanguage' => ['Text', 'Language'],
147
-		    'latitude' => ['Number', 'Text'],
148
-		    'legalName' => ['Text'],
149
-		    'leiCode' => ['Text'],
150
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
151
-		    'logo' => ['ImageObject', 'URL'],
152
-		    'longitude' => ['Text', 'Number'],
153
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
154
-		    'makesOffer' => ['Offer'],
155
-		    'map' => ['URL'],
156
-		    'maps' => ['URL'],
157
-		    'maximumAttendeeCapacity' => ['Integer'],
158
-		    'member' => ['Organization', 'Person'],
159
-		    'memberOf' => ['Organization', 'ProgramMembership'],
160
-		    'members' => ['Organization', 'Person'],
161
-		    'naics' => ['Text'],
162
-		    'name' => ['Text'],
163
-		    'nonprofitStatus' => ['NonprofitType'],
164
-		    'numberOfEmployees' => ['QuantitativeValue'],
165
-		    'openingHours' => ['Text'],
166
-		    'openingHoursSpecification' => ['OpeningHoursSpecification'],
167
-		    'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
168
-		    'owns' => ['Product', 'OwnershipInfo'],
169
-		    'parentOrganization' => ['Organization'],
170
-		    'paymentAccepted' => ['Text'],
171
-		    'photo' => ['Photograph', 'ImageObject'],
172
-		    'photos' => ['ImageObject', 'Photograph'],
173
-		    'potentialAction' => ['Action'],
174
-		    'priceRange' => ['Text'],
175
-		    'publicAccess' => ['Boolean'],
176
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
177
-		    'review' => ['Review'],
178
-		    'reviews' => ['Review'],
179
-		    'sameAs' => ['URL'],
180
-		    'seeks' => ['Demand'],
181
-		    'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
182
-		    'slogan' => ['Text'],
183
-		    'smokingAllowed' => ['Boolean'],
184
-		    'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
185
-		    'sponsor' => ['Organization', 'Person'],
186
-		    'subOrganization' => ['Organization'],
187
-		    'subjectOf' => ['Event', 'CreativeWork'],
188
-		    'taxID' => ['Text'],
189
-		    'telephone' => ['Text'],
190
-		    'tourBookingPage' => ['URL'],
191
-		    'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
192
-		    'url' => ['URL'],
193
-		    'vatID' => ['Text']
194
-		];
195
-	}
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
+            'award' => ['Text'],
88
+            'awards' => ['Text'],
89
+            'branchCode' => ['Text'],
90
+            'branchOf' => ['Organization'],
91
+            'brand' => ['Brand', 'Organization'],
92
+            'contactPoint' => ['ContactPoint'],
93
+            'contactPoints' => ['ContactPoint'],
94
+            'containedIn' => ['Place'],
95
+            'containedInPlace' => ['Place'],
96
+            'containsPlace' => ['Place'],
97
+            'correctionsPolicy' => ['URL', 'CreativeWork'],
98
+            'currenciesAccepted' => ['Text'],
99
+            'department' => ['Organization'],
100
+            'description' => ['Text'],
101
+            'disambiguatingDescription' => ['Text'],
102
+            'dissolutionDate' => ['Date'],
103
+            'diversityPolicy' => ['URL', 'CreativeWork'],
104
+            'diversityStaffingReport' => ['Article', 'URL'],
105
+            'duns' => ['Text'],
106
+            'email' => ['Text'],
107
+            'employee' => ['Person'],
108
+            'employees' => ['Person'],
109
+            'ethicsPolicy' => ['CreativeWork', 'URL'],
110
+            'event' => ['Event'],
111
+            'events' => ['Event'],
112
+            'faxNumber' => ['Text'],
113
+            'feesAndCommissionsSpecification' => ['URL', '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
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
139
+            'image' => ['URL', 'ImageObject'],
140
+            'interactionStatistic' => ['InteractionCounter'],
141
+            'isAccessibleForFree' => ['Boolean'],
142
+            'isicV4' => ['Text'],
143
+            'iso6523Code' => ['Text'],
144
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
145
+            'knowsAbout' => ['Thing', 'Text', 'URL'],
146
+            'knowsLanguage' => ['Text', 'Language'],
147
+            'latitude' => ['Number', 'Text'],
148
+            'legalName' => ['Text'],
149
+            'leiCode' => ['Text'],
150
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
151
+            'logo' => ['ImageObject', 'URL'],
152
+            'longitude' => ['Text', 'Number'],
153
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
154
+            'makesOffer' => ['Offer'],
155
+            'map' => ['URL'],
156
+            'maps' => ['URL'],
157
+            'maximumAttendeeCapacity' => ['Integer'],
158
+            'member' => ['Organization', 'Person'],
159
+            'memberOf' => ['Organization', 'ProgramMembership'],
160
+            'members' => ['Organization', 'Person'],
161
+            'naics' => ['Text'],
162
+            'name' => ['Text'],
163
+            'nonprofitStatus' => ['NonprofitType'],
164
+            'numberOfEmployees' => ['QuantitativeValue'],
165
+            'openingHours' => ['Text'],
166
+            'openingHoursSpecification' => ['OpeningHoursSpecification'],
167
+            'ownershipFundingInfo' => ['AboutPage', 'Text', 'CreativeWork', 'URL'],
168
+            'owns' => ['Product', 'OwnershipInfo'],
169
+            'parentOrganization' => ['Organization'],
170
+            'paymentAccepted' => ['Text'],
171
+            'photo' => ['Photograph', 'ImageObject'],
172
+            'photos' => ['ImageObject', 'Photograph'],
173
+            'potentialAction' => ['Action'],
174
+            'priceRange' => ['Text'],
175
+            'publicAccess' => ['Boolean'],
176
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
177
+            'review' => ['Review'],
178
+            'reviews' => ['Review'],
179
+            'sameAs' => ['URL'],
180
+            'seeks' => ['Demand'],
181
+            'serviceArea' => ['AdministrativeArea', 'Place', 'GeoShape'],
182
+            'slogan' => ['Text'],
183
+            'smokingAllowed' => ['Boolean'],
184
+            'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
185
+            'sponsor' => ['Organization', 'Person'],
186
+            'subOrganization' => ['Organization'],
187
+            'subjectOf' => ['Event', 'CreativeWork'],
188
+            'taxID' => ['Text'],
189
+            'telephone' => ['Text'],
190
+            'tourBookingPage' => ['URL'],
191
+            'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
192
+            'url' => ['URL'],
193
+            'vatID' => ['Text']
194
+        ];
195
+    }
196 196
 
197 197
 
198
-	/**
199
-	 * @inheritdoc
200
-	 */
201
-	public function getSchemaPropertyDescriptions(): array
202
-	{
203
-		return [
204
-		    '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.',
205
-		    '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. ',
206
-		    '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.',
207
-		    'address' => 'Physical address of the item.',
208
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
209
-		    'alternateName' => 'An alias for the item.',
210
-		    'alumni' => 'Alumni of an organization.',
211
-		    '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.',
212
-		    'areaServed' => 'The geographic area where a service or offered item is provided.',
213
-		    'award' => 'An award won by or for this item.',
214
-		    'awards' => 'Awards won by or for this item.',
215
-		    '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.       ',
216
-		    'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
217
-		    'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
218
-		    'contactPoint' => 'A contact point for a person or organization.',
219
-		    'contactPoints' => 'A contact point for a person or organization.',
220
-		    'containedIn' => 'The basic containment relation between a place and one that contains it.',
221
-		    'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
222
-		    'containsPlace' => 'The basic containment relation between a place and another that it contains.',
223
-		    'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
224
-		    '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".',
225
-		    '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.',
226
-		    'description' => 'A description of the item.',
227
-		    '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.',
228
-		    'dissolutionDate' => 'The date that this organization was dissolved.',
229
-		    '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.',
230
-		    '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.',
231
-		    'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
232
-		    'email' => 'Email address.',
233
-		    'employee' => 'Someone working for this organization.',
234
-		    'employees' => 'People working for this organization.',
235
-		    '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.',
236
-		    'event' => 'Upcoming or past event associated with this place, organization, or action.',
237
-		    'events' => 'Upcoming or past events associated with this place or organization.',
238
-		    'faxNumber' => 'The fax number.',
239
-		    'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
240
-		    'founder' => 'A person who founded this organization.',
241
-		    'founders' => 'A person who founded this organization.',
242
-		    'foundingDate' => 'The date that this organization was founded.',
243
-		    'foundingLocation' => 'The place where the Organization was founded.',
244
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
245
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
246
-		    'geo' => 'The geo coordinates of the place.',
247
-		    '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).',
248
-		    '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).',
249
-		    '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).',
250
-		    '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).',
251
-		    '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).)',
252
-		    '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).',
253
-		    '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).',
254
-		    '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).',
255
-		    '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).)',
256
-		    '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).',
257
-		    '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.',
258
-		    'hasCredential' => 'A credential awarded to the Person or Organization.',
259
-		    '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.',
260
-		    'hasMap' => 'A URL to a map of the place.',
261
-		    'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
262
-		    'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
263
-		    'hasPOS' => 'Points-of-Sales operated by the organization or person.',
264
-		    '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.         ',
265
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
266
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
267
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
268
-		    'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
269
-		    '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. ',
270
-		    '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.',
271
-		    '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.',
272
-		    '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).',
273
-		    'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
274
-		    'legalName' => 'The official name of the organization, e.g. the registered company name.',
275
-		    'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
276
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
277
-		    'logo' => 'An associated logo.',
278
-		    'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
-		    '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.',
280
-		    'makesOffer' => 'A pointer to products or services offered by the organization or person.',
281
-		    'map' => 'A URL to a map of the place.',
282
-		    'maps' => 'A URL to a map of the place.',
283
-		    'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
284
-		    'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
285
-		    'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
286
-		    'members' => 'A member of this organization.',
287
-		    'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
288
-		    'name' => 'The name of the item.',
289
-		    'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
290
-		    'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
291
-		    '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>.',
292
-		    'openingHoursSpecification' => 'The opening hours of a certain place.',
293
-		    '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.',
294
-		    'owns' => 'Products owned by the organization or person.',
295
-		    'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
296
-		    'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
297
-		    'photo' => 'A photograph of this place.',
298
-		    'photos' => 'Photographs of this place.',
299
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
300
-		    'priceRange' => 'The price range of the business, for example ```$$$```.',
301
-		    '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',
302
-		    '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. ',
303
-		    'review' => 'A review of the item.',
304
-		    'reviews' => 'Review of the item.',
305
-		    '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.',
306
-		    'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
307
-		    'serviceArea' => 'The geographic area where the service is provided.',
308
-		    'slogan' => 'A slogan or motto associated with the item.',
309
-		    'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
310
-		    'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
311
-		    '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.',
312
-		    'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
313
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
314
-		    'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
315
-		    'telephone' => 'The telephone number.',
316
-		    '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.',
317
-		    'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
318
-		    'url' => 'URL of the item.',
319
-		    'vatID' => 'The Value-added Tax ID of the organization or person.'
320
-		];
321
-	}
198
+    /**
199
+     * @inheritdoc
200
+     */
201
+    public function getSchemaPropertyDescriptions(): array
202
+    {
203
+        return [
204
+            '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.',
205
+            '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. ',
206
+            '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.',
207
+            'address' => 'Physical address of the item.',
208
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
209
+            'alternateName' => 'An alias for the item.',
210
+            'alumni' => 'Alumni of an organization.',
211
+            '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.',
212
+            'areaServed' => 'The geographic area where a service or offered item is provided.',
213
+            'award' => 'An award won by or for this item.',
214
+            'awards' => 'Awards won by or for this item.',
215
+            '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.       ',
216
+            'branchOf' => 'The larger organization that this local business is a branch of, if any. Not to be confused with (anatomical) [[branch]].',
217
+            'brand' => 'The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.',
218
+            'contactPoint' => 'A contact point for a person or organization.',
219
+            'contactPoints' => 'A contact point for a person or organization.',
220
+            'containedIn' => 'The basic containment relation between a place and one that contains it.',
221
+            'containedInPlace' => 'The basic containment relation between a place and one that contains it.',
222
+            'containsPlace' => 'The basic containment relation between a place and another that it contains.',
223
+            'correctionsPolicy' => 'For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.',
224
+            '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".',
225
+            '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.',
226
+            'description' => 'A description of the item.',
227
+            '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.',
228
+            'dissolutionDate' => 'The date that this organization was dissolved.',
229
+            '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.',
230
+            '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.',
231
+            'duns' => 'The Dun & Bradstreet DUNS number for identifying an organization or business person.',
232
+            'email' => 'Email address.',
233
+            'employee' => 'Someone working for this organization.',
234
+            'employees' => 'People working for this organization.',
235
+            '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.',
236
+            'event' => 'Upcoming or past event associated with this place, organization, or action.',
237
+            'events' => 'Upcoming or past events associated with this place or organization.',
238
+            'faxNumber' => 'The fax number.',
239
+            'feesAndCommissionsSpecification' => 'Description of fees, commissions, and other terms applied either to a class of financial product, or by a financial service organization.',
240
+            'founder' => 'A person who founded this organization.',
241
+            'founders' => 'A person who founded this organization.',
242
+            'foundingDate' => 'The date that this organization was founded.',
243
+            'foundingLocation' => 'The place where the Organization was founded.',
244
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
245
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
246
+            'geo' => 'The geo coordinates of the place.',
247
+            '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).',
248
+            '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).',
249
+            '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).',
250
+            '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).',
251
+            '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).)',
252
+            '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).',
253
+            '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).',
254
+            '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).',
255
+            '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).)',
256
+            '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).',
257
+            '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.',
258
+            'hasCredential' => 'A credential awarded to the Person or Organization.',
259
+            '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.',
260
+            'hasMap' => 'A URL to a map of the place.',
261
+            'hasMerchantReturnPolicy' => 'Specifies a MerchantReturnPolicy that may be applicable.',
262
+            'hasOfferCatalog' => 'Indicates an OfferCatalog listing for this Organization, Person, or Service.',
263
+            'hasPOS' => 'Points-of-Sales operated by the organization or person.',
264
+            '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.         ',
265
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
266
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
267
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
268
+            'isicV4' => 'The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.',
269
+            '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. ',
270
+            '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.',
271
+            '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.',
272
+            '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).',
273
+            'latitude' => 'The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
274
+            'legalName' => 'The official name of the organization, e.g. the registered company name.',
275
+            'leiCode' => 'An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.',
276
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
277
+            'logo' => 'An associated logo.',
278
+            'longitude' => 'The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).',
279
+            '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.',
280
+            'makesOffer' => 'A pointer to products or services offered by the organization or person.',
281
+            'map' => 'A URL to a map of the place.',
282
+            'maps' => 'A URL to a map of the place.',
283
+            'maximumAttendeeCapacity' => 'The total number of individuals that may attend an event or venue.',
284
+            'member' => 'A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.',
285
+            'memberOf' => 'An Organization (or ProgramMembership) to which this Person or Organization belongs.',
286
+            'members' => 'A member of this organization.',
287
+            'naics' => 'The North American Industry Classification System (NAICS) code for a particular organization or business person.',
288
+            'name' => 'The name of the item.',
289
+            'nonprofitStatus' => 'nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.',
290
+            'numberOfEmployees' => 'The number of employees in an organization, e.g. business.',
291
+            '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>.',
292
+            'openingHoursSpecification' => 'The opening hours of a certain place.',
293
+            '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.',
294
+            'owns' => 'Products owned by the organization or person.',
295
+            'parentOrganization' => 'The larger organization that this organization is a [[subOrganization]] of, if any.',
296
+            'paymentAccepted' => 'Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.',
297
+            'photo' => 'A photograph of this place.',
298
+            'photos' => 'Photographs of this place.',
299
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
300
+            'priceRange' => 'The price range of the business, for example ```$$$```.',
301
+            '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',
302
+            '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. ',
303
+            'review' => 'A review of the item.',
304
+            'reviews' => 'Review of the item.',
305
+            '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.',
306
+            'seeks' => 'A pointer to products or services sought by the organization or person (demand).',
307
+            'serviceArea' => 'The geographic area where the service is provided.',
308
+            'slogan' => 'A slogan or motto associated with the item.',
309
+            'smokingAllowed' => 'Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.',
310
+            'specialOpeningHoursSpecification' => 'The special opening hours of a certain place.  Use this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].       ',
311
+            '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.',
312
+            'subOrganization' => 'A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific \'department\' property.',
313
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
314
+            'taxID' => 'The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.',
315
+            'telephone' => 'The telephone number.',
316
+            '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.',
317
+            'unnamedSourcesPolicy' => 'For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.',
318
+            'url' => 'URL of the item.',
319
+            'vatID' => 'The Value-added Tax ID of the organization or person.'
320
+        ];
321
+    }
322 322
 
323 323
 
324
-	/**
325
-	 * @inheritdoc
326
-	 */
327
-	public function getGoogleRequiredSchema(): array
328
-	{
329
-		return ['description', 'name'];
330
-	}
324
+    /**
325
+     * @inheritdoc
326
+     */
327
+    public function getGoogleRequiredSchema(): array
328
+    {
329
+        return ['description', 'name'];
330
+    }
331 331
 
332 332
 
333
-	/**
334
-	 * @inheritdoc
335
-	 */
336
-	public function getGoogleRecommendedSchema(): array
337
-	{
338
-		return ['image', 'url'];
339
-	}
333
+    /**
334
+     * @inheritdoc
335
+     */
336
+    public function getGoogleRecommendedSchema(): array
337
+    {
338
+        return ['image', 'url'];
339
+    }
340 340
 
341 341
 
342
-	/**
343
-	 * @inheritdoc
344
-	 */
345
-	public function defineRules(): array
346
-	{
347
-		$rules = parent::defineRules();
348
-		    $rules = array_merge($rules, [
349
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
350
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
351
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
352
-		    ]);
342
+    /**
343
+     * @inheritdoc
344
+     */
345
+    public function defineRules(): array
346
+    {
347
+        $rules = parent::defineRules();
348
+            $rules = array_merge($rules, [
349
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
350
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
351
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
352
+            ]);
353 353
 
354
-		    return $rules;
355
-	}
354
+            return $rules;
355
+    }
356 356
 }
Please login to merge, or discard this patch.
src/models/jsonld/CancelAction.php 1 patch
Indentation   +146 added lines, -146 removed lines patch added patch discarded remove patch
@@ -25,150 +25,150 @@
 block discarded – undo
25 25
  */
26 26
 class CancelAction extends MetaJsonLd implements CancelActionInterface, PlanActionInterface, OrganizeActionInterface, ActionInterface, ThingInterface
27 27
 {
28
-	use CancelActionTrait;
29
-	use PlanActionTrait;
30
-	use OrganizeActionTrait;
31
-	use ActionTrait;
32
-	use ThingTrait;
33
-
34
-	/**
35
-	 * The Schema.org Type Name
36
-	 *
37
-	 * @var string
38
-	 */
39
-	public static $schemaTypeName = 'CancelAction';
40
-
41
-	/**
42
-	 * The Schema.org Type Scope
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeScope = 'https://schema.org/CancelAction';
47
-
48
-	/**
49
-	 * The Schema.org Type Extends
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeExtends = 'PlanAction';
54
-
55
-	/**
56
-	 * The Schema.org Type Description
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeDescription = 'The act of asserting that a future event/action is no longer going to happen.\n\nRelated actions:\n\n* [[ConfirmAction]]: The antonym of CancelAction.';
61
-
62
-
63
-	/**
64
-	 * @inheritdoc
65
-	 */
66
-	public function getSchemaPropertyNames(): array
67
-	{
68
-		return array_keys($this->getSchemaPropertyExpectedTypes());
69
-	}
70
-
71
-
72
-	/**
73
-	 * @inheritdoc
74
-	 */
75
-	public function getSchemaPropertyExpectedTypes(): array
76
-	{
77
-		return [
78
-		    'actionStatus' => ['ActionStatusType'],
79
-		    'additionalType' => ['URL'],
80
-		    'agent' => ['Organization', 'Person'],
81
-		    'alternateName' => ['Text'],
82
-		    'description' => ['Text'],
83
-		    'disambiguatingDescription' => ['Text'],
84
-		    'endTime' => ['DateTime', 'Time'],
85
-		    'error' => ['Thing'],
86
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
87
-		    'image' => ['URL', 'ImageObject'],
88
-		    'instrument' => ['Thing'],
89
-		    'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
90
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
91
-		    'name' => ['Text'],
92
-		    'object' => ['Thing'],
93
-		    'participant' => ['Organization', 'Person'],
94
-		    'potentialAction' => ['Action'],
95
-		    'provider' => ['Organization', 'Person'],
96
-		    'result' => ['Thing'],
97
-		    'sameAs' => ['URL'],
98
-		    'scheduledTime' => ['DateTime'],
99
-		    'startTime' => ['Time', 'DateTime'],
100
-		    'subjectOf' => ['Event', 'CreativeWork'],
101
-		    'target' => ['URL', 'EntryPoint'],
102
-		    'url' => ['URL']
103
-		];
104
-	}
105
-
106
-
107
-	/**
108
-	 * @inheritdoc
109
-	 */
110
-	public function getSchemaPropertyDescriptions(): array
111
-	{
112
-		return [
113
-		    'actionStatus' => 'Indicates the current disposition of the Action.',
114
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
115
-		    'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
-		    'alternateName' => 'An alias for the item.',
117
-		    'description' => 'A description of the item.',
118
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
119
-		    'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
-		    'error' => 'For failed actions, more information on the cause of the failure.',
121
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
-		    'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
-		    'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
-		    'name' => 'The name of the item.',
127
-		    'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
-		    'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
-		    'provider' => 'The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.',
131
-		    'result' => 'The result produced in the action. E.g. John wrote *a book*.',
132
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
133
-		    'scheduledTime' => 'The time the object is scheduled to.',
134
-		    'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
135
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
136
-		    'target' => 'Indicates a target EntryPoint, or url, for an Action.',
137
-		    'url' => 'URL of the item.'
138
-		];
139
-	}
140
-
141
-
142
-	/**
143
-	 * @inheritdoc
144
-	 */
145
-	public function getGoogleRequiredSchema(): array
146
-	{
147
-		return ['description', 'name'];
148
-	}
149
-
150
-
151
-	/**
152
-	 * @inheritdoc
153
-	 */
154
-	public function getGoogleRecommendedSchema(): array
155
-	{
156
-		return ['image', 'url'];
157
-	}
158
-
159
-
160
-	/**
161
-	 * @inheritdoc
162
-	 */
163
-	public function defineRules(): array
164
-	{
165
-		$rules = parent::defineRules();
166
-		    $rules = array_merge($rules, [
167
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
168
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
169
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
170
-		    ]);
171
-
172
-		    return $rules;
173
-	}
28
+    use CancelActionTrait;
29
+    use PlanActionTrait;
30
+    use OrganizeActionTrait;
31
+    use ActionTrait;
32
+    use ThingTrait;
33
+
34
+    /**
35
+     * The Schema.org Type Name
36
+     *
37
+     * @var string
38
+     */
39
+    public static $schemaTypeName = 'CancelAction';
40
+
41
+    /**
42
+     * The Schema.org Type Scope
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeScope = 'https://schema.org/CancelAction';
47
+
48
+    /**
49
+     * The Schema.org Type Extends
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeExtends = 'PlanAction';
54
+
55
+    /**
56
+     * The Schema.org Type Description
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeDescription = 'The act of asserting that a future event/action is no longer going to happen.\n\nRelated actions:\n\n* [[ConfirmAction]]: The antonym of CancelAction.';
61
+
62
+
63
+    /**
64
+     * @inheritdoc
65
+     */
66
+    public function getSchemaPropertyNames(): array
67
+    {
68
+        return array_keys($this->getSchemaPropertyExpectedTypes());
69
+    }
70
+
71
+
72
+    /**
73
+     * @inheritdoc
74
+     */
75
+    public function getSchemaPropertyExpectedTypes(): array
76
+    {
77
+        return [
78
+            'actionStatus' => ['ActionStatusType'],
79
+            'additionalType' => ['URL'],
80
+            'agent' => ['Organization', 'Person'],
81
+            'alternateName' => ['Text'],
82
+            'description' => ['Text'],
83
+            'disambiguatingDescription' => ['Text'],
84
+            'endTime' => ['DateTime', 'Time'],
85
+            'error' => ['Thing'],
86
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
87
+            'image' => ['URL', 'ImageObject'],
88
+            'instrument' => ['Thing'],
89
+            'location' => ['Place', 'Text', 'VirtualLocation', 'PostalAddress'],
90
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
91
+            'name' => ['Text'],
92
+            'object' => ['Thing'],
93
+            'participant' => ['Organization', 'Person'],
94
+            'potentialAction' => ['Action'],
95
+            'provider' => ['Organization', 'Person'],
96
+            'result' => ['Thing'],
97
+            'sameAs' => ['URL'],
98
+            'scheduledTime' => ['DateTime'],
99
+            'startTime' => ['Time', 'DateTime'],
100
+            'subjectOf' => ['Event', 'CreativeWork'],
101
+            'target' => ['URL', 'EntryPoint'],
102
+            'url' => ['URL']
103
+        ];
104
+    }
105
+
106
+
107
+    /**
108
+     * @inheritdoc
109
+     */
110
+    public function getSchemaPropertyDescriptions(): array
111
+    {
112
+        return [
113
+            'actionStatus' => 'Indicates the current disposition of the Action.',
114
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
115
+            'agent' => 'The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.',
116
+            'alternateName' => 'An alias for the item.',
117
+            'description' => 'A description of the item.',
118
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
119
+            'endTime' => 'The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it\'s the time offset of the end of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
120
+            'error' => 'For failed actions, more information on the cause of the failure.',
121
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
122
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
123
+            'instrument' => 'The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.',
124
+            'location' => 'The location of, for example, where an event is happening, where an organization is located, or where an action takes place.',
125
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
126
+            'name' => 'The name of the item.',
127
+            'object' => 'The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn\'t). E.g. John read *a book*.',
128
+            'participant' => 'Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.',
129
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
130
+            'provider' => 'The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.',
131
+            'result' => 'The result produced in the action. E.g. John wrote *a book*.',
132
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
133
+            'scheduledTime' => 'The time the object is scheduled to.',
134
+            'startTime' => 'The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it\'s the time offset of the start of a clip within a larger file.  Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.',
135
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
136
+            'target' => 'Indicates a target EntryPoint, or url, for an Action.',
137
+            'url' => 'URL of the item.'
138
+        ];
139
+    }
140
+
141
+
142
+    /**
143
+     * @inheritdoc
144
+     */
145
+    public function getGoogleRequiredSchema(): array
146
+    {
147
+        return ['description', 'name'];
148
+    }
149
+
150
+
151
+    /**
152
+     * @inheritdoc
153
+     */
154
+    public function getGoogleRecommendedSchema(): array
155
+    {
156
+        return ['image', 'url'];
157
+    }
158
+
159
+
160
+    /**
161
+     * @inheritdoc
162
+     */
163
+    public function defineRules(): array
164
+    {
165
+        $rules = parent::defineRules();
166
+            $rules = array_merge($rules, [
167
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
168
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
169
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
170
+            ]);
171
+
172
+            return $rules;
173
+    }
174 174
 }
Please login to merge, or discard this patch.
src/models/jsonld/BloodTest.php 1 patch
Indentation   +145 added lines, -145 removed lines patch added patch discarded remove patch
@@ -23,149 +23,149 @@
 block discarded – undo
23 23
  */
24 24
 class BloodTest extends MetaJsonLd implements BloodTestInterface, MedicalTestInterface, MedicalEntityInterface, ThingInterface
25 25
 {
26
-	use BloodTestTrait;
27
-	use MedicalTestTrait;
28
-	use MedicalEntityTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'BloodTest';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/BloodTest';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'MedicalTest';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A medical test performed on a sample of a patient\'s blood.';
58
-
59
-
60
-	/**
61
-	 * @inheritdoc
62
-	 */
63
-	public function getSchemaPropertyNames(): array
64
-	{
65
-		return array_keys($this->getSchemaPropertyExpectedTypes());
66
-	}
67
-
68
-
69
-	/**
70
-	 * @inheritdoc
71
-	 */
72
-	public function getSchemaPropertyExpectedTypes(): array
73
-	{
74
-		return [
75
-		    'additionalType' => ['URL'],
76
-		    'affectedBy' => ['Drug'],
77
-		    'alternateName' => ['Text'],
78
-		    'code' => ['MedicalCode'],
79
-		    'description' => ['Text'],
80
-		    'disambiguatingDescription' => ['Text'],
81
-		    'funding' => ['Grant'],
82
-		    'guideline' => ['MedicalGuideline'],
83
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
84
-		    'image' => ['URL', 'ImageObject'],
85
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
86
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
-		    'medicineSystem' => ['MedicineSystem'],
88
-		    'name' => ['Text'],
89
-		    'normalRange' => ['Text', 'MedicalEnumeration'],
90
-		    'potentialAction' => ['Action'],
91
-		    'recognizingAuthority' => ['Organization'],
92
-		    'relevantSpecialty' => ['MedicalSpecialty'],
93
-		    'sameAs' => ['URL'],
94
-		    'signDetected' => ['MedicalSign'],
95
-		    'study' => ['MedicalStudy'],
96
-		    'subjectOf' => ['Event', 'CreativeWork'],
97
-		    'url' => ['URL'],
98
-		    'usedToDiagnose' => ['MedicalCondition'],
99
-		    'usesDevice' => ['MedicalDevice']
100
-		];
101
-	}
102
-
103
-
104
-	/**
105
-	 * @inheritdoc
106
-	 */
107
-	public function getSchemaPropertyDescriptions(): array
108
-	{
109
-		return [
110
-		    '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.',
111
-		    'affectedBy' => 'Drugs that affect the test\'s results.',
112
-		    'alternateName' => 'An alias for the item.',
113
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
114
-		    'description' => 'A description of the item.',
115
-		    '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.',
116
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
117
-		    'guideline' => 'A medical guideline related to this entity.',
118
-		    '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.         ',
119
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
120
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
121
-		    '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.',
122
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
123
-		    'name' => 'The name of the item.',
124
-		    'normalRange' => 'Range of acceptable values for a typical patient, when applicable.',
125
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
126
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
127
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
128
-		    '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.',
129
-		    'signDetected' => 'A sign detected by the test.',
130
-		    'study' => 'A medical study or trial related to this entity.',
131
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
132
-		    'url' => 'URL of the item.',
133
-		    'usedToDiagnose' => 'A condition the test is used to diagnose.',
134
-		    'usesDevice' => 'Device used to perform the test.'
135
-		];
136
-	}
137
-
138
-
139
-	/**
140
-	 * @inheritdoc
141
-	 */
142
-	public function getGoogleRequiredSchema(): array
143
-	{
144
-		return ['description', 'name'];
145
-	}
146
-
147
-
148
-	/**
149
-	 * @inheritdoc
150
-	 */
151
-	public function getGoogleRecommendedSchema(): array
152
-	{
153
-		return ['image', 'url'];
154
-	}
155
-
156
-
157
-	/**
158
-	 * @inheritdoc
159
-	 */
160
-	public function defineRules(): array
161
-	{
162
-		$rules = parent::defineRules();
163
-		    $rules = array_merge($rules, [
164
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
165
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
166
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
167
-		    ]);
168
-
169
-		    return $rules;
170
-	}
26
+    use BloodTestTrait;
27
+    use MedicalTestTrait;
28
+    use MedicalEntityTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'BloodTest';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/BloodTest';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'MedicalTest';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A medical test performed on a sample of a patient\'s blood.';
58
+
59
+
60
+    /**
61
+     * @inheritdoc
62
+     */
63
+    public function getSchemaPropertyNames(): array
64
+    {
65
+        return array_keys($this->getSchemaPropertyExpectedTypes());
66
+    }
67
+
68
+
69
+    /**
70
+     * @inheritdoc
71
+     */
72
+    public function getSchemaPropertyExpectedTypes(): array
73
+    {
74
+        return [
75
+            'additionalType' => ['URL'],
76
+            'affectedBy' => ['Drug'],
77
+            'alternateName' => ['Text'],
78
+            'code' => ['MedicalCode'],
79
+            'description' => ['Text'],
80
+            'disambiguatingDescription' => ['Text'],
81
+            'funding' => ['Grant'],
82
+            'guideline' => ['MedicalGuideline'],
83
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
84
+            'image' => ['URL', 'ImageObject'],
85
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
86
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
+            'medicineSystem' => ['MedicineSystem'],
88
+            'name' => ['Text'],
89
+            'normalRange' => ['Text', 'MedicalEnumeration'],
90
+            'potentialAction' => ['Action'],
91
+            'recognizingAuthority' => ['Organization'],
92
+            'relevantSpecialty' => ['MedicalSpecialty'],
93
+            'sameAs' => ['URL'],
94
+            'signDetected' => ['MedicalSign'],
95
+            'study' => ['MedicalStudy'],
96
+            'subjectOf' => ['Event', 'CreativeWork'],
97
+            'url' => ['URL'],
98
+            'usedToDiagnose' => ['MedicalCondition'],
99
+            'usesDevice' => ['MedicalDevice']
100
+        ];
101
+    }
102
+
103
+
104
+    /**
105
+     * @inheritdoc
106
+     */
107
+    public function getSchemaPropertyDescriptions(): array
108
+    {
109
+        return [
110
+            '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.',
111
+            'affectedBy' => 'Drugs that affect the test\'s results.',
112
+            'alternateName' => 'An alias for the item.',
113
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
114
+            'description' => 'A description of the item.',
115
+            '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.',
116
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
117
+            'guideline' => 'A medical guideline related to this entity.',
118
+            '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.         ',
119
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
120
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
121
+            '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.',
122
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
123
+            'name' => 'The name of the item.',
124
+            'normalRange' => 'Range of acceptable values for a typical patient, when applicable.',
125
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
126
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
127
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
128
+            '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.',
129
+            'signDetected' => 'A sign detected by the test.',
130
+            'study' => 'A medical study or trial related to this entity.',
131
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
132
+            'url' => 'URL of the item.',
133
+            'usedToDiagnose' => 'A condition the test is used to diagnose.',
134
+            'usesDevice' => 'Device used to perform the test.'
135
+        ];
136
+    }
137
+
138
+
139
+    /**
140
+     * @inheritdoc
141
+     */
142
+    public function getGoogleRequiredSchema(): array
143
+    {
144
+        return ['description', 'name'];
145
+    }
146
+
147
+
148
+    /**
149
+     * @inheritdoc
150
+     */
151
+    public function getGoogleRecommendedSchema(): array
152
+    {
153
+        return ['image', 'url'];
154
+    }
155
+
156
+
157
+    /**
158
+     * @inheritdoc
159
+     */
160
+    public function defineRules(): array
161
+    {
162
+        $rules = parent::defineRules();
163
+            $rules = array_merge($rules, [
164
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
165
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
166
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
167
+            ]);
168
+
169
+            return $rules;
170
+    }
171 171
 }
Please login to merge, or discard this patch.