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?
We used to rely on
dataclasses-jsonschemato generate a JSON Schema for the ODK configuration object (using thejson_schema()method from theJsonSchemaMixinclass).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?