{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ProviderData", "type": "object", "description": "Szczegóły świadczeniodawcy\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#provider-data", "additionalProperties": false, "properties": { "provider": { "description": "Szczegóły świadczeniodawcy", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/Provider" } ] }, "agreements": { "type": [ "array", "null" ], "description": "Lista umów świadczeniodawcy", "items": { "$ref": "#/definitions/Agreement" } } }, "definitions": { "Provider": { "type": "object", "description": "Szczegóły świadczeniodawcy\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#provider", "additionalProperties": false, "properties": { "type": { "type": [ "null", "string" ], "description": "Typ obiektu" }, "attributes": { "description": "Atrybuty umowy", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/ProviderAttributes" } ] }, "links": { "description": "Linki ", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/BaseLinks" } ] } } }, "ProviderAttributes": { "type": "object", "description": "Atrybuty świadczeniodawcy\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#provider-attributes", "additionalProperties": false, "properties": { "branch": { "type": [ "null", "string" ], "description": "Oddział Wojewódzki" }, "code": { "type": [ "null", "string" ], "description": "Kod świadczniodawcy" }, "name": { "type": [ "null", "string" ], "description": "Nazwa świadczeniodawcy" }, "nip": { "type": [ "null", "string" ], "description": "Numer NIP" }, "regon": { "type": [ "null", "string" ], "description": "Regon" }, "registry-number": { "type": [ "null", "string" ], "description": "Numer księgi rejestrowej" }, "post-code": { "type": [ "null", "string" ], "description": "Kod pocztowy " }, "street": { "type": [ "null", "string" ], "description": "Ulica" }, "place": { "type": [ "null", "string" ], "description": "Miejscowość" }, "phone": { "type": [ "null", "string" ], "description": "Numer telefonu" }, "commune": { "type": [ "null", "string" ], "description": "Gmina" }, "amount": { "type": [ "null", "number" ], "description": "Sumaryczna kwota zobowiązań", "format": "decimal" } } }, "BaseLinks": { "type": "object", "description": "Podstawowe linki nawigujące\nWięcej informacji: https://api.nfz.gov.pl/app-umw-api/#links", "additionalProperties": false, "properties": { "related": { "type": [ "null", "string" ], "description": "Link do zasobu powiązanego" } } }, "Agreement": { "type": "object", "description": "Szczegóły umowy podpisanej ze świadczeniodawcą\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#agreement", "additionalProperties": false, "properties": { "id": { "type": "string", "description": "Identyfikator umowy", "format": "guid" }, "type": { "type": [ "null", "string" ], "description": "Typ obiektu" }, "attributes": { "description": "Atrybuty umowy", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/AgreementAttributes" } ] }, "links": { "description": "Linki ", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/BaseLinks" } ] } } }, "AgreementAttributes": { "type": "object", "description": "Atrybuty umowy\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#agreement-attributes", "additionalProperties": false, "properties": { "code": { "type": [ "null", "string" ], "description": "Kod umowy" }, "technical-code": { "type": [ "null", "string" ], "description": "Techniczny kod umowy przekazywany w ramach UMX, używany w ramach wymiany danych z NFZ" }, "origin-code": { "type": [ "null", "string" ], "description": "Kod pierwotny umowy" }, "service-type": { "type": [ "null", "string" ], "description": "Rodzaj świadczenia" }, "service-name": { "type": [ "null", "string" ], "description": "Nazwa rodzaju świadczenia" }, "amount": { "type": [ "null", "number" ], "description": "Kwota", "format": "decimal" }, "updated-at": { "type": "string", "description": "Data aktualizacji danych w centrali ", "format": "date-time" }, "provider-code": { "type": [ "null", "string" ], "description": "Kod świadczeniodawcy" }, "provider-nip": { "type": [ "null", "string" ], "description": "Numer NIP" }, "provider-regon": { "type": [ "null", "string" ], "description": "Numer REGON" }, "provider-registry-number": { "type": [ "null", "string" ], "description": "Numer księgi rejestrowej" }, "provider-name": { "type": [ "null", "string" ], "description": "Nazwa świadczeniodawcy" }, "provider-place": { "type": [ "null", "string" ], "description": "Miejscowość świadczeniodawcy" }, "year": { "type": "integer", "description": "Rok", "format": "int32" }, "branch": { "type": [ "null", "string" ], "description": "Oddział świadczeniodawcy" } } } } }