Skip to content

Commit ff48209

Browse files
authored
fix: rename OptionFilter -> optionFilter (#190)
1 parent e6c86fb commit ff48209

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/resources/xsd/Questionnaire.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@
612612
</xs:documentation>
613613
</xs:annotation>
614614
</xs:element>
615-
<xs:element name="OptionFilter" type="xs:string" minOccurs="0">
615+
<xs:element name="optionFilter" type="xs:string" minOccurs="0">
616616
<xs:annotation>
617617
<xs:documentation>
618-
OptionFilter defines a VTL expression used to dynamically filter
618+
optionFilter defines a VTL expression used to dynamically filter
619619
response options when the choiceType is set to VARIABLE.
620620
For CODE_LIST questions, filtering must be defined at the individual
621621
option level.</xs:documentation>

src/test/java/fr/insee/pogues/model/UniqueChoiceVariableOptionsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void serializeUcqVariable_withFilter() throws JAXBException, UnsupportedEncoding
4343
"Response": [
4444
{
4545
"VariableReference": "id-loop-variable",
46-
"OptionFilter": "nvl($AGE$, 0) > 18",
46+
"optionFilter": "nvl($AGE$, 0) > 18",
4747
"choiceType": "VARIABLE"
4848
}
4949
]
@@ -117,7 +117,7 @@ void deserializeUcqVariable_withFilter() throws JAXBException {
117117
"Response": {
118118
"choiceType": "VARIABLE",
119119
"VariableReference": "id-loop-variable",
120-
"OptionFilter": "nvl($AGE$, 0) > 18"
120+
"optionFilter": "nvl($AGE$, 0) > 18"
121121
}
122122
}
123123
]

0 commit comments

Comments
 (0)