{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "AgreementPlanHeader", "definitions": { "BaseHeader": { "type": "object", "description": "Podstawowe właściwości nagłówków", "x-abstract": true, "additionalProperties": false, "properties": { "year": { "type": "integer", "description": "Rok", "format": "int32" }, "branch": { "type": [ "null", "string" ], "description": "Oddział wojewódzki" }, "provider-code": { "type": [ "null", "string" ], "description": "Kod świadczeniodawcy" }, "provider-name": { "type": [ "null", "string" ], "description": "Nazwa świadczeniodawcy" } } } }, "allOf": [ { "$ref": "#/definitions/BaseHeader" }, { "type": "object", "description": "Nagłówek planu umowy\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#agreement-plan-header", "additionalProperties": false, "properties": { "agreement-code": { "type": [ "null", "string" ], "description": "Kod umowy" }, "service-type-name": { "type": [ "null", "string" ], "description": "Nazwa rodzaju świadczenia" } } } ] }