Statistics Poland (GUS) · Schema
UnitDetails
Szczegółowa reprezentacja jednostki terytorialnej / Detailed representation of the territorial unit
GovernmentStatisticsOpen DataPolandPublic SectorBusiness RegisterGeography
Properties
| Name | Type | Description |
|---|---|---|
| metadata | object | |
| version | object | |
| id | stringnull | Identyfikator jednostki terytorialnej / Territorial unit identifier |
| name | stringnull | Nazwa jednostki terytorialnej / Territorial unit name |
| parentId | stringnull | Identyfikator nadrzędny jednostki terytorialnej / Parent territorial unit identifier |
| level | integer | Poziom jednostki terytorialnej / Territorial unit level |
| kind | stringnull | Rodzaj jednostki terytorialnej / Territorial unit kind |
| hasDescription | boolean | Czy jednostka terytorialna posiada opis / Does territorial unit has description |
| description | stringnull | Opis jednostki terytorialnej / Territorial unit description |
| years | arraynull | Lata obowiązywania jednostki terytorialnej / Years of territorial unit validity |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/stat-gov-pl/json-schema/stat-gov-pl-unit-details-schema.json",
"title": "UnitDetails",
"description": "Szczegółowa reprezentacja jednostki terytorialnej / Detailed representation of the territorial unit",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/stat-gov-pl-bdl-openapi.yml#/components/schemas/UnitDetails",
"type": "object",
"properties": {
"metadata": {
"$ref": "#/$defs/Metadata"
},
"version": {
"$ref": "#/$defs/Version"
},
"id": {
"type": [
"string",
"null"
],
"description": "Identyfikator jednostki terytorialnej / Territorial unit identifier"
},
"name": {
"type": [
"string",
"null"
],
"description": "Nazwa jednostki terytorialnej / Territorial unit name"
},
"parentId": {
"type": [
"string",
"null"
],
"description": "Identyfikator nadrzędny jednostki terytorialnej / Parent territorial unit identifier"
},
"level": {
"type": "integer",
"description": "Poziom jednostki terytorialnej / Territorial unit level",
"format": "int32"
},
"kind": {
"type": [
"string",
"null"
],
"description": "Rodzaj jednostki terytorialnej / Territorial unit kind"
},
"hasDescription": {
"type": "boolean",
"description": "Czy jednostka terytorialna posiada opis / Does territorial unit has description"
},
"description": {
"type": [
"string",
"null"
],
"description": "Opis jednostki terytorialnej / Territorial unit description"
},
"years": {
"type": [
"array",
"null"
],
"items": {
"type": "integer",
"format": "int32"
},
"description": "Lata obowiązywania jednostki terytorialnej / Years of territorial unit validity"
}
},
"additionalProperties": false,
"$defs": {
"Metadata": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "Id metadanych / Matadata's id"
},
"title": {
"type": [
"string",
"null"
],
"description": "Nazwa zasobu / Resource name"
},
"url": {
"type": [
"string",
"null"
],
"description": "Url zasobu / Resource Url"
},
"provider": {
"type": [
"string",
"null"
],
"description": "Dostawca zasobu / Resource provider"
},
"modificationDate": {
"type": "string",
"description": "Data ostatniej modyfikacji / Last modification date",
"format": "date-time"
},
"description": {
"type": [
"string",
"null"
],
"description": "Opis zasobu / Resource description"
},
"keywords": {
"type": [
"string",
"null"
],
"description": "Słowa kluczowe / Describing keywords"
},
"temporalCoverage": {
"type": [
"string",
"null"
],
"description": ""
},
"language": {
"type": [
"string",
"null"
],
"description": "Języki prezentowania zasobu / Resource's languages"
},
"updatePeriod": {
"type": [
"string",
"null"
],
"description": "Częstotliwość aktualizacji / Update frequency"
},
"contentType": {
"type": [
"string",
"null"
],
"description": "Typ treści / Content type"
}
},
"additionalProperties": false,
"description": "Definicja metadanych zasobu / Resource metadata definition"
},
"Version": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "Pełny numer wersji / Full version number"
},
"major": {
"type": "integer",
"description": "Numer główny wersji / The main version number",
"format": "int32"
},
"minor": {
"type": "integer",
"description": "Numer dodatkowy wersji / The additional version number",
"format": "int32"
},
"modificationDate": {
"type": "string",
"description": "Data ostatniej modyfikacji / Date of the last modification",
"format": "date-time"
},
"deprecated": {
"type": [
"string",
"null"
],
"description": "Data wycofania / Date of the deprecation",
"format": "date-time"
}
},
"additionalProperties": false,
"description": "Reprezentacja wersji API BDL / Representation of the API BDL version"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stat-gov-pl-unit-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.