{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "AgreementMonthHeader", "definitions": { "AgreementPlanHeader": { "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" } } } ] }, "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/AgreementPlanHeader" }, { "type": "object", "description": "Nagłówek odpowiedzi planu umowy w rozbicu na miesiące\nSchema: https://api.nfz.gov.pl/app-umw-api/schemas/#agreement-month-header", "additionalProperties": false, "properties": { "order": { "type": [ "null", "string" ], "description": "Wyróżnik" }, "contract-product-code": { "type": [ "null", "string" ], "description": "Produkt kontraktowy" } } } ] }