google / react-schemaorg

Type-checked Schema.org JSON-LD for React
Apache License 2.0
481 stars 19 forks source link

NewsArticle is not a known valid target type for the itemReviewed attribute #5

Closed truongemcom closed 4 years ago

truongemcom commented 5 years ago

Please guide me how to fix it, thanks a lot.

Eyas commented 5 years ago

Hm. itemReviewed should be of type Thing, which should include all know types.

schema-dts controls what version of the schema.org schema you have. I believe 0.4.2 should include the latest types as of today. I'd try to upgrade that

Eyas commented 4 years ago

Just checked, since 0.3.1 NewsArticle should work.

truongemcom commented 4 years ago

thanks