diff --git a/pom.xml b/pom.xml index fa8ac4c..77c9479 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ lunatic-model jar - 3.15.0 + 3.15.1 Lunatic Model Classes and converters for the Lunatic model https://inseefr.github.io/Lunatic-Model/ diff --git a/src/main/java/fr/insee/lunatic/model/flat/BodyCell.java b/src/main/java/fr/insee/lunatic/model/flat/BodyCell.java index d5407ac..6776514 100644 --- a/src/main/java/fr/insee/lunatic/model/flat/BodyCell.java +++ b/src/main/java/fr/insee/lunatic/model/flat/BodyCell.java @@ -27,6 +27,7 @@ "unit", "options", "response", + "optionResponses", "bindingDependencies" }) @Getter @@ -62,10 +63,15 @@ public class BodyCell { protected BigInteger colspan; protected BigInteger rowspan; + /** For suggester cells: option responses. */ + @JsonInclude(JsonInclude.Include.NON_EMPTY) + protected List optionResponses; + protected String id; public BodyCell() { this.options = new ArrayList<>(); + this.optionResponses = new ArrayList<>(); } } diff --git a/src/main/java/fr/insee/lunatic/model/flat/ComponentType.java b/src/main/java/fr/insee/lunatic/model/flat/ComponentType.java index b55f842..c72ceee 100644 --- a/src/main/java/fr/insee/lunatic/model/flat/ComponentType.java +++ b/src/main/java/fr/insee/lunatic/model/flat/ComponentType.java @@ -49,6 +49,7 @@ "components", "response", "responses", + "optionResponses", "suggesters", "variables", "cleaning",