google / schemarama

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

Syntax error indicator #62

Open jvandriel opened 1 year ago

jvandriel commented 1 year ago

When I was playing around with with the demo I noticed it didn't seem to report syntax errors but instead indicated: "The input doesn't contain structured data".

Is there any chance a future update will include syntax error reporting (similar to that of Google's Rich Result Test or schema.org's validator)?

danbri commented 1 year ago

On Tue, 23 May 2023 at 05:56, Jarno van Driel @.***> wrote:

When I was playing around with with the demo I noticed it didn't seem to report syntax errors but instead indicated: "The input doesn't contain structured data".

Is there any chance a future update will include syntax error reporting (similar to that of Google's Rich Result Test or schema.org's validator)?

Nobody is currently working on that, but feel free

— Reply to this email directly, view it on GitHub https://github.com/google/schemarama/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJSGML4LNC67HBTIQEYM3XHSCTBANCNFSM6AAAAAAYLUHUUY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ericprud commented 1 year ago

I'm puzzled by the error report. Can you help me reproduce it?

danbri commented 1 year ago

The initial comment was about validator,schema.org (closed source) and enquires whether we might do syntax validation here someday

I think biggest issue is detailed error reporting?

On Mon, 29 May 2023 at 09:00, ericprud @.***> wrote:

I'm puzzled by the error report. Can you help me reproduce it?

— Reply to this email directly, view it on GitHub https://github.com/google/schemarama/issues/62#issuecomment-1566719539, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJSGLWEKBS4473FOCLDNDXIRJQNANCNFSM6AAAAAAYLUHUUY . You are receiving this because you commented.Message ID: @.***>

jvandriel commented 1 year ago

My comment wasn't about validator.schema.org but about Schemarama.

I was playing around with it to try to find out what it does or doesn't do. When I modified the default example and removed a comma at the end of the second line. That's when I got the feedback: "The input doesn't contain structured data".

Code used:

{
  "@context": "https://schema.org/",
  "@id": "http://example.org/recipe"
  "@type": "Recipe",
  "name": "Mom's World Famous Banana Bread",
  "cookTime": "wwwwwwPT1H"
}
danbri commented 1 year ago

My bad!

On Mon, 29 May 2023 at 11:21, Jarno van Driel @.***> wrote:

My comment wasn't about validator.schema.org but about Schemarama.

I was playing around with it to try to find out what it does or doesn't do. When I modified the default example and removed a comma at the end of the second line. That's when I got the feedback: "The input doesn't contain structured data".

Code used:

{ @.": "https://schema.org/", @.": "http://example.org/recipe" @.***": "Recipe", "name": "Mom's World Famous Banana Bread", "cookTime": "wwwwwwPT1H" }

— Reply to this email directly, view it on GitHub https://github.com/google/schemarama/issues/62#issuecomment-1566923697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJSGJCLYSZAWXLXWBUHFLXIR2BBANCNFSM6AAAAAAYLUHUUY . You are receiving this because you commented.Message ID: @.***>