GithubHelp home page GithubHelp logo

Comments (3)

gregsdennis avatar gregsdennis commented on May 25, 2024

Hello.

So while investigating ☝️ I found an issue with your meta-schema. Primarily, JSON Schema draft 6 uses $id (with a $) not id as its identifying keyword. This is a change from draft 4, and I suspect it's likely a typo during any conversion that may have occurred. As it is, id is just skipped as an unknown keyword. This is not new behavior.

I'd still like to get an actual minimal reproduction of this bug. My analysis (of my code) indicates that the variable in that code should never be null, which means something before that is wrong. The exception that's actually thrown doesn't help me as literally every keyword generates a KeywordEvaluation object.

Also, I'm not sure why:

  • you've written your meta-schema as draft 6, but you're using draft 7 on this line
  • you've decided to re-register draft 7 under a new URI

from docfx.

gregsdennis avatar gregsdennis commented on May 25, 2024

Upcoming JsonSchema.Net v5.2.5 (now published) should fix the issue.

Would still be good to address the issues above.

from docfx.

yufeih avatar yufeih commented on May 25, 2024

Thank you @gregsdennis ! I updated the problems with meta schema according to your findings.

from docfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.