{
  "openapi": "3.0.1",
  "info": {
    "title": "OpenAPI definition",
    "version": "v0"
  },
  "servers": [
    {
      "url": "https://irz.arimr.gov.pl/api/koniowate",
      "description": "Generated server url"
    }
  ],
  "paths": {
    "/zwierze/zhk/api/prod/modyfikuj": {
      "post": {
        "tags": [
          "zwierze-koniowate-zhk-api-prod-controller"
        ],
        "operationId": "modyfikujDaneKoniowatego",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModyfikacjaKoniowategoZHKApiDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/WynikModyfikacjaKoniowategoZHKApiDTO"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "KodOpisWartosciDto": {
        "type": "object",
        "properties": {
          "kod": {
            "type": "string"
          },
          "opis": {
            "type": "string"
          }
        }
      },
      "HistoriaKodowTransponderaDTO": {
        "type": "object",
        "properties": {
          "numerKodTranspondera": {
            "type": "string"
          },
          "miejsceWszczepieniaTranspondera": {
            "type": "string"
          },
          "przyczynaZmiany": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "dataObowiazywaniaOd": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "InformacjeDotyczaceDokumentuIdentyfikacyjnegoDTO": {
        "type": "object",
        "properties": {
          "oryginalDuplikatDokumentuIdentyfikacyjnegoDokumentZastepczyKoniowatego": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "numerDokumentuIdentyfikacyjnego": {
            "type": "string",
            "description": "Numer dokumentu identyfikacyjnego"
          },
          "dataWydaniaDokumentuIdentyfikacyjnego": {
            "type": "string",
            "description": "Data wydania dokumentu identyfikacyjnego",
            "format": "date"
          },
          "nazwaWlasciwegoOrganuLubOrganuKtoryWydalDokumentIdentyfikacyjny": {
            "type": "string",
            "description": "Nazwa właściwego organu lub organu, który wydał dokument identyfikacyjny"
          },
          "adresWlasciwegoOrganuLubOrganuKtoryWydalDokumentIdentyfikacyjny": {
            "type": "string",
            "description": "Adres właściwego organu lub organu, który wydał dokument identyfikacyjny"
          },
          "przyczynaWydaniaNowegoDokumentuIdentyfikacyjnego": {
            "type": "string",
            "description": "Przyczyna wydania nowego unikalnego dożywotniego dokumentu identyfikacyjnego koniowatego"
          },
          "sposobOdbioruDokumentuIdentyfikacyjnego": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "numerDuplikatu": {
            "type": "string",
            "description": "Numer duplikatu"
          },
          "niepotwierdzony": {
            "type": "boolean",
            "description": "Niepotwierdzony"
          }
        }
      },
      "LicencjaKoniowategoDTO": {
        "type": "object",
        "properties": {
          "znakZatwierdzeniaLicencji": {
            "type": "string"
          },
          "dataWydaniaLicencji": {
            "type": "string",
            "format": "date"
          },
          "kodZwiazkuKoniowatych": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "oddzialRegionalny": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "dataObowiazywaniaLicencji": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "ZnakZatwierdzeniaZakladuDTO": {
        "type": "object",
        "properties": {
          "znakZatwierdzeniaZakladuKoniowatego": {
            "type": "string"
          },
          "imieLubNazwiskoLekarzaPLW": {
            "type": "string"
          },
          "numerLekarzaPLW": {
            "type": "string"
          },
          "dataWaznosci": {
            "type": "string",
            "format": "date"
          },
          "dataWydania": {
            "type": "string",
            "format": "date"
          }
        }
      },
      "SzczegolyZwierzeKoniowateDTO": {
        "type": "object",
        "properties": {
          "rodzajDawcy": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "niepowtarzalnyDozywotniNumerUelnOjcaDawcyNasienia": {
            "type": "string"
          },
          "nazwaOjcaLubDawcyNasienia": {
            "type": "string"
          },
          "rodzajDawczyni": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "nrUelnDawczyniZarodkaKomorkiJajowej": {
            "type": "string"
          },
          "nazwaDawczyniZarodkaKomorkiJajowej": {
            "type": "string"
          },
          "niepowtarzalnyDozywotniNumerUelnMatki": {
            "type": "string"
          },
          "nazwaMatki": {
            "type": "string"
          },
          "glowa": {
            "type": "string"
          },
          "szyja": {
            "type": "string"
          },
          "przedniaNogaL": {
            "type": "string"
          },
          "przedniaNogaP": {
            "type": "string"
          },
          "tylnaNogaL": {
            "type": "string"
          },
          "tylnaNogaP": {
            "type": "string"
          },
          "klodaTulow": {
            "type": "string"
          },
          "znamiona": {
            "type": "string"
          },
          "miejsceMiejscowoscOpisu": {
            "type": "string"
          },
          "dataOpisu": {
            "type": "string",
            "format": "date"
          },
          "imieNazwiskoOsobyDokonujacejOpisu": {
            "type": "string"
          },
          "kodZwiazkuHodowcowKoniowatych": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "oddzialRegionalnyZwiazku": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "systemOdczytu": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "zastepczaMetodaIdentyfikacji": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "informacjaOInnejMetodzieIdentyfikacji": {
            "type": "string"
          },
          "miejsceUrodzenia": {
            "type": "string"
          },
          "kodKrajuUrodzenia": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "typRasowy": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "rasa": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "przeznaczenie": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "weryfikacjaOpisu": {
            "type": "string"
          },
          "numerSwiadectwaZdrowia": {
            "type": "string"
          },
          "danePoprzedniegoWlasciciela": {
            "type": "string"
          },
          "kastracja": {
            "type": "boolean"
          },
          "dataKastracji": {
            "type": "string",
            "format": "date"
          },
          "miejsceKastracji": {
            "type": "string"
          },
          "lekarzDokonujacyKastracji": {
            "type": "string"
          },
          "koniecznoscWpisaniaDoKsiegiHodowlanej": {
            "type": "boolean"
          },
          "numerDzialalnosciUrodzenia": {
            "type": "string"
          }
        }
      },
      "HistoriaWlascicieliKoniowategoZHKDTO": {
        "type": "object",
        "properties": {
          "dataUmowyOswiadczenia": {
            "type": "string",
            "description": "Data umowy lub oświadczenia",
            "format": "date"
          },
          "umowaOPrzeniesienieWlasnosci": {
            "type": "boolean",
            "description": "Umowa o przeniesienie własności"
          },
          "numerWlasciciela": {
            "type": "string",
            "description": "Numer właściciela"
          },
          "numerEPWlasciciela": {
            "type": "string",
            "description": "Numer Ewidencji Producentów właściciela koniowatego"
          },
          "pesel": {
            "type": "string",
            "description": "PESEL"
          },
          "nip": {
            "type": "string",
            "description": "NIP"
          },
          "regon": {
            "type": "string",
            "description": "REGON"
          },
          "nrPaszportuLubInnegoDokumentu": {
            "type": "string",
            "description": "Numer paszportu lub innego dokumentu"
          },
          "imieNazwaSkrocona": {
            "type": "string",
            "description": "Imię lub nazwa skrócona"
          },
          "nazwiskoNazwa": {
            "type": "string",
            "description": "Nazwisko lub imię"
          },
          "kraj": {
            "type": "string",
            "description": "Kraj"
          },
          "wojewodztwo": {
            "type": "string",
            "description": "Województwo"
          },
          "powiat": {
            "type": "string",
            "description": "powiat"
          },
          "gmina": {
            "type": "string",
            "description": "Gmina"
          },
          "rodzajGminy": {
            "type": "string",
            "description": "Rodzaj gminy"
          },
          "miejscowosc": {
            "type": "string",
            "description": "Miejscowość"
          },
          "ulica": {
            "type": "string",
            "description": "Ulica"
          },
          "posesja": {
            "type": "string",
            "description": "Posesja"
          },
          "lokal": {
            "type": "string",
            "description": "Lokal"
          },
          "kodPocztowy": {
            "type": "string",
            "description": "Kod pocztowy"
          },
          "poczta": {
            "type": "string",
            "description": "Poczta"
          },
          "telefonStacjonarny": {
            "type": "string",
            "description": "Telefon stacjonarny"
          },
          "telefonKomorkowy": {
            "type": "string",
            "description": "Telefon komórkowy"
          },
          "telefonZagraniczny": {
            "type": "string",
            "description": "Telefon zagraniczny"
          },
          "faks": {
            "type": "string",
            "description": "Faks"
          },
          "adresEmail": {
            "type": "string",
            "description": "Adres email"
          }
        }
      },
      "ModyfikacjaKoniowategoZHKApiDTO": {
        "type": "object",
        "properties": {
          "uzasadnienie": {
            "type": "string",
            "description": "Uzasadnienie"
          },
          "idKoniowatego": {
            "type": "integer",
            "description": "Identyfikator koniowatego",
            "format": "int64"
          },
          "gatunek": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "plec": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "masc": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "dataUrodzenia": {
            "type": "string",
            "description": "Data urodzenia",
            "format": "date"
          },
          "imieNazwaKoniowatego": {
            "type": "string",
            "description": "Imię/Nazwa koniowatego"
          },
          "dataUbojuZaGranica": {
            "type": "string",
            "description": "Data uboju za granicą",
            "format": "date"
          },
          "krajUbojuZaGranica": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "szczegolyZwierzeKoniowate": {
            "$ref": "#/components/schemas/SzczegolyZwierzeKoniowateDTO"
          },
          "historiaKodowTranspondera": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HistoriaKodowTransponderaDTO"
            }
          },
          "wylaczenieKoniowategoZLancucha": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WylaczenieKoniowategoZLancuchaZHKApiDTO"
            }
          },
          "znakiZatwierdzeniaZakladu": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ZnakZatwierdzeniaZakladuDTO"
            }
          },
          "licencjeKoniowatego": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LicencjaKoniowategoDTO"
            }
          },
          "historiaWlascicieliKoniowatego": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HistoriaWlascicieliKoniowategoZHKDTO"
            }
          },
          "informacjeDotyczaceDokumentuIdentyfikacyjnego": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InformacjeDotyczaceDokumentuIdentyfikacyjnegoDTO"
            }
          },
          "niepowtarzalnyDozywotniNumerUELN": {
            "type": "string",
            "description": "Niepowtarzalny dożywotni numer UELN"
          }
        },
        "description": "Obiekt DTO modyfikacji koniowatego przez API ZHK"
      },
      "WylaczenieKoniowategoZLancuchaZHKApiDTO": {
        "type": "object",
        "properties": {
          "dataWpisu": {
            "type": "string",
            "format": "date"
          },
          "dataOd": {
            "type": "string",
            "format": "date"
          },
          "dataDo": {
            "type": "string",
            "format": "date"
          },
          "podaneLekiWylaczenieKoniowategoZLancuchaZywnosciowego": {
            "type": "boolean"
          },
          "informacjaOPodanychLekachWylaczeniuKoniowategoZLancuchaZywnosciowego": {
            "type": "string"
          },
          "dozywotnio": {
            "type": "boolean"
          },
          "miejsceWpisu": {
            "type": "string"
          },
          "numerLekarzaWeterynarii": {
            "type": "string"
          },
          "imieNazwiskoLekarzaWeterynarii": {
            "type": "string"
          },
          "nazwaOrganuKtoryDokonalWpisu": {
            "type": "string"
          },
          "powodDokonaniaWpisu": {
            "type": "string"
          },
          "wylaczenieKoniowategoZLancuchaKodZwiazku": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          },
          "wylaczenieKoniowategoZLancuchaOddzial": {
            "$ref": "#/components/schemas/KodOpisWartosciDto"
          }
        }
      },
      "WynikModyfikacjaKoniowategoZHKApiDTO": {
        "type": "object",
        "properties": {
          "komunikat": {
            "type": "string",
            "description": "Komunikat wyniku modyfikacji koniowatego"
          },
          "niepowtarzalnyDozywotniNumerUELN": {
            "type": "string",
            "description": "Niepowtarzalny dożywotni numer UELN koniowatego"
          }
        },
        "description": "Obiekt DTO wyniku modyfikacji przez API ZHK "
      },
      "BazowaPozycja": {
        "type": "object",
        "properties": {
          "lp": {
            "type": "integer",
            "format": "int64"
          },
          "statusPozycji": {
            "type": "string",
            "enum": [
              "ZATWIERDZONA",
              "DO_ZATWIERDZENIA",
              "POMINIETA"
            ]
          }
        }
      },
      "BazoweZgloszenie": {
        "type": "object",
        "properties": {
          "pozycje": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BazowaPozycja"
            }
          },
          "czyKorekta": {
            "type": "boolean"
          }
        }
      },
      "PropertyDiff": {
        "type": "object",
        "properties": {
          "propertyName": {
            "type": "string"
          },
          "left": {
            "type": "string"
          },
          "right": {
            "type": "string"
          }
        }
      },
      "PropertyDiffGroup": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "group": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyDiffGroup"
            }
          },
          "diffList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyDiff"
            }
          }
        }
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "INVOICE"
            ]
          },
          "description": {
            "type": "string"
          }
        }
      },
      "Field": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "object"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "select",
              "multiselect",
              "text",
              "fromUrl",
              "number",
              "date",
              "radio",
              "checkbox",
              "textarea",
              "separator",
              "teryt",
              "hidden",
              "terytAdres",
              "terytJednostka",
              "terytSelect",
              "numerDzialalnosci",
              "wlascicielKoniowatego",
              "barCode",
              "numerProducentaKontekst",
              "staticField",
              "previewOnly",
              "dateLong",
              "uuid"
            ]
          },
          "viewType": {
            "type": "string",
            "enum": [
              "select",
              "multiselect",
              "text",
              "fromUrl",
              "number",
              "date",
              "radio",
              "checkbox",
              "textarea",
              "separator",
              "teryt",
              "hidden",
              "terytAdres",
              "terytJednostka",
              "terytSelect",
              "numerDzialalnosci",
              "wlascicielKoniowatego",
              "barCode",
              "numerProducentaKontekst",
              "staticField",
              "previewOnly",
              "dateLong",
              "uuid"
            ]
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "dictionaryName": {
            "type": "string"
          },
          "dictionaryValueCode": {
            "type": "string"
          },
          "tooltip": {
            "type": "string"
          },
          "placeholder": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldOption"
            }
          },
          "validators": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldValidator"
            }
          },
          "fieldConditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldCondition"
            }
          },
          "position": {
            "type": "string",
            "enum": [
              "HORIZONTAL",
              "VERTICAL"
            ]
          },
          "key": {
            "type": "string"
          },
          "editable": {
            "type": "boolean"
          },
          "additionalCode": {
            "type": "boolean"
          },
          "actionUrl": {
            "type": "string"
          },
          "mask": {
            "type": "string"
          },
          "maskGuide": {
            "type": "boolean"
          },
          "visible": {
            "type": "boolean"
          },
          "codeName": {
            "type": "string"
          },
          "toUpperCase": {
            "type": "boolean"
          },
          "unselectableRadioButton": {
            "type": "boolean"
          },
          "cssClass": {
            "type": "string"
          },
          "blockCommaSeparator": {
            "type": "boolean"
          },
          "blockSeparators": {
            "type": "boolean"
          },
          "customParams": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "terytType": {
            "type": "string",
            "enum": [
              "wojewodztwo",
              "powiat",
              "gmina",
              "miejscowosc",
              "ulica",
              "jednostka",
              "poczta"
            ]
          },
          "terytZalezny": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TerytZalezny"
            }
          },
          "searchOptions": {
            "$ref": "#/components/schemas/FieldSearchOptions"
          },
          "selectValueField": {
            "type": "string"
          },
          "selectValueAsString": {
            "type": "boolean"
          },
          "fillSelectWhenOnlyOneValue": {
            "type": "boolean"
          },
          "fillSelectWhenSearchingCorrectOrCustomValue": {
            "type": "boolean"
          },
          "setSearchTermOnSelectEdit": {
            "type": "boolean"
          },
          "syncValueBetweenSameFields": {
            "type": "boolean"
          },
          "fieldsMapper": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "FieldCondition": {
        "type": "object",
        "properties": {
          "relatedFieldName": {
            "type": "string"
          },
          "operator": {
            "type": "string",
            "enum": [
              "EQUAL",
              "NOT_EQUAL",
              "IN",
              "NOT_IN"
            ]
          },
          "value": {
            "type": "object"
          },
          "conditionType": {
            "type": "string",
            "enum": [
              "visible",
              "editable",
              "checked",
              "changeActionUrl",
              "visibleOnlyForRoles",
              "updateFieldValue",
              "updateFieldValueFromApi",
              "updateFieldValueFromParent",
              "updateFieldValueNumerProducentaZNumeruDzialalnosci",
              "sumFieldValues",
              "select",
              "checkWhenAllRelatedChecked",
              "required",
              "changeDictionary"
            ]
          },
          "preventClearWhenNotPassed": {
            "type": "boolean"
          },
          "concatenationType": {
            "type": "string",
            "enum": [
              "AND_ON_FALSE",
              "AND_ON_TRUE"
            ]
          },
          "concatenationId": {
            "type": "string"
          },
          "valueWhenPassed": {
            "type": "object"
          },
          "valueWhenNotPassed": {
            "type": "object"
          }
        }
      },
      "FieldOption": {
        "type": "object",
        "properties": {
          "value": {
            "type": "object"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "FieldSearchOptions": {
        "type": "object",
        "properties": {
          "customUserValues": {
            "type": "boolean"
          },
          "customValueUpperCase": {
            "type": "boolean"
          }
        }
      },
      "FieldValidator": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "enum": [
              "required",
              "minLength",
              "maxLength",
              "minValue",
              "maxValue",
              "pattern",
              "email",
              "dateGreaterThanOrEqual",
              "dateLowerThanOrEqual",
              "dateGreaterThanOrEqualToToday",
              "dateLowerThanOrEqualToToday"
            ]
          },
          "value": {
            "type": "object"
          }
        }
      },
      "FieldValue": {
        "type": "object",
        "properties": {
          "property": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "actionUrl": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "codeName": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "select",
              "multiselect",
              "text",
              "fromUrl",
              "number",
              "date",
              "radio",
              "checkbox",
              "textarea",
              "separator",
              "teryt",
              "hidden",
              "terytAdres",
              "terytJednostka",
              "terytSelect",
              "numerDzialalnosci",
              "wlascicielKoniowatego",
              "barCode",
              "numerProducentaKontekst",
              "staticField",
              "previewOnly",
              "dateLong",
              "uuid"
            ]
          }
        }
      },
      "FormAction": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "addAttachment",
              "addAnimal",
              "back",
              "cancel",
              "quit",
              "saveDocument",
              "saveCorrection",
              "next",
              "addPosition",
              "deletePosition",
              "savePosition",
              "continue",
              "approve",
              "modifyDocument",
              "historyOperations",
              "createCall",
              "withdrawForCorrection",
              "chooseEvents",
              "verifyDocument",
              "fillList",
              "correctDocument",
              "draftDocument",
              "templateDocument",
              "importXML",
              "importPositionsFromFile"
            ]
          },
          "label": {
            "type": "string"
          },
          "actionUrl": {
            "type": "string"
          },
          "cssClass": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "noParamErrorMessage": {
            "type": "string"
          },
          "successMessage": {
            "type": "string"
          }
        }
      },
      "FormDetails": {
        "type": "object",
        "properties": {
          "header": {
            "type": "string"
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Section"
            }
          },
          "tooltip": {
            "type": "string"
          },
          "formType": {
            "type": "string",
            "enum": [
              "documentDefinition",
              "details",
              "saveForm",
              "correction",
              "processSummary",
              "events",
              "animal",
              "decision",
              "passport",
              "information",
              "aprovval"
            ]
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormAction"
            }
          }
        }
      },
      "Section": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Field"
            }
          },
          "lists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SectionList"
            }
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormAction"
            }
          },
          "cssClass": {
            "type": "string"
          },
          "sectionConditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldCondition"
            }
          }
        }
      },
      "SectionList": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "headers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dataSet": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldValue"
            }
          },
          "rowForm": {
            "$ref": "#/components/schemas/FormDetails"
          },
          "expandedRow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldValue"
            }
          },
          "hideExpander": {
            "type": "boolean"
          },
          "deleteButtonOnlyForRoles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "TerytZalezny": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string"
          },
          "terytType": {
            "type": "string",
            "enum": [
              "wojewodztwo",
              "powiat",
              "gmina",
              "miejscowosc",
              "ulica",
              "jednostka",
              "poczta"
            ]
          }
        }
      },
      "PobieranieDokumentuResponse": {
        "type": "object",
        "properties": {
          "komunikat": {
            "type": "string",
            "description": "Komunikat"
          },
          "numerDokumentu": {
            "type": "string",
            "description": "Numer dokumentu"
          },
          "szczegoly": {
            "$ref": "#/components/schemas/BazoweZgloszenie"
          },
          "blad": {
            "type": "array",
            "description": "Bład",
            "items": {
              "$ref": "#/components/schemas/PobieranieDokumentuResponse"
            }
          }
        },
        "description": "Wynik pobierania dokumentu"
      }
    }
  }
}