Skip to content

Commit 8e89c21

Browse files
committed
Revert "Namespace-URLs durchgängig klein schreiben"
This reverts commit d3280c0
1 parent e5927c0 commit 8e89c21

12 files changed

+45
-47
lines changed

changelog.md

-2
This file was deleted.

examples/Body-01.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/body/0",
3-
"type": "https://schema.oparl.org/1.0/body",
3+
"type": "https://schema.oparl.org/1.0/Body",
44
"system": "https://oparl.example.org/",
55
"contactEmail": "[email protected]",
66
"contactName": "RIS-Betreuung",
@@ -22,7 +22,7 @@
2222
"legislativeTerm": [
2323
{
2424
"id": "https://oparl.example.org/term/21",
25-
"type": "https://schema.oparl.org/1.0/legislativeterm",
25+
"type": "https://schema.oparl.org/1.0/LegislativeTerm",
2626
"body": "https://oparl.example.org/body/0",
2727
"name": "21. Wahlperiode",
2828
"startDate": "2010-12-03",
@@ -31,7 +31,7 @@
3131
],
3232
"location": {
3333
"id:": "https://oparl.example.org/location/0",
34-
"type": "https://schema.oparl.org/1.0/location",
34+
"type": "https://schema.oparl.org/1.0/Location",
3535
"description": "Rathaus der Beispielstadt, Ratshausplatz 1, 12345 Beispielstadt",
3636
"geometry": {
3737
"type": "Feature",

examples/File-01.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/files/57737",
3-
"type": "https://schema.oparl.org/1.0/file",
3+
"type": "https://schema.oparl.org/1.0/File",
44
"name": "Anlage 1 zur Anfrage",
55
"fileName": "anlage_1_zur_anfrage.pdf",
66
"mimeType": "application/pdf",

examples/Meeting-01.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/meeting/281",
3-
"type": "https://schema.oparl.org/1.0/meeting",
3+
"type": "https://schema.oparl.org/1.0/Meeting",
44
"name": "4. Sitzung des Finanzausschusses",
55
"start": "2013-01-04T08:00:00+01:00",
66
"end": "2013-01-04T12:00:00+01:00",
@@ -10,7 +10,7 @@
1010
],
1111
"invitation": {
1212
"id": "https://oparl.example.org/files/57739",
13-
"type": "https://schema.oparl.org/1.0/file",
13+
"type": "https://schema.oparl.org/1.0/File",
1414
"name": "Einladung",
1515
"fileName": "einladung.pdf",
1616
"mimeType": "application/pdf",
@@ -23,7 +23,7 @@
2323
},
2424
"resultsProtocol": {
2525
"id": "https://oparl.example.org/files/57739",
26-
"type": "https://schema.oparl.org/1.0/file",
26+
"type": "https://schema.oparl.org/1.0/File",
2727
"name": "Protokoll",
2828
"fileName": "protokoll.pdf",
2929
"mimeType": "application/pdf",
@@ -36,7 +36,7 @@
3636
},
3737
"verbatimProtocol": {
3838
"id": "https://oparl.example.org/files/57739",
39-
"type": "https://schema.oparl.org/1.0/file",
39+
"type": "https://schema.oparl.org/1.0/File",
4040
"name": "Wortprotokoll",
4141
"fileName": "wortprotokoll.pdf",
4242
"mimeType": "application/pdf",
@@ -50,7 +50,7 @@
5050
"auxiliaryFile": [
5151
{
5252
"id": "https://oparl.example.org/files/57739",
53-
"type": "https://schema.oparl.org/1.0/file",
53+
"type": "https://schema.oparl.org/1.0/File",
5454
"name": "Nachtrags-Tagesordnung",
5555
"fileName": "nachtrag-TO.pdf",
5656
"mimeType": "application/pdf",
@@ -65,7 +65,7 @@
6565
"agendaItem": [
6666
{
6767
"id": "https://oparl.example.org/agendaitem/3271",
68-
"type": "https://schema.oparl.org/1.0/agendaitem",
68+
"type": "https://schema.oparl.org/1.0/AgendaItem",
6969
"meeting": "https://oparl.example.org/meeting/281",
7070
"number": "10.1",
7171
"name": "Satzungsänderung für Ausschreibungen",

examples/Organization-01.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/organization/34",
3-
"type": "https://schema.oparl.org/1.0/organization",
3+
"type": "https://schema.oparl.org/1.0/Organization",
44
"body": "https://oparl.example.org/bodies/1",
55
"name": "Ausschuss für Haushalt und Finanzen",
66
"shortName": "Finanzausschuss",

examples/Paper-01.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/paper/749",
3-
"type": "https://schema.oparl.org/1.0/paper",
3+
"type": "https://schema.oparl.org/1.0/Paper",
44
"body": "https://oparl.example.org/bodies/1",
55
"name": "Antwort auf Anfrage 1200/2014",
66
"reference": "1234/2014",
@@ -11,7 +11,7 @@
1111
],
1212
"mainFile": {
1313
"id": "https://oparl.example.org/files/57737",
14-
"type": "https://schema.oparl.org/1.0/file",
14+
"type": "https://schema.oparl.org/1.0/File",
1515
"name": "Anlage 1 zur Anfrage",
1616
"fileName": "anlage_1_zur_anfrage.pdf",
1717
"mimeType": "application/pdf",
@@ -27,7 +27,7 @@
2727
"auxiliaryFile": [
2828
{
2929
"id": "https://oparl.example.org/files/57739",
30-
"type": "https://schema.oparl.org/1.0/file",
30+
"type": "https://schema.oparl.org/1.0/File",
3131
"name": "Anlage 1 zur Anfrage",
3232
"fileName": "anlage.pdf",
3333
"mimeType": "application/pdf",
@@ -46,7 +46,7 @@
4646
"location": [
4747
{
4848
"id": "https://oparl.example.org/locations/29856",
49-
"type": "https://schema.oparl.org/1.0/location",
49+
"type": "https://schema.oparl.org/1.0/Location",
5050
"description": "Honschaftsstraße 312, Köln",
5151
"geometry": {
5252
"type": "Point",
@@ -68,7 +68,7 @@
6868
"consultation": [
6969
{
7070
"id": "https://oparl.example.org/consultation/47594",
71-
"type": "https://schema.oparl.org/1.0/consultation",
71+
"type": "https://schema.oparl.org/1.0/Consultation",
7272
"agendaItem": "https://oparl.example.org/agendaitem/15569",
7373
"meeting": "https://oparl.example.org/meeting/243",
7474
"organization": "https://oparl.example.org/organization/96",

examples/Person-01.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/person/29",
3-
"type": "https://schema.oparl.org/1.0/person",
3+
"type": "https://schema.oparl.org/1.0/Person",
44
"body": "https://oparl.example.org/body/0",
55
"name": "Prof. Dr. Max Mustermann",
66
"familyName": "Mustermann",
@@ -19,15 +19,15 @@
1919
"membership": [
2020
{
2121
"id": "https://oparl.example.org/memberships/385",
22-
"type": "https://schema.oparl.org/1.0/membership",
22+
"type": "https://schema.oparl.org/1.0/Membership",
2323
"organization": "https://oparl.example.org/organizations/5",
2424
"role": "Vorsitzende",
2525
"votingRight": true,
2626
"startDate": "2013-12-03"
2727
},
2828
{
2929
"id": "https://oparl.example.org/memberships/693",
30-
"type": "https://schema.oparl.org/1.0/membership",
30+
"type": "https://schema.oparl.org/1.0/Membership",
3131
"organization": "https://oparl.example.org/organizations/9",
3232
"role": "Sachkundige Bürgerin",
3333
"votingRight": false,

examples/System-01.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "https://oparl.example.org/",
3-
"type": "https://schema.oparl.org/1.0/system",
3+
"type": "https://schema.oparl.org/1.0/System",
44
"oparlVersion": "https://schema.oparl.org/1.0/",
55
"body": "https://oparl.example.org/bodies",
66
"name": "Beispiel-System",

src/1-05-nomenklatur.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ Das Präfix `oparl:` steht hierbei für die folgende Namespace-URL:
8585
Dadurch kann eine Typenangabe wie `oparl:Organization` eindeutig in die
8686
folgende URL übersetzt werden:
8787

88-
https://schema.oparl.org/1.0/organization
88+
https://schema.oparl.org/1.0/Organization

src/2-05-objektlisten-und-paginierung.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Ein Beispiel hierfür ist `subOrganizationOf` in `Organization`:
1616
~~~~~ {#objektlisten_ex1 .json}
1717
{
1818
"id": "https://oparl.example.org/organization/1",
19-
"type": "https://schema.oparl.org/1.0/organization",
19+
"type": "https://schema.oparl.org/1.0/Organization",
2020
"subOrganizationOf": "https://oparl.example.org/organization/2"
2121
...
2222
}
@@ -30,7 +30,7 @@ Ein Beispiel hierfür ist `meeting` in `Organization`:
3030
~~~~~ {#objektlisten_ex2 .json}
3131
{
3232
"id": "https://oparl.example.org/organization/1",
33-
"type": "https://schema.oparl.org/1.0/organization",
33+
"type": "https://schema.oparl.org/1.0/Organization",
3434
"meeting": [
3535
"https://oparl.example.org/meeting/1",
3636
"https://oparl.example.org/meeting/2",
@@ -49,10 +49,10 @@ Wert eines Attributs angegeben. Ein Beispiel für ein internes Objekt ist
4949
~~~~~ {#objektlisten_ex3 .json}
5050
{
5151
"id": "https://oparl.example.org/body/1",
52-
"type": "https://schema.oparl.org/1.0/body",
52+
"type": "https://schema.oparl.org/1.0/Body",
5353
"location": {
5454
"id": "https://oparl.example.org/location/1",
55-
"type": "https://schema.oparl.org/1.0/location",
55+
"type": "https://schema.oparl.org/1.0/Location",
5656
"description": "Ratshausvorplatz 1, 12345 Beispielstadt"
5757
},
5858
...
@@ -65,7 +65,7 @@ Beispiel des Attributes `membership` in `oparl:Person`.
6565
~~~~~ {#objektlisten_ex4 .json}
6666
{
6767
"id": "https://oparl.example.org/person/1",
68-
"type": "https://schema.oparl.org/1.0/person",
68+
"type": "https://schema.oparl.org/1.0/Person",
6969
"membership": [
7070
{
7171
"id": "https://oparl.example.org/memberships/385",
@@ -98,7 +98,7 @@ Listenausgabe. Ein Beispiel dafür ist `organization` in `oparl:Body`.
9898
~~~~~ {#objektlisten_ex5a .json}
9999
{
100100
"id": "https://oparl.example.org/body/1",
101-
"type": "https://schema.oparl.org/1.0/body",
101+
"type": "https://schema.oparl.org/1.0/Body",
102102
"organization": "https://oparl.example.org/body/1/organization"
103103
...
104104
}
@@ -111,19 +111,19 @@ Die externe Objektliste:
111111
"data": [
112112
{
113113
"id": "https://oparl.example.org/organization/1",
114-
"type": "https://schema.oparl.org/1.0/organization",
114+
"type": "https://schema.oparl.org/1.0/Organization",
115115
"name": "Organisation Nummer 1",
116116
...
117117
},
118118
{
119119
"id": "https://oparl.example.org/organization/2",
120-
"type": "https://schema.oparl.org/1.0/organization",
120+
"type": "https://schema.oparl.org/1.0/Organization",
121121
"name": "Organisation Nummer 2",
122122
...
123123
},
124124
{
125125
"id": "https://oparl.example.org/organization/3",
126-
"type": "https://schema.oparl.org/1.0/organization",
126+
"type": "https://schema.oparl.org/1.0/Organization",
127127
"name": "Organisation Nummer 3",
128128
...
129129
},

src/3-00-schema.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ist:
4343
~~~~~ {#objekte_example1 .json}
4444
{
4545
"id": "https://oparl.example.org/meeting/281",
46-
"type": "https://schema.oparl.org/1.0/meeting",
46+
"type": "https://schema.oparl.org/1.0/Meeting",
4747
"name": "4. Sitzung des Finanzausschusses",
4848
"start": "2013-01-04T08:00:00+01:00",
4949
"end": "2013-01-04T12:00:00+01:00",
@@ -69,7 +69,7 @@ dann das Eltern-Objekt als zusätzliches Attribut hinzu.:
6969
~~~~~ {#objekte_example2 .json}
7070
{
7171
"id": "https://oparl.example.org/files/57739",
72-
"type": "https://schema.oparl.org/1.0/file",
72+
"type": "https://schema.oparl.org/1.0/File",
7373
"name": "Einladung",
7474
"fileName": "einladung.pdf",
7575
"mimeType": "application/pdf",
@@ -92,7 +92,7 @@ vorkommen:
9292
~~~~~ {#objekte_example2 .json}
9393
{
9494
"id": "https://oparl.example.org/locations/29856",
95-
"type": "https://schema.oparl.org/1.0/file",
95+
"type": "https://schema.oparl.org/1.0/File",
9696
"description": "Honschaftsstraße 312, Köln",
9797
"geojson": {
9898
"type": "Feature",

src/3-01-eigenschaften-mit-verwendung-in-mehreren-objekttypen.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ definiert:
1313

1414
Typ (kurz) | Namespace-URL
1515
-------------------------|-------------------------------------------
16-
`oparl:AgendaItem` |https://schema.oparl.org/1.0/agendaitem
17-
`oparl:Body` |https://schema.oparl.org/1.0/body
18-
`oparl:Consultation` |https://schema.oparl.org/1.0/consultation
19-
`oparl:File` |https://schema.oparl.org/1.0/file
20-
`oparl:LegislativeTerm` |https://schema.oparl.org/1.0/legislativeterm
21-
`oparl:Location` |https://schema.oparl.org/1.0/location
22-
`oparl:Meeting` |https://schema.oparl.org/1.0/meeting
23-
`oparl:Membership` |https://schema.oparl.org/1.0/membership
24-
`oparl:Organization` |https://schema.oparl.org/1.0/organization
25-
`oparl:Paper` |https://schema.oparl.org/1.0/paper
26-
`oparl:Person` |https://schema.oparl.org/1.0/person
27-
`oparl:System` |https://schema.oparl.org/1.0/system
16+
`oparl:AgendaItem` |https://schema.oparl.org/1.0/AgendaItem
17+
`oparl:Body` |https://schema.oparl.org/1.0/Body
18+
`oparl:Consultation` |https://schema.oparl.org/1.0/Consultation
19+
`oparl:File` |https://schema.oparl.org/1.0/File
20+
`oparl:LegislativeTerm` |https://schema.oparl.org/1.0/LegislativeTerm
21+
`oparl:Location` |https://schema.oparl.org/1.0/Location
22+
`oparl:Meeting` |https://schema.oparl.org/1.0/Meeting
23+
`oparl:Membership` |https://schema.oparl.org/1.0/Membership
24+
`oparl:Organization` |https://schema.oparl.org/1.0/Organization
25+
`oparl:Paper` |https://schema.oparl.org/1.0/Paper
26+
`oparl:Person` |https://schema.oparl.org/1.0/Person
27+
`oparl:System` |https://schema.oparl.org/1.0/System
2828

2929
### `name` und `shortName` {#eigenschaft-name-shortname}
3030

0 commit comments

Comments
 (0)