Skip to content

Commit

Permalink
Add mainOrganization to oparl:Body
Browse files Browse the repository at this point in the history
In jeder mir bekannten Körperschaft gibt es ein Hauptgremium. In den meisten Städten ist das der Stadtrat, bei den Münchner Bezirksausschüssen ist es das Vollgremium und beim Bundestag wäre es das Plenum. Mit `mainOrganization` kann diese Eigenschaft aus `oparl:Body` verlinkt werden. Das ist besonders dadurch relevant, dass die Mitglieder dieses Gremiums i.d.R. die gewählten Vertreter der jeweiligen Verwaltungsebene sind.
  • Loading branch information
konstin committed Dec 10, 2019
1 parent 678056b commit 4a088f9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.sh linguist-vendored
*.json linguist-vendored
Makefile linguist-vendored
Dockerfile linguist-vendored
*.tex linguist-vendored
*.css linguist-vendored
*.html linguist-vendored
8 changes: 8 additions & 0 deletions schema/Body.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@
"type": "object",
"schema": "Location.json"
},
"mainOrganization": {
"description": "{{ Body.properties.mainOrganization.description }}",
"type": "string",
"format": "url",
"schema": "Organization",
"references": "Organization",
"cardinality": "1:1"
},
"keyword": {
"type": "array",
"items": {
Expand Down
1 change: 1 addition & 0 deletions schema/strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ de:
Body.properties.legislativeTerm.description: "[Objektliste](#objektlisten) mit den Wahlperioden der Körperschaft."
Body.properties.classification.description: Art der Körperschaft.
Body.properties.location.description: Ort, an dem die Körperschaft beheimatet ist.
Body.properties.mainOrganization.description: Das zentrale Gremium einer Körperschaft. Bei einer Stadt wäre das z.B. die Vollversammlung des Stadtrats, beim Bundestag das Plenum.
Consultation.description: |
Der Objekttyp `oparl:Consultation` dient dazu, die Beratung einer Drucksache ([`oparl:Paper`](#oparl_paper)) in einer Sitzung abzubilden. Dabei ist es nicht entscheidend, ob diese Beratung in der Vergangenheit stattgefunden hat oder diese für die Zukunft geplant ist.
Die Gesamtheit aller Objekte des Typs `oparl:Consultation` zu einer bestimmten Drucksache bildet das ab, was in der Praxis als "Beratungsfolge" der Drucksache bezeichnet wird.
Expand Down
1 change: 1 addition & 0 deletions src/4-02-oparl-next.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## OParl Next {#oparl-next}

* `Person` hat ein Feld `image` erhalten.
* `Body` kann `mainOrganization` angeben.

1 comment on commit 4a088f9

@akuckartz
Copy link
Contributor

@akuckartz akuckartz commented on 4a088f9 Dec 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kann es mehrere solcher "zentraler" Gremien geben? Wurde das mit Herstellern von RIS diskutiert? (Ich habe jedenfalls kein Issue dazu gefunden)

Please sign in to comment.