Raw schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Natural-language query in Polish — the tenders are in Polish, e.g. 'budowa hali sportowej z basenem'"
},
"cpv": {
"description": "Restrict to tenders whose CPV includes this code, with or without the check digit: '79952000' or '79952000-2'",
"type": "string",
"pattern": "^\\d{8}(-\\d)?$"
},
"region": {
"description": "Voivodeship (województwo): slug or name from list_facets, e.g. 'slaskie' or 'śląskie'",
"type": "string",
"minLength": 2,
"maxLength": 40
},
"min_value": {
"description": "Minimum estimated value (PLN)",
"type": "number",
"minimum": 0
},
"max_value": {
"description": "Maximum estimated value (PLN)",
"type": "number",
"minimum": 0
},
"deadline_before": {
"description": "ISO date; only tenders with submission deadline before it",
"type": "string"
},
"cpv_codes": {
"description": "CPV codes from cpv_search, each with all its sub-codes ('79952000' also finds 79952100); a tender matches any of them",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{8}(-\\d)?$"
}
},
"regions": {
"description": "Voivodeships (slug or name from list_facets); a tender matches any of them",
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 40
}
},
"kind": {
"description": "works (roboty), supplies (dostawy), services (uslugi)",
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"roboty",
"dostawy",
"uslugi"
]
}
},
"buyer_types": {
"description": "Type of contracting authority — codes from list_facets buyer_types, e.g. 'gminy_miasta', 'szpitale_przychodnie'",
"maxItems": 14,
"type": "array",
"items": {
"type": "string",
"enum": [
"gminy_miasta",
"szkoly_przedszkola",
"firmy_prywatne",
"wojsko_policja_straze",
"powiaty_wojewodztwa",
"sady_prokuratura",
"szpitale_przychodnie",
"pomoc_spoleczna",
"lasy_srodowisko",
"spolki_komunalne",
"kultura_sport",
"uczelnie_instytuty",
"drogi_transport",
"nierozpoznane"
]
}
},
"notice_type": {
"description": "tenders (przetargi), market research (rozeznania rynku) or corrections (sprostowania)",
"type": "string",
"enum": [
"tenders",
"market_research",
"corrections"
]
},
"deadline_after": {
"description": "YYYY-MM-DD; submission deadline on or after that day",
"type": "string"
},
"published_after": {
"description": "YYYY-MM-DD; published on or after that day",
"type": "string"
},
"published_before": {
"description": "YYYY-MM-DD; published on or before that day",
"type": "string"
},
"deposit": {
"description": "Whether a bid deposit (wadium) is required",
"type": "string",
"enum": [
"required",
"none"
]
},
"sort": {
"description": "Default: relevance",
"type": "string",
"enum": [
"relevance",
"deadline",
"value",
"published_at"
]
},
"dir": {
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}