Skip to content

Commit

Permalink
Replace plu:procedureStartDate with plu:procedurePeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
dodinh committed Apr 4, 2024
1 parent 10e42b0 commit 75fb534
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 33 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
* [Codelist] Extend `plu:docType` to describe values from https://www.xrepository.de/details/urn:xoev-de:xplanverfahren:codeliste:verfahrensunterlagentyp
* [Website] Fix links to DCAT-AP.PLU documentation
* [Deployment] Set draft version for development
* [Spec] Replace `plu:procedureStartDate` (type `xsd:dateTime`) with `plu:procedurePeriod` (type `dct:PeriodOfTime`)

## 2024-02-28 - 0.1.4

* [Website] Add latest DCAT-AP.PLU online documentation
* [API] Add possible values for `source` parameter
* [Deployment] Update docker base image
* [Spec] Disable section-linting

## 2024-02-07 - 0.1.3

Expand Down
13 changes: 7 additions & 6 deletions drafts/0.0.1-draft-0.1/api-plu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1090,14 +1090,15 @@ components:
xml:
prefix: dct
name: relation
procedureStartDate:
description: Date of the start of the procedure
type: string
format: date-time
example: 2023-01-01T00:00:00.000Z
procedurePeriod:
description: Period of the procedure
type: object
properties:
periodOfTime:
$ref: '#/components/schemas/period'
xml:
prefix: plu
name: procedureStartDate
name: procedurePeriod
developmentFreezePeriod:
description: Period of a development freeze
type: object
Expand Down
40 changes: 20 additions & 20 deletions drafts/0.0.1-draft-0.1/doc-plu.html
Original file line number Diff line number Diff line change
Expand Up @@ -473,31 +473,31 @@ <h4 id="property-plan-state">Eigenschaft: Status des Plans</h4>
</table>
</section>

<section id="Property:procedureStartDate">
<h4 id="property-procedure-start-date">Eigenschaft: Verfahrensbeginn</h4>
<section id="Property:procedurePeriod">
<h4 id="property-procedure-period">Eigenschaft: Verfahrenszeitraum</h4>
<table class="definition">
<thead><tr><th>URI:</th><th><a href="http://purl.org/dc/terms/issued">plu:procedureStartDate</a></th></tr></thead>
<thead><tr><th>URI:</th><th>plu:procedurePeriod</th></tr></thead>
<tbody>
<tr><td class="prop">Verbindlichkeit:</td><td>Optional</td></tr>
<tr><td class="prop">Definition:</td><td>Verfahrensbeginn</td></tr>
<tr><td class="prop">Typ/Wertebereich:</td><td><a href="http://www.w3.org/2000/01/rdf-schema#Literal"><code>rdfs:Literal</code> als <code>xsd:date</code> oder <code>xsd:dateTime</code></a></td></tr>
<tr><td class="prop">Anwendungshinweis:</td><td>Diese Eigenschaft enthält das Datum des Verfahrensbeginns.</td></tr>
<tr><td class="prop">Verbindlichkeit:</td><td>Empfohlen</td></tr>
<tr><td class="prop">Definition:</td><td>Verfahrenszeitraum</td></tr>
<tr><td class="prop">Typ/Wertebereich:</td><td>dct:PeriodOfTime</td></tr>
<tr><td class="prop">Anwendungshinweis:</td><td>Diese Eigenschaft beschreibt den Zeitraum des Verfahrens. dct:startDate enthält das Datum des Verfahrensbeginns. Für festgestellte oder untergegangene Pläne enthält dct:endDate das Datum des Verfahrensendes (d.h. der Planfeststellung oder des Untergangs), für Pläne in Aufstellung entfällt dct:endDate.</td></tr>
</tbody>
</table>
</section>
</section>

<section id="Property:relation">
<h4 id="property-relation">Eigenschaft: Verweis</h4>
<table class="definition">
<thead><tr><th>URI:</th><th>dct:relation</th></tr></thead>
<tbody>
<tr><td class="prop">Verbindlichkeit:</td><td>Optional</td></tr>
<tr><td class="prop">Definition:</td><td>Verweis auf einen anderen Datensatz.</td></tr>
<tr><td class="prop">Typ/Wertebereich:</td><td><a href="http://www.w3.org/2000/01/rdf-schema#Resource"><code>rdfs:Resource</code></a></td></tr>
<tr><td class="prop">Anwendungshinweis:</td><td>Über diese Eigenschaft kann eine Verknüpfung mit einem anderen Verfahren dargestellt werden.</td></tr>
</tbody>
</table>
</section>
<section id="Property:relation">
<h4 id="property-relation">Eigenschaft: Verweis</h4>
<table class="definition">
<thead><tr><th>URI:</th><th>dct:relation</th></tr></thead>
<tbody>
<tr><td class="prop">Verbindlichkeit:</td><td>Optional</td></tr>
<tr><td class="prop">Definition:</td><td>Verweis auf einen anderen Datensatz.</td></tr>
<tr><td class="prop">Typ/Wertebereich:</td><td><a href="http://www.w3.org/2000/01/rdf-schema#Resource"><code>rdfs:Resource</code></a></td></tr>
<tr><td class="prop">Anwendungshinweis:</td><td>Über diese Eigenschaft kann eine Verknüpfung mit einem anderen Verfahren dargestellt werden.</td></tr>
</tbody>
</table>
</section>

<section id="Property:location">
<h4 id="property-location">Eigenschaft: Raumbezug</h4>
Expand Down
7 changes: 6 additions & 1 deletion drafts/0.0.1-draft-0.1/examples/plu-example-03.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@
<dct:modified>2022-06-01T00:00:00.000Z</dct:modified>
<plu:planState rdf:resource="https://specs.diplanung.de/resource/planState#fixed"/>
<plu:procedureState rdf:resource="https://specs.diplanung.de/resource/procedureState#ongoing"/>
<plu:procedureStartDate>2022-04-01T00:00:00.000Z</plu:procedureStartDate>
<plu:procedurePeriod>
<dct:PeriodOfTime>
<dcat:startDate>2022-04-01</dcat:startDate>
<dcat:endDate>2022-05-11</dcat:endDate>
</dct:PeriodOfTime>
</plu:procedurePeriod>
<dct:relation rdf:resource="http://uvp-verbund.de/trefferanzeige?docuuid=D33223C6-F4A3-40B5-9E69-CED36D2A69A2"/>
<plu:planType rdf:resource="https://specs.diplanung.de/resource/planType#developmentPlan"/>
<plu:planTypeFine rdf:resource="https://registry.gdi-de.org/codelist/de.xleitstelle.inspire_plu/PlanTypeNameValue/6_Bebauungsplan#6_3_EinfacherBPlan"/>
Expand Down
6 changes: 5 additions & 1 deletion drafts/0.0.1-draft-0.1/examples/plu-example-full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
<plu:planType rdf:resource="https://specs.diplanung.de/resource/planType#developmentPlan"/>
<plu:planTypeFine rdf:resource="https://registry.gdi-de.org/codelist/de.xleitstelle.inspire_plu/PlanTypeNameValue/6_Bebauungsplan#6_3_EinfacherBPlan"/>
<plu:planState rdf:resource="https://specs.diplanung.de/resource/planState#inPreparation"/>
<plu:procedureStartDate>2023-01-01T00:00:00.000Z</plu:procedureStartDate>
<plu:procedurePeriod>
<dct:PeriodOfTime>
<dcat:startDate>2023-01-01T00:00:00.000Z</dcat:startDate>
</dct:PeriodOfTime>
</plu:procedurePeriod>
<plu:notification>Eine Notiz für Planverfahren</plu:notification>
<dct:relation rdf:resource="https://dev.informationgrid.eu/trefferanzeige?docuuid=206f1cb5-c021-44ae-842b-8ea148172763"/>
<dct:spatial>
Expand Down
8 changes: 4 additions & 4 deletions drafts/0.0.1-draft-0.1/shacl/dcat-ap-plu_shacl-shapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@
sh:path plu:planTypeFine ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:maxCount 1 ;
], [
sh:path plu:procedurePeriod ;
sh:class dct:PeriodOfTime ;
sh:maxCount 1 ;
], [
sh:path plu:procedureType ;
sh:nodeKind sh:BlankNodeOrIRI ;
Expand Down Expand Up @@ -369,10 +373,6 @@
sh:path plu:notification ;
sh:nodeKind sh:Literal ;
sh:maxCount 1 ;
], [
sh:path plu:procedureStartDate ;
sh:nodeKind sh:Literal ;
sh:maxCount 1 ;
] ;
sh:closed true ;
sh:ignoredProperties (rdf:type) ;
Expand Down

0 comments on commit 75fb534

Please sign in to comment.