Skip to content

Commit

Permalink
Merge pull request #140 from jensstalder/property-min-occurs-0
Browse files Browse the repository at this point in the history
min occures 0 for property
  • Loading branch information
jensstalder authored Jan 11, 2021
2 parents a7d39ec + ebf71f2 commit 639e9f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/empty.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://swissrets.ch/dist/v2.0.0/schema.xsd">
<properties />
</export>
2 changes: 1 addition & 1 deletion schema/schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="property" maxOccurs="unbounded" minOccurs="1">
<xs:element name="property" maxOccurs="unbounded" minOccurs="0">
<xs:annotation>
<xs:documentation>Property container for buildings, houses, flats and all other possible objects.</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit 639e9f7

Please sign in to comment.