Acomodation type has 2 "amenityFeature" properties on the downloadable csv file #1879
Comments
|
Well spotted @khalyomede After some digging it seems that amenityFeature was unnecessarily defined as a property for Accommodation, as it is already defined for Place from which it inherits. I will register this as a defect as it at least should have raised a warning or similar. |
|
Candidate for a new test to identify the unnecessary declaration of a property for a type, where the property is already inherited from a supertype. |
|
Built new test to check for unnecessary domainIncludes statements. ie. Where a property is defined for a type, that is already defined in, and therefore inherited from, a supertype. Results show 31 errors:
Question now arrises -- do we fix all these now, or leave them in tests as 'expected failures' for later fixing? /cc @danbri |
|
Released in V3.4 |
On the file downlodable at
http://schema.org/version/latest/all-layers-types.csv, the typehttp://schema.org/Accommodationtype has 2 propertieshttp://schema.org/amenityFeature.Is this an actual bug or it this intentional?
The text was updated successfully, but these errors were encountered: