{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Table", "type": "object", "description": "Tabela statystyczna", "additionalProperties": false, "properties": { "id": { "type": "string", "description": "Unikalny identyfikator. Potrzebny w celu wyświetlenia tabeli poprzez wywołanie odpowiedniej metody", "format": "guid" }, "type": { "type": [ "null", "string" ], "description": "Typ obiektu" }, "attributes": { "description": "Lista atrybutów tabeli statystycznej", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/TableAttributes" } ] }, "links": { "description": "Linki do zasobów", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/BaseLinks" } ] } }, "definitions": { "TableAttributes": { "type": "object", "description": "Szczegóły przedstawiające atrybuty tabeli statystycznej", "additionalProperties": false, "properties": { "header": { "type": [ "null", "string" ], "description": "Tytuł tabeli" }, "resource-name": { "type": [ "null", "string" ], "description": "Nazwa zasobu zawierającego szczegóły" }, "additional-infromation": { "description": "Dodatkowe informacje", "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/AdditionalInfo" } ] } } }, "AdditionalInfo": { "type": "object", "description": "Dodatkowe informacje na temat tabeli statystycznej", "additionalProperties": false, "properties": { "divided-by-branches": { "type": "boolean", "description": "Znacznik określający czy tabela jest podzilona na Oddziały Wojewódzkie NFZ" }, "divided-by-hospital-types": { "type": "boolean", "description": "Znacznik określający czy tabela jest podzilona na typy szpitali" }, "divided-by-products": { "type": "boolean", "description": "Znacznik określający czy tabela jest podzilona na rodzaj produktu" } } }, "BaseLinks": { "type": "object", "description": "Podstawowe linki nawigujące", "additionalProperties": false, "properties": { "related": { "type": [ "null", "string" ], "description": "Link do zasobu powiązanego" } } } } }