Skip to content

Vision for json_schema_builder package? Want to generate schema from dart models? #430

@alexobviously

Description

@alexobviously

Hey, excuse the "issue" that isn't an issue, but the discussions section of this repo isn't allowing me to create a discussion.

I just wanted to start a discussion here, because I'm also working on a json schema related tool - specifically, a way to generate schema files from dart models. I'm wondering if that seems like something that you'd think might align with this project you have here, and whether I should consider contributing to this instead?

I remember @sethladd asking here about this exact thing, and he seems to be around here too, so I guess this package might have come partly from that desire?

Anyway, if that's something on your roadmap/wishlist, I have some analyzer based code that's a bit rough but working, and I could probably port over to your models here and get a script together.

fwiw I am not building this for any reason related to LLMs (some kind of contract testing), but could imagine it being useful to you guys. I guess part of my question here is how tightly coupled do you think json_schema_builder is to the GenUI project? Like how specific to your use case do you see the package being going forward? Because this sort of thing is more generally useful than just some LLM component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions