@@ -4,22 +4,22 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Type |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Return an array representation of the type. If the array contains child types, |
|
| 9 | - * their context needs to be stripped if it's the same. |
|
| 10 | - * @return array |
|
| 11 | - */ |
|
| 12 | - public function toArray(); |
|
| 7 | + /** |
|
| 8 | + * Return an array representation of the type. If the array contains child types, |
|
| 9 | + * their context needs to be stripped if it's the same. |
|
| 10 | + * @return array |
|
| 11 | + */ |
|
| 12 | + public function toArray(); |
|
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * Create a json-ld script tag for this type, built from the data that `toArray` returns. |
|
| 16 | - * @return string |
|
| 17 | - */ |
|
| 18 | - public function toScript(); |
|
| 14 | + /** |
|
| 15 | + * Create a json-ld script tag for this type, built from the data that `toArray` returns. |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 18 | + public function toScript(); |
|
| 19 | 19 | |
| 20 | - /** |
|
| 21 | - * Create a json-ld script tag for this type, built from the data that `toArray` returns. |
|
| 22 | - * @return string |
|
| 23 | - */ |
|
| 24 | - public function __toString(); |
|
| 20 | + /** |
|
| 21 | + * Create a json-ld script tag for this type, built from the data that `toArray` returns. |
|
| 22 | + * @return string |
|
| 23 | + */ |
|
| 24 | + public function __toString(); |
|
| 25 | 25 | } |
@@ -57,166 +57,166 @@ |
||
| 57 | 57 | */ |
| 58 | 58 | class Organization extends BaseType |
| 59 | 59 | { |
| 60 | - /** |
|
| 61 | - * The schema.org Actions mechanism benefited from extensive discussions across the Web |
|
| 62 | - * standards community around W3C, in particular from the [Hydra project](http://purl.org/hydra/) |
|
| 63 | - * community group. |
|
| 64 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass |
|
| 65 | - */ |
|
| 66 | - const ActionCollabClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass'; |
|
| 67 | - |
|
| 68 | - /** |
|
| 69 | - * This element is based on the work of the Automotive Ontology Working Group, |
|
| 70 | - * see [www.automotive-ontology.org](http://www.automotive-ontology.org) for details. |
|
| 71 | - * Many class and property definitions are inspired by or based on abstracts from Wikipedia, |
|
| 72 | - * the free encyclopedia. |
|
| 73 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group |
|
| 74 | - */ |
|
| 75 | - const AutomotiveOntologyWGClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group'; |
|
| 76 | - |
|
| 77 | - /** |
|
| 78 | - * The W3C [Schema Bib Extend](http://www.w3.org/community/schemabibex/) (BibEx) group led the |
|
| 79 | - * work to improve schema.org for bibliographic information, including terms for periodicals, |
|
| 80 | - * articles and multi-volume works. The design was inspired in places (e.g. [[pageStart]], |
|
| 81 | - * [[pageEnd]], [[pagination]]) by the [Bibliographic Ontology](http://bibliontology.com/), |
|
| 82 | - * 'bibo'. |
|
| 83 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex |
|
| 84 | - */ |
|
| 85 | - const BibExTerm = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex'; |
|
| 86 | - |
|
| 87 | - /** |
|
| 88 | - * This class is based upon W3C DCAT work, and benefits from collaboration around the DCAT, ADMS |
|
| 89 | - * and VoID vocabularies. See http://www.w3.org/wiki/WebSchemas/Datasets for full details and |
|
| 90 | - * mappings. |
|
| 91 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass |
|
| 92 | - */ |
|
| 93 | - const DatasetClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass'; |
|
| 94 | - |
|
| 95 | - /** |
|
| 96 | - * This element is based on the work of the Financial Industry Business Ontology project (see |
|
| 97 | - * [http://www.fibo.org/schema](http://www.fibo.org/schema) for details), in support of the W3C |
|
| 98 | - * Financial Industry Business Ontology Community Group |
|
| 99 | - * ([http://www.fibo.org/community](http://www.fibo.org/community)). Many class and property |
|
| 100 | - * definitions are inspired by or based on [http://www.fibo.org](http://www.fibo.org). |
|
| 101 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO |
|
| 102 | - */ |
|
| 103 | - const FIBO = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO'; |
|
| 104 | - |
|
| 105 | - /** |
|
| 106 | - * The implementation and use of Legal Entity Identifier (LEI) is supported by Global Legal |
|
| 107 | - * Entity Identifier Foundation [https://www.gleif.org](https://www.gleif.org). |
|
| 108 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#GLEIF |
|
| 109 | - */ |
|
| 110 | - const GLEIF = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#GLEIF'; |
|
| 111 | - |
|
| 112 | - /** |
|
| 113 | - * This class is derived from the GoodRelations Vocabulary for E-Commerce, created by Martin |
|
| 114 | - * Hepp. GoodRelations is a data model for sharing e-commerce data on the Web that can be |
|
| 115 | - * expressed in a variety of syntaxes, including RDFa and HTML5 Microdata. More information |
|
| 116 | - * about GoodRelations can be found at |
|
| 117 | - * [http://purl.org/goodrelations/](http://purl.org/goodrelations/). |
|
| 118 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass |
|
| 119 | - */ |
|
| 120 | - const GoodRelationsClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass'; |
|
| 121 | - |
|
| 122 | - /** |
|
| 123 | - * This term [uses](http://blog.schema.org/2012/11/good-relations-and-schemaorg.html) |
|
| 124 | - * terminology from the GoodRelations Vocabulary for E-Commerce, created by Martin Hepp. |
|
| 125 | - * GoodRelations is a data model for sharing e-commerce data on the Web. More information about |
|
| 126 | - * GoodRelations can be found at |
|
| 127 | - * [http://purl.org/goodrelations/](http://purl.org/goodrelations/). |
|
| 128 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms |
|
| 129 | - */ |
|
| 130 | - const GoodRelationsTerms = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms'; |
|
| 131 | - |
|
| 132 | - /** |
|
| 133 | - * This element is based on work by the Web Applications for the Future Internet Lab, Institute |
|
| 134 | - * of Informatics and Telematics, Pisa, Italy. |
|
| 135 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#IIT-CNR.it |
|
| 136 | - */ |
|
| 137 | - const IITCNRit = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#IIT-CNR.it'; |
|
| 138 | - |
|
| 139 | - /** |
|
| 140 | - * This class is based on the work of the LRMI project, see lrmi.net for details. |
|
| 141 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass |
|
| 142 | - */ |
|
| 143 | - const LRMIClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass'; |
|
| 144 | - |
|
| 145 | - /** |
|
| 146 | - * This vocabulary was improved through collaboration with the MusicBrainz project |
|
| 147 | - * ([www.musicbrainz.org](http://www.musicbrainz.org)), and is partially inspired by the |
|
| 148 | - * MusicBrainz and |
|
| 149 | - * [Music Ontology](http://musicontology.com/docs/getting-started.html) schemas. |
|
| 150 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ |
|
| 151 | - */ |
|
| 152 | - const MBZ = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ'; |
|
| 153 | - |
|
| 154 | - /** |
|
| 155 | - * This element is based on the STI Accommodation Ontology, see <a |
|
| 156 | - * href="http://ontologies.sti-innsbruck.at/acco/ns.html">http://ontologies.sti-innsbruck.at/acco/ns.html</a> |
|
| 157 | - * for details. |
|
| 158 | - * Many class and property definitions are inspired by or based on abstracts from Wikipedia, |
|
| 159 | - * the free encyclopedia. |
|
| 160 | - * @see https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology |
|
| 161 | - */ |
|
| 162 | - const STI_Accommodation_Ontology = 'https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology'; |
|
| 163 | - |
|
| 164 | - /** |
|
| 165 | - * The Question/Answer types were [based |
|
| 166 | - * on](https://www.w3.org/wiki/WebSchemas/QASchemaResearch) the Stack Overflow API. |
|
| 167 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange |
|
| 168 | - */ |
|
| 169 | - const Stack_Exchange = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange'; |
|
| 170 | - |
|
| 171 | - /** |
|
| 172 | - * This term and associated definitions draws upon the work of [The Trust |
|
| 173 | - * Project](http://thetrustproject.org/). |
|
| 174 | - * @see https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP-draws |
|
| 175 | - */ |
|
| 176 | - const The_Trust_Project = 'https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP-draws'; |
|
| 177 | - |
|
| 178 | - /** |
|
| 179 | - * This element is based on the work of the [Tourism Structured Web Data Community |
|
| 180 | - * Group](https://www.w3.org/community/tourismdata). |
|
| 181 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Tourism |
|
| 182 | - */ |
|
| 183 | - const Tourism = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Tourism'; |
|
| 184 | - |
|
| 185 | - /** |
|
| 186 | - * This class contains information contributed by |
|
| 187 | - * [http://wikidoc.org>WikiDoc](http://wikidoc.org>WikiDoc). |
|
| 188 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_WikiDoc |
|
| 189 | - */ |
|
| 190 | - const WikiDoc = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_WikiDoc'; |
|
| 191 | - |
|
| 192 | - /** |
|
| 193 | - * This class contains derivatives of IPTC rNews properties. rNews is a data model of publishing |
|
| 194 | - * metadata with serializations currently available for RDFa as well as HTML5 Microdata. More |
|
| 195 | - * information about the IPTC and rNews can be found at [rnews.org](http://rnews.org). |
|
| 196 | - * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews |
|
| 197 | - */ |
|
| 198 | - const rNews = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews'; |
|
| 199 | - |
|
| 200 | - /** |
|
| 201 | - * @var array |
|
| 202 | - * @see http://schema.org/{property_name} |
|
| 203 | - */ |
|
| 204 | - public $allowed = [ |
|
| 205 | - 'address', 'aggregateRating', 'areaServed', 'award', 'awards', 'brand', 'contactPoint', |
|
| 206 | - 'contactPoints', 'department', 'dissolutionDate', 'duns', 'email', 'employee', 'employees', |
|
| 207 | - 'event', 'events', 'faxNumber', 'founder', 'founders', 'foundingDate', 'foundingLocation', |
|
| 208 | - 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', |
|
| 209 | - 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'members', 'naics', |
|
| 210 | - 'numberOfEmployees', 'offeredBy', 'owns', 'parentOrganization', 'publishingPrinciples', |
|
| 211 | - 'review', 'reviews', 'seeks', 'serviceArea', 'sponsor', 'subOrganization', 'taxID', |
|
| 212 | - 'telephone', 'vatID', |
|
| 213 | - ]; |
|
| 214 | - |
|
| 215 | - /** |
|
| 216 | - * @var array |
|
| 217 | - * @see http://schema.org/{property_name} |
|
| 218 | - */ |
|
| 219 | - public $parents = [ |
|
| 220 | - 'Thing', |
|
| 221 | - ]; |
|
| 60 | + /** |
|
| 61 | + * The schema.org Actions mechanism benefited from extensive discussions across the Web |
|
| 62 | + * standards community around W3C, in particular from the [Hydra project](http://purl.org/hydra/) |
|
| 63 | + * community group. |
|
| 64 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass |
|
| 65 | + */ |
|
| 66 | + const ActionCollabClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass'; |
|
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * This element is based on the work of the Automotive Ontology Working Group, |
|
| 70 | + * see [www.automotive-ontology.org](http://www.automotive-ontology.org) for details. |
|
| 71 | + * Many class and property definitions are inspired by or based on abstracts from Wikipedia, |
|
| 72 | + * the free encyclopedia. |
|
| 73 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group |
|
| 74 | + */ |
|
| 75 | + const AutomotiveOntologyWGClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group'; |
|
| 76 | + |
|
| 77 | + /** |
|
| 78 | + * The W3C [Schema Bib Extend](http://www.w3.org/community/schemabibex/) (BibEx) group led the |
|
| 79 | + * work to improve schema.org for bibliographic information, including terms for periodicals, |
|
| 80 | + * articles and multi-volume works. The design was inspired in places (e.g. [[pageStart]], |
|
| 81 | + * [[pageEnd]], [[pagination]]) by the [Bibliographic Ontology](http://bibliontology.com/), |
|
| 82 | + * 'bibo'. |
|
| 83 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex |
|
| 84 | + */ |
|
| 85 | + const BibExTerm = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex'; |
|
| 86 | + |
|
| 87 | + /** |
|
| 88 | + * This class is based upon W3C DCAT work, and benefits from collaboration around the DCAT, ADMS |
|
| 89 | + * and VoID vocabularies. See http://www.w3.org/wiki/WebSchemas/Datasets for full details and |
|
| 90 | + * mappings. |
|
| 91 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass |
|
| 92 | + */ |
|
| 93 | + const DatasetClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass'; |
|
| 94 | + |
|
| 95 | + /** |
|
| 96 | + * This element is based on the work of the Financial Industry Business Ontology project (see |
|
| 97 | + * [http://www.fibo.org/schema](http://www.fibo.org/schema) for details), in support of the W3C |
|
| 98 | + * Financial Industry Business Ontology Community Group |
|
| 99 | + * ([http://www.fibo.org/community](http://www.fibo.org/community)). Many class and property |
|
| 100 | + * definitions are inspired by or based on [http://www.fibo.org](http://www.fibo.org). |
|
| 101 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO |
|
| 102 | + */ |
|
| 103 | + const FIBO = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO'; |
|
| 104 | + |
|
| 105 | + /** |
|
| 106 | + * The implementation and use of Legal Entity Identifier (LEI) is supported by Global Legal |
|
| 107 | + * Entity Identifier Foundation [https://www.gleif.org](https://www.gleif.org). |
|
| 108 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#GLEIF |
|
| 109 | + */ |
|
| 110 | + const GLEIF = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#GLEIF'; |
|
| 111 | + |
|
| 112 | + /** |
|
| 113 | + * This class is derived from the GoodRelations Vocabulary for E-Commerce, created by Martin |
|
| 114 | + * Hepp. GoodRelations is a data model for sharing e-commerce data on the Web that can be |
|
| 115 | + * expressed in a variety of syntaxes, including RDFa and HTML5 Microdata. More information |
|
| 116 | + * about GoodRelations can be found at |
|
| 117 | + * [http://purl.org/goodrelations/](http://purl.org/goodrelations/). |
|
| 118 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass |
|
| 119 | + */ |
|
| 120 | + const GoodRelationsClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass'; |
|
| 121 | + |
|
| 122 | + /** |
|
| 123 | + * This term [uses](http://blog.schema.org/2012/11/good-relations-and-schemaorg.html) |
|
| 124 | + * terminology from the GoodRelations Vocabulary for E-Commerce, created by Martin Hepp. |
|
| 125 | + * GoodRelations is a data model for sharing e-commerce data on the Web. More information about |
|
| 126 | + * GoodRelations can be found at |
|
| 127 | + * [http://purl.org/goodrelations/](http://purl.org/goodrelations/). |
|
| 128 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms |
|
| 129 | + */ |
|
| 130 | + const GoodRelationsTerms = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms'; |
|
| 131 | + |
|
| 132 | + /** |
|
| 133 | + * This element is based on work by the Web Applications for the Future Internet Lab, Institute |
|
| 134 | + * of Informatics and Telematics, Pisa, Italy. |
|
| 135 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#IIT-CNR.it |
|
| 136 | + */ |
|
| 137 | + const IITCNRit = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#IIT-CNR.it'; |
|
| 138 | + |
|
| 139 | + /** |
|
| 140 | + * This class is based on the work of the LRMI project, see lrmi.net for details. |
|
| 141 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass |
|
| 142 | + */ |
|
| 143 | + const LRMIClass = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass'; |
|
| 144 | + |
|
| 145 | + /** |
|
| 146 | + * This vocabulary was improved through collaboration with the MusicBrainz project |
|
| 147 | + * ([www.musicbrainz.org](http://www.musicbrainz.org)), and is partially inspired by the |
|
| 148 | + * MusicBrainz and |
|
| 149 | + * [Music Ontology](http://musicontology.com/docs/getting-started.html) schemas. |
|
| 150 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ |
|
| 151 | + */ |
|
| 152 | + const MBZ = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ'; |
|
| 153 | + |
|
| 154 | + /** |
|
| 155 | + * This element is based on the STI Accommodation Ontology, see <a |
|
| 156 | + * href="http://ontologies.sti-innsbruck.at/acco/ns.html">http://ontologies.sti-innsbruck.at/acco/ns.html</a> |
|
| 157 | + * for details. |
|
| 158 | + * Many class and property definitions are inspired by or based on abstracts from Wikipedia, |
|
| 159 | + * the free encyclopedia. |
|
| 160 | + * @see https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology |
|
| 161 | + */ |
|
| 162 | + const STI_Accommodation_Ontology = 'https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology'; |
|
| 163 | + |
|
| 164 | + /** |
|
| 165 | + * The Question/Answer types were [based |
|
| 166 | + * on](https://www.w3.org/wiki/WebSchemas/QASchemaResearch) the Stack Overflow API. |
|
| 167 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange |
|
| 168 | + */ |
|
| 169 | + const Stack_Exchange = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange'; |
|
| 170 | + |
|
| 171 | + /** |
|
| 172 | + * This term and associated definitions draws upon the work of [The Trust |
|
| 173 | + * Project](http://thetrustproject.org/). |
|
| 174 | + * @see https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP-draws |
|
| 175 | + */ |
|
| 176 | + const The_Trust_Project = 'https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP-draws'; |
|
| 177 | + |
|
| 178 | + /** |
|
| 179 | + * This element is based on the work of the [Tourism Structured Web Data Community |
|
| 180 | + * Group](https://www.w3.org/community/tourismdata). |
|
| 181 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Tourism |
|
| 182 | + */ |
|
| 183 | + const Tourism = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Tourism'; |
|
| 184 | + |
|
| 185 | + /** |
|
| 186 | + * This class contains information contributed by |
|
| 187 | + * [http://wikidoc.org>WikiDoc](http://wikidoc.org>WikiDoc). |
|
| 188 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_WikiDoc |
|
| 189 | + */ |
|
| 190 | + const WikiDoc = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_WikiDoc'; |
|
| 191 | + |
|
| 192 | + /** |
|
| 193 | + * This class contains derivatives of IPTC rNews properties. rNews is a data model of publishing |
|
| 194 | + * metadata with serializations currently available for RDFa as well as HTML5 Microdata. More |
|
| 195 | + * information about the IPTC and rNews can be found at [rnews.org](http://rnews.org). |
|
| 196 | + * @see http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews |
|
| 197 | + */ |
|
| 198 | + const rNews = 'http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews'; |
|
| 199 | + |
|
| 200 | + /** |
|
| 201 | + * @var array |
|
| 202 | + * @see http://schema.org/{property_name} |
|
| 203 | + */ |
|
| 204 | + public $allowed = [ |
|
| 205 | + 'address', 'aggregateRating', 'areaServed', 'award', 'awards', 'brand', 'contactPoint', |
|
| 206 | + 'contactPoints', 'department', 'dissolutionDate', 'duns', 'email', 'employee', 'employees', |
|
| 207 | + 'event', 'events', 'faxNumber', 'founder', 'founders', 'foundingDate', 'foundingLocation', |
|
| 208 | + 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', |
|
| 209 | + 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'members', 'naics', |
|
| 210 | + 'numberOfEmployees', 'offeredBy', 'owns', 'parentOrganization', 'publishingPrinciples', |
|
| 211 | + 'review', 'reviews', 'seeks', 'serviceArea', 'sponsor', 'subOrganization', 'taxID', |
|
| 212 | + 'telephone', 'vatID', |
|
| 213 | + ]; |
|
| 214 | + |
|
| 215 | + /** |
|
| 216 | + * @var array |
|
| 217 | + * @see http://schema.org/{property_name} |
|
| 218 | + */ |
|
| 219 | + public $parents = [ |
|
| 220 | + 'Thing', |
|
| 221 | + ]; |
|
| 222 | 222 | } |
@@ -9,11 +9,11 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class Intangible extends BaseType |
| 11 | 11 | { |
| 12 | - /** |
|
| 13 | - * @var array |
|
| 14 | - * @see http://schema.org/{property_name} |
|
| 15 | - */ |
|
| 16 | - public $parents = [ |
|
| 17 | - 'Thing', |
|
| 18 | - ]; |
|
| 12 | + /** |
|
| 13 | + * @var array |
|
| 14 | + * @see http://schema.org/{property_name} |
|
| 15 | + */ |
|
| 16 | + public $parents = [ |
|
| 17 | + 'Thing', |
|
| 18 | + ]; |
|
| 19 | 19 | } |
@@ -37,23 +37,23 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | class Place extends BaseType |
| 39 | 39 | { |
| 40 | - /** |
|
| 41 | - * @var array |
|
| 42 | - * @see http://schema.org/{property_name} |
|
| 43 | - */ |
|
| 44 | - public $allowed = [ |
|
| 45 | - 'additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', |
|
| 46 | - 'containedIn', 'containedInPlace', 'containsPlace', 'event', 'events', 'faxNumber', 'geo', |
|
| 47 | - 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'map', 'maps', |
|
| 48 | - 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'photos', 'publicAccess', |
|
| 49 | - 'review', 'reviews', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', |
|
| 50 | - ]; |
|
| 40 | + /** |
|
| 41 | + * @var array |
|
| 42 | + * @see http://schema.org/{property_name} |
|
| 43 | + */ |
|
| 44 | + public $allowed = [ |
|
| 45 | + 'additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', |
|
| 46 | + 'containedIn', 'containedInPlace', 'containsPlace', 'event', 'events', 'faxNumber', 'geo', |
|
| 47 | + 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'map', 'maps', |
|
| 48 | + 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'photos', 'publicAccess', |
|
| 49 | + 'review', 'reviews', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', |
|
| 50 | + ]; |
|
| 51 | 51 | |
| 52 | - /** |
|
| 53 | - * @var array |
|
| 54 | - * @see http://schema.org/{property_name} |
|
| 55 | - */ |
|
| 56 | - public $parents = [ |
|
| 57 | - 'Thing', |
|
| 58 | - ]; |
|
| 52 | + /** |
|
| 53 | + * @var array |
|
| 54 | + * @see http://schema.org/{property_name} |
|
| 55 | + */ |
|
| 56 | + public $parents = [ |
|
| 57 | + 'Thing', |
|
| 58 | + ]; |
|
| 59 | 59 | } |
@@ -11,19 +11,19 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | class Review extends BaseType |
| 13 | 13 | { |
| 14 | - /** |
|
| 15 | - * @var array |
|
| 16 | - * @see http://schema.org/{property_name} |
|
| 17 | - */ |
|
| 18 | - public $allowed = [ |
|
| 19 | - 'itemReviewed', 'reviewBody', 'reviewRating', |
|
| 20 | - ]; |
|
| 14 | + /** |
|
| 15 | + * @var array |
|
| 16 | + * @see http://schema.org/{property_name} |
|
| 17 | + */ |
|
| 18 | + public $allowed = [ |
|
| 19 | + 'itemReviewed', 'reviewBody', 'reviewRating', |
|
| 20 | + ]; |
|
| 21 | 21 | |
| 22 | - /** |
|
| 23 | - * @var array |
|
| 24 | - * @see http://schema.org/{property_name} |
|
| 25 | - */ |
|
| 26 | - public $parents = [ |
|
| 27 | - 'CreativeWork', |
|
| 28 | - ]; |
|
| 22 | + /** |
|
| 23 | + * @var array |
|
| 24 | + * @see http://schema.org/{property_name} |
|
| 25 | + */ |
|
| 26 | + public $parents = [ |
|
| 27 | + 'CreativeWork', |
|
| 28 | + ]; |
|
| 29 | 29 | } |
@@ -11,19 +11,19 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | class AggregateRating extends BaseType |
| 13 | 13 | { |
| 14 | - /** |
|
| 15 | - * @var array |
|
| 16 | - * @see http://schema.org/{property_name} |
|
| 17 | - */ |
|
| 18 | - public $allowed = [ |
|
| 19 | - 'itemReviewed', 'ratingCount', 'reviewCount', |
|
| 20 | - ]; |
|
| 14 | + /** |
|
| 15 | + * @var array |
|
| 16 | + * @see http://schema.org/{property_name} |
|
| 17 | + */ |
|
| 18 | + public $allowed = [ |
|
| 19 | + 'itemReviewed', 'ratingCount', 'reviewCount', |
|
| 20 | + ]; |
|
| 21 | 21 | |
| 22 | - /** |
|
| 23 | - * @var array |
|
| 24 | - * @see http://schema.org/{property_name} |
|
| 25 | - */ |
|
| 26 | - public $parents = [ |
|
| 27 | - 'Rating', |
|
| 28 | - ]; |
|
| 22 | + /** |
|
| 23 | + * @var array |
|
| 24 | + * @see http://schema.org/{property_name} |
|
| 25 | + */ |
|
| 26 | + public $parents = [ |
|
| 27 | + 'Rating', |
|
| 28 | + ]; |
|
| 29 | 29 | } |
@@ -15,19 +15,19 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | class LocalBusiness extends BaseType |
| 17 | 17 | { |
| 18 | - /** |
|
| 19 | - * @var array |
|
| 20 | - * @see http://schema.org/{property_name} |
|
| 21 | - */ |
|
| 22 | - public $allowed = [ |
|
| 23 | - 'branchOf', 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange', |
|
| 24 | - ]; |
|
| 18 | + /** |
|
| 19 | + * @var array |
|
| 20 | + * @see http://schema.org/{property_name} |
|
| 21 | + */ |
|
| 22 | + public $allowed = [ |
|
| 23 | + 'branchOf', 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange', |
|
| 24 | + ]; |
|
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * @var array |
|
| 28 | - * @see http://schema.org/{property_name} |
|
| 29 | - */ |
|
| 30 | - public $parents = [ |
|
| 31 | - 'Organization', 'Place', |
|
| 32 | - ]; |
|
| 26 | + /** |
|
| 27 | + * @var array |
|
| 28 | + * @see http://schema.org/{property_name} |
|
| 29 | + */ |
|
| 30 | + public $parents = [ |
|
| 31 | + 'Organization', 'Place', |
|
| 32 | + ]; |
|
| 33 | 33 | } |
@@ -64,27 +64,27 @@ |
||
| 64 | 64 | */ |
| 65 | 65 | class Person extends BaseType |
| 66 | 66 | { |
| 67 | - /** |
|
| 68 | - * @var array |
|
| 69 | - * @see http://schema.org/{property_name} |
|
| 70 | - */ |
|
| 71 | - public $allowed = [ |
|
| 72 | - 'additionalName', 'address', 'affiliation', 'alumniOf', 'award', 'awards', 'birthDate', |
|
| 73 | - 'birthPlace', 'brand', 'children', 'colleague', 'colleagues', 'contactPoint', |
|
| 74 | - 'contactPoints', 'deathDate', 'deathPlace', 'duns', 'email', 'familyName', 'faxNumber', |
|
| 75 | - 'follows', 'funder', 'gender', 'givenName', 'globalLocationNumber', 'hasOfferCatalog', |
|
| 76 | - 'hasPOS', 'height', 'homeLocation', 'honorificPrefix', 'honorificSuffix', 'isicV4', |
|
| 77 | - 'jobTitle', 'knows', 'makesOffer', 'memberOf', 'naics', 'nationality', 'netWorth', 'owns', |
|
| 78 | - 'parent', 'parents', 'performerIn', 'publishingPrinciples', 'relatedTo', 'seeks', 'sibling', |
|
| 79 | - 'siblings', 'sponsor', 'spouse', 'taxID', 'telephone', 'vatID', 'weight', 'workLocation', |
|
| 80 | - 'worksFor', |
|
| 81 | - ]; |
|
| 67 | + /** |
|
| 68 | + * @var array |
|
| 69 | + * @see http://schema.org/{property_name} |
|
| 70 | + */ |
|
| 71 | + public $allowed = [ |
|
| 72 | + 'additionalName', 'address', 'affiliation', 'alumniOf', 'award', 'awards', 'birthDate', |
|
| 73 | + 'birthPlace', 'brand', 'children', 'colleague', 'colleagues', 'contactPoint', |
|
| 74 | + 'contactPoints', 'deathDate', 'deathPlace', 'duns', 'email', 'familyName', 'faxNumber', |
|
| 75 | + 'follows', 'funder', 'gender', 'givenName', 'globalLocationNumber', 'hasOfferCatalog', |
|
| 76 | + 'hasPOS', 'height', 'homeLocation', 'honorificPrefix', 'honorificSuffix', 'isicV4', |
|
| 77 | + 'jobTitle', 'knows', 'makesOffer', 'memberOf', 'naics', 'nationality', 'netWorth', 'owns', |
|
| 78 | + 'parent', 'parents', 'performerIn', 'publishingPrinciples', 'relatedTo', 'seeks', 'sibling', |
|
| 79 | + 'siblings', 'sponsor', 'spouse', 'taxID', 'telephone', 'vatID', 'weight', 'workLocation', |
|
| 80 | + 'worksFor', |
|
| 81 | + ]; |
|
| 82 | 82 | |
| 83 | - /** |
|
| 84 | - * @var array |
|
| 85 | - * @see http://schema.org/{property_name} |
|
| 86 | - */ |
|
| 87 | - public $parents = [ |
|
| 88 | - 'Thing', |
|
| 89 | - ]; |
|
| 83 | + /** |
|
| 84 | + * @var array |
|
| 85 | + * @see http://schema.org/{property_name} |
|
| 86 | + */ |
|
| 87 | + public $parents = [ |
|
| 88 | + 'Thing', |
|
| 89 | + ]; |
|
| 90 | 90 | } |
@@ -54,26 +54,26 @@ |
||
| 54 | 54 | */ |
| 55 | 55 | class Offer extends BaseType |
| 56 | 56 | { |
| 57 | - /** |
|
| 58 | - * @var array |
|
| 59 | - * @see http://schema.org/{property_name} |
|
| 60 | - */ |
|
| 61 | - public $allowed = [ |
|
| 62 | - 'acceptedPaymentMethod', 'addOn', 'advanceBookingRequirement', 'aggregateRating', |
|
| 63 | - 'areaServed', 'availability', 'availabilityEnds', 'availabilityStarts', 'availableAtOrFrom', |
|
| 64 | - 'availableDeliveryMethod', 'businessFunction', 'category', 'deliveryLeadTime', |
|
| 65 | - 'eligibleCustomerType', 'eligibleDuration', 'eligibleQuantity', 'eligibleRegion', |
|
| 66 | - 'eligibleTransactionVolume', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'includesObject', |
|
| 67 | - 'ineligibleRegion', 'inventoryLevel', 'itemCondition', 'itemOffered', 'mpn', 'price', |
|
| 68 | - 'priceCurrency', 'priceSpecification', 'priceValidUntil', 'review', 'reviews', 'seller', |
|
| 69 | - 'serialNumber', 'sku', 'validFrom', 'validThrough', 'warranty', |
|
| 70 | - ]; |
|
| 57 | + /** |
|
| 58 | + * @var array |
|
| 59 | + * @see http://schema.org/{property_name} |
|
| 60 | + */ |
|
| 61 | + public $allowed = [ |
|
| 62 | + 'acceptedPaymentMethod', 'addOn', 'advanceBookingRequirement', 'aggregateRating', |
|
| 63 | + 'areaServed', 'availability', 'availabilityEnds', 'availabilityStarts', 'availableAtOrFrom', |
|
| 64 | + 'availableDeliveryMethod', 'businessFunction', 'category', 'deliveryLeadTime', |
|
| 65 | + 'eligibleCustomerType', 'eligibleDuration', 'eligibleQuantity', 'eligibleRegion', |
|
| 66 | + 'eligibleTransactionVolume', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'includesObject', |
|
| 67 | + 'ineligibleRegion', 'inventoryLevel', 'itemCondition', 'itemOffered', 'mpn', 'price', |
|
| 68 | + 'priceCurrency', 'priceSpecification', 'priceValidUntil', 'review', 'reviews', 'seller', |
|
| 69 | + 'serialNumber', 'sku', 'validFrom', 'validThrough', 'warranty', |
|
| 70 | + ]; |
|
| 71 | 71 | |
| 72 | - /** |
|
| 73 | - * @var array |
|
| 74 | - * @see http://schema.org/{property_name} |
|
| 75 | - */ |
|
| 76 | - public $parents = [ |
|
| 77 | - 'Intangible', |
|
| 78 | - ]; |
|
| 72 | + /** |
|
| 73 | + * @var array |
|
| 74 | + * @see http://schema.org/{property_name} |
|
| 75 | + */ |
|
| 76 | + public $parents = [ |
|
| 77 | + 'Intangible', |
|
| 78 | + ]; |
|
| 79 | 79 | } |