iaincollins / structured-data-testing-tool

A library and command line tool to help inspect and test for Structured Data.
https://www.npmjs.com/package/structured-data-testing-tool
ISC License
63 stars 14 forks source link

Schema.org tests should only apply to Schema.org schemas #17

Open iaincollins opened 4 years ago

iaincollins commented 4 years ago

Describe the bug The new Schema.org property tests (which are in master but not in the release version) should only apply to Schema.org schemas.

Currently the tool assumes schemas are Schema.org schemas, which is what is most common, but to be technically correct the tool should check the schema type.

iaincollins commented 4 years ago

To confirm, this bug does not apply to the current release (4.x) and only to the version in development that is not released yet (5.x).