{
 "openapi": "3.1.0",
 "info": {
  "title": "Sauna Open Data API",
  "version": "1.0.0",
  "summary": "Free, read-only JSON API with open sauna data: woods, heater sizing, a multilingual glossary and UNESCO bathing heritage.",
  "description": "Static JSON files served by GitHub Pages: no key, no sign-up, GET only, CORS open. Data under CC BY 4.0 (credit \"DIVELUX\" with a link to https://diveluxsaunahat.com/pages/sauna-tools). Not affiliated with or endorsed by UNESCO, Harvia or HUUM.",
  "license": {
   "name": "CC BY 4.0 (data)",
   "identifier": "CC-BY-4.0"
  },
  "contact": {
   "name": "DIVELUX",
   "url": "https://diveluxsaunahat.com/pages/sauna-tools"
  }
 },
 "externalDocs": {
  "description": "Documentation",
  "url": "https://divelux.github.io/sauna-api/"
 },
 "servers": [
  {
   "url": "https://divelux.github.io/sauna-api",
   "description": "GitHub Pages"
  }
 ],
 "tags": [
  {
   "name": "index"
  },
  {
   "name": "woods",
   "description": "Sauna Woods"
  },
  {
   "name": "heater-sizing",
   "description": "Sauna Heater Size Table"
  },
  {
   "name": "glossary",
   "description": "Sauna Glossary"
  },
  {
   "name": "heritage",
   "description": "UNESCO Bathing Heritage"
  }
 ],
 "paths": {
  "/v1/index.json": {
   "get": {
    "operationId": "getIndex",
    "summary": "API index",
    "description": "Endpoints, datasets with versions, the room volumes and the language codes you can ask for.",
    "tags": [
     "index"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Index"
        }
       }
      }
     }
    }
   }
  },
  "/v1/woods.json": {
   "get": {
    "operationId": "getWoods",
    "summary": "Sauna woods",
    "description": "A reference table of the woods used to build saunas: where sauna makers use each wood (benches, walls and ceiling, exterior), published density, resin and scent, with the source page for every value. Compiled from makers' pages and wood references; not a test report.",
    "tags": [
     "woods"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WoodsResponse"
        }
       }
      }
     }
    }
   }
  },
  "/v1/heater-sizing.json": {
   "get": {
    "operationId": "getHeaterSizing",
    "summary": "Heater sizing table (all rows)",
    "description": "Electric sauna heater power in kW for rooms of 3 to 30 cubic meters, with 0 to 4 square meters of uninsulated glass or stone and with or without bare log walls, computed from Harvia and HUUM published sizing rules. A rule-of-thumb reference, not an engineering specification. Rule-of-thumb sizing from heater makers' published rules. Always confirm with the heater manufacturer and a licensed electrician.",
    "tags": [
     "heater-sizing"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HeaterSizingResponse"
        }
       }
      }
     }
    }
   }
  },
  "/v1/heater-sizing/{volume_m3}.json": {
   "get": {
    "operationId": "getHeaterSizingByVolume",
    "summary": "Heater sizing for one room volume",
    "description": "The rows for one room volume: 0 to 4 m² of uninsulated area, with and without bare log walls. Rule-of-thumb sizing from heater makers' published rules. Always confirm with the heater manufacturer and a licensed electrician.",
    "tags": [
     "heater-sizing"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HeaterVolumeResponse"
        }
       }
      }
     },
     "404": {
      "description": "No such file. GitHub Pages answers with its HTML 404 page."
     }
    },
    "parameters": [
     {
      "name": "volume_m3",
      "in": "path",
      "required": true,
      "description": "Room volume in m³ (length x width x height inside), a whole number from 3 to 30. Round up between steps.",
      "schema": {
       "type": "integer",
       "enum": [
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        27,
        28,
        29,
        30
       ]
      },
      "example": 12
     }
    ]
   }
  },
  "/v1/glossary.json": {
   "get": {
    "operationId": "getGlossary",
    "summary": "Sauna glossary (all languages)",
    "description": "A multilingual glossary of sauna and bathhouse terms with English meanings, transliterations and the bathing tradition each term belongs to. Compiled and checked by hand; not a complete dictionary.",
    "tags": [
     "glossary"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GlossaryResponse"
        }
       }
      }
     }
    }
   }
  },
  "/v1/glossary/{lang}.json": {
   "get": {
    "operationId": "getGlossaryByLanguage",
    "summary": "Sauna glossary in one language",
    "description": "Terms in one language. ISO 639-1 code; ISO 639-3 where there is no two-letter code (vro Võro, lkt Lakota, nah Nahuatl).",
    "tags": [
     "glossary"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GlossaryLanguageResponse"
        }
       }
      }
     },
     "404": {
      "description": "No such file. GitHub Pages answers with its HTML 404 page."
     }
    },
    "parameters": [
     {
      "name": "lang",
      "in": "path",
      "required": true,
      "description": "ISO 639-1 code; ISO 639-3 where there is no two-letter code (vro Võro, lkt Lakota, nah Nahuatl).",
      "schema": {
       "type": "string",
       "enum": [
        "ar",
        "da",
        "de",
        "es",
        "et",
        "fi",
        "fr",
        "ga",
        "is",
        "it",
        "ja",
        "ka",
        "ko",
        "la",
        "lkt",
        "lt",
        "lv",
        "nah",
        "nl",
        "no",
        "ru",
        "sv",
        "tr",
        "uk",
        "vro"
       ]
      },
      "example": "fi"
     }
    ]
   }
  },
  "/v1/heritage.json": {
   "get": {
    "operationId": "getHeritage",
    "summary": "UNESCO bathing heritage",
    "description": "A checked table of sauna, bath and spa heritage inscribed by UNESCO: elements on the Representative List of the Intangible Cultural Heritage of Humanity and properties on the World Heritage List, with UNESCO's names, years, countries and identifiers, a short note on each inscription's link to bathing, and map coordinates (UNESCO's own for World Heritage, approximate for intangible heritage). Status as of November 2026. Not affiliated with or endorsed by UNESCO.",
    "tags": [
     "heritage"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HeritageResponse"
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "Wood": {
    "type": "object",
    "title": "Wood",
    "required": [
     "wood",
     "latin_name",
     "wood_type",
     "used_for_benches",
     "used_for_walls_ceiling",
     "used_for_exterior",
     "density_kg_m3_min",
     "density_kg_m3_typical",
     "density_kg_m3_max",
     "density_lb_ft3_min",
     "density_lb_ft3_typical",
     "density_lb_ft3_max",
     "density_basis",
     "resin",
     "scent",
     "typical_region",
     "notes",
     "density_source_url",
     "properties_source_url",
     "sauna_use_source_url",
     "sauna_use_source_url_2",
     "sauna_use_source_url_3"
    ],
    "additionalProperties": false,
    "properties": {
     "wood": {
      "type": "string",
      "description": "Common English name. Unique key. Thermally modified woods are separate rows named \"Thermally modified ...\"."
     },
     "latin_name": {
      "type": "string",
      "description": "Botanical name of the species. For a thermally modified wood, the species it is made from."
     },
     "wood_type": {
      "type": "string",
      "description": "softwood, hardwood, thermally modified softwood, thermally modified hardwood.",
      "enum": [
       "hardwood",
       "softwood",
       "thermally modified hardwood",
       "thermally modified softwood"
      ]
     },
     "used_for_benches": {
      "type": [
       "string",
       "null"
      ],
      "description": "yes if a maker uses or recommends it for benches or backrests; mixed if makers disagree; no if makers advise against it (not used in this version); empty if not stated.",
      "enum": [
       "mixed",
       "yes",
       null
      ]
     },
     "used_for_walls_ceiling": {
      "type": [
       "string",
       "null"
      ],
      "description": "The same, for interior wall and ceiling paneling.",
      "enum": [
       "yes",
       null
      ]
     },
     "used_for_exterior": {
      "type": [
       "string",
       "null"
      ],
      "description": "The same, for outdoor saunas or exterior cladding.",
      "enum": [
       "yes",
       null
      ]
     },
     "density_kg_m3_min": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Density in kg/m³ as published. What the three cells mean depends on the source; read density_basis."
     },
     "density_kg_m3_typical": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Density in kg/m³ as published. What the three cells mean depends on the source; read density_basis."
     },
     "density_kg_m3_max": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Density in kg/m³ as published. What the three cells mean depends on the source; read density_basis."
     },
     "density_lb_ft3_min": {
      "type": [
       "number",
       "null"
      ],
      "description": "The same in lb/ft³, computed from kg/m³ (× 0.062428) and rounded to one decimal."
     },
     "density_lb_ft3_typical": {
      "type": [
       "number",
       "null"
      ],
      "description": "The same in lb/ft³, computed from kg/m³ (× 0.062428) and rounded to one decimal."
     },
     "density_lb_ft3_max": {
      "type": [
       "number",
       "null"
      ],
      "description": "The same in lb/ft³, computed from kg/m³ (× 0.062428) and rounded to one decimal."
     },
     "density_basis": {
      "type": [
       "string",
       "null"
      ],
      "description": "What the density figures are: moisture content and whether they are extremes, an average or class averages."
     },
     "resin": {
      "type": [
       "string",
       "null"
      ],
      "description": "yes if the reference describes resin canals or resin in the wood; no if a source says the wood has no resin canals or does not release resin; empty if not stated.",
      "enum": [
       "no",
       "yes",
       null
      ]
     },
     "scent": {
      "type": [
       "string",
       "null"
      ],
      "description": "Short description of the smell of the dry wood, from the properties source. Empty if not stated."
     },
     "typical_region": {
      "type": [
       "string",
       "null"
      ],
      "description": "Where the species grows or the wood comes from, as the source puts it."
     },
     "notes": {
      "type": "string",
      "description": "What each cited maker says, and caveats."
     },
     "density_source_url": {
      "type": [
       "string",
       "null"
      ],
      "description": "Page the density was read on. Empty when there is no density.",
      "format": "uri"
     },
     "properties_source_url": {
      "type": "string",
      "description": "Page for scent, resin and region.",
      "format": "uri"
     },
     "sauna_use_source_url": {
      "type": "string",
      "description": "Pages of sauna makers or suppliers that state the sauna uses.",
      "format": "uri"
     },
     "sauna_use_source_url_2": {
      "type": [
       "string",
       "null"
      ],
      "description": "Pages of sauna makers or suppliers that state the sauna uses.",
      "format": "uri"
     },
     "sauna_use_source_url_3": {
      "type": [
       "string",
       "null"
      ],
      "description": "Pages of sauna makers or suppliers that state the sauna uses.",
      "format": "uri"
     }
    }
   },
   "HeaterRow": {
    "type": "object",
    "title": "Heater sizing row",
    "required": [
     "room_volume_m3",
     "room_volume_cuft",
     "uninsulated_area_m2",
     "uninsulated_area_sqft",
     "log_walls",
     "harvia_calc_volume_m3",
     "harvia_calc_volume_cuft",
     "kw_low",
     "kw_high",
     "huum_calc_volume_m3",
     "huum_kw",
     "huum_na_calc_volume_m3",
     "huum_na_kw"
    ],
    "additionalProperties": false,
    "properties": {
     "room_volume_m3": {
      "type": "integer",
      "description": "Room volume, length x width x height inside, in m³. Rows run 3 to 30."
     },
     "room_volume_cuft": {
      "type": "integer",
      "description": "The same volume in cubic feet (1 m³ = 35.3147 cu ft), rounded."
     },
     "uninsulated_area_m2": {
      "type": "integer",
      "description": "Area of glass, stone, tile, brick or concrete with no insulation behind it, m²: 0, 1, 2, 3 or 4.",
      "enum": [
       0,
       1,
       2,
       3,
       4
      ]
     },
     "uninsulated_area_sqft": {
      "type": "number",
      "description": "The same area in square feet (1 m² = 10.7639 sq ft)."
     },
     "log_walls": {
      "type": "boolean",
      "description": "true if the inside walls are bare log (Harvia: room volume x 1.5)."
     },
     "harvia_calc_volume_m3": {
      "type": "number",
      "description": "Calculated volume by Harvia: room volume (x 1.5 for log) + 1.2 m³ per m² of uninsulated area."
     },
     "harvia_calc_volume_cuft": {
      "type": "integer",
      "description": "The same in cubic feet."
     },
     "kw_low": {
      "type": "number",
      "description": "Low end of the electric heater power: 1 kW per 50 cu ft of Harvia calculated volume (retail shortcut, matches Harvia's 8.5 m³ example)."
     },
     "kw_high": {
      "type": "number",
      "description": "High end: 1 kW per m³ of Harvia calculated volume (Harvia and HUUM average)."
     },
     "huum_calc_volume_m3": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Calculated volume by HUUM: room volume + 1 m³ per m² of uninsulated area. Null for log walls (HUUM uses area, not a factor)."
     },
     "huum_kw": {
      "type": [
       "integer",
       "null"
      ],
      "description": "HUUM rule: 1 kW per calculated m³."
     },
     "huum_na_calc_volume_m3": {
      "type": [
       "number",
       "null"
      ],
      "description": "Calculated volume by the North American \"Sizing Your HUUM\" sheet: 4.92 cu ft per sq ft (1.5 m³ per m²). Null for log walls."
     },
     "huum_na_kw": {
      "type": [
       "number",
       "null"
      ],
      "description": "The same at 1 kW per calculated m³."
     }
    }
   },
   "GlossaryTerm": {
    "type": "object",
    "title": "Glossary term",
    "required": [
     "term",
     "language",
     "language_code",
     "transliteration",
     "meaning_en",
     "category",
     "tradition",
     "notes"
    ],
    "additionalProperties": false,
    "properties": {
     "term": {
      "type": "string",
      "description": "The word as written in its own language and script. Unique together with language."
     },
     "language": {
      "type": "string",
      "description": "English name of the language."
     },
     "language_code": {
      "type": "string",
      "description": "ISO 639-1 code; ISO 639-3 where there is no two-letter code (vro Võro, lkt Lakota, nah Nahuatl).",
      "enum": [
       "ar",
       "da",
       "de",
       "es",
       "et",
       "fi",
       "fr",
       "ga",
       "is",
       "it",
       "ja",
       "ka",
       "ko",
       "la",
       "lkt",
       "lt",
       "lv",
       "nah",
       "nl",
       "no",
       "ru",
       "sv",
       "tr",
       "uk",
       "vro"
      ]
     },
     "transliteration": {
      "type": [
       "string",
       "null"
      ],
      "description": "Latin-script rendering for terms in Cyrillic, Arabic, Georgian, Japanese or Korean script. Empty for Latin-script terms."
     },
     "meaning_en": {
      "type": "string",
      "description": "Short meaning in plain English, in a bathing context."
     },
     "category": {
      "type": "string",
      "description": "One of place, room, heat source, steam, tool, practice, person, headwear, cooling, expression, food and drink.",
      "enum": [
       "cooling",
       "expression",
       "food and drink",
       "headwear",
       "heat source",
       "person",
       "place",
       "practice",
       "room",
       "steam",
       "tool"
      ]
     },
     "tradition": {
      "type": "string",
      "description": "The bathing tradition the term belongs to. Where possible it matches name in the Sauna Traditions of the World dataset, so the two can be joined."
     },
     "notes": {
      "type": [
       "string",
       "null"
      ],
      "description": "Usage, variants, literal meaning, caveats. May be empty."
     }
    }
   },
   "HeritageRecord": {
    "type": "object",
    "title": "UNESCO inscription",
    "required": [
     "record_id",
     "name",
     "list",
     "year_inscribed",
     "countries",
     "unesco_id",
     "unesco_url",
     "wh_criteria",
     "bathing_type",
     "connection_strength",
     "evidence",
     "bathing_connection",
     "notes",
     "lat",
     "lon",
     "coord_source"
    ],
    "additionalProperties": false,
    "properties": {
     "record_id": {
      "type": "string",
      "description": "Unique key: ICH- or WH- plus the UNESCO identifier, for example ICH-01596, WH-428."
     },
     "name": {
      "type": "string",
      "description": "Name of the element or property in English, exactly as UNESCO writes it."
     },
     "list": {
      "type": "string",
      "description": "Representative List of the Intangible Cultural Heritage of Humanity or World Heritage List.",
      "enum": [
       "Representative List of the Intangible Cultural Heritage of Humanity",
       "World Heritage List"
      ]
     },
     "year_inscribed": {
      "type": "integer",
      "description": "Year of inscription. Later extensions are in notes."
     },
     "countries": {
      "type": "string",
      "description": "States Parties as UNESCO names them, separated by ; ."
     },
     "unesco_id": {
      "type": "string",
      "description": "UNESCO's identifier: the five-digit nomination file number for intangible heritage (keep the leading zeros), the property number for World Heritage."
     },
     "unesco_url": {
      "type": "string",
      "description": "The inscription's page on ich.unesco.org or whc.unesco.org.",
      "format": "uri"
     },
     "wh_criteria": {
      "type": [
       "string",
       "null"
      ],
      "description": "World Heritage selection criteria, for example (i)(ii)(iv). Empty for intangible heritage."
     },
     "bathing_type": {
      "type": "string",
      "description": "sauna, thermal springs and spa, Roman and Byzantine baths, hammam, sweat bath, geothermal pools and hot tubs, medicinal bathing, palace bath. Our grouping, not UNESCO's.",
      "enum": [
       "Roman and Byzantine baths",
       "geothermal pools and hot tubs",
       "hammam",
       "medicinal bathing",
       "palace bath",
       "sauna",
       "sweat bath",
       "thermal springs and spa"
      ]
     },
     "connection_strength": {
      "type": "string",
      "description": "core or component. See the rule above.",
      "enum": [
       "component",
       "core"
      ]
     },
     "evidence": {
      "type": "string",
      "description": "Where the link is stated: whole element, whole property, component part, short description, statement of OUV.",
      "enum": [
       "component part",
       "short description",
       "statement of OUV",
       "whole element",
       "whole property"
      ]
     },
     "bathing_connection": {
      "type": "string",
      "description": "Our short summary of what UNESCO's text says about the baths. A paraphrase, with names and counts taken from UNESCO."
     },
     "notes": {
      "type": [
       "string",
       "null"
      ],
      "description": "Extensions, Committee decision numbers, List of World Heritage in Danger status, caveats. May be empty."
     },
     "lat": {
      "type": [
       "number",
       "null"
      ],
      "description": "Latitude, WGS 84 decimal degrees. The record's first map point. Empty when there is no single point (The Great Spa Towns of Europe)."
     },
     "lon": {
      "type": [
       "number",
       "null"
      ],
      "description": "Longitude, WGS 84 decimal degrees."
     },
     "coord_source": {
      "type": "string",
      "description": "Where the point comes from: UNESCO open data whc001: property point, ... component part <ref>, ... average of the <n> component parts, or approximate: country centroid, Wikidata <Q-id> (P625) / approximate: region centroid, .... Explains an empty lat/lon."
     }
    }
   },
   "HeritagePoint": {
    "type": "object",
    "title": "Map point",
    "required": [
     "record_id",
     "point_name",
     "country",
     "unesco_component_ref",
     "lat",
     "lon",
     "coord_source"
    ],
    "additionalProperties": false,
    "properties": {
     "record_id": {
      "type": "string",
      "description": "The inscription the point belongs to."
     },
     "point_name": {
      "type": "string",
      "description": "UNESCO's name of the component part or property, or a label such as Finland (country centroid)."
     },
     "country": {
      "type": "string",
      "description": "The State Party the point lies in, as UNESCO names it."
     },
     "unesco_component_ref": {
      "type": [
       "string",
       "null"
      ],
      "description": "UNESCO's reference of the component part or property, for example 367-006. Empty for averaged and approximate points."
     },
     "lat": {
      "type": "number",
      "description": "WGS 84 decimal degrees."
     },
     "lon": {
      "type": "number",
      "description": "WGS 84 decimal degrees."
     },
     "coord_source": {
      "type": "string",
      "description": "As in the main table."
     }
    }
   },
   "Dataset": {
    "type": "object",
    "description": "The dataset an endpoint serves: name, version, license and where it comes from.",
    "required": [
     "name",
     "version",
     "released",
     "description",
     "license",
     "license_url",
     "attribution",
     "source"
    ],
    "properties": {
     "name": {
      "type": "string"
     },
     "version": {
      "type": "string"
     },
     "released": {
      "type": "string",
      "format": "date"
     },
     "description": {
      "type": "string"
     },
     "license": {
      "type": "string",
      "const": "CC-BY-4.0"
     },
     "license_url": {
      "type": "string",
      "format": "uri"
     },
     "attribution": {
      "type": "string",
      "description": "Credit line to use when you publish the data."
     },
     "source": {
      "type": "string",
      "format": "uri",
      "description": "Repository of the dataset."
     }
    }
   },
   "Envelope": {
    "type": "object",
    "description": "Fields every data endpoint returns around its records.",
    "required": [
     "api",
     "api_version",
     "endpoint",
     "url",
     "documentation",
     "dataset",
     "fields",
     "count",
     "data"
    ],
    "properties": {
     "api": {
      "type": "string",
      "const": "Sauna Open Data API"
     },
     "api_version": {
      "type": "string"
     },
     "endpoint": {
      "type": "string"
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "documentation": {
      "type": "string",
      "format": "uri"
     },
     "dataset": {
      "$ref": "#/components/schemas/Dataset"
     },
     "fields": {
      "type": "object",
      "description": "Field name to description, for the records in data.",
      "additionalProperties": {
       "type": "string"
      }
     },
     "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of records in data."
     },
     "data": {
      "type": "array"
     }
    }
   },
   "LanguageCount": {
    "type": "object",
    "required": [
     "code",
     "name",
     "count",
     "url"
    ],
    "properties": {
     "code": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "count": {
      "type": "integer",
      "minimum": 1
     },
     "url": {
      "type": "string",
      "format": "uri"
     }
    }
   },
   "WoodsResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/Wood"
        }
       }
      }
     }
    ]
   },
   "HeaterSizingResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/HeaterRow"
        }
       },
       "caution": {
        "type": "string"
       },
       "volumes_m3": {
        "type": "array",
        "items": {
         "type": "integer"
        }
       }
      },
      "required": [
       "caution",
       "volumes_m3"
      ]
     }
    ]
   },
   "HeaterVolumeResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/HeaterRow"
        }
       },
       "caution": {
        "type": "string"
       },
       "volume_m3": {
        "type": "integer"
       },
       "volume_cuft": {
        "type": "integer"
       }
      },
      "required": [
       "caution",
       "volume_m3",
       "volume_cuft"
      ]
     }
    ]
   },
   "GlossaryResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/GlossaryTerm"
        }
       },
       "languages": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/LanguageCount"
        }
       }
      },
      "required": [
       "languages"
      ]
     }
    ]
   },
   "GlossaryLanguageResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/GlossaryTerm"
        }
       },
       "language": {
        "type": "object",
        "required": [
         "code",
         "name"
        ],
        "properties": {
         "code": {
          "type": "string"
         },
         "name": {
          "type": "string"
         }
        }
       }
      },
      "required": [
       "language"
      ]
     }
    ]
   },
   "HeritageResponse": {
    "allOf": [
     {
      "$ref": "#/components/schemas/Envelope"
     },
     {
      "type": "object",
      "properties": {
       "data": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/HeritageRecord"
        }
       },
       "point_fields": {
        "type": "object",
        "additionalProperties": {
         "type": "string"
        }
       },
       "points": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/HeritagePoint"
        }
       }
      },
      "required": [
       "point_fields",
       "points"
      ]
     }
    ]
   },
   "Index": {
    "type": "object",
    "required": [
     "api",
     "api_version",
     "released",
     "url",
     "documentation",
     "openapi",
     "source",
     "license",
     "license_url",
     "publisher",
     "publisher_url",
     "endpoints",
     "datasets",
     "heater_volumes_m3",
     "glossary_languages"
    ],
    "properties": {
     "api": {
      "type": "string"
     },
     "api_version": {
      "type": "string"
     },
     "released": {
      "type": "string",
      "format": "date"
     },
     "url": {
      "type": "string",
      "format": "uri"
     },
     "documentation": {
      "type": "string",
      "format": "uri"
     },
     "openapi": {
      "type": "string",
      "format": "uri"
     },
     "source": {
      "type": "string",
      "format": "uri"
     },
     "license": {
      "type": "string"
     },
     "license_url": {
      "type": "string",
      "format": "uri"
     },
     "publisher": {
      "type": "string"
     },
     "publisher_url": {
      "type": "string",
      "format": "uri"
     },
     "endpoints": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "path",
        "url",
        "description"
       ],
       "properties": {
        "path": {
         "type": "string"
        },
        "url": {
         "type": "string"
        },
        "description": {
         "type": "string"
        }
       }
      }
     },
     "datasets": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Dataset"
      }
     },
     "heater_volumes_m3": {
      "type": "array",
      "items": {
       "type": "integer"
      }
     },
     "glossary_languages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/LanguageCount"
      }
     }
    }
   }
  }
 }
}
