blurry-dev/blurry

sourceOrganization breaks schema validation

KajKandler opened this issue · 5 comments

When I follow the prescriptive blurry.toml and define a blurry.schema.data.sourceOrganization I get a schema validation error in schema.org Validator.

Screenshot 2023-11-16 at 8 40 26 PM

Not defining the sourceOrganization breaks the Open Graph support.

Suggestion, configure in blurry.toml a template that creates the og support and supply a sample template. That makes it configurable if one wants to include og support and how. It also makes it easy to extend to Xwitter support (Facebook is deprecated and probably not something to implement in 2023).

XWitter = X/Twitter

In addition this causes a double type in schema
Screenshot 2023-11-16 at 8 49 15 PM

If one gives the source organization a type, because it would make sense to use this element as a publisher attribute.

@KajKandler Thanks for the report. Could I see the relevant part of your blurry.toml file? I've got this in the docs site and it looks to be working well:

[blurry.schema_data.sourceOrganization]
name = 'Blurry'

image

https://validator.schema.org/#url=https%3A%2F%2Fblurry-docs.netlify.app%2F

[blurry.schema_data.sourceOrganization]
"@type" = "Person"
"@id" = "https://janedoe.example.com/"
name = "Jane Doe"
url = "https://janedoe.example.com/"

Maybe it is because of my 'organization' being of type Person

Screenshot 2023-11-24 at 10 55 46 AM

Confirmed it does not like 'Person' as sourceOrganization.

I guess this is resolved