{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ProviderListData", "type": "object", "description": "Dane dotyczące listy świadczeniodawców\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#provider-list-data", "additionalProperties": false, "properties": { "providers": { "type": [ "array", "null" ], "description": "Lista świadczeniodawców", "items": { "$ref": "#/definitions/Provider" } } }, "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" } } } } }