Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error indicator #62

Open
jvandriel opened this issue May 23, 2023 · 5 comments
Open

Syntax error indicator #62

jvandriel opened this issue May 23, 2023 · 5 comments

Comments

@jvandriel
Copy link

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
Copy link
Contributor

danbri commented May 23, 2023 via email

@ericprud
Copy link
Collaborator

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

@danbri
Copy link
Contributor

danbri commented May 29, 2023 via email

@jvandriel
Copy link
Author

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
Copy link
Contributor

danbri commented May 29, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants