Skip to content

Commit

Permalink
Add attribute "approval_date" (#62)
Browse files Browse the repository at this point in the history
* Add attribute "approval_date"

Add new property `approval_date` to `Document` elements. This addition is needed to fix an issue with the data at Canton AI.

Closes #56
  • Loading branch information
kdeininger authored Nov 4, 2019
1 parent 86c6e0a commit ad9061e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Supported geoLink schema versions: v1.0.0, v1.1.0, v1.1.1 (default)
- Add test for arbitrary URL parameters
- Add enumeration value "Bezirk" for attribute "federal_level"
- If available, show abrogation date instead of files in HTML output
- Add additional attributes in schema (approval_date, publication_date and cycle)


1.3.2
Expand Down
2 changes: 2 additions & 0 deletions geolink_formatter/schema/v1.0.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
<xs:attribute name="subtype" type="xs:string"/>
<xs:attribute name="decree_date" type="xs:string"/>
<xs:attribute name="enactment_date" type="xs:string"/>
<xs:attribute name="approval_date" type="xs:string"/>
<xs:attribute name="publication_date" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:choice>
Expand Down
3 changes: 3 additions & 0 deletions geolink_formatter/schema/v1.1.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
</xs:attribute>
<xs:attribute name="authority" type="xs:string"/>
<xs:attribute name="authority_url" type="xs:string"/>
<xs:attribute name="cycle" type="xs:string"/>
<xs:attribute name="title" type="xs:string"/>
<xs:attribute name="number" type="xs:string"/>
<xs:attribute name="abbreviation" type="xs:string"/>
Expand All @@ -59,6 +60,8 @@
<xs:attribute name="decree_date" type="xs:string"/>
<xs:attribute name="enactment_date" type="xs:string"/>
<xs:attribute name="abrogation_date" type="xs:string"/>
<xs:attribute name="approval_date" type="xs:string"/>
<xs:attribute name="publication_date" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:choice>
Expand Down
3 changes: 3 additions & 0 deletions geolink_formatter/schema/v1.1.1.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
</xs:attribute>
<xs:attribute name="authority" type="xs:string"/>
<xs:attribute name="authority_url" type="xs:string"/>
<xs:attribute name="cycle" type="xs:string"/>
<xs:attribute name="title" type="xs:string"/>
<xs:attribute name="number" type="xs:string"/>
<xs:attribute name="abbreviation" type="xs:string"/>
Expand All @@ -59,6 +60,8 @@
<xs:attribute name="decree_date" type="xs:string"/>
<xs:attribute name="enactment_date" type="xs:string"/>
<xs:attribute name="abrogation_date" type="xs:string"/>
<xs:attribute name="approval_date" type="xs:string"/>
<xs:attribute name="publication_date" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:choice>
Expand Down

0 comments on commit ad9061e

Please sign in to comment.