-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ams-schema-spec.html: ams-schema-spec.bs | ||
bikeshed spec $< $@ | ||
# Clear training whitespace | ||
# Clear trailing whitespace | ||
sed -i.bak -e 's/ *$$//' $@ | ||
rm [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1491,7 +1491,7 @@ | |
<meta content="Bikeshed version 742f3d674, updated Mon Nov 4 14:56:54 2024 -0800" name="generator"> | ||
<link href="https://schemas.data.amsterdam.nl/docs/ams-schema-spec.html" rel="canonical"> | ||
<link href="https://data.amsterdam.nl/favicon.png" rel="icon"> | ||
<meta content="8d34e2d6fec3ee80a92047318e0f1081b7d0bc96" name="revision"> | ||
<meta content="31e7395e88a9121eddcecccbfec28275ed755248" name="revision"> | ||
<meta content="dark light" name="color-scheme"> | ||
<style> | ||
p[data-fill-with="logo"] { | ||
|
@@ -2358,7 +2358,7 @@ | |
<div class="head"> | ||
<p data-fill-with="logo"></p> | ||
<h1 class="p-name no-ref" id="title">Amsterdam Schema Specificatie</h1> | ||
<h2 class="no-num no-toc no-ref heading settled" id="profile-and-date"><span class="content">Living Standard, <time class="dt-updated" datetime="2025-01-14">14 January 2025</time></span></h2> | ||
<h2 class="no-num no-toc no-ref heading settled" id="profile-and-date"><span class="content">Living Standard, <time class="dt-updated" datetime="2025-01-16">16 January 2025</time></span></h2> | ||
<div data-fill-with="spec-metadata"> | ||
<dl> | ||
<dt>This version: | ||
|
@@ -3936,7 +3936,7 @@ <h2 class="heading settled" data-level="7" id="autorisatie"><span class="secno"> | |
<li data-md> | ||
<p>De <code class="highlight"><c- u>"auth"</c-></code>-attributen in het Amsterdam-schema beperken de toegang. zie <a href="#auth">§ 7.2 Auth-attributen</a>.</p> | ||
<li data-md> | ||
<p>De profielen geven grunulair toegang op basis van een gebruikersprofiel. zie <a href="#profielen">§ 7.3 Profielen</a>.</p> | ||
<p>De profielen geven granulair toegang op basis van een gebruikersprofiel. zie <a href="#profielen">§ 7.3 Profielen</a>.</p> | ||
</ol> | ||
<p>Beide mechanismen gebruiken doorvoor scopes om te koppelen met gebruikersgroepen in de bestaande architectuur. | ||
Deze scopes worden bijvoorbeeld verkregen vanuit een bestaande OAuth-flow die een JSON Web Token (JWT) aanbiedt.</p> | ||
|
@@ -3996,7 +3996,7 @@ <h4 class="heading settled" data-level="7.2.2" id="meerdere-niveaus"><span class | |
<pre class="highlight line-numbered"><span class="line-no"></span><span class="line"><c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"dataset"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"id"</c-><c- p>:</c-> <c- u>"gebieden"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"title"</c-><c- p>:</c-> <c- u>"gebieden"</c-><c- p>,</c-></span><span class="line-no highlight-line" data-line="5"></span><span class="line highlight-line"> <c- f>"auth"</c-><c- p>:</c-> <c- u>"LEVEL/A"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"reasonsNonPublic"</c-><c- p>:</c-> <c- p>[</c-></span><span class="line-no"></span><span class="line"> <c- u>"5.1 1b: Gevaar voor staatsveiligheid"</c-></span><span class="line-no"></span><span class="line"> <c- p>],</c-></span><span class="line-no"></span><span class="line"> <c- f>"status"</c-><c- p>:</c-> <c- u>"beschikbaar"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"crs"</c-><c- p>:</c-> <c- u>"EPSG:28992"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"tables"</c-><c- p>:</c-> <c- p>[</c-></span><span class="line-no"></span><span class="line"> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"id"</c-><c- p>:</c-> <c- u>"bouwblokken"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"mainGeometry"</c-><c- p>:</c-> <c- u>"geometrie"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"table"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"version"</c-><c- p>:</c-> <c- u>"1.0.0"</c-><c- p>,</c-></span><span class="line-no highlight-line" data-line="17"></span><span class="line highlight-line"> <c- f>"auth"</c-><c- p>:</c-> <c- u>"LEVEL/B"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"schema"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"$id"</c-><c- p>:</c-> <c- u>"https://github.com/Amsterdam/schemas/gebieden/bouwblokken.json"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"$schema"</c-><c- p>:</c-> <c- u>"http://json-schema.org/draft-07/schema#"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"object"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"additionalProperties"</c-><c- p>:</c-> <c- kc>false</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"identifier"</c-><c- p>:</c-> <c- p>[</c-><c- u>"id"</c-><c- p>],</c-></span><span class="line-no"></span><span class="line"> <c- f>"required"</c-><c- p>:</c-> <c- p>[</c-><c- u>"schema"</c-><c- p>,</c-> <c- u>"id"</c-><c- p>],</c-></span><span class="line-no"></span><span class="line"> <c- f>"display"</c-><c- p>:</c-> <c- u>"id"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"properties"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"schema"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"$ref"</c-><c- p>:</c-> <c- u>"https://schemas.data.amsterdam.nl/[email protected]#/definitions/schema"</c-></span><span class="line-no"></span><span class="line"> <c- p>},</c-></span><span class="line-no"></span><span class="line"> <c- f>"id"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"string"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"description"</c-><c- p>:</c-> <c- u>"Unieke identificatie voor dit object, inclusief volgnummer"</c-></span><span class="line-no"></span><span class="line"> <c- p>},</c-></span><span class="line-no"></span><span class="line"> <c- f>"beginGeldigheid"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"string"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"format"</c-><c- p>:</c-> <c- u>"date"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"title"</c-><c- p>:</c-> <c- u>"Begin geldigheid"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"description"</c-><c- p>:</c-> <c- u>"De datum waarop het object is gecreëerd."</c-><c- p>,</c-></span><span class="line-no highlight-line" data-line="39"></span><span class="line highlight-line"> <c- f>"auth"</c-><c- p>:</c-> <c- u>"LEVEL/C"</c-></span><span class="line-no"></span><span class="line"> <c- p>},</c-></span><span class="line-no"></span><span class="line"> <c- f>"eindGeldigheid"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"string"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"format"</c-><c- p>:</c-> <c- u>"date"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"title"</c-><c- p>:</c-> <c- u>"Eind geldigheid"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"description"</c-><c- p>:</c-> <c- u>"De datum waarop het object is komen te vervallen."</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"provenance"</c-><c- p>:</c-> <c- u>"eindgeldigheid"</c-></span><span class="line-no"></span><span class="line"> <c- p>},</c-></span><span class="line-no"></span><span class="line"> <c- f>"ligtInBuurt"</c-><c- p>:</c-> <c- p>{</c-></span><span class="line-no"></span><span class="line"> <c- f>"type"</c-><c- p>:</c-> <c- u>"string"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"relation"</c-><c- p>:</c-> <c- u>"gebieden:buurten"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"provenance"</c-><c- p>:</c-> <c- u>"ligtinbuurt"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"title"</c-><c- p>:</c-> <c- u>"Ligt in buurt"</c-><c- p>,</c-></span><span class="line-no"></span><span class="line"> <c- f>"description"</c-><c- p>:</c-> <c- u>"De buurt waar het bouwblok in ligt."</c-></span><span class="line-no"></span><span class="line"> <c- p>}</c-></span><span class="line-no"></span><span class="line"> <c- p>}</c-></span><span class="line-no"></span><span class="line"> <c- p>}</c-></span><span class="line-no"></span><span class="line"> <c- p>}</c-></span><span class="line-no"></span><span class="line"> <c- p>]</c-></span><span class="line-no"></span><span class="line"><c- p>}</c-></span></pre> | ||
</div> | ||
<h3 class="heading settled" data-level="7.3" id="profielen"><span class="secno">7.3. </span><span class="content">Profielen</span><a class="self-link" href="#profielen"></a></h3> | ||
<p>Waar een <code class="highlight"><c- u>"auth"</c-></code>-attribuut de toegang ontzegt, geeft een profiel gralunair toegang onder voorwaarden. | ||
<p>Waar een <code class="highlight"><c- u>"auth"</c-></code>-attribuut de toegang ontzegt, geeft een profiel granulair toegang onder voorwaarden. | ||
Een profiel wordt alleen toegepast als er geen authorisatie verkregen is via de <code class="highlight"><c- u>"auth"</c-></code>-attributen.</p> | ||
<div class="example" id="example-74834a2a"> | ||
<a class="self-link" href="#example-74834a2a"></a> Voorbeeld van een profiel, wat het functieprofiel "parkeerwachter" toegang geeft tot "parkeervakken". | ||
|
@@ -4126,7 +4126,7 @@ <h4 class="heading settled" data-level="7.4.2" id="toegangsregels"><span class=" | |
<p>Een gebruiker heeft toegang tot een <a data-link-type="dfn" href="#dataset" id="ref-for-dataset⑨">dataset</a> indien deze:</p> | ||
<ul> | ||
<li data-md> | ||
<p>Toegang krijgt via <code class="highlight"><c- u>"auth"</c-></code> regel.</p> | ||
<p>Toegang krijgt via de <code class="highlight"><c- u>"auth"</c-></code> regel.</p> | ||
<li data-md> | ||
<p>Of een profiel heeft met <code class="highlight"><c- u>"permissions"</c-><c- o>:</c-> <c- u>"read"</c-></code> op dataset niveau.</p> | ||
</ul> | ||
|