google / schemarama

Schemarama is a project exploring standards-based validation for structured data, especially Schema.org.
Apache License 2.0
130 stars 23 forks source link

Consider contributing a PR for the (ruby-based) opensource Structured Data Linter, to use the prettyHTML component #9

Closed danbri closed 2 years ago

danbri commented 3 years ago

https://github.com/structured-data/linter

/cc @gkellogg @jvandriel @jaygray0919

(there could also be a larger conversation about having the linter use https://github.com/ruby-rdf/shex and potential for interop testing...)

From a quick chat with @gkellogg:

'The structured view of examples would fit in pretty well with our system.'

gkellogg commented 3 years ago

Any help on these issues, and others greatly appreciated.

Examples are built with a Rake task after importing raw examples from the schemaorg repo. Adding another tab for a structured view should be straightforward.

Also, the Ruby ShEx implementation is a bit out of date, and could use some love. https://github.com/ruby-rdf/shex.

danbri commented 3 years ago

Thanks Gregg!

BTW a while back, @gkellogg also integrated the Ruby Linter into schema.org's repo a while back, and we have been slow at updating the examples there to fix the various problems identified. Recently @RichardWallis has been making progress on that, and by happy coincidence Richard and @Gnomus042 spent last week integrating Schemarama into the "Examples" tab of Schema.org. Richard - could you be persuaded to take a look at helping with doing the same on the SD Linter?

Image below is of the https://github.com/google/schemarama/tree/main/pretty-markup UI embedded in schema.org's example tables:

danbri commented 2 years ago

Should I close this? Where are you on the linter side of things?

@ericprud and I are working on some schemarama updates, but this issue is more about UI and the "pretty"ified view which is now also used for all schema.org's examples.

gkellogg commented 2 years ago

The linter supports a structured view for examples (e.g. eg-0427 "structured" in http://linter.structured-data.org/examples/schema.org/Person/ and in linted results).

Any other changes are largely stylistic. Otherwise, I'm not clear on what the specific action is.

danbri commented 2 years ago

ok let's close for now, maybe there's scope to collaborate more in future but agree the action isn't clear and nobody's owning the problem :)