Rijksoverheid (Independent Publisher) (#1675)

* Proposal - Rijksoverheid (Independent Publisher)

* Create apiDefinition.swagger.json

* Create apiProperties.json

* Update apiDefinition.swagger.json

Added x-ms-visibility property values.
This commit is contained in:
Dennis 2022-06-15 03:49:47 +01:00 коммит произвёл GitHub
Родитель cec2adb678
Коммит 2269dc7e1c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 421 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,400 @@
{
"swagger": "2.0",
"info": {
"title": "Rijksoverheid",
"description": "Retrieve information from the Dutch Rijksoverheid Open Data platform.",
"contact": {
"name": "Dennis Goedegebuure",
"url": "https://www.expiscornovus.com",
"email": "dennis@expiscornovus.com"
},
"version": "1.0"
},
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://www.rijksoverheid.nl/opendata"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://www.rijksoverheid.nl/privacy"
},
{
"propertyName": "Categories",
"propertyValue": "Data;Productivity"
}
],
"host": "opendata.rijksoverheid.nl",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/v1/sources/rijksoverheid/infotypes/schoolholidays/": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id",
"title": "id",
"x-ms-visibility": "important"
},
"type": {
"type": "string",
"description": "type",
"title": "type",
"x-ms-visibility": "important"
},
"canonical": {
"type": "string",
"description": "canonical",
"title": "canonical",
"x-ms-visibility": "advanced"
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "title",
"title": "title",
"x-ms-visibility": "important"
},
"schoolyear": {
"type": "string",
"description": "schoolyear",
"title": "schoolyear",
"x-ms-visibility": "important"
},
"vacations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type",
"title": "type",
"x-ms-visibility": "advanced"
},
"compulsorydates": {
"type": "string",
"description": "compulsorydates",
"title": "compulsorydates",
"x-ms-visibility": "advanced"
},
"regions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "region",
"title": "region",
"x-ms-visibility": "important"
},
"startdate": {
"type": "string",
"description": "startdate",
"title": "startdate",
"x-ms-visibility": "important"
},
"enddate": {
"type": "string",
"description": "enddate",
"title": "enddate",
"x-ms-visibility": "important"
}
}
},
"description": "regions"
}
}
},
"description": "vacations"
}
}
},
"description": "content"
},
"notice": {
"type": "string",
"description": "notice",
"title": "notice",
"x-ms-visibility": "advanced"
},
"authorities": {
"type": "array",
"items": {
"type": "string"
},
"description": "authorities"
},
"creators": {
"type": "array",
"items": {
"type": "string"
},
"description": "creators"
},
"license": {
"type": "string",
"description": "license",
"title": "license",
"x-ms-visibility": "advanced"
},
"rightsholders": {
"type": "array",
"items": {
"type": "string"
},
"description": "rightsholders"
},
"language": {
"type": "string",
"description": "language",
"title": "language",
"x-ms-visibility": "advanced"
},
"location": {
"type": "string",
"description": "location",
"title": "location",
"x-ms-visibility": "advanced"
},
"lastmodified": {
"type": "string",
"description": "lastmodified",
"title": "lastmodified",
"x-ms-visibility": "advanced"
}
}
}
}
}
},
"operationId": "SchoolHolidays",
"summary": "List all School Holidays",
"description": "List all School Holidays",
"parameters": [
{
"name": "rows",
"in": "query",
"required": false,
"type": "integer",
"default": 200,
"description": "Number of rows (maximum 200)",
"x-ms-summary": "Number of rows (maximum 200)",
"x-ms-visibility": "important"
},
{
"name": "output",
"in": "query",
"required": false,
"type": "string",
"default": "json",
"description": "Format of output (default json)",
"x-ms-summary": "Format of output (default json)",
"x-ms-visibility": "important"
}
]
}
},
"/v1/sources/rijksoverheid/infotypes/schoolholidays/schoolyear/{schoolyear}": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id",
"title": "id",
"x-ms-visibility": "important"
},
"type": {
"type": "string",
"description": "type",
"title": "type",
"x-ms-visibility": "important"
},
"canonical": {
"type": "string",
"description": "canonical",
"title": "schoolyear",
"x-ms-visibility": "advanced"
},
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "title",
"title": "title",
"x-ms-visibility": "important"
},
"schoolyear": {
"type": "string",
"description": "schoolyear",
"title": "schoolyear",
"x-ms-visibility": "important"
},
"vacations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type",
"title": "type",
"x-ms-visibility": "advanced"
},
"compulsorydates": {
"type": "string",
"description": "compulsorydates",
"title": "compulsorydates",
"x-ms-visibility": "advanced"
},
"regions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "region",
"title": "region",
"x-ms-visibility": "important"
},
"startdate": {
"type": "string",
"description": "startdate",
"title": "startdate",
"x-ms-visibility": "important"
},
"enddate": {
"type": "string",
"description": "enddate",
"title": "enddate",
"x-ms-visibility": "important"
}
}
},
"description": "regions"
}
}
},
"description": "vacations"
}
}
},
"description": "content"
},
"notice": {
"type": "string",
"description": "notice",
"title": "notice",
"x-ms-visibility": "advanced"
},
"authorities": {
"type": "array",
"items": {
"type": "string"
},
"description": "authorities"
},
"creators": {
"type": "array",
"items": {
"type": "string"
},
"description": "creators"
},
"license": {
"type": "string",
"description": "license",
"title": "license",
"x-ms-visibility": "advanced"
},
"rightsholders": {
"type": "array",
"items": {
"type": "string"
},
"description": "rightsholders"
},
"language": {
"type": "string",
"description": "language",
"title": "language",
"x-ms-visibility": "advanced"
},
"location": {
"type": "string",
"description": "location",
"title": "location",
"x-ms-visibility": "advanced"
},
"lastmodified": {
"type": "string",
"description": "lastmodified",
"title": "lastmodified",
"x-ms-visibility": "advanced"
}
}
}
}
},
"operationId": "SchoolHolidaysPerSchoolYear",
"summary": "School Holidays for a School Year",
"description": "School Holidays for a School Year",
"parameters": [
{
"name": "schoolyear",
"in": "path",
"required": true,
"type": "string",
"default": "2022-2023",
"description": "School Year",
"x-ms-summary": "School Year (default 2022-2023)",
"x-ms-url-encoding": "single",
"x-ms-visibility": "important"
},
{
"name": "output",
"in": "query",
"required": false,
"type": "string",
"default": "json",
"description": "Format of output (default json)",
"x-ms-summary": "Format of output (default json)",
"x-ms-visibility": "important"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": []
}

Просмотреть файл

@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Dennis Goedegebuure",
"stackOwner": "Rijksoverheid"
}
}

Просмотреть файл

@ -0,0 +1,12 @@
## Rijksoverheid
Rijksoverheid Open Data is a collection of public accesisble data sets of the Dutch Government.
## Publisher: Dennis Goedegebuure
## Prerequisites
There are no prerequisities for this connector.
## Supported Operations
The connector supports the following operations:
* `SchoolHolidays`: List all School Holidays [More info](https://www.rijksoverheid.nl/opendata/schoolvakanties)
* `SchoolHolidaysPerSchoolYear`: List all School Holidays per School Year [More info](https://www.rijksoverheid.nl/opendata/schoolvakanties)