-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from CommonGateway/feature/documentation-2024
Model Updates
- Loading branch information
Showing
72 changed files
with
733 additions
and
747 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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"title": "Attachment", | ||
"$id": "https://openwoo.app/schemas/attachment.schema.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Entity.schema.json", | ||
"version": "0.0.1", | ||
"type": "object", | ||
"description": "An attachment object", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"format": "uuid", | ||
"description": "The unique identifier of this subject" | ||
}, | ||
"title": { | ||
"type": "string", | ||
"format": "text", | ||
"description": "The title (name) of a Attachment, if the title is left empty the file name wil be used instead", | ||
"minLength": 25, | ||
"maxLength": 255 | ||
}, | ||
"summary": { | ||
"type": "string", | ||
"format": "text", | ||
"description": "A short summary of the subject for the overview page", | ||
"minLength": 50, | ||
"maxLength": 2500 | ||
}, | ||
"description": { | ||
"type": "string", | ||
"format": "text", | ||
"description": "An extensive description of the subject for display on the subject page", | ||
"maxLength": 25000 | ||
}, | ||
"labels": { | ||
"type": "array", | ||
"description": "Possible labels on the attachment that are used to assess what kind of file it is" | ||
}, | ||
"url": { | ||
"type": "string", | ||
"format": "url", | ||
"description": "The URL to the original document, this URL should be accessible to Open Index. When there is an ‘POST` or `PUT` request to Open Index then Open Index wil try to get the original file from the URL and use it to fill the `documentText`,` type`, ` extension` and ` size` properties", | ||
"required": true | ||
}, | ||
"documentText": { | ||
"type": "string", | ||
"format": "text", | ||
"description": "The text from the original document, which is included in the search index to facilitate searching of documents. This value is automatically updated and thus cannot be set via the API" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"format": "mime-type", | ||
"description": "The MIME type of the attachment, determined at the time of reading and recorded for display in the UI. This value is automatically updated and thus cannot be set via the API" | ||
}, | ||
"extension": { | ||
"type": "string", | ||
"description": "The extension of the attachment, determined at the time of reading and recorded for display in the UI. This value is automatically updated and thus cannot be set via the API" | ||
}, | ||
"size": { | ||
"type": "integer", | ||
"description": "The size of the attachment in bytes, determined at the time of reading and recorded for display in the UI. This value is automatically updated and thus cannot be set via the API" | ||
} | ||
}, | ||
"required": [ | ||
"url" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"title": "Metadata Open Catalogi Publiccode", | ||
"$id": "https://openwoo.app/schemas/Metadata.oc_publiccode.schema.schema.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Entity.schema.json", | ||
"version": "0.0.1", | ||
"type": "object", | ||
"description": "Adviezen over ontwerpen en andere onderwerpen van adviescolleges of -commissies, exclusief adviezen die betrekking hebben op individuele gevallen.", | ||
"properties": { | ||
"tooiCategorieNaam": { | ||
"type": "string", | ||
"const":"adviezen", | ||
"description":"De naam van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiCategorieId": { | ||
"type": "string", | ||
"const":"c_99a836c7", | ||
"description":"De tooiCategorieId van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiCategorieUri": { | ||
"type": "string", | ||
"const":"https://identifier.overheid.nl/tooi/def/thes/kern/c_99a836c7", | ||
"description":"De id van de categorie voorafgegaan door `https://identifier.overheid.nl/tooi/def/thes/kern/[tooiCategorieId]`" | ||
}, | ||
"tooiThemaNaam": { | ||
"type": "string", | ||
"description":"De naam van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiThemaId": { | ||
"type": "string", | ||
"description":"De id van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiThemaUri": { | ||
"type": "string", | ||
"description":"De tooiThemaId van het thema voorafgegaan door `https://identifier.overheid.nl/tooi/def/thes/kern/[tooiThemaId]`" | ||
}, | ||
"oprdachtgever": { | ||
"type": "string", | ||
"description":"Gaat het om onderzoek naar het functioneren van de eigen organisatie of om onderzoek ter voorbereiding of evaluatie van beleid of uitvoering ?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"onderdeelTaak": { | ||
"type": "string", | ||
"description":"Maakt het opstellen van dit onderzoeksrapport onderdeel uit van de uitvoering van de taak van deze organisatie?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"onderwerp": { | ||
"type": "string", | ||
"description":"Gaat het om onderzoek naar het functioneren van de eigen organisatie 0 of om onderzoek ter voorbereiding of evaluatie van beleid of uitvoering ?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"feitelijkMateriaal": { | ||
"type": "boolean", | ||
"description":"Bestaat de inhoud van het onderzoeksrapport voor het grootste deel O uit feitelijk materiaal?", | ||
"required": true | ||
}, | ||
"values": { | ||
"type": "array", | ||
"description":"Binnen KOOP Woo Index kunnen waardes niet uitlijnen op TOOI wel worden meegegeven in key value pair's. Deze zijn vervolgens wel doorzoekbaar maar geen onderdeel van de open.overheid.nl user interface", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"key": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["key", "value"] | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"onderdeelTaak", | ||
"oprdachtgever", | ||
"onderwerp", | ||
"feitelijkMateriaal" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"title": "Metadata Open Catalogi Publiccode", | ||
"$id": "https://openwoo.app/schemas/Metadata.oc_publiccode.schema.schema.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Entity.schema.json", | ||
"version": "0.0.1", | ||
"type": "object", | ||
"description": "Adviezen over ontwerpen en andere onderwerpen van adviescolleges of -commissies, exclusief adviezen die betrekking hebben op individuele gevallen.", | ||
"properties": { | ||
"tooiCategorieNaam": { | ||
"type": "string", | ||
"const":"adviezen", | ||
"description":"De naam van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiCategorieId": { | ||
"type": "string", | ||
"const":"c_99a836c7", | ||
"description":"De tooiCategorieId van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiCategorieUri": { | ||
"type": "string", | ||
"const":"https://identifier.overheid.nl/tooi/def/thes/kern/c_99a836c7", | ||
"description":"De id van de categorie voorafgegaan door `https://identifier.overheid.nl/tooi/def/thes/kern/[tooiCategorieId]`" | ||
}, | ||
"tooiThemaNaam": { | ||
"type": "string", | ||
"description":"De naam van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiThemaId": { | ||
"type": "string", | ||
"description":"De id van de TOOI categorie conform [diwoo metadata lijsten](https://standaarden.overheid.nl/diwoo/metadata/doc/0.9.1/diwoo-metadata-lijsten_xsd_Simple_Type_diwoo_scw_woo_informatiecategorieen)" | ||
}, | ||
"tooiThemaUri": { | ||
"type": "string", | ||
"description":"De tooiThemaId van het thema voorafgegaan door `https://identifier.overheid.nl/tooi/def/thes/kern/[tooiThemaId]`" | ||
}, | ||
"oprdachtgever": { | ||
"type": "string", | ||
"description":"Gaat het om onderzoek naar het functioneren van de eigen organisatie of om onderzoek ter voorbereiding of evaluatie van beleid of uitvoering ?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"onderdeelTaak": { | ||
"type": "string", | ||
"description":"Maakt het opstellen van dit onderzoeksrapport onderdeel uit van de uitvoering van de taak van deze organisatie?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"onderwerp": { | ||
"type": "string", | ||
"description":"Gaat het om onderzoek naar het functioneren van de eigen organisatie 0 of om onderzoek ter voorbereiding of evaluatie van beleid of uitvoering ?", | ||
"required": true, | ||
"maxLength": 2555 | ||
}, | ||
"feitelijkMateriaal": { | ||
"type": "boolean", | ||
"description":"Bestaat de inhoud van het onderzoeksrapport voor het grootste deel O uit feitelijk materiaal?", | ||
"required": true | ||
}, | ||
"values": { | ||
"type": "array", | ||
"description":"Binnen KOOP Woo Index kunnen waardes niet uitlijnen op TOOI wel worden meegegeven in key value pair's. Deze zijn vervolgens wel doorzoekbaar maar geen onderdeel van de open.overheid.nl user interface", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"key": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["key", "value"] | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"onderdeelTaak", | ||
"oprdachtgever", | ||
"onderwerp", | ||
"feitelijkMateriaal" | ||
] | ||
} |
Oops, something went wrong.