Passed
Push — develop ( e888e4...569633 )
by Andrew
19:20 queued 10:31
created
src/models/jsonld/MedicalObservationalStudy.php 1 patch
Indentation   +147 added lines, -147 removed lines patch added patch discarded remove patch
@@ -30,151 +30,151 @@
 block discarded – undo
30 30
  */
31 31
 class MedicalObservationalStudy extends MetaJsonLd implements MedicalObservationalStudyInterface, MedicalStudyInterface, MedicalEntityInterface, ThingInterface
32 32
 {
33
-	use MedicalObservationalStudyTrait;
34
-	use MedicalStudyTrait;
35
-	use MedicalEntityTrait;
36
-	use ThingTrait;
37
-
38
-	/**
39
-	 * The Schema.org Type Name
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeName = 'MedicalObservationalStudy';
44
-
45
-	/**
46
-	 * The Schema.org Type Scope
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeScope = 'https://schema.org/MedicalObservationalStudy';
51
-
52
-	/**
53
-	 * The Schema.org Type Extends
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeExtends = 'MedicalStudy';
58
-
59
-	/**
60
-	 * The Schema.org Type Description
61
-	 *
62
-	 * @var string
63
-	 */
64
-	public static $schemaTypeDescription = 'An observational study is a type of medical study that attempts to infer the possible effect of a treatment through observation of a cohort of subjects over a period of time. In an observational study, the assignment of subjects into treatment groups versus control groups is outside the control of the investigator. This is in contrast with controlled studies, such as the randomized controlled trials represented by MedicalTrial, where each subject is randomly assigned to a treatment group or a control group before the start of the treatment.';
65
-
66
-
67
-	/**
68
-	 * @inheritdoc
69
-	 */
70
-	public function getSchemaPropertyNames(): array
71
-	{
72
-		return array_keys($this->getSchemaPropertyExpectedTypes());
73
-	}
74
-
75
-
76
-	/**
77
-	 * @inheritdoc
78
-	 */
79
-	public function getSchemaPropertyExpectedTypes(): array
80
-	{
81
-		return [
82
-		    'additionalType' => ['URL'],
83
-		    'alternateName' => ['Text'],
84
-		    'code' => ['MedicalCode'],
85
-		    'description' => ['Text'],
86
-		    'disambiguatingDescription' => ['Text'],
87
-		    'funding' => ['Grant'],
88
-		    'guideline' => ['MedicalGuideline'],
89
-		    'healthCondition' => ['MedicalCondition'],
90
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
91
-		    'image' => ['URL', 'ImageObject'],
92
-		    'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
93
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
94
-		    'medicineSystem' => ['MedicineSystem'],
95
-		    'name' => ['Text'],
96
-		    'potentialAction' => ['Action'],
97
-		    'recognizingAuthority' => ['Organization'],
98
-		    'relevantSpecialty' => ['MedicalSpecialty'],
99
-		    'sameAs' => ['URL'],
100
-		    'sponsor' => ['Organization', 'Person'],
101
-		    'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
102
-		    'study' => ['MedicalStudy'],
103
-		    'studyDesign' => ['MedicalObservationalStudyDesign'],
104
-		    'studyLocation' => ['AdministrativeArea'],
105
-		    'studySubject' => ['MedicalEntity'],
106
-		    'subjectOf' => ['Event', 'CreativeWork'],
107
-		    'url' => ['URL']
108
-		];
109
-	}
110
-
111
-
112
-	/**
113
-	 * @inheritdoc
114
-	 */
115
-	public function getSchemaPropertyDescriptions(): array
116
-	{
117
-		return [
118
-		    '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.',
119
-		    'alternateName' => 'An alias for the item.',
120
-		    'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
121
-		    'description' => 'A description of the item.',
122
-		    '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.',
123
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
124
-		    'guideline' => 'A medical guideline related to this entity.',
125
-		    'healthCondition' => 'Specifying the health condition(s) of a patient, medical study, or other target audience.',
126
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
127
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
128
-		    'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
129
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
130
-		    'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
131
-		    'name' => 'The name of the item.',
132
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
133
-		    'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
134
-		    'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
135
-		    '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.',
136
-		    '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.',
137
-		    'status' => 'The status of the study (enumerated).',
138
-		    'study' => 'A medical study or trial related to this entity.',
139
-		    'studyDesign' => 'Specifics about the observational study design (enumerated).',
140
-		    'studyLocation' => 'The location in which the study is taking/took place.',
141
-		    'studySubject' => 'A subject of the study, i.e. one of the medical conditions, therapies, devices, drugs, etc. investigated by the study.',
142
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
143
-		    'url' => 'URL of the item.'
144
-		];
145
-	}
146
-
147
-
148
-	/**
149
-	 * @inheritdoc
150
-	 */
151
-	public function getGoogleRequiredSchema(): array
152
-	{
153
-		return ['description', 'name'];
154
-	}
155
-
156
-
157
-	/**
158
-	 * @inheritdoc
159
-	 */
160
-	public function getGoogleRecommendedSchema(): array
161
-	{
162
-		return ['image', 'url'];
163
-	}
164
-
165
-
166
-	/**
167
-	 * @inheritdoc
168
-	 */
169
-	public function defineRules(): array
170
-	{
171
-		$rules = parent::defineRules();
172
-		    $rules = array_merge($rules, [
173
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
174
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
175
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
176
-		    ]);
177
-
178
-		    return $rules;
179
-	}
33
+    use MedicalObservationalStudyTrait;
34
+    use MedicalStudyTrait;
35
+    use MedicalEntityTrait;
36
+    use ThingTrait;
37
+
38
+    /**
39
+     * The Schema.org Type Name
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeName = 'MedicalObservationalStudy';
44
+
45
+    /**
46
+     * The Schema.org Type Scope
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeScope = 'https://schema.org/MedicalObservationalStudy';
51
+
52
+    /**
53
+     * The Schema.org Type Extends
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeExtends = 'MedicalStudy';
58
+
59
+    /**
60
+     * The Schema.org Type Description
61
+     *
62
+     * @var string
63
+     */
64
+    public static $schemaTypeDescription = 'An observational study is a type of medical study that attempts to infer the possible effect of a treatment through observation of a cohort of subjects over a period of time. In an observational study, the assignment of subjects into treatment groups versus control groups is outside the control of the investigator. This is in contrast with controlled studies, such as the randomized controlled trials represented by MedicalTrial, where each subject is randomly assigned to a treatment group or a control group before the start of the treatment.';
65
+
66
+
67
+    /**
68
+     * @inheritdoc
69
+     */
70
+    public function getSchemaPropertyNames(): array
71
+    {
72
+        return array_keys($this->getSchemaPropertyExpectedTypes());
73
+    }
74
+
75
+
76
+    /**
77
+     * @inheritdoc
78
+     */
79
+    public function getSchemaPropertyExpectedTypes(): array
80
+    {
81
+        return [
82
+            'additionalType' => ['URL'],
83
+            'alternateName' => ['Text'],
84
+            'code' => ['MedicalCode'],
85
+            'description' => ['Text'],
86
+            'disambiguatingDescription' => ['Text'],
87
+            'funding' => ['Grant'],
88
+            'guideline' => ['MedicalGuideline'],
89
+            'healthCondition' => ['MedicalCondition'],
90
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
91
+            'image' => ['URL', 'ImageObject'],
92
+            'legalStatus' => ['Text', 'DrugLegalStatus', 'MedicalEnumeration'],
93
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
94
+            'medicineSystem' => ['MedicineSystem'],
95
+            'name' => ['Text'],
96
+            'potentialAction' => ['Action'],
97
+            'recognizingAuthority' => ['Organization'],
98
+            'relevantSpecialty' => ['MedicalSpecialty'],
99
+            'sameAs' => ['URL'],
100
+            'sponsor' => ['Organization', 'Person'],
101
+            'status' => ['MedicalStudyStatus', 'Text', 'EventStatusType'],
102
+            'study' => ['MedicalStudy'],
103
+            'studyDesign' => ['MedicalObservationalStudyDesign'],
104
+            'studyLocation' => ['AdministrativeArea'],
105
+            'studySubject' => ['MedicalEntity'],
106
+            'subjectOf' => ['Event', 'CreativeWork'],
107
+            'url' => ['URL']
108
+        ];
109
+    }
110
+
111
+
112
+    /**
113
+     * @inheritdoc
114
+     */
115
+    public function getSchemaPropertyDescriptions(): array
116
+    {
117
+        return [
118
+            '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.',
119
+            'alternateName' => 'An alias for the item.',
120
+            'code' => 'A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc.',
121
+            'description' => 'A description of the item.',
122
+            '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.',
123
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
124
+            'guideline' => 'A medical guideline related to this entity.',
125
+            'healthCondition' => 'Specifying the health condition(s) of a patient, medical study, or other target audience.',
126
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
127
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
128
+            'legalStatus' => 'The drug or supplement\'s legal status, including any controlled substance schedules that apply.',
129
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
130
+            'medicineSystem' => 'The system of medicine that includes this MedicalEntity, for example \'evidence-based\', \'homeopathic\', \'chiropractic\', etc.',
131
+            'name' => 'The name of the item.',
132
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
133
+            'recognizingAuthority' => 'If applicable, the organization that officially recognizes this entity as part of its endorsed system of medicine.',
134
+            'relevantSpecialty' => 'If applicable, a medical specialty in which this entity is relevant.',
135
+            '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.',
136
+            '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.',
137
+            'status' => 'The status of the study (enumerated).',
138
+            'study' => 'A medical study or trial related to this entity.',
139
+            'studyDesign' => 'Specifics about the observational study design (enumerated).',
140
+            'studyLocation' => 'The location in which the study is taking/took place.',
141
+            'studySubject' => 'A subject of the study, i.e. one of the medical conditions, therapies, devices, drugs, etc. investigated by the study.',
142
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
143
+            'url' => 'URL of the item.'
144
+        ];
145
+    }
146
+
147
+
148
+    /**
149
+     * @inheritdoc
150
+     */
151
+    public function getGoogleRequiredSchema(): array
152
+    {
153
+        return ['description', 'name'];
154
+    }
155
+
156
+
157
+    /**
158
+     * @inheritdoc
159
+     */
160
+    public function getGoogleRecommendedSchema(): array
161
+    {
162
+        return ['image', 'url'];
163
+    }
164
+
165
+
166
+    /**
167
+     * @inheritdoc
168
+     */
169
+    public function defineRules(): array
170
+    {
171
+        $rules = parent::defineRules();
172
+            $rules = array_merge($rules, [
173
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
174
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
175
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
176
+            ]);
177
+
178
+            return $rules;
179
+    }
180 180
 }
Please login to merge, or discard this patch.
src/models/jsonld/ParkingMap.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class ParkingMap extends MetaJsonLd implements ParkingMapInterface, MapCategoryTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use ParkingMapTrait;
27
-	use MapCategoryTypeTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'ParkingMap';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/ParkingMap';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'MapCategoryType';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'A parking map.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use ParkingMapTrait;
27
+    use MapCategoryTypeTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'ParkingMap';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/ParkingMap';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'MapCategoryType';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'A parking map.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Urologic.php 1 patch
Indentation   +124 added lines, -124 removed lines patch added patch discarded remove patch
@@ -25,128 +25,128 @@
 block discarded – undo
25 25
  */
26 26
 class Urologic extends MetaJsonLd implements UrologicInterface, MedicalSpecialtyInterface, SpecialtyInterface, EnumerationInterface, IntangibleInterface, ThingInterface, MedicalEnumerationInterface
27 27
 {
28
-	use UrologicTrait;
29
-	use MedicalSpecialtyTrait;
30
-	use SpecialtyTrait;
31
-	use EnumerationTrait;
32
-	use IntangibleTrait;
33
-	use ThingTrait;
34
-	use MedicalEnumerationTrait;
35
-
36
-	/**
37
-	 * The Schema.org Type Name
38
-	 *
39
-	 * @var string
40
-	 */
41
-	public static $schemaTypeName = 'Urologic';
42
-
43
-	/**
44
-	 * The Schema.org Type Scope
45
-	 *
46
-	 * @var string
47
-	 */
48
-	public static $schemaTypeScope = 'https://schema.org/Urologic';
49
-
50
-	/**
51
-	 * The Schema.org Type Extends
52
-	 *
53
-	 * @var string
54
-	 */
55
-	public static $schemaTypeExtends = 'MedicalSpecialty';
56
-
57
-	/**
58
-	 * The Schema.org Type Description
59
-	 *
60
-	 * @var string
61
-	 */
62
-	public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the diagnosis and treatment of diseases pertaining to the urinary tract and the urogenital system.';
63
-
64
-
65
-	/**
66
-	 * @inheritdoc
67
-	 */
68
-	public function getSchemaPropertyNames(): array
69
-	{
70
-		return array_keys($this->getSchemaPropertyExpectedTypes());
71
-	}
72
-
73
-
74
-	/**
75
-	 * @inheritdoc
76
-	 */
77
-	public function getSchemaPropertyExpectedTypes(): array
78
-	{
79
-		return [
80
-		    'additionalType' => ['URL'],
81
-		    'alternateName' => ['Text'],
82
-		    'description' => ['Text'],
83
-		    'disambiguatingDescription' => ['Text'],
84
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
85
-		    'image' => ['URL', 'ImageObject'],
86
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
-		    'name' => ['Text'],
88
-		    'potentialAction' => ['Action'],
89
-		    'sameAs' => ['URL'],
90
-		    'subjectOf' => ['Event', 'CreativeWork'],
91
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
-		    'url' => ['URL']
93
-		];
94
-	}
95
-
96
-
97
-	/**
98
-	 * @inheritdoc
99
-	 */
100
-	public function getSchemaPropertyDescriptions(): array
101
-	{
102
-		return [
103
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
104
-		    'alternateName' => 'An alias for the item.',
105
-		    'description' => 'A description of the item.',
106
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
107
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
108
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
110
-		    'name' => 'The name of the item.',
111
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
113
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
-		    'url' => 'URL of the item.'
116
-		];
117
-	}
118
-
119
-
120
-	/**
121
-	 * @inheritdoc
122
-	 */
123
-	public function getGoogleRequiredSchema(): array
124
-	{
125
-		return ['description', 'name'];
126
-	}
127
-
128
-
129
-	/**
130
-	 * @inheritdoc
131
-	 */
132
-	public function getGoogleRecommendedSchema(): array
133
-	{
134
-		return ['image', 'url'];
135
-	}
136
-
137
-
138
-	/**
139
-	 * @inheritdoc
140
-	 */
141
-	public function defineRules(): array
142
-	{
143
-		$rules = parent::defineRules();
144
-		    $rules = array_merge($rules, [
145
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
-		    ]);
149
-
150
-		    return $rules;
151
-	}
28
+    use UrologicTrait;
29
+    use MedicalSpecialtyTrait;
30
+    use SpecialtyTrait;
31
+    use EnumerationTrait;
32
+    use IntangibleTrait;
33
+    use ThingTrait;
34
+    use MedicalEnumerationTrait;
35
+
36
+    /**
37
+     * The Schema.org Type Name
38
+     *
39
+     * @var string
40
+     */
41
+    public static $schemaTypeName = 'Urologic';
42
+
43
+    /**
44
+     * The Schema.org Type Scope
45
+     *
46
+     * @var string
47
+     */
48
+    public static $schemaTypeScope = 'https://schema.org/Urologic';
49
+
50
+    /**
51
+     * The Schema.org Type Extends
52
+     *
53
+     * @var string
54
+     */
55
+    public static $schemaTypeExtends = 'MedicalSpecialty';
56
+
57
+    /**
58
+     * The Schema.org Type Description
59
+     *
60
+     * @var string
61
+     */
62
+    public static $schemaTypeDescription = 'A specific branch of medical science that is concerned with the diagnosis and treatment of diseases pertaining to the urinary tract and the urogenital system.';
63
+
64
+
65
+    /**
66
+     * @inheritdoc
67
+     */
68
+    public function getSchemaPropertyNames(): array
69
+    {
70
+        return array_keys($this->getSchemaPropertyExpectedTypes());
71
+    }
72
+
73
+
74
+    /**
75
+     * @inheritdoc
76
+     */
77
+    public function getSchemaPropertyExpectedTypes(): array
78
+    {
79
+        return [
80
+            'additionalType' => ['URL'],
81
+            'alternateName' => ['Text'],
82
+            'description' => ['Text'],
83
+            'disambiguatingDescription' => ['Text'],
84
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
85
+            'image' => ['URL', 'ImageObject'],
86
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
87
+            'name' => ['Text'],
88
+            'potentialAction' => ['Action'],
89
+            'sameAs' => ['URL'],
90
+            'subjectOf' => ['Event', 'CreativeWork'],
91
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
92
+            'url' => ['URL']
93
+        ];
94
+    }
95
+
96
+
97
+    /**
98
+     * @inheritdoc
99
+     */
100
+    public function getSchemaPropertyDescriptions(): array
101
+    {
102
+        return [
103
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
104
+            'alternateName' => 'An alias for the item.',
105
+            'description' => 'A description of the item.',
106
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
107
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
108
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
109
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
110
+            'name' => 'The name of the item.',
111
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
113
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
114
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
115
+            'url' => 'URL of the item.'
116
+        ];
117
+    }
118
+
119
+
120
+    /**
121
+     * @inheritdoc
122
+     */
123
+    public function getGoogleRequiredSchema(): array
124
+    {
125
+        return ['description', 'name'];
126
+    }
127
+
128
+
129
+    /**
130
+     * @inheritdoc
131
+     */
132
+    public function getGoogleRecommendedSchema(): array
133
+    {
134
+        return ['image', 'url'];
135
+    }
136
+
137
+
138
+    /**
139
+     * @inheritdoc
140
+     */
141
+    public function defineRules(): array
142
+    {
143
+        $rules = parent::defineRules();
144
+            $rules = array_merge($rules, [
145
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
146
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
147
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
148
+            ]);
149
+
150
+            return $rules;
151
+    }
152 152
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501c23.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 Nonprofit501c23 extends MetaJsonLd implements Nonprofit501c23Interface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use Nonprofit501c23Trait;
27
-	use USNonprofitTypeTrait;
28
-	use NonprofitTypeTrait;
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 = 'Nonprofit501c23';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501c23';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'USNonprofitType';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Nonprofit501c23: Non-profit type referring to Veterans Organizations.';
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 Nonprofit501c23Trait;
27
+    use USNonprofitTypeTrait;
28
+    use NonprofitTypeTrait;
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 = 'Nonprofit501c23';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501c23';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'USNonprofitType';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Nonprofit501c23: Non-profit type referring to Veterans Organizations.';
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/ReadPermission.php 1 patch
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -23,126 +23,126 @@
 block discarded – undo
23 23
  */
24 24
 class ReadPermission extends MetaJsonLd implements ReadPermissionInterface, DigitalDocumentPermissionTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use ReadPermissionTrait;
27
-	use DigitalDocumentPermissionTypeTrait;
28
-	use EnumerationTrait;
29
-	use IntangibleTrait;
30
-	use ThingTrait;
31
-
32
-	/**
33
-	 * The Schema.org Type Name
34
-	 *
35
-	 * @var string
36
-	 */
37
-	public static $schemaTypeName = 'ReadPermission';
38
-
39
-	/**
40
-	 * The Schema.org Type Scope
41
-	 *
42
-	 * @var string
43
-	 */
44
-	public static $schemaTypeScope = 'https://schema.org/ReadPermission';
45
-
46
-	/**
47
-	 * The Schema.org Type Extends
48
-	 *
49
-	 * @var string
50
-	 */
51
-	public static $schemaTypeExtends = 'DigitalDocumentPermissionType';
52
-
53
-	/**
54
-	 * The Schema.org Type Description
55
-	 *
56
-	 * @var string
57
-	 */
58
-	public static $schemaTypeDescription = 'Permission to read or view the document.';
59
-
60
-
61
-	/**
62
-	 * @inheritdoc
63
-	 */
64
-	public function getSchemaPropertyNames(): array
65
-	{
66
-		return array_keys($this->getSchemaPropertyExpectedTypes());
67
-	}
68
-
69
-
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyExpectedTypes(): array
74
-	{
75
-		return [
76
-		    'additionalType' => ['URL'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
-		    'name' => ['Text'],
84
-		    'potentialAction' => ['Action'],
85
-		    'sameAs' => ['URL'],
86
-		    'subjectOf' => ['Event', 'CreativeWork'],
87
-		    'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
-		    'url' => ['URL']
89
-		];
90
-	}
91
-
92
-
93
-	/**
94
-	 * @inheritdoc
95
-	 */
96
-	public function getSchemaPropertyDescriptions(): array
97
-	{
98
-		return [
99
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
-		    'alternateName' => 'An alias for the item.',
101
-		    'description' => 'A description of the item.',
102
-		    'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
-		    'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
-		    'name' => 'The name of the item.',
107
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
-		    'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
-		    'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
-		    'url' => 'URL of the item.'
112
-		];
113
-	}
114
-
115
-
116
-	/**
117
-	 * @inheritdoc
118
-	 */
119
-	public function getGoogleRequiredSchema(): array
120
-	{
121
-		return ['description', 'name'];
122
-	}
123
-
124
-
125
-	/**
126
-	 * @inheritdoc
127
-	 */
128
-	public function getGoogleRecommendedSchema(): array
129
-	{
130
-		return ['image', 'url'];
131
-	}
132
-
133
-
134
-	/**
135
-	 * @inheritdoc
136
-	 */
137
-	public function defineRules(): array
138
-	{
139
-		$rules = parent::defineRules();
140
-		    $rules = array_merge($rules, [
141
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
-		    ]);
145
-
146
-		    return $rules;
147
-	}
26
+    use ReadPermissionTrait;
27
+    use DigitalDocumentPermissionTypeTrait;
28
+    use EnumerationTrait;
29
+    use IntangibleTrait;
30
+    use ThingTrait;
31
+
32
+    /**
33
+     * The Schema.org Type Name
34
+     *
35
+     * @var string
36
+     */
37
+    public static $schemaTypeName = 'ReadPermission';
38
+
39
+    /**
40
+     * The Schema.org Type Scope
41
+     *
42
+     * @var string
43
+     */
44
+    public static $schemaTypeScope = 'https://schema.org/ReadPermission';
45
+
46
+    /**
47
+     * The Schema.org Type Extends
48
+     *
49
+     * @var string
50
+     */
51
+    public static $schemaTypeExtends = 'DigitalDocumentPermissionType';
52
+
53
+    /**
54
+     * The Schema.org Type Description
55
+     *
56
+     * @var string
57
+     */
58
+    public static $schemaTypeDescription = 'Permission to read or view the document.';
59
+
60
+
61
+    /**
62
+     * @inheritdoc
63
+     */
64
+    public function getSchemaPropertyNames(): array
65
+    {
66
+        return array_keys($this->getSchemaPropertyExpectedTypes());
67
+    }
68
+
69
+
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyExpectedTypes(): array
74
+    {
75
+        return [
76
+            'additionalType' => ['URL'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
83
+            'name' => ['Text'],
84
+            'potentialAction' => ['Action'],
85
+            'sameAs' => ['URL'],
86
+            'subjectOf' => ['Event', 'CreativeWork'],
87
+            'supersededBy' => ['Class', 'Property', 'Enumeration'],
88
+            'url' => ['URL']
89
+        ];
90
+    }
91
+
92
+
93
+    /**
94
+     * @inheritdoc
95
+     */
96
+    public function getSchemaPropertyDescriptions(): array
97
+    {
98
+        return [
99
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
100
+            'alternateName' => 'An alias for the item.',
101
+            'description' => 'A description of the item.',
102
+            'disambiguatingDescription' => 'A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.',
103
+            'identifier' => 'The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.         ',
104
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
105
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
106
+            'name' => 'The name of the item.',
107
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
108
+            'sameAs' => 'URL of a reference Web page that unambiguously indicates the item\'s identity. E.g. the URL of the item\'s Wikipedia page, Wikidata entry, or official website.',
109
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
110
+            'supersededBy' => 'Relates a term (i.e. a property, class or enumeration) to one that supersedes it.',
111
+            'url' => 'URL of the item.'
112
+        ];
113
+    }
114
+
115
+
116
+    /**
117
+     * @inheritdoc
118
+     */
119
+    public function getGoogleRequiredSchema(): array
120
+    {
121
+        return ['description', 'name'];
122
+    }
123
+
124
+
125
+    /**
126
+     * @inheritdoc
127
+     */
128
+    public function getGoogleRecommendedSchema(): array
129
+    {
130
+        return ['image', 'url'];
131
+    }
132
+
133
+
134
+    /**
135
+     * @inheritdoc
136
+     */
137
+    public function defineRules(): array
138
+    {
139
+        $rules = parent::defineRules();
140
+            $rules = array_merge($rules, [
141
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
142
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
143
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
144
+            ]);
145
+
146
+            return $rules;
147
+    }
148 148
 }
Please login to merge, or discard this patch.
src/models/jsonld/Nonprofit501c24.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 Nonprofit501c24 extends MetaJsonLd implements Nonprofit501c24Interface, USNonprofitTypeInterface, NonprofitTypeInterface, EnumerationInterface, IntangibleInterface, ThingInterface
25 25
 {
26
-	use Nonprofit501c24Trait;
27
-	use USNonprofitTypeTrait;
28
-	use NonprofitTypeTrait;
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 = 'Nonprofit501c24';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/Nonprofit501c24';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'USNonprofitType';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Nonprofit501c24: Non-profit type referring to Section 4049 ERISA Trusts.';
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 Nonprofit501c24Trait;
27
+    use USNonprofitTypeTrait;
28
+    use NonprofitTypeTrait;
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 = 'Nonprofit501c24';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/Nonprofit501c24';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'USNonprofitType';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Nonprofit501c24: Non-profit type referring to Section 4049 ERISA Trusts.';
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/Brand.php 1 patch
Indentation   +126 added lines, -126 removed lines patch added patch discarded remove patch
@@ -24,130 +24,130 @@
 block discarded – undo
24 24
  */
25 25
 class Brand extends MetaJsonLd implements BrandInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use BrandTrait;
28
-	use IntangibleTrait;
29
-	use ThingTrait;
30
-
31
-	/**
32
-	 * The Schema.org Type Name
33
-	 *
34
-	 * @var string
35
-	 */
36
-	public static $schemaTypeName = 'Brand';
37
-
38
-	/**
39
-	 * The Schema.org Type Scope
40
-	 *
41
-	 * @var string
42
-	 */
43
-	public static $schemaTypeScope = 'https://schema.org/Brand';
44
-
45
-	/**
46
-	 * The Schema.org Type Extends
47
-	 *
48
-	 * @var string
49
-	 */
50
-	public static $schemaTypeExtends = 'Intangible';
51
-
52
-	/**
53
-	 * The Schema.org Type Description
54
-	 *
55
-	 * @var string
56
-	 */
57
-	public static $schemaTypeDescription = 'A brand is a name used by an organization or business person for labeling a product, product group, or similar.';
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
-		    'aggregateRating' => ['AggregateRating'],
77
-		    'alternateName' => ['Text'],
78
-		    'description' => ['Text'],
79
-		    'disambiguatingDescription' => ['Text'],
80
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
81
-		    'image' => ['URL', 'ImageObject'],
82
-		    'logo' => ['ImageObject', 'URL'],
83
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
-		    'name' => ['Text'],
85
-		    'potentialAction' => ['Action'],
86
-		    'review' => ['Review'],
87
-		    'sameAs' => ['URL'],
88
-		    'slogan' => ['Text'],
89
-		    'subjectOf' => ['Event', 'CreativeWork'],
90
-		    'url' => ['URL']
91
-		];
92
-	}
93
-
94
-
95
-	/**
96
-	 * @inheritdoc
97
-	 */
98
-	public function getSchemaPropertyDescriptions(): array
99
-	{
100
-		return [
101
-		    'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
103
-		    'alternateName' => 'An alias for the item.',
104
-		    'description' => 'A description of the item.',
105
-		    '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.',
106
-		    '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.         ',
107
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
108
-		    'logo' => 'An associated logo.',
109
-		    'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
110
-		    'name' => 'The name of the item.',
111
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
-		    'review' => 'A review of the item.',
113
-		    '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.',
114
-		    'slogan' => 'A slogan or motto associated with the item.',
115
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
-		    'url' => 'URL of the item.'
117
-		];
118
-	}
119
-
120
-
121
-	/**
122
-	 * @inheritdoc
123
-	 */
124
-	public function getGoogleRequiredSchema(): array
125
-	{
126
-		return ['description', 'name'];
127
-	}
128
-
129
-
130
-	/**
131
-	 * @inheritdoc
132
-	 */
133
-	public function getGoogleRecommendedSchema(): array
134
-	{
135
-		return ['image', 'url'];
136
-	}
137
-
138
-
139
-	/**
140
-	 * @inheritdoc
141
-	 */
142
-	public function defineRules(): array
143
-	{
144
-		$rules = parent::defineRules();
145
-		    $rules = array_merge($rules, [
146
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
147
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
148
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
149
-		    ]);
150
-
151
-		    return $rules;
152
-	}
27
+    use BrandTrait;
28
+    use IntangibleTrait;
29
+    use ThingTrait;
30
+
31
+    /**
32
+     * The Schema.org Type Name
33
+     *
34
+     * @var string
35
+     */
36
+    public static $schemaTypeName = 'Brand';
37
+
38
+    /**
39
+     * The Schema.org Type Scope
40
+     *
41
+     * @var string
42
+     */
43
+    public static $schemaTypeScope = 'https://schema.org/Brand';
44
+
45
+    /**
46
+     * The Schema.org Type Extends
47
+     *
48
+     * @var string
49
+     */
50
+    public static $schemaTypeExtends = 'Intangible';
51
+
52
+    /**
53
+     * The Schema.org Type Description
54
+     *
55
+     * @var string
56
+     */
57
+    public static $schemaTypeDescription = 'A brand is a name used by an organization or business person for labeling a product, product group, or similar.';
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
+            'aggregateRating' => ['AggregateRating'],
77
+            'alternateName' => ['Text'],
78
+            'description' => ['Text'],
79
+            'disambiguatingDescription' => ['Text'],
80
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
81
+            'image' => ['URL', 'ImageObject'],
82
+            'logo' => ['ImageObject', 'URL'],
83
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
84
+            'name' => ['Text'],
85
+            'potentialAction' => ['Action'],
86
+            'review' => ['Review'],
87
+            'sameAs' => ['URL'],
88
+            'slogan' => ['Text'],
89
+            'subjectOf' => ['Event', 'CreativeWork'],
90
+            'url' => ['URL']
91
+        ];
92
+    }
93
+
94
+
95
+    /**
96
+     * @inheritdoc
97
+     */
98
+    public function getSchemaPropertyDescriptions(): array
99
+    {
100
+        return [
101
+            'additionalType' => 'An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the \'typeof\' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.',
102
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
103
+            'alternateName' => 'An alias for the item.',
104
+            'description' => 'A description of the item.',
105
+            '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.',
106
+            '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.         ',
107
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
108
+            'logo' => 'An associated logo.',
109
+            'mainEntityOfPage' => 'Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.',
110
+            'name' => 'The name of the item.',
111
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
112
+            'review' => 'A review of the item.',
113
+            '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.',
114
+            'slogan' => 'A slogan or motto associated with the item.',
115
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
116
+            'url' => 'URL of the item.'
117
+        ];
118
+    }
119
+
120
+
121
+    /**
122
+     * @inheritdoc
123
+     */
124
+    public function getGoogleRequiredSchema(): array
125
+    {
126
+        return ['description', 'name'];
127
+    }
128
+
129
+
130
+    /**
131
+     * @inheritdoc
132
+     */
133
+    public function getGoogleRecommendedSchema(): array
134
+    {
135
+        return ['image', 'url'];
136
+    }
137
+
138
+
139
+    /**
140
+     * @inheritdoc
141
+     */
142
+    public function defineRules(): array
143
+    {
144
+        $rules = parent::defineRules();
145
+            $rules = array_merge($rules, [
146
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
147
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
148
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
149
+            ]);
150
+
151
+            return $rules;
152
+    }
153 153
 }
Please login to merge, or discard this patch.
src/models/jsonld/MediaReview.php 1 patch
Indentation   +350 added lines, -350 removed lines patch added patch discarded remove patch
@@ -33,371 +33,371 @@
 block discarded – undo
33 33
  */
34 34
 class MediaReview extends MetaJsonLd implements MediaReviewInterface, ReviewInterface, CreativeWorkInterface, ThingInterface
35 35
 {
36
-	use MediaReviewTrait;
37
-	use ReviewTrait;
38
-	use CreativeWorkTrait;
39
-	use ThingTrait;
36
+    use MediaReviewTrait;
37
+    use ReviewTrait;
38
+    use CreativeWorkTrait;
39
+    use ThingTrait;
40 40
 
41
-	/**
42
-	 * The Schema.org Type Name
43
-	 *
44
-	 * @var string
45
-	 */
46
-	public static $schemaTypeName = 'MediaReview';
41
+    /**
42
+     * The Schema.org Type Name
43
+     *
44
+     * @var string
45
+     */
46
+    public static $schemaTypeName = 'MediaReview';
47 47
 
48
-	/**
49
-	 * The Schema.org Type Scope
50
-	 *
51
-	 * @var string
52
-	 */
53
-	public static $schemaTypeScope = 'https://schema.org/MediaReview';
48
+    /**
49
+     * The Schema.org Type Scope
50
+     *
51
+     * @var string
52
+     */
53
+    public static $schemaTypeScope = 'https://schema.org/MediaReview';
54 54
 
55
-	/**
56
-	 * The Schema.org Type Extends
57
-	 *
58
-	 * @var string
59
-	 */
60
-	public static $schemaTypeExtends = 'Review';
55
+    /**
56
+     * The Schema.org Type Extends
57
+     *
58
+     * @var string
59
+     */
60
+    public static $schemaTypeExtends = 'Review';
61 61
 
62
-	/**
63
-	 * The Schema.org Type Description
64
-	 *
65
-	 * @var string
66
-	 */
67
-	public static $schemaTypeDescription = "A [[MediaReview]] is a more specialized form of Review dedicated to the evaluation of media content online, typically in the context of fact-checking and misinformation.\n    For more general reviews of media in the broader sense, use [[UserReview]], [[CriticReview]] or other [[Review]] types. This definition is\n    a work in progress. While the [[MediaManipulationRatingEnumeration]] list reflects significant community review amongst fact-checkers and others working\n    to combat misinformation, the specific structures for representing media objects, their versions and publication context, are still evolving. Similarly, best practices for the relationship between [[MediaReview]] and [[ClaimReview]] markup have not yet been finalized.";
62
+    /**
63
+     * The Schema.org Type Description
64
+     *
65
+     * @var string
66
+     */
67
+    public static $schemaTypeDescription = "A [[MediaReview]] is a more specialized form of Review dedicated to the evaluation of media content online, typically in the context of fact-checking and misinformation.\n    For more general reviews of media in the broader sense, use [[UserReview]], [[CriticReview]] or other [[Review]] types. This definition is\n    a work in progress. While the [[MediaManipulationRatingEnumeration]] list reflects significant community review amongst fact-checkers and others working\n    to combat misinformation, the specific structures for representing media objects, their versions and publication context, are still evolving. Similarly, best practices for the relationship between [[MediaReview]] and [[ClaimReview]] markup have not yet been finalized.";
68 68
 
69 69
 
70
-	/**
71
-	 * @inheritdoc
72
-	 */
73
-	public function getSchemaPropertyNames(): array
74
-	{
75
-		return array_keys($this->getSchemaPropertyExpectedTypes());
76
-	}
70
+    /**
71
+     * @inheritdoc
72
+     */
73
+    public function getSchemaPropertyNames(): array
74
+    {
75
+        return array_keys($this->getSchemaPropertyExpectedTypes());
76
+    }
77 77
 
78 78
 
79
-	/**
80
-	 * @inheritdoc
81
-	 */
82
-	public function getSchemaPropertyExpectedTypes(): array
83
-	{
84
-		return [
85
-		    'about' => ['Thing'],
86
-		    'abstract' => ['Text'],
87
-		    'accessMode' => ['Text'],
88
-		    'accessModeSufficient' => ['ItemList'],
89
-		    'accessibilityAPI' => ['Text'],
90
-		    'accessibilityControl' => ['Text'],
91
-		    'accessibilityFeature' => ['Text'],
92
-		    'accessibilityHazard' => ['Text'],
93
-		    'accessibilitySummary' => ['Text'],
94
-		    'accountablePerson' => ['Person'],
95
-		    'acquireLicensePage' => ['CreativeWork', 'URL'],
96
-		    'additionalType' => ['URL'],
97
-		    'aggregateRating' => ['AggregateRating'],
98
-		    'alternateName' => ['Text'],
99
-		    'alternativeHeadline' => ['Text'],
100
-		    'archivedAt' => ['WebPage', 'URL'],
101
-		    'assesses' => ['DefinedTerm', 'Text'],
102
-		    'associatedClaimReview' => ['Review'],
103
-		    'associatedMedia' => ['MediaObject'],
104
-		    'associatedMediaReview' => ['Review'],
105
-		    'associatedReview' => ['Review'],
106
-		    'audience' => ['Audience'],
107
-		    'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
108
-		    'author' => ['Organization', 'Person'],
109
-		    'award' => ['Text'],
110
-		    'awards' => ['Text'],
111
-		    'character' => ['Person'],
112
-		    'citation' => ['CreativeWork', 'Text'],
113
-		    'comment' => ['Comment'],
114
-		    'commentCount' => ['Integer'],
115
-		    'conditionsOfAccess' => ['Text'],
116
-		    'contentLocation' => ['Place'],
117
-		    'contentRating' => ['Text', 'Rating'],
118
-		    'contentReferenceTime' => ['DateTime'],
119
-		    'contributor' => ['Organization', 'Person'],
120
-		    'copyrightHolder' => ['Organization', 'Person'],
121
-		    'copyrightNotice' => ['Text'],
122
-		    'copyrightYear' => ['Number'],
123
-		    'correction' => ['URL', 'Text', 'CorrectionComment'],
124
-		    'countryOfOrigin' => ['Country'],
125
-		    'creativeWorkStatus' => ['DefinedTerm', 'Text'],
126
-		    'creator' => ['Person', 'Organization'],
127
-		    'creditText' => ['Text'],
128
-		    'dateCreated' => ['DateTime', 'Date'],
129
-		    'dateModified' => ['DateTime', 'Date'],
130
-		    'datePublished' => ['DateTime', 'Date'],
131
-		    'description' => ['Text'],
132
-		    'disambiguatingDescription' => ['Text'],
133
-		    'discussionUrl' => ['URL'],
134
-		    'editEIDR' => ['URL', 'Text'],
135
-		    'editor' => ['Person'],
136
-		    'educationalAlignment' => ['AlignmentObject'],
137
-		    'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
138
-		    'educationalUse' => ['DefinedTerm', 'Text'],
139
-		    'encoding' => ['MediaObject'],
140
-		    'encodingFormat' => ['URL', 'Text'],
141
-		    'encodings' => ['MediaObject'],
142
-		    'exampleOfWork' => ['CreativeWork'],
143
-		    'expires' => ['Date', 'DateTime'],
144
-		    'fileFormat' => ['Text', 'URL'],
145
-		    'funder' => ['Organization', 'Person'],
146
-		    'funding' => ['Grant'],
147
-		    'genre' => ['Text', 'URL'],
148
-		    'hasPart' => ['CreativeWork'],
149
-		    'headline' => ['Text'],
150
-		    'identifier' => ['PropertyValue', 'URL', 'Text'],
151
-		    'image' => ['URL', 'ImageObject'],
152
-		    'inLanguage' => ['Text', 'Language'],
153
-		    'interactionStatistic' => ['InteractionCounter'],
154
-		    'interactivityType' => ['Text'],
155
-		    'interpretedAsClaim' => ['Claim'],
156
-		    'isAccessibleForFree' => ['Boolean'],
157
-		    'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
158
-		    'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
159
-		    'isFamilyFriendly' => ['Boolean'],
160
-		    'isPartOf' => ['URL', 'CreativeWork'],
161
-		    'itemReviewed' => ['Thing'],
162
-		    'keywords' => ['URL', 'DefinedTerm', 'Text'],
163
-		    'learningResourceType' => ['DefinedTerm', 'Text'],
164
-		    'license' => ['URL', 'CreativeWork'],
165
-		    'locationCreated' => ['Place'],
166
-		    'mainEntity' => ['Thing'],
167
-		    'mainEntityOfPage' => ['URL', 'CreativeWork'],
168
-		    'maintainer' => ['Person', 'Organization'],
169
-		    'material' => ['Product', 'URL', 'Text'],
170
-		    'materialExtent' => ['QuantitativeValue', 'Text'],
171
-		    'mediaAuthenticityCategory' => ['MediaManipulationRatingEnumeration'],
172
-		    'mentions' => ['Thing'],
173
-		    'name' => ['Text'],
174
-		    'negativeNotes' => ['ListItem', 'Text', 'ItemList', 'WebContent'],
175
-		    'offers' => ['Demand', 'Offer'],
176
-		    'originalMediaContextDescription' => ['Text'],
177
-		    'originalMediaLink' => ['WebPage', 'MediaObject', 'URL'],
178
-		    'pattern' => ['DefinedTerm', 'Text'],
179
-		    'position' => ['Text', 'Integer'],
180
-		    'positiveNotes' => ['Text', 'WebContent', 'ListItem', 'ItemList'],
181
-		    'potentialAction' => ['Action'],
182
-		    'producer' => ['Organization', 'Person'],
183
-		    'provider' => ['Organization', 'Person'],
184
-		    'publication' => ['PublicationEvent'],
185
-		    'publisher' => ['Organization', 'Person'],
186
-		    'publisherImprint' => ['Organization'],
187
-		    'publishingPrinciples' => ['CreativeWork', 'URL'],
188
-		    'recordedAt' => ['Event'],
189
-		    'releasedEvent' => ['PublicationEvent'],
190
-		    'review' => ['Review'],
191
-		    'reviewAspect' => ['Text'],
192
-		    'reviewBody' => ['Text'],
193
-		    'reviewRating' => ['Rating'],
194
-		    'reviews' => ['Review'],
195
-		    'sameAs' => ['URL'],
196
-		    'schemaVersion' => ['URL', 'Text'],
197
-		    'sdDatePublished' => ['Date'],
198
-		    'sdLicense' => ['CreativeWork', 'URL'],
199
-		    'sdPublisher' => ['Organization', 'Person'],
200
-		    'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
201
-		    'sourceOrganization' => ['Organization'],
202
-		    'spatial' => ['Place'],
203
-		    'spatialCoverage' => ['Place'],
204
-		    'sponsor' => ['Organization', 'Person'],
205
-		    'subjectOf' => ['Event', 'CreativeWork'],
206
-		    'teaches' => ['DefinedTerm', 'Text'],
207
-		    'temporal' => ['DateTime', 'Text'],
208
-		    'temporalCoverage' => ['URL', 'Text', 'DateTime'],
209
-		    'text' => ['Text'],
210
-		    'thumbnailUrl' => ['URL'],
211
-		    'timeRequired' => ['Duration'],
212
-		    'translationOfWork' => ['CreativeWork'],
213
-		    'translator' => ['Organization', 'Person'],
214
-		    'typicalAgeRange' => ['Text'],
215
-		    'url' => ['URL'],
216
-		    'usageInfo' => ['URL', 'CreativeWork'],
217
-		    'version' => ['Number', 'Text'],
218
-		    'video' => ['VideoObject', 'Clip'],
219
-		    'workExample' => ['CreativeWork'],
220
-		    'workTranslation' => ['CreativeWork']
221
-		];
222
-	}
79
+    /**
80
+     * @inheritdoc
81
+     */
82
+    public function getSchemaPropertyExpectedTypes(): array
83
+    {
84
+        return [
85
+            'about' => ['Thing'],
86
+            'abstract' => ['Text'],
87
+            'accessMode' => ['Text'],
88
+            'accessModeSufficient' => ['ItemList'],
89
+            'accessibilityAPI' => ['Text'],
90
+            'accessibilityControl' => ['Text'],
91
+            'accessibilityFeature' => ['Text'],
92
+            'accessibilityHazard' => ['Text'],
93
+            'accessibilitySummary' => ['Text'],
94
+            'accountablePerson' => ['Person'],
95
+            'acquireLicensePage' => ['CreativeWork', 'URL'],
96
+            'additionalType' => ['URL'],
97
+            'aggregateRating' => ['AggregateRating'],
98
+            'alternateName' => ['Text'],
99
+            'alternativeHeadline' => ['Text'],
100
+            'archivedAt' => ['WebPage', 'URL'],
101
+            'assesses' => ['DefinedTerm', 'Text'],
102
+            'associatedClaimReview' => ['Review'],
103
+            'associatedMedia' => ['MediaObject'],
104
+            'associatedMediaReview' => ['Review'],
105
+            'associatedReview' => ['Review'],
106
+            'audience' => ['Audience'],
107
+            'audio' => ['MusicRecording', 'AudioObject', 'Clip'],
108
+            'author' => ['Organization', 'Person'],
109
+            'award' => ['Text'],
110
+            'awards' => ['Text'],
111
+            'character' => ['Person'],
112
+            'citation' => ['CreativeWork', 'Text'],
113
+            'comment' => ['Comment'],
114
+            'commentCount' => ['Integer'],
115
+            'conditionsOfAccess' => ['Text'],
116
+            'contentLocation' => ['Place'],
117
+            'contentRating' => ['Text', 'Rating'],
118
+            'contentReferenceTime' => ['DateTime'],
119
+            'contributor' => ['Organization', 'Person'],
120
+            'copyrightHolder' => ['Organization', 'Person'],
121
+            'copyrightNotice' => ['Text'],
122
+            'copyrightYear' => ['Number'],
123
+            'correction' => ['URL', 'Text', 'CorrectionComment'],
124
+            'countryOfOrigin' => ['Country'],
125
+            'creativeWorkStatus' => ['DefinedTerm', 'Text'],
126
+            'creator' => ['Person', 'Organization'],
127
+            'creditText' => ['Text'],
128
+            'dateCreated' => ['DateTime', 'Date'],
129
+            'dateModified' => ['DateTime', 'Date'],
130
+            'datePublished' => ['DateTime', 'Date'],
131
+            'description' => ['Text'],
132
+            'disambiguatingDescription' => ['Text'],
133
+            'discussionUrl' => ['URL'],
134
+            'editEIDR' => ['URL', 'Text'],
135
+            'editor' => ['Person'],
136
+            'educationalAlignment' => ['AlignmentObject'],
137
+            'educationalLevel' => ['Text', 'URL', 'DefinedTerm'],
138
+            'educationalUse' => ['DefinedTerm', 'Text'],
139
+            'encoding' => ['MediaObject'],
140
+            'encodingFormat' => ['URL', 'Text'],
141
+            'encodings' => ['MediaObject'],
142
+            'exampleOfWork' => ['CreativeWork'],
143
+            'expires' => ['Date', 'DateTime'],
144
+            'fileFormat' => ['Text', 'URL'],
145
+            'funder' => ['Organization', 'Person'],
146
+            'funding' => ['Grant'],
147
+            'genre' => ['Text', 'URL'],
148
+            'hasPart' => ['CreativeWork'],
149
+            'headline' => ['Text'],
150
+            'identifier' => ['PropertyValue', 'URL', 'Text'],
151
+            'image' => ['URL', 'ImageObject'],
152
+            'inLanguage' => ['Text', 'Language'],
153
+            'interactionStatistic' => ['InteractionCounter'],
154
+            'interactivityType' => ['Text'],
155
+            'interpretedAsClaim' => ['Claim'],
156
+            'isAccessibleForFree' => ['Boolean'],
157
+            'isBasedOn' => ['URL', 'Product', 'CreativeWork'],
158
+            'isBasedOnUrl' => ['URL', 'Product', 'CreativeWork'],
159
+            'isFamilyFriendly' => ['Boolean'],
160
+            'isPartOf' => ['URL', 'CreativeWork'],
161
+            'itemReviewed' => ['Thing'],
162
+            'keywords' => ['URL', 'DefinedTerm', 'Text'],
163
+            'learningResourceType' => ['DefinedTerm', 'Text'],
164
+            'license' => ['URL', 'CreativeWork'],
165
+            'locationCreated' => ['Place'],
166
+            'mainEntity' => ['Thing'],
167
+            'mainEntityOfPage' => ['URL', 'CreativeWork'],
168
+            'maintainer' => ['Person', 'Organization'],
169
+            'material' => ['Product', 'URL', 'Text'],
170
+            'materialExtent' => ['QuantitativeValue', 'Text'],
171
+            'mediaAuthenticityCategory' => ['MediaManipulationRatingEnumeration'],
172
+            'mentions' => ['Thing'],
173
+            'name' => ['Text'],
174
+            'negativeNotes' => ['ListItem', 'Text', 'ItemList', 'WebContent'],
175
+            'offers' => ['Demand', 'Offer'],
176
+            'originalMediaContextDescription' => ['Text'],
177
+            'originalMediaLink' => ['WebPage', 'MediaObject', 'URL'],
178
+            'pattern' => ['DefinedTerm', 'Text'],
179
+            'position' => ['Text', 'Integer'],
180
+            'positiveNotes' => ['Text', 'WebContent', 'ListItem', 'ItemList'],
181
+            'potentialAction' => ['Action'],
182
+            'producer' => ['Organization', 'Person'],
183
+            'provider' => ['Organization', 'Person'],
184
+            'publication' => ['PublicationEvent'],
185
+            'publisher' => ['Organization', 'Person'],
186
+            'publisherImprint' => ['Organization'],
187
+            'publishingPrinciples' => ['CreativeWork', 'URL'],
188
+            'recordedAt' => ['Event'],
189
+            'releasedEvent' => ['PublicationEvent'],
190
+            'review' => ['Review'],
191
+            'reviewAspect' => ['Text'],
192
+            'reviewBody' => ['Text'],
193
+            'reviewRating' => ['Rating'],
194
+            'reviews' => ['Review'],
195
+            'sameAs' => ['URL'],
196
+            'schemaVersion' => ['URL', 'Text'],
197
+            'sdDatePublished' => ['Date'],
198
+            'sdLicense' => ['CreativeWork', 'URL'],
199
+            'sdPublisher' => ['Organization', 'Person'],
200
+            'size' => ['DefinedTerm', 'QuantitativeValue', 'Text', 'SizeSpecification'],
201
+            'sourceOrganization' => ['Organization'],
202
+            'spatial' => ['Place'],
203
+            'spatialCoverage' => ['Place'],
204
+            'sponsor' => ['Organization', 'Person'],
205
+            'subjectOf' => ['Event', 'CreativeWork'],
206
+            'teaches' => ['DefinedTerm', 'Text'],
207
+            'temporal' => ['DateTime', 'Text'],
208
+            'temporalCoverage' => ['URL', 'Text', 'DateTime'],
209
+            'text' => ['Text'],
210
+            'thumbnailUrl' => ['URL'],
211
+            'timeRequired' => ['Duration'],
212
+            'translationOfWork' => ['CreativeWork'],
213
+            'translator' => ['Organization', 'Person'],
214
+            'typicalAgeRange' => ['Text'],
215
+            'url' => ['URL'],
216
+            'usageInfo' => ['URL', 'CreativeWork'],
217
+            'version' => ['Number', 'Text'],
218
+            'video' => ['VideoObject', 'Clip'],
219
+            'workExample' => ['CreativeWork'],
220
+            'workTranslation' => ['CreativeWork']
221
+        ];
222
+    }
223 223
 
224 224
 
225
-	/**
226
-	 * @inheritdoc
227
-	 */
228
-	public function getSchemaPropertyDescriptions(): array
229
-	{
230
-		return [
231
-		    'about' => 'The subject matter of the content.',
232
-		    'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
233
-		    'accessMode' => 'The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary).',
234
-		    'accessModeSufficient' => 'A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).',
235
-		    'accessibilityAPI' => 'Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary).',
236
-		    'accessibilityControl' => 'Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary).',
237
-		    'accessibilityFeature' => 'Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary).',
238
-		    'accessibilityHazard' => 'A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary).',
239
-		    'accessibilitySummary' => 'A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed."',
240
-		    'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
241
-		    'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
242
-		    '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.',
243
-		    'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
244
-		    'alternateName' => 'An alias for the item.',
245
-		    'alternativeHeadline' => 'A secondary title of the CreativeWork.',
246
-		    'archivedAt' => 'Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.',
247
-		    'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
248
-		    'associatedClaimReview' => 'An associated [[ClaimReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].',
249
-		    'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
250
-		    'associatedMediaReview' => 'An associated [[MediaReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].',
251
-		    'associatedReview' => 'An associated [[Review]].',
252
-		    'audience' => 'An intended audience, i.e. a group for whom something was created.',
253
-		    'audio' => 'An embedded audio object.',
254
-		    'author' => 'The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.',
255
-		    'award' => 'An award won by or for this item.',
256
-		    'awards' => 'Awards won by or for this item.',
257
-		    'character' => 'Fictional person connected with a creative work.',
258
-		    'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
259
-		    'comment' => 'Comments, typically from users.',
260
-		    'commentCount' => 'The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.',
261
-		    'conditionsOfAccess' => 'Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.  For example "Available by appointment from the Reading Room" or "Accessible only from logged-in accounts ". ',
262
-		    'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
263
-		    'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
264
-		    'contentReferenceTime' => 'The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.',
265
-		    'contributor' => 'A secondary contributor to the CreativeWork or Event.',
266
-		    'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
267
-		    'copyrightNotice' => 'Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.',
268
-		    'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
269
-		    'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
270
-		    'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
271
-		    'creativeWorkStatus' => 'The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.',
272
-		    'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
273
-		    'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
274
-		    'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
275
-		    'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
276
-		    'datePublished' => 'Date of first broadcast/publication.',
277
-		    'description' => 'A description of the item.',
278
-		    '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.',
279
-		    'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
280
-		    'editEIDR' => 'An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.  For example, the motion picture known as "Ghostbusters" whose [[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and "10.5240/8A35-3BEE-6497-5D12-9E4F-3".  Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description. ',
281
-		    'editor' => 'Specifies the Person who edited the CreativeWork.',
282
-		    'educationalAlignment' => 'An alignment to an established educational framework.  This property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.',
283
-		    'educationalLevel' => 'The level in terms of progression through an educational or training context. Examples of educational levels include \'beginner\', \'intermediate\' or \'advanced\', and formal sets of level indicators.',
284
-		    'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
285
-		    'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
286
-		    'encodingFormat' => 'Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.  In cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.  Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.',
287
-		    'encodings' => 'A media object that encodes this CreativeWork.',
288
-		    'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
289
-		    'expires' => 'Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, or a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.',
290
-		    'fileFormat' => 'Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, \'encoding\' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.',
291
-		    'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
292
-		    'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
293
-		    'genre' => 'Genre of the creative work, broadcast channel or group.',
294
-		    'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
295
-		    'headline' => 'Headline of the article.',
296
-		    '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.         ',
297
-		    'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
298
-		    'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
299
-		    'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
300
-		    'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
301
-		    'interpretedAsClaim' => 'Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].',
302
-		    'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
303
-		    'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
304
-		    'isBasedOnUrl' => 'A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.',
305
-		    'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
306
-		    'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
307
-		    'itemReviewed' => 'The item that is being reviewed/rated.',
308
-		    '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.',
309
-		    'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
310
-		    'license' => 'A license document that applies to this content, typically indicated by URL.',
311
-		    'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
312
-		    'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
313
-		    '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.',
314
-		    'maintainer' => 'A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on "upstream" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always  possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.       ',
315
-		    'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
316
-		    'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
317
-		    'mediaAuthenticityCategory' => 'Indicates a MediaManipulationRatingEnumeration classification of a media object (in the context of how it was published or shared).',
318
-		    'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
319
-		    'name' => 'The name of the item.',
320
-		    'negativeNotes' => 'Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry   In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions  tend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).',
321
-		    'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
322
-		    'originalMediaContextDescription' => 'Describes, in a [[MediaReview]] when dealing with [[DecontextualizedContent]], background information that can contribute to better interpretation of the [[MediaObject]].',
323
-		    'originalMediaLink' => 'Link to the page containing an original version of the content, or directly to an online copy of the original [[MediaObject]] content, e.g. video file.',
324
-		    'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
325
-		    'position' => 'The position of an item in a series or sequence of items.',
326
-		    'positiveNotes' => 'Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.  In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).',
327
-		    'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
328
-		    'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
329
-		    '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.',
330
-		    'publication' => 'A publication event associated with the item.',
331
-		    'publisher' => 'The publisher of the creative work.',
332
-		    'publisherImprint' => 'The publishing division which published the comic.',
333
-		    '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. ',
334
-		    'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
335
-		    'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
336
-		    'review' => 'A review of the item.',
337
-		    'reviewAspect' => 'This Review or Rating is relevant to this part or facet of the itemReviewed.',
338
-		    'reviewBody' => 'The actual body of the review.',
339
-		    'reviewRating' => 'The rating given in this review. Note that reviews can themselves be rated. The ```reviewRating``` applies to rating given by the review. The [[aggregateRating]] property applies to the review itself, as a creative work.',
340
-		    'reviews' => 'Review of the item.',
341
-		    '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.',
342
-		    'schemaVersion' => 'Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to     indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community.',
343
-		    'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
344
-		    'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
345
-		    'sdPublisher' => 'Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The [[sdPublisher]] property helps make such practices more explicit.',
346
-		    'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
347
-		    'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
348
-		    'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
349
-		    'spatialCoverage' => 'The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of       contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates       areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.',
350
-		    '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.',
351
-		    'subjectOf' => 'A CreativeWork or Event about this Thing.',
352
-		    'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
353
-		    'temporal' => 'The "temporal" property can be used in cases where more specific properties (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate.',
354
-		    'temporalCoverage' => 'The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In       the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.       Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".  Open-ended date ranges can be written with ".." in place of the end date. For example, "2015-11/.." indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated.',
355
-		    'text' => 'The textual content of this CreativeWork.',
356
-		    'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
357
-		    'timeRequired' => 'Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. \'PT30M\', \'PT1H25M\'.',
358
-		    'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
359
-		    'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
360
-		    'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
361
-		    'url' => 'URL of the item.',
362
-		    'usageInfo' => 'The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.  This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.',
363
-		    'version' => 'The version of the CreativeWork embodied by a specified resource.',
364
-		    'video' => 'An embedded video object.',
365
-		    'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
366
-		    'workTranslation' => 'A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese  translation Tây du ký bình khảo.'
367
-		];
368
-	}
225
+    /**
226
+     * @inheritdoc
227
+     */
228
+    public function getSchemaPropertyDescriptions(): array
229
+    {
230
+        return [
231
+            'about' => 'The subject matter of the content.',
232
+            'abstract' => 'An abstract is a short description that summarizes a [[CreativeWork]].',
233
+            'accessMode' => 'The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary).',
234
+            'accessModeSufficient' => 'A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).',
235
+            'accessibilityAPI' => 'Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary).',
236
+            'accessibilityControl' => 'Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary).',
237
+            'accessibilityFeature' => 'Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary).',
238
+            'accessibilityHazard' => 'A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary).',
239
+            'accessibilitySummary' => 'A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as "short descriptions are present but long descriptions will be needed for non-visual users" or "short descriptions are present and no long descriptions are needed."',
240
+            'accountablePerson' => 'Specifies the Person that is legally accountable for the CreativeWork.',
241
+            'acquireLicensePage' => 'Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.',
242
+            '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.',
243
+            'aggregateRating' => 'The overall rating, based on a collection of reviews or ratings, of the item.',
244
+            'alternateName' => 'An alias for the item.',
245
+            'alternativeHeadline' => 'A secondary title of the CreativeWork.',
246
+            'archivedAt' => 'Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.',
247
+            'assesses' => 'The item being described is intended to assess the competency or learning outcome defined by the referenced term.',
248
+            'associatedClaimReview' => 'An associated [[ClaimReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].',
249
+            'associatedMedia' => 'A media object that encodes this CreativeWork. This property is a synonym for encoding.',
250
+            'associatedMediaReview' => 'An associated [[MediaReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].',
251
+            'associatedReview' => 'An associated [[Review]].',
252
+            'audience' => 'An intended audience, i.e. a group for whom something was created.',
253
+            'audio' => 'An embedded audio object.',
254
+            'author' => 'The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.',
255
+            'award' => 'An award won by or for this item.',
256
+            'awards' => 'Awards won by or for this item.',
257
+            'character' => 'Fictional person connected with a creative work.',
258
+            'citation' => 'A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.',
259
+            'comment' => 'Comments, typically from users.',
260
+            'commentCount' => 'The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere.',
261
+            'conditionsOfAccess' => 'Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.  For example "Available by appointment from the Reading Room" or "Accessible only from logged-in accounts ". ',
262
+            'contentLocation' => 'The location depicted or described in the content. For example, the location in a photograph or painting.',
263
+            'contentRating' => 'Official rating of a piece of content—for example, \'MPAA PG-13\'.',
264
+            'contentReferenceTime' => 'The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.',
265
+            'contributor' => 'A secondary contributor to the CreativeWork or Event.',
266
+            'copyrightHolder' => 'The party holding the legal copyright to the CreativeWork.',
267
+            'copyrightNotice' => 'Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work.',
268
+            'copyrightYear' => 'The year during which the claimed copyright for the CreativeWork was first asserted.',
269
+            'correction' => 'Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.',
270
+            'countryOfOrigin' => 'The country of origin of something, including products as well as creative  works such as movie and TV content.  In the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.  In the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.',
271
+            'creativeWorkStatus' => 'The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.',
272
+            'creator' => 'The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.',
273
+            'creditText' => 'Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work.',
274
+            'dateCreated' => 'The date on which the CreativeWork was created or the item was added to a DataFeed.',
275
+            'dateModified' => 'The date on which the CreativeWork was most recently modified or when the item\'s entry was modified within a DataFeed.',
276
+            'datePublished' => 'Date of first broadcast/publication.',
277
+            'description' => 'A description of the item.',
278
+            '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.',
279
+            'discussionUrl' => 'A link to the page containing the comments of the CreativeWork.',
280
+            'editEIDR' => 'An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.  For example, the motion picture known as "Ghostbusters" whose [[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and "10.5240/8A35-3BEE-6497-5D12-9E4F-3".  Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description. ',
281
+            'editor' => 'Specifies the Person who edited the CreativeWork.',
282
+            'educationalAlignment' => 'An alignment to an established educational framework.  This property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.',
283
+            'educationalLevel' => 'The level in terms of progression through an educational or training context. Examples of educational levels include \'beginner\', \'intermediate\' or \'advanced\', and formal sets of level indicators.',
284
+            'educationalUse' => 'The purpose of a work in the context of education; for example, \'assignment\', \'group work\'.',
285
+            'encoding' => 'A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.',
286
+            'encodingFormat' => 'Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.  In cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.  Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.',
287
+            'encodings' => 'A media object that encodes this CreativeWork.',
288
+            'exampleOfWork' => 'A creative work that this work is an example/instance/realization/derivation of.',
289
+            'expires' => 'Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, or a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date.',
290
+            'fileFormat' => 'Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, \'encoding\' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.',
291
+            'funder' => 'A person or organization that supports (sponsors) something through some kind of financial contribution.',
292
+            'funding' => 'A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].',
293
+            'genre' => 'Genre of the creative work, broadcast channel or group.',
294
+            'hasPart' => 'Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).',
295
+            'headline' => 'Headline of the article.',
296
+            '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.         ',
297
+            'image' => 'An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].',
298
+            'inLanguage' => 'The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].',
299
+            'interactionStatistic' => 'The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.',
300
+            'interactivityType' => 'The predominant mode of learning supported by the learning resource. Acceptable values are \'active\', \'expositive\', or \'mixed\'.',
301
+            'interpretedAsClaim' => 'Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].',
302
+            'isAccessibleForFree' => 'A flag to signal that the item, event, or place is accessible for free.',
303
+            'isBasedOn' => 'A resource from which this work is derived or from which it is a modification or adaption.',
304
+            'isBasedOnUrl' => 'A resource that was used in the creation of this resource. This term can be repeated for multiple sources. For example, http://example.com/great-multiplication-intro.html.',
305
+            'isFamilyFriendly' => 'Indicates whether this content is family friendly.',
306
+            'isPartOf' => 'Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.',
307
+            'itemReviewed' => 'The item that is being reviewed/rated.',
308
+            '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.',
309
+            'learningResourceType' => 'The predominant type or kind characterizing the learning resource. For example, \'presentation\', \'handout\'.',
310
+            'license' => 'A license document that applies to this content, typically indicated by URL.',
311
+            'locationCreated' => 'The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.',
312
+            'mainEntity' => 'Indicates the primary entity described in some page or other CreativeWork.',
313
+            '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.',
314
+            'maintainer' => 'A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on "upstream" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always  possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.       ',
315
+            'material' => 'A material that something is made from, e.g. leather, wool, cotton, paper.',
316
+            'materialExtent' => 'The quantity of the materials being described or an expression of the physical space they occupy.',
317
+            'mediaAuthenticityCategory' => 'Indicates a MediaManipulationRatingEnumeration classification of a media object (in the context of how it was published or shared).',
318
+            'mentions' => 'Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.',
319
+            'name' => 'The name of the item.',
320
+            'negativeNotes' => 'Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry   In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions  tend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).',
321
+            'offers' => 'An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.       ',
322
+            'originalMediaContextDescription' => 'Describes, in a [[MediaReview]] when dealing with [[DecontextualizedContent]], background information that can contribute to better interpretation of the [[MediaObject]].',
323
+            'originalMediaLink' => 'Link to the page containing an original version of the content, or directly to an online copy of the original [[MediaObject]] content, e.g. video file.',
324
+            'pattern' => 'A pattern that something has, for example \'polka dot\', \'striped\', \'Canadian flag\'. Values are typically expressed as text, although links to controlled value schemes are also supported.',
325
+            'position' => 'The position of an item in a series or sequence of items.',
326
+            'positiveNotes' => 'Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.  In the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.  The property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).',
327
+            'potentialAction' => 'Indicates a potential Action, which describes an idealized action in which this thing would play an \'object\' role.',
328
+            'producer' => 'The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).',
329
+            '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.',
330
+            'publication' => 'A publication event associated with the item.',
331
+            'publisher' => 'The publisher of the creative work.',
332
+            'publisherImprint' => 'The publishing division which published the comic.',
333
+            '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. ',
334
+            'recordedAt' => 'The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.',
335
+            'releasedEvent' => 'The place and time the release was issued, expressed as a PublicationEvent.',
336
+            'review' => 'A review of the item.',
337
+            'reviewAspect' => 'This Review or Rating is relevant to this part or facet of the itemReviewed.',
338
+            'reviewBody' => 'The actual body of the review.',
339
+            'reviewRating' => 'The rating given in this review. Note that reviews can themselves be rated. The ```reviewRating``` applies to rating given by the review. The [[aggregateRating]] property applies to the review itself, as a creative work.',
340
+            'reviews' => 'Review of the item.',
341
+            '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.',
342
+            'schemaVersion' => 'Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to     indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community.',
343
+            'sdDatePublished' => 'Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]]',
344
+            'sdLicense' => 'A license document that applies to this structured data, typically indicated by URL.',
345
+            'sdPublisher' => 'Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The [[sdPublisher]] property helps make such practices more explicit.',
346
+            'size' => 'A standardized size of a product or creative work, specified either through a simple textual string (for example \'XL\', \'32Wx34L\'), a  QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable. ',
347
+            'sourceOrganization' => 'The Organization on whose behalf the creator was working.',
348
+            'spatial' => 'The "spatial" property can be used in cases when more specific properties (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.',
349
+            'spatialCoverage' => 'The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of       contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates       areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.',
350
+            '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.',
351
+            'subjectOf' => 'A CreativeWork or Event about this Thing.',
352
+            'teaches' => 'The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.',
353
+            'temporal' => 'The "temporal" property can be used in cases where more specific properties (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate.',
354
+            'temporalCoverage' => 'The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In       the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written "2011/2012"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.       Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via "1939/1945".  Open-ended date ranges can be written with ".." in place of the end date. For example, "2015-11/.." indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated.',
355
+            'text' => 'The textual content of this CreativeWork.',
356
+            'thumbnailUrl' => 'A thumbnail image relevant to the Thing.',
357
+            'timeRequired' => 'Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience, e.g. \'PT30M\', \'PT1H25M\'.',
358
+            'translationOfWork' => 'The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.',
359
+            'translator' => 'Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.',
360
+            'typicalAgeRange' => 'The typical expected age range, e.g. \'7-9\', \'11-\'.',
361
+            'url' => 'URL of the item.',
362
+            'usageInfo' => 'The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.  This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.',
363
+            'version' => 'The version of the CreativeWork embodied by a specified resource.',
364
+            'video' => 'An embedded video object.',
365
+            'workExample' => 'Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.',
366
+            'workTranslation' => 'A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese  translation Tây du ký bình khảo.'
367
+        ];
368
+    }
369 369
 
370 370
 
371
-	/**
372
-	 * @inheritdoc
373
-	 */
374
-	public function getGoogleRequiredSchema(): array
375
-	{
376
-		return ['description', 'name'];
377
-	}
371
+    /**
372
+     * @inheritdoc
373
+     */
374
+    public function getGoogleRequiredSchema(): array
375
+    {
376
+        return ['description', 'name'];
377
+    }
378 378
 
379 379
 
380
-	/**
381
-	 * @inheritdoc
382
-	 */
383
-	public function getGoogleRecommendedSchema(): array
384
-	{
385
-		return ['image', 'url'];
386
-	}
380
+    /**
381
+     * @inheritdoc
382
+     */
383
+    public function getGoogleRecommendedSchema(): array
384
+    {
385
+        return ['image', 'url'];
386
+    }
387 387
 
388 388
 
389
-	/**
390
-	 * @inheritdoc
391
-	 */
392
-	public function defineRules(): array
393
-	{
394
-		$rules = parent::defineRules();
395
-		    $rules = array_merge($rules, [
396
-		        [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
397
-		        [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
398
-		        [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
399
-		    ]);
389
+    /**
390
+     * @inheritdoc
391
+     */
392
+    public function defineRules(): array
393
+    {
394
+        $rules = parent::defineRules();
395
+            $rules = array_merge($rules, [
396
+                [$this->getSchemaPropertyNames(), 'validateJsonSchema'],
397
+                [$this->getGoogleRequiredSchema(), 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
398
+                [$this->getGoogleRecommendedSchema(), 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
399
+            ]);
400 400
 
401
-		    return $rules;
402
-	}
401
+            return $rules;
402
+    }
403 403
 }
Please login to merge, or discard this patch.
src/models/jsonld/ContagiousnessHealthAspect.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 ContagiousnessHealthAspect extends MetaJsonLd implements ContagiousnessHealthAspectInterface, HealthAspectEnumerationInterface, EnumerationInterface, IntangibleInterface, ThingInterface
26 26
 {
27
-	use ContagiousnessHealthAspectTrait;
28
-	use HealthAspectEnumerationTrait;
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 = 'ContagiousnessHealthAspect';
39
-
40
-	/**
41
-	 * The Schema.org Type Scope
42
-	 *
43
-	 * @var string
44
-	 */
45
-	public static $schemaTypeScope = 'https://schema.org/ContagiousnessHealthAspect';
46
-
47
-	/**
48
-	 * The Schema.org Type Extends
49
-	 *
50
-	 * @var string
51
-	 */
52
-	public static $schemaTypeExtends = 'HealthAspectEnumeration';
53
-
54
-	/**
55
-	 * The Schema.org Type Description
56
-	 *
57
-	 * @var string
58
-	 */
59
-	public static $schemaTypeDescription = 'Content about contagion mechanisms and contagiousness information over the topic.';
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 ContagiousnessHealthAspectTrait;
28
+    use HealthAspectEnumerationTrait;
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 = 'ContagiousnessHealthAspect';
39
+
40
+    /**
41
+     * The Schema.org Type Scope
42
+     *
43
+     * @var string
44
+     */
45
+    public static $schemaTypeScope = 'https://schema.org/ContagiousnessHealthAspect';
46
+
47
+    /**
48
+     * The Schema.org Type Extends
49
+     *
50
+     * @var string
51
+     */
52
+    public static $schemaTypeExtends = 'HealthAspectEnumeration';
53
+
54
+    /**
55
+     * The Schema.org Type Description
56
+     *
57
+     * @var string
58
+     */
59
+    public static $schemaTypeDescription = 'Content about contagion mechanisms and contagiousness information over the topic.';
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.