Java classes for the Lunatic questionnaire model.
This library offers serialization and deserialization for Lunatic json questionnaires.
Available on maven central.
<dependency>
<groupId>fr.insee.lunatic</groupId>
<artifactId>lunatic-model</artifactId>
<version>x.y.z</version>
</dependency>implementation("fr.insee.lunatic:lunatic-model:x.y.z")The model is described by the Java classes. Jackson is used for serialization/deserialization.
Note that this project does not define the Lunatic model (although its name suggests it): Lunatic does. Changes in the Lunatic questionnaire model are brought in Lunatic-Model in a second stage.
In Lunatic, classes are defined in the type source typescript file.
Documentation can be found in the docs folder.