GithubHelp home page GithubHelp logo

kotlin.NotImplementedError about json-skema HOT 4 OPEN

hguercan avatar hguercan commented on May 23, 2024
kotlin.NotImplementedError

from json-skema.

Comments (4)

hguercan avatar hguercan commented on May 23, 2024

Probably I found the cause:

My event / schema has the name ui_interaction and there is one property called ui_interaction_details. When the json comes with that property the above error occurs. If i remove it, the library works as usual/expected.

from json-skema.

erosb avatar erosb commented on May 23, 2024

Hello Hasan, can you please share

  • the json schema
  • the complete json instance which you validate
  • and the java/kotlin code
  • the library version you use?

Thank you

from json-skema.

hguercan avatar hguercan commented on May 23, 2024

Dear Bence,

Due to sensitive data I cant share it in the first place. For now I needed to solve it very fast but once I find the time I will prepare a dummy dataset to reproduce that error so I can contribute also to improve the library.

However my best guess is: if the parent schema id is a substring of a reference schema id and there are validation errors then this error occurs.

Thanks for your great work so far.
Best Hasan

from json-skema.

erosb avatar erosb commented on May 23, 2024

Thank you @hguercan , I appreciate if you spend time on providing a proper reproducer. I couldn't reproduce this so far, but if this problem happens, it can reveal a deep design issue in the validation, so I'm looking forward fixing this.

from json-skema.

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.