{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ActiveSubstanceCostsData", "type": "object", "description": "Obiekt reprezentujący szczegóły kosztów leków substancji czynnych w chemioterapii", "additionalProperties": false, "properties": { "sums": { "description": "Obiekt podsumowania", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/Sums" } ] }, "data": { "type": [ "array", "null" ], "description": "Lista substancji czynnych stosowanych w chemioterapii", "items": { "$ref": "#/definitions/ActiveSubstanceCosts" } } }, "definitions": { "Sums": { "type": "object", "description": "Obiekt reprezentujący podsumowanie poszczególnych wartości", "additionalProperties": false, "properties": { "refund": { "type": "number", "description": "Suma kosztów refundacji substancji czynnych w chemioterapii", "format": "decimal" } } }, "ActiveSubstanceCosts": { "type": "object", "description": "Koszty leków w podziale na substancje czynną", "additionalProperties": false, "properties": { "active-substance-code": { "type": [ "null", "string" ], "description": "Kod substancji czynnej" }, "active-substance-name": { "type": [ "null", "string" ], "description": "Nazwa substancji czynnej" }, "number-of-patients": { "type": "integer", "description": "Liczba pacjentów", "format": "int32" }, "refund": { "type": "number", "description": "Refundacja NFZ", "format": "decimal" } } } } }