Skip to content

Replace dataclasses-jsonschema #1

Description

@gouttegd

We used to rely on dataclasses-jsonschema to generate a JSON Schema for the ODK configuration object (using the json_schema() method from the JsonSchemaMixin class).

This no longer works: json_schema() systematically fails to generate the expected schema. And this will likely never be fixed since dataclasses-jsonschema has not had any release since 2022 and is officially no longer maintained since 2023.

If we want to restore the possibility of generating a schema for the configuration object, we should consider an alternative. Maybe Pydantic?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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