Skip to content

Commit

Permalink
fix json schemas capabilities should have minitems=0
Browse files Browse the repository at this point in the history
  • Loading branch information
ppazos committed May 24, 2023
1 parent be46202 commit 8dc9727
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 1.9.3
version = 1.9.4
group = com.cabolabs
2 changes: 1 addition & 1 deletion src/main/resources/json_schema/openehr_api_1.0.2_all.json
Original file line number Diff line number Diff line change
Expand Up @@ -5780,7 +5780,7 @@
"items": {
"$ref": "#/definitions/CAPABILITY"
},
"minItems": 1
"minItems": 0
},
"time_validity": {
"$ref": "#/definitions/DV_INTERVAL"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json_schema/openehr_api_1.0.3_all.json
Original file line number Diff line number Diff line change
Expand Up @@ -5794,7 +5794,7 @@
"items": {
"$ref": "#/definitions/CAPABILITY"
},
"minItems": 1
"minItems": 0
},
"time_validity": {
"$ref": "#/definitions/DV_INTERVAL"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json_schema/openehr_api_1.0.4_all.json
Original file line number Diff line number Diff line change
Expand Up @@ -5842,7 +5842,7 @@
"items": {
"$ref": "#/definitions/CAPABILITY"
},
"minItems": 1
"minItems": 0
},
"time_validity": {
"$ref": "#/definitions/DV_INTERVAL"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json_schema/openehr_api_1.1.0_all.json
Original file line number Diff line number Diff line change
Expand Up @@ -6022,7 +6022,7 @@
"items": {
"$ref": "#/definitions/CAPABILITY"
},
"minItems": 1
"minItems": 0
},
"time_validity": {
"$ref": "#/definitions/DV_INTERVAL"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,29 +106,29 @@
</occurrences>
<node_id />
<attributes xsi:type="C_SINGLE_ATTRIBUTE">
<rm_attribute_name>defining_code</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</existence>
<children xsi:type="C_CODE_PHRASE">
<rm_type_name>CODE_PHRASE</rm_type_name>
<occurrences>
<rm_attribute_name>defining_code</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</occurrences>
<node_id />
<!-- NOTE: the subset is url encoded, it's a snomed expression for descedants of 'person in the family' concept -->
<referenceSetUri>terminology:SNOMED-CT?subset=%3C%3C%20303071001%20%7C%20Person%20in%20the%20family%20%28person%29%20%7C</referenceSetUri>
</children>
</existence>
<children xsi:type="C_CODE_REFERENCE">
<rm_type_name>CODE_PHRASE</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</occurrences>
<node_id />
<!-- NOTE: the sbuset is url encoded, it's a snomed expression for descedants of 'person in the family' concept -->
<referenceSetUri>terminology:SNOMED-CT?subset=%3C%3C%20303071001%20%7C%20Person%20in%20the%20family%20%28person%29%20%7C</referenceSetUri>
</children>
</attributes>
</children>
</attributes>
Expand Down Expand Up @@ -165,4 +165,4 @@
<items id="text">relationship type</items>
</term_definitions>
</definition>
</template>
</template>

0 comments on commit 8dc9727

Please sign in to comment.