{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/FichierHtmp",
  "definitions": {
    "FichierHtmp": {
      "type": "object",
      "properties": {
        "schemaVersion": {
          "type": "string",
          "description": "Format version: \"1.1\"."
        },
        "savedAt": {
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Project name shown in HTM."
        },
        "room": {
          "$ref": "#/definitions/PieceDecrite"
        },
        "layout": {
          "$ref": "#/definitions/ConfigurationDecrite"
        },
        "placementView": {
          "type": "string",
          "enum": [
            "optimal",
            "manual"
          ],
          "description": "Leave out (HTM uses its own placement)."
        },
        "bassManagement": {
          "$ref": "#/definitions/BassManagementConfig"
        },
        "_comment": {
          "type": "string",
          "description": "Free note, ignored by HTM."
        },
        "scope": {
          "type": "object",
          "properties": {
            "room": {
              "type": "boolean"
            },
            "audio": {
              "type": "boolean"
            },
            "video": {
              "type": "boolean"
            }
          },
          "required": [
            "room",
            "audio",
            "video"
          ],
          "additionalProperties": false,
          "description": "Sections of the project: { room, audio, video }, each true or false, at least one true. Default: all three. Leave out unless the user only wants some of them."
        },
        "context": {
          "type": "string",
          "enum": [
            "hc-dedicated",
            "hc-living",
            "studio-dedicated",
            "hifi-living",
            "custom"
          ],
          "description": "Kind of room: \"hc-dedicated\" (dedicated home cinema, default), \"hc-living\" (home cinema in a living room), \"studio-dedicated\" (mixing studio), \"hifi-living\" (hi-fi in a living room) or \"custom\". It sets the treatment budget, the tone and the objects HTM offers, never the acoustics."
        },
        "variants": {
          "description": "Placement variants made in HTM. Written by HTM only, never by an assistant: the connector removes it."
        },
        "activeVariantId": {
          "description": "Active placement variant. Written by HTM only, never by an assistant: the connector removes it."
        },
        "rewMeasurements": {
          "description": "Measurements imported in HTM. Written by HTM only, never by an assistant: the connector removes it."
        },
        "videoCalibration": {
          "description": "Imported video calibration measurements. Written by HTM only, never by an assistant: the connector removes it."
        },
        "audysseySummary": {
          "description": "Summary of an imported room-correction file. Written by HTM only, never by an assistant: the connector removes it."
        },
        "audysseyBaseline": {
          "description": "Reference room-correction summary. Written by HTM only, never by an assistant: the connector removes it."
        },
        "recipient": {
          "description": "Report recipient. Written by HTM only, never by an assistant: the connector removes it."
        },
        "reportSections": {
          "description": "Report sections. Written by HTM only, never by an assistant: the connector removes it."
        },
        "concuEnPro": {
          "description": "Marker of a project saved with a Pro licence. Written by HTM only, never by an assistant: the connector removes it."
        },
        "ouvrirSur": {
          "type": "string",
          "const": "rapport",
          "description": "One-time request to open HTM on the Report tab when the room arrives. Written by HTM only, never by an assistant: the connector removes it."
        }
      },
      "required": [
        "schemaVersion",
        "room",
        "layout"
      ],
      "additionalProperties": false,
      "description": "An HTM project file (.htmp). Describe the room as measured and the speaker configuration; HTM places the speakers when the file opens."
    },
    "PieceDecrite": {
      "type": "object",
      "properties": {
        "height": {
          "$ref": "#/definitions/Meters",
          "description": "Ceiling height in metres. Under an attic ceiling: the highest point."
        },
        "footprint": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "x": {
                "type": "number"
              },
              "z": {
                "type": "number"
              }
            },
            "required": [
              "x",
              "z"
            ],
            "additionalProperties": false
          },
          "description": "Free polygon in (x, z) metres, for shape \"irregular\". Prefer contourEnMurs."
        },
        "origineDesCotesIndex": {
          "type": "number",
          "description": "Leave out."
        },
        "lShape": {
          "$ref": "#/definitions/LShapeFootprint"
        },
        "fanShape": {
          "$ref": "#/definitions/FanShapeFootprint"
        },
        "attic": {
          "$ref": "#/definitions/AtticCeiling"
        },
        "ceiling": {
          "$ref": "#/definitions/CeilingSpec",
          "description": "Ceiling shape, independent of the floor outline: flat, attic (sloped), or a height per outline corner."
        },
        "ceilingSoffit": {
          "$ref": "#/definitions/CeilingSoffit",
          "description": "Part of the ceiling at another height (tray or drop), with optional nested levels."
        },
        "vueExterieure": {
          "type": "string"
        },
        "roofWindows": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RoofWindow"
          }
        },
        "beams": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Beam"
          },
          "description": "Beams under the ceiling (drawing and speaker mounting support, no acoustic effect)."
        },
        "tremies": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Tremie"
          }
        },
        "cadres": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadreMural"
          },
          "description": "Frames and posters on the walls."
        },
        "passagesDeCables": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PassageDeCables"
          },
          "description": "Cable pass-throughs: floor boxes (pose \"sol\", centre x, z) and wall cable outlets (pose \"mur\", wall, position along it, hauteurM of the centre). The channels listed in voies (\"L\", \"SW1\", \"HDMI\"…) are routed through them in the cabling plan."
        },
        "fermes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Ferme"
          },
          "description": "Roof trusses under an attic ceiling."
        },
        "lamesSuspendues": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LamesSuspendues"
          }
        },
        "anneauxTruss": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AnneauTruss"
          },
          "description": "HTM Pro: truss rings, frames or grids hung under the ceiling. Drawing only: HTM hangs no speaker on them. Without a Pro licence, do not create or change them (those of a reopened file stay as they are)."
        },
        "risers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Riser"
          },
          "description": "Free risers (stage, platform) not tied to a seat row. A row on a riser uses Row.platformElevation instead."
        },
        "objects": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RoomObject"
          },
          "description": "Furniture standing in the room (sofa, desk, rack, cabinet…). They count in the reverberation time."
        },
        "acousticPanels": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AcousticPanel"
          },
          "description": "Acoustic panels, diffusers, clouds and rugs (a rug is a panel with mounting \"floor\"). They count in the reverberation time. Drawn and computed in HTM Pro."
        },
        "frontFacade": {
          "$ref": "#/definitions/AcousticFacade",
          "description": "Baffle wall: a false wall in front of the screen wall that houses the front speakers. Its thickness takes depth from the room. layout.frontClearance is ignored with it."
        },
        "screen": {
          "$ref": "#/definitions/Screen",
          "description": "The screen (projection screen or TV)."
        },
        "avEquipment": {
          "$ref": "#/definitions/AvEquipment",
          "description": "The AV cabinet (console or rack): the TV cabinet or the shelf under the screen IS this field, never an object in room.objects as well. Absent: HTM places one by default (a rack against a free side wall with a projector, a console under a TV)."
        },
        "decor": {
          "type": "object",
          "properties": {
            "murs": {
              "type": "string",
              "description": "Colour of all the walls (aspect.teintesMurs)."
            },
            "parMur": {
              "type": "object",
              "properties": {
                "frontWall": {
                  "type": "string"
                },
                "rearWall": {
                  "type": "string"
                },
                "leftWall": {
                  "type": "string"
                },
                "rightWall": {
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "description": "Colour of one wall (frontWall = screen wall, rearWall, leftWall, rightWall), over decor.murs."
            },
            "parPan": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "sol": {
              "type": "string",
              "description": "Floor colour (aspect.teintesSol), from the family of the floor material (carpet, wood, tiles or smooth)."
            },
            "plafond": {
              "type": "string",
              "description": "Ceiling colour (aspect.teintesPlafond)."
            },
            "aspectPlafond": {
              "type": "string",
              "description": "Ceiling look (aspect.plafonds): acoustic tiles, stretched fabric, wood slats, coffers, star ceiling…"
            },
            "poseSol": {
              "$ref": "#/definitions/PoseDeSol"
            },
            "moulures": {
              "type": "object",
              "properties": {
                "frontWall": {
                  "type": "boolean"
                },
                "rearWall": {
                  "type": "boolean"
                },
                "leftWall": {
                  "type": "boolean"
                },
                "rightWall": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "plinthes": {
              "type": "object",
              "properties": {
                "frontWall": {
                  "type": "boolean"
                },
                "rearWall": {
                  "type": "boolean"
                },
                "leftWall": {
                  "type": "boolean"
                },
                "rightWall": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "teintePlinthes": {
              "$ref": "#/definitions/TeintePlinthes"
            },
            "revetements": {
              "type": "object",
              "properties": {
                "frontWall": {
                  "$ref": "#/definitions/RevetementDecor"
                },
                "rearWall": {
                  "$ref": "#/definitions/RevetementDecor"
                },
                "leftWall": {
                  "$ref": "#/definitions/RevetementDecor"
                },
                "rightWall": {
                  "$ref": "#/definitions/RevetementDecor"
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false,
          "description": "Look of the walls, floor and ceiling (HTM Pro, drawing only: materials stay those of room.surfaces). Identifiers from lire_identifiants, partie \"aspect\"."
        },
        "ambiance": {
          "$ref": "#/definitions/AmbianceLumineuse",
          "description": "Room lighting (HTM Pro, drawing only)."
        },
        "technicalRoom": {
          "$ref": "#/definitions/TechnicalRoom",
          "description": "A technical room behind one wall of the room, holding the AV rack (then room.avEquipment.inTechnicalRoom true)."
        },
        "cableRoutes": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "z": {
                  "type": "number"
                }
              },
              "required": [
                "x",
                "y",
                "z"
              ],
              "additionalProperties": false
            }
          }
        },
        "cableRouting": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/CableRouting"
          }
        },
        "seating": {
          "$ref": "#/definitions/Seating",
          "description": "Seat rows and the reference listening position."
        },
        "hvacUnits": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/HvacUnit"
          },
          "description": "Air conditioning and heating units, and other noise sources (fridge, fan). With the data sheet level, HTM estimates their noise at the seats."
        },
        "surfaces": {
          "$ref": "#/definitions/SurfaceMaterials",
          "description": "Material of each wall, floor and ceiling (materialId from lire_identifiants)."
        },
        "acousticUseCase": {
          "$ref": "#/definitions/AcousticUseCase",
          "description": "\"dedicated-cinema\" (default), \"multi-use\" (living room) or \"studio-listening\". It sets the reverberation target."
        },
        "listeningRegime": {
          "$ref": "#/definitions/ListeningRegimePreference",
          "description": "How far the listening position is from the front speakers, which weights first reflections: \"nearfield\" (under about 1.5 m, direct sound dominates), \"midfield\" (about 1.5 to 3 m), \"farfield\" (beyond about 3 m). Default \"auto\": HTM derives it from that distance."
        },
        "suspendedCeiling": {
          "$ref": "#/definitions/SuspendedCeiling",
          "description": "A suspended (dropped) acoustic ceiling, flat, at heightM above the floor: it becomes the acoustic ceiling of the room (its material is surfaces.suspendedCeiling). In an attic, use attic.suspendedCeiling."
        },
        "mlpOverride": {
          "$ref": "#/definitions/ListeningPosition",
          "description": "Leave out (set by the user in HTM)."
        },
        "cotesEpinglees": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CoteEpinglee"
          },
          "description": "Leave out (dimension lines pinned by the user in HTM)."
        },
        "cableOriginObjectId": {
          "type": "string",
          "description": "Id of an item of room.objects that carries the AV equipment (a desk, a cabinet elsewhere): the cables start from it, and no AV cabinet is placed by default."
        },
        "systemeAlternatif": {
          "$ref": "#/definitions/SystemeAlternatifDecrit",
          "description": "HTM Pro: a SECOND speaker system in the room (a stereo pair next to the multichannel system, for instance). The active system is layout; this one is drawn and is an obstacle, never calculated. Without a Pro licence, do not create or change it."
        },
        "projector": {
          "$ref": "#/definitions/ProjecteurDecrit",
          "description": "The video projector, with a projection screen. Its position is that of its LENS."
        },
        "shape": {
          "type": "string",
          "enum": [
            "rectangular",
            "L-shape",
            "attic",
            "fan-shape",
            "irregular"
          ],
          "description": "Room shape. Required without contourEnMurs; with contourEnMurs, HTM sets it."
        },
        "width": {
          "type": "number",
          "description": "Width in metres (left to right). Optional with contourEnMurs."
        },
        "length": {
          "type": "number",
          "description": "Length in metres (screen wall to back wall). Optional with contourEnMurs."
        },
        "contourEnMurs": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/MurDecrit"
          },
          "description": "Room outline wall by wall, starting with the screen wall from its left end, then turning so that the room stays on the right: for each wall its length and the INTERIOR angle of the corner where it starts. Walls are numbered from 1 in this order; doors, windows and posts refer to these numbers."
        },
        "doors": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PorteDecrite"
          },
          "description": "Doors. Place each one by wall number (mur) and distance from the start of that wall (depuisLeDebutM)."
        },
        "windows": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/FenetreDecrite"
          },
          "description": "Windows. Place each one by wall number (mur) and distance from the start of that wall (depuisLeDebutM)."
        },
        "extensions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EspaceOuvertDecrit"
          },
          "description": "Open spaces adjoining the room through a wide opening (kitchen, corridor)."
        },
        "piliers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PoteauDecrit"
          },
          "description": "Posts and columns standing in the room."
        }
      },
      "additionalProperties": false,
      "required": [
        "height"
      ],
      "description": "The room. Coordinates in metres, seen from the seats facing the screen: x to the right from the LEFTMOST wall of the room, z towards the back from the screen wall, y up from the floor. In a rectangular room the origin is the floor corner where the screen wall meets the left wall. In a room described with contourEnMurs, x still starts at its leftmost wall, even when the screen wall starts further right (a cut corner). The screen wall is the front wall (z = 0)."
    },
    "Meters": {
      "type": "number"
    },
    "LShapeFootprint": {
      "type": "object",
      "properties": {
        "corner": {
          "type": "string",
          "enum": [
            "front-left",
            "front-right",
            "back-left",
            "back-right"
          ]
        },
        "cutoutW": {
          "$ref": "#/definitions/Meters"
        },
        "cutoutD": {
          "$ref": "#/definitions/Meters"
        }
      },
      "required": [
        "corner",
        "cutoutW",
        "cutoutD"
      ],
      "additionalProperties": false
    },
    "FanShapeFootprint": {
      "type": "object",
      "properties": {
        "frontWidth": {
          "$ref": "#/definitions/Meters"
        },
        "rearWidth": {
          "$ref": "#/definitions/Meters"
        }
      },
      "required": [
        "frontWidth",
        "rearWidth"
      ],
      "additionalProperties": false
    },
    "AtticCeiling": {
      "type": "object",
      "properties": {
        "peakHeight": {
          "$ref": "#/definitions/Meters",
          "description": "Highest ceiling height in metres (ridge, or the flat top)."
        },
        "sideHeight": {
          "$ref": "#/definitions/Meters",
          "description": "Height in metres where the slope meets the low walls (top of the knee walls)."
        },
        "kneeWallHeight": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the vertical knee walls in metres, usually equal to sideHeight."
        },
        "ridgeAxis": {
          "type": "string",
          "enum": [
            "length",
            "width"
          ],
          "description": "Direction of the ridge: \"width\" = parallel to the screen wall (slopes fall towards the screen wall and the back wall), \"length\" = from the screen wall to the back wall (slopes fall towards the side walls)."
        },
        "sideHeightFront": {
          "$ref": "#/definitions/Meters",
          "description": "Same as sideHeightRear, for the SCREEN wall."
        },
        "sideHeightLeft": {
          "$ref": "#/definitions/Meters",
          "description": "Two-sided attic whose low walls differ: height where the slope meets the LEFT wall (\"length\" ridge). Default sideHeight."
        },
        "sideHeightRight": {
          "$ref": "#/definitions/Meters",
          "description": "Same as sideHeightLeft, for the RIGHT wall."
        },
        "sideHeightRear": {
          "$ref": "#/definitions/Meters",
          "description": "Two-sided attic whose low walls differ: height where the slope meets the BACK wall (\"width\" ridge). Default sideHeight."
        },
        "ridgeOffset": {
          "$ref": "#/definitions/Meters",
          "description": "Offset in metres of the ridge (or the centre of the flat part) from the middle of the room, across the ridge: towards the right for a \"length\" ridge, towards the back for a \"width\" ridge. 0 = centred."
        },
        "flatTopWidth": {
          "$ref": "#/definitions/Meters",
          "description": "Depth in metres of the flat part at peakHeight between the two slopes. 0 = a pointed ridge."
        },
        "flatCeilingLengthM": {
          "$ref": "#/definitions/Meters",
          "description": "\"length\" ridge only: length in metres, from the screen wall, of a part with a flat ceiling at peakHeight over the whole width."
        },
        "suspendedCeiling": {
          "$ref": "#/definitions/SuspendedCeiling",
          "description": "A suspended ceiling panel hung below the peak of the attic, from slope to slope: the parts above it are in the void, the slopes below it stay exposed."
        },
        "monoPitch": {
          "type": "string",
          "enum": [
            "frontHigh",
            "rearHigh",
            "leftHigh",
            "rightHigh"
          ],
          "description": "Single-slope ceiling: the side that is HIGH (\"leftHigh\", \"rightHigh\", \"frontHigh\" = screen wall side, \"rearHigh\"). It reaches peakHeight there and slopes down to sideHeight on the opposite wall. With monoPitch, ridgeAxis, ridgeOffset, flatTopWidth and kneeWallHeight are ignored."
        },
        "monoFlatWidth": {
          "$ref": "#/definitions/Meters",
          "description": "Single-slope ceiling only: width in metres of a flat part at peakHeight along the high wall, before the slope starts. 0 = slope from wall to wall."
        }
      },
      "required": [
        "peakHeight",
        "sideHeight",
        "ridgeAxis"
      ],
      "additionalProperties": false,
      "description": "Sloped (attic) ceiling."
    },
    "SuspendedCeiling": {
      "type": "object",
      "properties": {
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the panel above the floor, in metres. In an attic: above the side walls and at most the peak."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Attic only: width of the panel across the slopes, in metres. Absent or 0: from slope to slope."
        }
      },
      "required": [
        "heightM"
      ],
      "additionalProperties": false,
      "description": "A suspended (dropped) ceiling panel."
    },
    "CeilingSpec": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "flat"
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "attic"
            },
            "attic": {
              "$ref": "#/definitions/AtticCeiling"
            }
          },
          "required": [
            "kind",
            "attic"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "vertices"
            },
            "heights": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Meters"
              }
            }
          },
          "required": [
            "kind",
            "heights"
          ],
          "additionalProperties": false
        }
      ]
    },
    "CeilingSoffit": {
      "type": "object",
      "properties": {
        "x0": {
          "$ref": "#/definitions/Meters",
          "description": "Left edge of the zone, in metres from the left wall (x0 < x1)."
        },
        "x1": {
          "$ref": "#/definitions/Meters",
          "description": "Right edge of the zone, in metres from the left wall."
        },
        "z0": {
          "$ref": "#/definitions/Meters",
          "description": "Front edge of the zone, in metres from the screen wall (z0 < z1)."
        },
        "z1": {
          "$ref": "#/definitions/Meters",
          "description": "Back edge of the zone, in metres from the screen wall."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "ABSOLUTE ceiling height in this zone, in metres (not an offset): above room.height = a raised tray, below = a drop."
        },
        "led": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "ressaut",
                "gorge"
              ]
            },
            "couleur": {
              "type": "string"
            }
          },
          "required": [
            "mode"
          ]
        },
        "niveaux": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CeilingSoffitNiveau"
          },
          "description": "Further nested levels, each a rectangle inside the previous one, at its own absolute height."
        },
        "saisie": {
          "type": "string",
          "const": "peripherique",
          "description": "\"peripherique\": presentation only, the user described a soffit running all around (soffit height = room.height, centre = heightM). No effect on the room."
        },
        "teintes": {
          "type": "object",
          "properties": {
            "pourtour": {
              "type": "string"
            },
            "champ": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "description": "Two-tone ceiling (HTM Pro, drawing only): pourtour = colour outside the zone, champ = colour of the zone."
        }
      },
      "required": [
        "x0",
        "x1",
        "z0",
        "z1",
        "heightM"
      ],
      "additionalProperties": false,
      "description": "A part of the ceiling at another height: the rectangle x0..x1, z0..z1 (metres, from the left wall and from the screen wall) has its ceiling at heightM."
    },
    "CeilingSoffitNiveau": {
      "type": "object",
      "properties": {
        "x0": {
          "$ref": "#/definitions/Meters"
        },
        "x1": {
          "$ref": "#/definitions/Meters"
        },
        "z0": {
          "$ref": "#/definitions/Meters"
        },
        "z1": {
          "$ref": "#/definitions/Meters"
        },
        "heightM": {
          "$ref": "#/definitions/Meters"
        },
        "led": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "ressaut",
                "gorge"
              ]
            },
            "couleur": {
              "type": "string"
            }
          },
          "required": [
            "mode"
          ]
        }
      },
      "required": [
        "x0",
        "x1",
        "z0",
        "z1",
        "heightM"
      ],
      "additionalProperties": false,
      "description": "A nested ceiling level: a rectangle inside the previous level at its own absolute height (heightM)."
    },
    "RoofWindow": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "rampant": {
          "type": "string",
          "enum": [
            "debut",
            "fin"
          ]
        },
        "positionM": {
          "$ref": "#/definitions/Meters"
        },
        "basM": {
          "$ref": "#/definitions/Meters"
        },
        "widthM": {
          "$ref": "#/definitions/Meters"
        },
        "heightM": {
          "$ref": "#/definitions/Meters"
        },
        "materialId": {
          "type": "string"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        },
        "store": {
          "type": "string",
          "const": "baisse"
        }
      },
      "required": [
        "id",
        "rampant",
        "positionM",
        "basM",
        "widthM",
        "heightM"
      ],
      "additionalProperties": false
    },
    "ObjectDesign": {
      "type": "object",
      "properties": {
        "modelId": {
          "type": "string",
          "description": "Model identifier, valid for this place (aspect.mobilier lists the models of each place)."
        },
        "finish": {
          "type": "string",
          "description": "Finish identifier, among the finishes of the model family (aspect.finitionsParFamille)."
        }
      },
      "additionalProperties": false,
      "description": "Look of an object (HTM Pro): model and finish from lire_identifiants, partie \"aspect\"."
    },
    "Beam": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "$ref": "#/definitions/BeamType"
        },
        "label": {
          "type": "string"
        },
        "start": {
          "type": "object",
          "properties": {
            "x": {
              "$ref": "#/definitions/Meters"
            },
            "y": {
              "$ref": "#/definitions/Meters"
            },
            "z": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false,
          "description": "One end of the beam axis (centre of its section): x from the left wall, y above the floor, z from the screen wall, in metres."
        },
        "end": {
          "type": "object",
          "properties": {
            "x": {
              "$ref": "#/definitions/Meters"
            },
            "y": {
              "$ref": "#/definitions/Meters"
            },
            "z": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false,
          "description": "The other end of the beam axis, same frame as start."
        },
        "thicknessM": {
          "$ref": "#/definitions/Meters"
        },
        "largeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the section in metres (default 0.10)."
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the section in metres (default 0.20)."
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        },
        "fermeId": {
          "type": "string"
        },
        "role": {
          "type": "string",
          "enum": [
            "arbaletrier",
            "entrait",
            "poincon",
            "blochet",
            "jambeDeForce",
            "contrefiche"
          ]
        }
      },
      "required": [
        "id",
        "type",
        "start",
        "end"
      ],
      "additionalProperties": false,
      "description": "A beam under the ceiling, by the two ends of its axis (drawing and speaker mounting support, no acoustic effect)."
    },
    "BeamType": {
      "type": "string",
      "enum": [
        "wall-plate",
        "ridge-purlin",
        "mid-purlin",
        "tie-beam",
        "rafter",
        "custom"
      ]
    },
    "Tremie": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "niveau": {
          "type": "string",
          "enum": [
            "sol",
            "plafond"
          ]
        },
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "z": {
          "$ref": "#/definitions/Meters"
        },
        "largeurM": {
          "$ref": "#/definitions/Meters"
        },
        "longueurM": {
          "$ref": "#/definitions/Meters"
        },
        "rotationDeg": {
          "type": "number"
        },
        "gardeCorps": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "niveau",
        "x",
        "z",
        "largeurM",
        "longueurM"
      ],
      "additionalProperties": false
    },
    "CadreMural": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ],
          "description": "frontWall (screen wall), rearWall, leftWall or rightWall."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Centre along the wall in metres: x from the left wall on the screen and back walls, z from the screen wall on the side walls."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width in metres."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height in metres."
        },
        "basM": {
          "$ref": "#/definitions/Meters",
          "description": "Bottom of the frame above the floor, in metres."
        },
        "sousVerre": {
          "type": "boolean",
          "description": "false for a canvas or paper without glass (then a drawing only)."
        },
        "label": {
          "type": "string"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "widthM",
        "heightM",
        "basM"
      ],
      "additionalProperties": false,
      "description": "A frame or poster on a wall. Glazed by default: its glass counts in the reverberation time."
    },
    "PassageDeCables": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "pose": {
          "type": "string",
          "enum": [
            "sol",
            "mur"
          ]
        },
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "z": {
          "$ref": "#/definitions/Meters"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ]
        },
        "position": {
          "$ref": "#/definitions/Meters"
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters"
        },
        "largeurM": {
          "$ref": "#/definitions/Meters"
        },
        "profondeurM": {
          "$ref": "#/definitions/Meters"
        },
        "contenu": {
          "type": "object",
          "properties": {
            "secteur": {
              "type": "boolean"
            },
            "hdmi": {
              "type": "boolean"
            },
            "hp": {
              "type": "boolean"
            },
            "reseau": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "finition": {
          "type": "string",
          "enum": [
            "inox",
            "laiton",
            "noir",
            "moquette"
          ]
        },
        "sousEstradeAvecTrappe": {
          "type": "boolean"
        },
        "voies": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "label": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "pose"
      ],
      "additionalProperties": false
    },
    "Ferme": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "modele": {
          "$ref": "#/definitions/ModeleFerme",
          "description": "Truss type: \"entrait-retrousse\" (raised collar tie) or \"latine\"."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Position along the ridge in metres: z (from the screen wall) when the ridge runs along the length, x (from the left wall) when it runs along the width."
        },
        "hauteurEntraitM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the collar tie above the floor, in metres. Default: 60 % of the way from the eaves to the ridge."
        },
        "largeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the timber section, in metres (default 0.08)."
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters",
          "description": "Depth of the timber section, in metres (default 0.20)."
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look of all its timbers (HTM Pro, drawing only)."
        },
        "label": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "modele",
        "position"
      ],
      "additionalProperties": false,
      "description": "A roof truss under an attic ceiling, across the ridge."
    },
    "ModeleFerme": {
      "type": "string",
      "enum": [
        "entrait-retrousse",
        "latine"
      ]
    },
    "LamesSuspendues": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "zDebut": {
          "$ref": "#/definitions/Meters"
        },
        "zFin": {
          "$ref": "#/definitions/Meters"
        },
        "nombre": {
          "type": "number"
        },
        "longueurDebutM": {
          "$ref": "#/definitions/Meters"
        },
        "longueurFinM": {
          "$ref": "#/definitions/Meters"
        },
        "retombeeM": {
          "$ref": "#/definitions/Meters"
        },
        "couleur": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "x",
        "zDebut",
        "zFin",
        "nombre",
        "longueurDebutM",
        "longueurFinM",
        "retombeeM"
      ],
      "additionalProperties": false
    },
    "AnneauTruss": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the left wall."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the screen wall."
        },
        "rayonM": {
          "$ref": "#/definitions/Meters",
          "description": "Circle: radius of the beam axis, in metres (0.5 to 8)."
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the beam axis above the floor, in metres."
        },
        "sectionM": {
          "$ref": "#/definitions/Meters",
          "description": "Beam size in metres: 0.2 to 0.5 for a truss beam, 0.02 to 0.15 for a grid profile."
        },
        "rayons": {
          "type": "number",
          "description": "Spokes to a central hub: 0 (ring only), 2, 3 or 4."
        },
        "finition": {
          "type": "string",
          "enum": [
            "alu",
            "noir"
          ],
          "description": "\"alu\" (default) or \"noir\"."
        },
        "forme": {
          "type": "string",
          "enum": [
            "cercle",
            "rectangle",
            "carre",
            "ovale",
            "tour"
          ],
          "description": "\"cercle\" (default), \"rectangle\", \"carre\" or \"ovale\"."
        },
        "profil": {
          "type": "string",
          "enum": [
            "triangulee",
            "echelle",
            "grille"
          ],
          "description": "\"triangulee\" (default), \"echelle\" (ladder beam) or \"grille\" (a flat grid of thin profiles every pasM, both ways, like the technical grid of a studio ceiling)."
        },
        "pasM": {
          "$ref": "#/definitions/Meters",
          "description": "Profile \"grille\": spacing of the profiles, in metres (0.2 to 2, default 0.6)."
        },
        "largeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Other shapes: size along x, in metres."
        },
        "profondeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Rectangle and oval: size along z, in metres."
        },
        "traverses": {
          "type": "string",
          "enum": [
            "aucune",
            "une",
            "deux",
            "croix"
          ]
        },
        "label": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "x",
        "z",
        "hauteurM"
      ],
      "additionalProperties": false,
      "description": "HTM Pro: a truss ring, frame or grid hung under the ceiling. Drawing only: HTM hangs no speaker on it."
    },
    "Riser": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the left wall."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the screen wall."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width in metres, along x."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Depth in metres, along z."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of its top above the floor, in metres."
        },
        "led": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "pourtour",
                "avant"
              ]
            },
            "couleur": {
              "type": "string"
            }
          }
        },
        "frontArcM": {
          "$ref": "#/definitions/Meters"
        },
        "nezLed": {
          "$ref": "#/definitions/LedChoix"
        },
        "nezSpots": {
          "$ref": "#/definitions/SpotsDuNez"
        },
        "nezBalisage": {
          "type": "boolean"
        },
        "habillage": {
          "$ref": "#/definitions/HabillageEstrade"
        },
        "profil": {
          "$ref": "#/definitions/ProfilDEstrade"
        }
      },
      "required": [
        "id",
        "x",
        "z",
        "widthM",
        "depthM",
        "heightM"
      ],
      "additionalProperties": false,
      "description": "A free riser (stage, platform), by its centre on the floor."
    },
    "LedChoix": {
      "type": "object",
      "properties": {
        "couleur": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "description": "An LED: {} follows the room tone (ambiance.ton), or { couleur: \"#rrggbb\" } for its own colour."
    },
    "SpotsDuNez": {
      "type": "object",
      "properties": {
        "pasM": {
          "$ref": "#/definitions/Meters"
        },
        "finition": {
          "type": "string",
          "enum": [
            "blanc",
            "noir",
            "laiton"
          ]
        },
        "couleur": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "HabillageEstrade": {
      "type": "object",
      "properties": {
        "plateau": {
          "type": "string"
        },
        "contremarche": {
          "type": "string"
        },
        "teintePlateau": {
          "type": "string"
        },
        "teinteFacade": {
          "type": "string"
        },
        "nezDeMarche": {
          "type": "string",
          "enum": [
            "alu",
            "laiton",
            "noir",
            "aucun"
          ]
        },
        "pose": {
          "$ref": "#/definitions/PoseDeSol"
        }
      },
      "additionalProperties": false
    },
    "PoseDeSol": {
      "type": "string",
      "enum": [
        "le",
        "dalles",
        "chinee",
        "lames",
        "batons-rompus",
        "point-de-hongrie",
        "petit",
        "grand",
        "uni",
        "rase",
        "velours",
        "motif",
        "chinee-clair",
        "chinee-noir",
        "vinyle-lames",
        "beton-cire",
        "marbre",
        "pierre",
        "poils-longs"
      ]
    },
    "ProfilDEstrade": {
      "type": "object",
      "properties": {
        "nez": {
          "$ref": "#/definitions/FormeDuNez"
        },
        "panGaucheM": {
          "type": "number"
        },
        "panDroitM": {
          "type": "number"
        },
        "retourM": {
          "type": "number"
        },
        "rayonNezM": {
          "type": "number"
        },
        "arriere": {
          "$ref": "#/definitions/FormeDesCoinsArriere"
        },
        "tailleArriereM": {
          "type": "number"
        },
        "gradins": {
          "type": "number"
        },
        "retraitGradinM": {
          "type": "number"
        },
        "nezVers": {
          "type": "string",
          "enum": [
            "ecran",
            "salle"
          ]
        }
      },
      "additionalProperties": false
    },
    "FormeDuNez": {
      "type": "string",
      "enum": [
        "droit",
        "biseau",
        "arrondi"
      ]
    },
    "FormeDesCoinsArriere": {
      "type": "string",
      "enum": [
        "droit",
        "biseau",
        "arrondi"
      ]
    },
    "RoomObject": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "$ref": "#/definitions/RoomObjectKind",
          "description": "Furniture type, for example \"sofa\", \"armchair\", \"desk\", \"bookshelf\", \"plant\". The cabinet that carries the AV electronics (TV cabinet, shelf under the screen, rack) is room.avEquipment, not an object: use \"tv-cabinet\" or \"equipment-rack\" only for a second cabinet elsewhere in the room."
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the left wall."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the screen wall."
        },
        "rotationDeg": {
          "type": "number",
          "description": "The direction its front faces, in degrees around the vertical axis: 0 faces the screen, 90 faces the left wall, 180 the back of the room, 270 the right wall. Acoustic panels use the other convention: their rotationDeg names the wall they hang on."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width in metres (default: the usual size of this type)."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Depth in metres (default: the usual size of this type)."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height in metres (default: the usual size of this type)."
        },
        "originX": {
          "$ref": "#/definitions/Meters",
          "description": "Written by HTM (reset button of the furniture): do not write it."
        },
        "originZ": {
          "$ref": "#/definitions/Meters",
          "description": "Written by HTM (reset button of the furniture): do not write it."
        },
        "screenCount": {
          "type": "number",
          "description": "Desk or TV cabinet only: number of computer or TV screens standing on it, drawn centred on top and moving with it. Ignored for other furniture."
        },
        "absorptionEquivalenteM2": {
          "type": "number",
          "description": "Active bass absorber only: equivalent absorption announced by its maker in its working band, in square metres (Sabine). Absent: a cautious default."
        },
        "frequenceHauteHz": {
          "type": "number",
          "description": "Active bass absorber only: upper frequency of its working band, in Hz. It absorbs nothing above it."
        },
        "chaisesRembourrees": {
          "type": "boolean",
          "description": "Dining table set only: true for upholstered chairs, which absorb more (the calculation counts it). Absent: wooden chairs."
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look (HTM Pro): { modelId, finish } from aspect.mobilier for its kind. The model does not change widthM, depthM, heightM: give them too."
        },
        "designEcran": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look (HTM Pro, drawing only) of the screens standing on this furniture (screenCount)."
        },
        "encastre": {
          "type": "boolean",
          "description": "True for furniture built into the wall it backs onto: its front is flush with the wall, its body is inside or behind it. Only kinds that can be built in honour it, and only against a wall."
        },
        "ouvertDessous": {
          "type": "boolean",
          "description": "True for a desk or table open underneath (a top on two sides, no back, no shelf): a subwoofer or a device that fits under it is housed there and no longer collides with it. Absent: solid furniture."
        },
        "encastreBasM": {
          "type": "number",
          "description": "Built-in furniture only: height of its bottom above the floor, in metres (a control desk at seated working height). Absent: on the floor."
        }
      },
      "required": [
        "id",
        "kind",
        "x",
        "z"
      ],
      "additionalProperties": false,
      "description": "A piece of furniture, by its centre on the floor."
    },
    "RoomObjectKind": {
      "type": "string",
      "enum": [
        "sofa",
        "armchair",
        "equipment-rack",
        "tv-cabinet",
        "bookshelf",
        "coffee-table",
        "bed-double",
        "bed-single",
        "commode",
        "desk",
        "pc-screen",
        "active-bass-absorber",
        "corner-sofa",
        "dining-set",
        "tall-cabinet",
        "display-cabinet",
        "collection-wall",
        "upright-piano",
        "control-chair",
        "plant",
        "floor-lamp",
        "decor-floor",
        "decor-on-surface",
        "kitchen-run",
        "kitchen-island",
        "kitchen-tall"
      ]
    },
    "AcousticPanel": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "type": "number",
          "description": "Centre, in metres from the left wall. A wall panel has its centre half its thickness from the wall."
        },
        "z": {
          "type": "number",
          "description": "Centre, in metres from the screen wall."
        },
        "rotationDeg": {
          "type": "number",
          "description": "For a wall panel, the wall it hangs on: 0 screen wall, 90 left wall, 180 back wall, 270 right wall (objects use the other convention: the direction they face)."
        },
        "widthM": {
          "type": "number",
          "description": "Width in metres."
        },
        "heightM": {
          "type": "number",
          "description": "Height in metres (length for a rug)."
        },
        "elevationM": {
          "type": "number",
          "description": "Wall and standing panels: height of the bottom of the panel above the floor, in metres. Ignored for \"ceiling\" and \"floor\" panels (put 0): a cloud takes its height from nuageHauteurM."
        },
        "layers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AbsorberLayer"
          },
          "description": "Composition, face first, for example [{ \"kind\": \"porous\", \"thicknessM\": 0.1, \"flowResistivity\": 20000 }]. Empty for a diffuser."
        },
        "diffuser": {
          "$ref": "#/definitions/DiffuserSpec",
          "description": "Present: the panel is a diffuser (it scatters instead of absorbing)."
        },
        "mounting": {
          "type": "string",
          "enum": [
            "wall",
            "free",
            "ceiling",
            "floor"
          ],
          "description": "\"wall\" (against a wall), \"free\" (standing, both faces exposed), \"ceiling\" or \"floor\" (a rug lying on the floor, with a rug model). A \"ceiling\" panel without nuageHauteurM is fixed flat against the ceiling, following the slope above its centre: under a sloping roof, keep it within one slope, or make it a cloud. Larger than its slope, HTM narrows it to fit and says so."
        },
        "nuageHauteurM": {
          "type": "number",
          "description": "Suspended cloud (\"ceiling\" panels only): height of the UNDERSIDE of the panel above the floor, in metres, not a hanging length. The panel is then horizontal at that height, and the air gap above it counts in the absorption. HTM lowers it if a corner would go through the ceiling. Absent: fixed against the ceiling."
        },
        "paroi": {
          "type": "number"
        },
        "label": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean",
          "description": "false keeps it in the file but ignores it in the calculation."
        },
        "design": {
          "$ref": "#/definitions/TreatmentDesign",
          "description": "Look (HTM Pro): model and colour from lire_identifiants famille \"traitements\" (famille \"tapis\" for a rug). A model marked decor is a drawing only: the panel absorbs as its layers, nothing more."
        },
        "colonne": {
          "type": "object",
          "properties": {
            "saillieM": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        "led": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mode": {
              "$ref": "#/definitions/ModeLedPanneau"
            },
            "couleur": {
              "type": "string"
            }
          },
          "required": [
            "mode"
          ]
        },
        "recoId": {
          "type": "string"
        },
        "voulu": {
          "$ref": "#/definitions/ValeursVoulues",
          "description": "Written by HTM (values it had to reduce to fit the room). Do not write it."
        }
      },
      "required": [
        "id",
        "x",
        "z",
        "rotationDeg",
        "widthM",
        "heightM",
        "elevationM",
        "layers",
        "mounting"
      ],
      "additionalProperties": false,
      "description": "An acoustic panel, diffuser, cloud or rug, by its centre. Drawn and computed in HTM Pro."
    },
    "AbsorberLayer": {
      "anyOf": [
        {
          "$ref": "#/definitions/PorousLayer"
        },
        {
          "$ref": "#/definitions/AirLayer"
        },
        {
          "$ref": "#/definitions/MembraneFacing"
        },
        {
          "$ref": "#/definitions/PerforatedFacing"
        }
      ]
    },
    "PorousLayer": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "porous"
        },
        "thicknessM": {
          "type": "number"
        },
        "flowResistivity": {
          "type": "number"
        }
      },
      "required": [
        "kind",
        "thicknessM",
        "flowResistivity"
      ],
      "additionalProperties": false
    },
    "AirLayer": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "air"
        },
        "thicknessM": {
          "type": "number"
        }
      },
      "required": [
        "kind",
        "thicknessM"
      ],
      "additionalProperties": false
    },
    "MembraneFacing": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "membrane"
        },
        "surfaceDensityKgM2": {
          "type": "number"
        }
      },
      "required": [
        "kind",
        "surfaceDensityKgM2"
      ],
      "additionalProperties": false
    },
    "PerforatedFacing": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "perforated"
        },
        "thicknessM": {
          "type": "number"
        },
        "holeDiameterM": {
          "type": "number"
        },
        "openAreaRatio": {
          "type": "number"
        }
      },
      "required": [
        "kind",
        "thicknessM",
        "holeDiameterM",
        "openAreaRatio"
      ],
      "additionalProperties": false
    },
    "DiffuserSpec": {
      "type": "object",
      "properties": {
        "maxWellDepthM": {
          "type": "number"
        },
        "wellWidthM": {
          "type": "number"
        },
        "wellCount": {
          "type": "number"
        },
        "kind": {
          "$ref": "#/definitions/DiffuserGeometryKind"
        }
      },
      "required": [
        "maxWellDepthM",
        "wellWidthM"
      ],
      "additionalProperties": false
    },
    "DiffuserGeometryKind": {
      "type": "string",
      "enum": [
        "qrd1d",
        "qrd2d",
        "prd",
        "polycyl"
      ]
    },
    "TreatmentDesign": {
      "type": "object",
      "properties": {
        "modelId": {
          "type": "string"
        },
        "finish": {
          "type": "string"
        },
        "accent": {
          "type": "string"
        },
        "base": {
          "type": "boolean"
        },
        "sens": {
          "type": "string"
        },
        "continu": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "ModeLedPanneau": {
      "type": "string",
      "enum": [
        "lisere",
        "lisereArriere",
        "retro"
      ]
    },
    "ValeursVoulues": {
      "type": "object",
      "properties": {
        "widthM": {
          "type": "number"
        },
        "heightM": {
          "type": "number"
        },
        "elevationM": {
          "type": "number"
        },
        "nuageHauteurM": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "AcousticFacade": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "false keeps it in the file but ignores it."
        },
        "thicknessM": {
          "type": "number",
          "description": "Thickness in metres, typically 0.20 to 0.40. It reduces the usable depth of the room."
        },
        "layers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AbsorberLayer"
          },
          "description": "Absorbing layers filling the cavity, from the face to the wall. Absent: only the geometry counts."
        },
        "openingsFraction": {
          "type": "number",
          "description": "Share of the front wall left untreated (speaker openings, a screen that is not acoustically transparent), 0 to 0.9. Default 0.15."
        },
        "face": {
          "$ref": "#/definitions/FaceDeFacade",
          "description": "The face of the wall. Default: acoustically transparent fabric."
        },
        "autoThickness": {
          "type": "boolean",
          "description": "true: the thickness follows the deepest cabinet it houses."
        },
        "design": {
          "$ref": "#/definitions/TreatmentDesign",
          "description": "Look of the wall (HTM Pro, drawing only)."
        },
        "led": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "hauteurM": {
              "type": "number"
            },
            "couleur": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "thicknessM"
      ],
      "additionalProperties": false,
      "description": "A baffle wall: a false wall in front of the screen wall, housing the front speakers."
    },
    "FaceDeFacade": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "toile"
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "rigide"
            },
            "materiau": {
              "$ref": "#/definitions/MateriauDeFaceRigide"
            },
            "epaisseurMm": {
              "type": "number"
            }
          },
          "required": [
            "kind",
            "materiau",
            "epaisseurMm"
          ],
          "additionalProperties": false
        }
      ]
    },
    "MateriauDeFaceRigide": {
      "type": "string",
      "enum": [
        "mdf",
        "contreplaque",
        "agglomere",
        "osb",
        "plaque-de-platre"
      ]
    },
    "Screen": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/definitions/ScreenType",
          "description": "\"projection\" (screen with a projector) or \"tv\"."
        },
        "aspectRatio": {
          "$ref": "#/definitions/AspectRatio",
          "description": "Image format, for example \"16:9\" or \"2.40:1\"."
        },
        "customAspectRatio": {
          "type": "number",
          "description": "Free width to height ratio of the image, when aspectRatio matches no standard."
        },
        "baseWidthMeters": {
          "$ref": "#/definitions/Meters",
          "description": "Image width in metres."
        },
        "centerHeightMeters": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the image centre above the floor, in metres."
        },
        "centerOffsetM": {
          "$ref": "#/definitions/Meters",
          "description": "Sideways offset of the image centre from the middle of the screen wall, in metres (positive = to the right)."
        },
        "followSeatHeight": {
          "type": "boolean",
          "description": "true: HTM sets the image centre height from the ear height of the listening position, as it shows it: centerHeightMeters is then recomputed, and the report gives the value."
        },
        "frontWallOffset": {
          "$ref": "#/definitions/Meters",
          "description": "Distance in metres from the screen wall to the screen surface. Seat row distances are NOT measured from the screen but from the wall."
        },
        "frameWidthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the frame around the image, on each side, in metres (default 0.06). It counts in the screen width along which the front speakers stand, and in the height of the top of the screen."
        },
        "acousticallyTransparent": {
          "type": "boolean",
          "description": "Acoustically transparent screen: the front speakers can stand behind it."
        },
        "transparencyType": {
          "$ref": "#/definitions/AcousticTransparency"
        },
        "hfAttenuationDb": {
          "type": "number"
        },
        "resolution": {
          "$ref": "#/definitions/ScreenResolution"
        },
        "bevelledTopCorners": {
          "type": "boolean"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        },
        "halo": {
          "$ref": "#/definitions/LedChoix"
        },
        "cacheBas": {
          "type": "boolean"
        },
        "imageToile": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "aspectRatio",
        "baseWidthMeters",
        "centerHeightMeters",
        "acousticallyTransparent"
      ],
      "additionalProperties": false,
      "description": "The screen."
    },
    "ScreenType": {
      "type": "string",
      "enum": [
        "projection",
        "tv"
      ]
    },
    "AspectRatio": {
      "type": "string",
      "enum": [
        "16:9",
        "2.35:1",
        "2.39:1",
        "2.40:1",
        "21:9",
        "4:3"
      ]
    },
    "AcousticTransparency": {
      "type": "string",
      "enum": [
        "opaque",
        "microperforated",
        "woven",
        "stretched-fabric",
        "unknown"
      ]
    },
    "ScreenResolution": {
      "type": "string",
      "enum": [
        "hd",
        "uhd-4k",
        "uhd-8k"
      ]
    },
    "AvEquipment": {
      "type": "object",
      "properties": {
        "form": {
          "$ref": "#/definitions/AvEquipmentForm",
          "description": "\"console\" (low, horizontal, under a TV) or \"rack\" (vertical, 19-inch)."
        },
        "screenCount": {
          "type": "number",
          "description": "Number of screens standing on the cabinet, 0 to 2 (drawing only)."
        },
        "designEcran": {
          "$ref": "#/definitions/ObjectDesign"
        },
        "position": {
          "type": "object",
          "properties": {
            "x": {
              "$ref": "#/definitions/Meters"
            },
            "y": {
              "$ref": "#/definitions/Meters"
            },
            "z": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false,
          "description": "Centre of its footprint on the floor: x from the left wall, z from the screen wall; y = height of its base (0 on the floor)."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width in metres (default from form)."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height in metres (default from form)."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Depth in metres (default from form)."
        },
        "inTechnicalRoom": {
          "type": "boolean",
          "description": "true: the cabinet stands in the technical room (room.technicalRoom)."
        },
        "routing": {
          "$ref": "#/definitions/CableRouting"
        },
        "slackFraction": {
          "type": "number"
        },
        "facing": {
          "type": "string",
          "enum": [
            "auto",
            "front",
            "rear",
            "left",
            "right"
          ],
          "description": "Where its front faces: \"auto\" (towards the listening position, default), \"front\" (towards the screen wall), \"rear\", \"left\" or \"right\"."
        },
        "facadeYawRad": {
          "type": "number"
        },
        "cableDrop": {
          "$ref": "#/definitions/CableDropPoint"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look (HTM Pro): { modelId, finish } from aspect.mobilier (console or rack)."
        },
        "centerMount": {
          "type": "string",
          "enum": [
            "above",
            "integrated"
          ],
          "description": "TV on a console: \"above\" (default, the centre speaker stands on the cabinet and HTM raises the TV to make room for it) or \"integrated\" (the centre is housed inside the cabinet, the TV keeps its measured height)."
        },
        "label": {
          "type": "string"
        },
        "ventilationDbA": {
          "type": "number"
        },
        "encastre": {
          "type": "boolean",
          "description": "true: built into the wall it backs onto."
        },
        "encastreBasM": {
          "type": "number",
          "description": "Built-in cabinet: height of its bottom above the floor, in metres (default on the floor)."
        }
      },
      "required": [
        "form",
        "position",
        "widthM",
        "heightM",
        "depthM"
      ],
      "additionalProperties": false,
      "description": "The AV cabinet holding the electronics: a low console or a vertical rack. Its centre is the start of the predicted cable runs."
    },
    "AvEquipmentForm": {
      "type": "string",
      "enum": [
        "console",
        "rack"
      ]
    },
    "CableRouting": {
      "type": "string",
      "enum": [
        "floor",
        "baseboard",
        "wall-ceiling"
      ]
    },
    "CableDropPoint": {
      "type": "string",
      "enum": [
        "floor",
        "middle",
        "top"
      ]
    },
    "TeintePlinthes": {
      "type": "string",
      "enum": [
        "chene",
        "cheneClair",
        "noyer",
        "blanc",
        "noir"
      ]
    },
    "RevetementDecor": {
      "type": "string",
      "enum": [
        "pierre-fendue",
        "ardoise",
        "enduit-beton",
        "stuc",
        "chevrons-bois",
        "bois-ondule",
        "brique",
        "panneaux-bois",
        "pierre-grise"
      ]
    },
    "AmbianceLumineuse": {
      "type": "object",
      "properties": {
        "lignesPlafond": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/LignePlafond"
          },
          "description": "LED lines on the ceiling, from one side wall to the other."
        },
        "ton": {
          "type": "string",
          "description": "LED tone of the room: \"#rrggbb\", or \"rgb\" for a colour gradient."
        },
        "temperatureK": {
          "type": "number",
          "description": "Colour temperature of the white lights, 2700 (warm) to 6500 (cold)."
        },
        "intensite": {
          "type": "number",
          "description": "Common intensity, 0 to 1."
        },
        "preset": {
          "type": "string",
          "enum": [
            "seance",
            "entracte",
            "menage"
          ],
          "description": "\"seance\" (dim, film), \"entracte\" (half light) or \"menage\" (full light)."
        },
        "eteinte": {
          "type": "boolean"
        },
        "ledsEteintes": {
          "type": "boolean"
        },
        "luminairesEteints": {
          "type": "boolean"
        },
        "faisceauxVisibles": {
          "type": "boolean"
        },
        "gorge": {
          "$ref": "#/definitions/LedChoix",
          "description": "Cove light around the ceiling: {} (room tone) or { couleur }."
        },
        "plinthes": {
          "$ref": "#/definitions/LedChoix",
          "description": "LED skirting at the foot of the side walls and the back wall: {} or { couleur }."
        },
        "cielEtoile": {
          "type": "boolean",
          "description": "Star ceiling."
        },
        "montants": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "parMur": {
              "type": "number"
            },
            "murs": {
              "type": "string",
              "enum": [
                "lateraux",
                "tous"
              ]
            },
            "couleur": {
              "type": "string"
            }
          },
          "required": [
            "parMur"
          ],
          "description": "Vertical LED strips evenly spaced on the walls: { parMur (number per wall), murs (\"lateraux\" side walls, or \"tous\") }."
        },
        "spots": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/SpotLumineux"
          },
          "description": "Ceiling spotlights, by their position on the floor plan."
        },
        "appliques": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AppliqueMurale"
          },
          "description": "Wall lights."
        },
        "contour": {
          "$ref": "#/definitions/ContourLumineux"
        },
        "rubans": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RubanLed"
          },
          "description": "LED strips laid freely on the walls (vertical or slanted)."
        },
        "panneauxLumineux": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PanneauLumineux"
          },
          "description": "Light panels on the walls, crossed by LED lines (zigzag, chevrons…) or lit as a whole."
        }
      },
      "additionalProperties": false,
      "description": "Room lighting (HTM Pro, drawing only: no calculation reads it)."
    },
    "LignePlafond": {
      "type": "object",
      "properties": {
        "couleur": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "distanceM": {
          "$ref": "#/definitions/Meters",
          "description": "Distance in metres from the screen wall (or from the left wall with sens \"longitudinal\")."
        },
        "retraitM": {
          "$ref": "#/definitions/Meters",
          "description": "How far below the ceiling the line runs, in metres (0 or absent: flush)."
        },
        "sens": {
          "type": "string",
          "const": "longitudinal",
          "description": "\"longitudinal\": the line runs from the screen to the back. Absent: from one side wall to the other."
        }
      },
      "required": [
        "id",
        "distanceM"
      ],
      "additionalProperties": false
    },
    "SpotLumineux": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Position, in metres from the left wall."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Position, in metres from the screen wall."
        },
        "look": {
          "type": "string",
          "enum": [
            "encastreRond",
            "encastreCarre",
            "orientable",
            "saillie",
            "arche",
            "rail",
            "sol",
            "solOrientable",
            "suspension",
            "volets",
            "anneauLed",
            "par",
            "barre4",
            "ventilateur",
            "suspensionConique",
            "ampouleSuspendue"
          ]
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters",
          "description": "Looks \"suspensionConique\" (metal cone pendant) and \"ampouleSuspendue\" (bare bulb on a rod): height of the bulb above the floor, in metres. Absent: 0.6 m and 0.9 m below the ceiling."
        },
        "cible": {
          "type": "object",
          "properties": {
            "x": {
              "$ref": "#/definitions/Meters",
              "description": "Position, in metres from the left wall."
            },
            "y": {
              "$ref": "#/definitions/Meters"
            },
            "z": {
              "$ref": "#/definitions/Meters",
              "description": "Position, in metres from the screen wall."
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false
        },
        "ouvertureDeg": {
          "type": "number"
        },
        "finition": {
          "type": "string",
          "enum": [
            "blanc",
            "noir",
            "laiton"
          ]
        },
        "couleur": {
          "type": "string"
        },
        "temperatureK": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "x",
        "z"
      ],
      "additionalProperties": false
    },
    "AppliqueMurale": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ],
          "description": "frontWall (screen wall), rearWall, leftWall or rightWall."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Centre along the wall in metres: x from the left wall on the screen and back walls, z from the screen wall on the side walls."
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the light above the floor, in metres."
        },
        "look": {
          "type": "string",
          "enum": [
            "haut",
            "bas",
            "hautBas",
            "eventail"
          ]
        },
        "forme": {
          "type": "string",
          "enum": [
            "boitier",
            "demiLune",
            "coupe",
            "cylindre",
            "cone",
            "flambeau",
            "reglette",
            "disque",
            "lame"
          ]
        },
        "plaque": {
          "$ref": "#/definitions/LedChoix"
        },
        "finition": {
          "type": "string",
          "enum": [
            "blanc",
            "noir",
            "laiton",
            "bronze",
            "chrome"
          ]
        },
        "couleur": {
          "type": "string"
        },
        "temperatureK": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "hauteurM"
      ],
      "additionalProperties": false
    },
    "ContourLumineux": {
      "type": "object",
      "properties": {
        "couleur": {
          "type": "string"
        },
        "aretes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AreteContour"
          }
        }
      },
      "additionalProperties": false
    },
    "AreteContour": {
      "type": "string",
      "enum": [
        "murPlafond",
        "pliures",
        "coins",
        "sol"
      ]
    },
    "RubanLed": {
      "type": "object",
      "properties": {
        "couleur": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ],
          "description": "frontWall (screen wall), rearWall, leftWall or rightWall."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Foot of the strip along the wall in metres: x from the left wall on the screen and back walls, z from the screen wall on the side walls."
        },
        "basM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the foot above the floor, in metres (default 0)."
        },
        "angleDeg": {
          "type": "number",
          "description": "Slant in degrees: 0 = vertical, positive = leaning towards the end of the wall (growing position)."
        },
        "longueurM": {
          "$ref": "#/definitions/Meters",
          "description": "Length in metres. The strip stops under the ceiling and inside the wall."
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "longueurM"
      ],
      "additionalProperties": false,
      "description": "A free LED strip on a wall (HTM Pro, drawing only): from its foot, vertical or slanted."
    },
    "PanneauLumineux": {
      "type": "object",
      "properties": {
        "couleur": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ],
          "description": "frontWall (screen wall), rearWall, leftWall or rightWall."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Middle of the panel along the wall in metres: x from the left wall on the screen and back walls, z from the screen wall on the side walls."
        },
        "largeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Panel width in metres."
        },
        "basM": {
          "$ref": "#/definitions/Meters"
        },
        "hauteurM": {
          "$ref": "#/definitions/Meters"
        },
        "motif": {
          "$ref": "#/definitions/MotifPanneauLumineux",
          "description": "LED pattern: \"zigzag\", \"chevrons\", \"obliques\", \"vagues\", \"losanges\", \"grille\", \"mikado\", \"rayons\", \"cascade\", \"ondulations\", or \"uni\" (lit as a whole)."
        },
        "fond": {
          "type": "string"
        },
        "graine": {
          "type": "number"
        },
        "densite": {
          "type": "number"
        },
        "lignes": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "largeurM"
      ],
      "additionalProperties": false
    },
    "MotifPanneauLumineux": {
      "type": "string",
      "enum": [
        "mikado",
        "obliques",
        "chevrons",
        "grille",
        "losanges",
        "zigzag",
        "rayons",
        "cascade",
        "vagues",
        "ondulations",
        "uni"
      ]
    },
    "TechnicalRoom": {
      "type": "object",
      "properties": {
        "wall": {
          "$ref": "#/definitions/WallId",
          "description": "The wall it is behind: frontWall, rearWall (most often), leftWall or rightWall."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Size along that wall, in metres."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Size away from the room, in metres."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Height, in metres."
        },
        "lateralOffsetM": {
          "$ref": "#/definitions/Meters",
          "description": "Offset along the wall from its centre, in metres: towards +x on the screen and back walls, towards +z on the side walls. 0 = centred."
        },
        "cablePassAlongWallM": {
          "$ref": "#/definitions/Meters",
          "description": "Centre of the cable pass-through in the shared wall, along the wall, in metres."
        },
        "cablePassWidthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the cable pass-through along the wall, in metres (0: a single point)."
        },
        "door": {
          "$ref": "#/definitions/TechnicalRoomDoor",
          "description": "Access door of the technical room, separate from the cable pass-through."
        },
        "label": {
          "type": "string",
          "description": "Name shown for the technical room (free text)."
        }
      },
      "required": [
        "wall",
        "widthM",
        "depthM",
        "heightM"
      ],
      "additionalProperties": false,
      "description": "A technical room behind one wall of the room. Positions inside it are given in room coordinates, beyond that wall."
    },
    "WallId": {
      "type": "string",
      "enum": [
        "frontWall",
        "rearWall",
        "leftWall",
        "rightWall"
      ]
    },
    "TechnicalRoomDoor": {
      "type": "object",
      "properties": {
        "side": {
          "type": "string",
          "enum": [
            "shared",
            "far",
            "left",
            "right"
          ],
          "description": "Wall of the technical room that carries the door, named from the room: \"shared\" (the wall shared with the room), \"far\" (the opposite wall), \"left\" or \"right\"."
        },
        "position": {
          "$ref": "#/definitions/Meters",
          "description": "Centre of the door as a ROOM coordinate along that wall, in metres: x (from the left wall, facing the screen) on a wall running across the room, z (from the screen wall) on a wall running along it. Kept within that wall of the technical room. Default: centred."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Door width, in metres."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Door height, in metres."
        },
        "swing": {
          "type": "string",
          "enum": [
            "inward",
            "outward",
            "sliding"
          ],
          "description": "\"inward\" (into the technical room, default), \"outward\" or \"sliding\"."
        },
        "slideTo": {
          "type": "string",
          "enum": [
            "left",
            "right"
          ],
          "description": "Sliding door only: the side the leaf slides to, \"left\" or \"right\"."
        }
      },
      "required": [
        "side",
        "widthM",
        "heightM"
      ],
      "additionalProperties": false
    },
    "Seating": {
      "type": "object",
      "properties": {
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Row"
          },
          "description": "Seat rows, from the screen to the back."
        },
        "mlpRow": {
          "type": "number",
          "description": "Row of the reference listening position, counted from 0 (front row = 0)."
        },
        "mlpSeat": {
          "type": "number",
          "description": "Seat of the reference listening position in that row, counted from 0 from the left."
        },
        "mlpOnSeat": {
          "type": "boolean",
          "description": "Rows with an EVEN number of seats: true puts the reference listening position ON seat mlpSeat. Otherwise it sits at the centre of the row, between the two middle seats."
        },
        "origineLaterale": {
          "type": "string",
          "const": "murDEcran",
          "description": "Leave out (HTM sets it)."
        },
        "earHeight": {
          "$ref": "#/definitions/Meters",
          "description": "Ear height of a seated listener in metres, above the floor of the row, for ARMCHAIR rows. Typically 1.0 to 1.2. A sofa row uses 1.00, a chaise longue 0.75, a bed 0.80 and a bar 1.45, unless Row.earHeightM is given."
        },
        "eyeForwardM": {
          "$ref": "#/definitions/Meters"
        },
        "seatBackHeight": {
          "type": "string",
          "enum": [
            "high",
            "low"
          ],
          "description": "\"high\" (default) or \"low\": the seat backs. Behind high backs HTM raises the surrounds above them, unless the listeners recline."
        },
        "listeningPosture": {
          "type": "string",
          "enum": [
            "upright",
            "reclined"
          ],
          "description": "\"upright\" (default) or \"reclined\"."
        }
      },
      "required": [
        "rows",
        "mlpRow",
        "mlpSeat",
        "earHeight"
      ],
      "additionalProperties": false,
      "description": "Seat rows and the reference listening position (MLP)."
    },
    "Row": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "seatCount": {
          "type": "number",
          "description": "Number of seats in the row."
        },
        "distanceFromScreen": {
          "$ref": "#/definitions/Meters",
          "description": "Distance in metres from the SCREEN WALL (z = 0) to the listeners' ears in this row. Not from the screen surface: add Screen.frontWallOffset to a distance measured from the screen."
        },
        "seatSpacing": {
          "$ref": "#/definitions/Meters",
          "description": "Distance between seat centres in metres (about 0.6 for chairs, 0.8 to 0.9 for recliners)."
        },
        "lateralOffsetM": {
          "$ref": "#/definitions/Meters",
          "description": "Sideways offset of the whole row in metres (positive = to the right). 0 = centred on the screen wall."
        },
        "platformElevation": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the riser under this row in metres. Leave out on the floor."
        },
        "platformFrontArcM": {
          "$ref": "#/definitions/Meters"
        },
        "platformProfil": {
          "$ref": "#/definitions/ProfilDEstrade"
        },
        "platformFullWidth": {
          "type": "boolean",
          "description": "The riser of this row spans the full width of the room."
        },
        "platformWidthM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the riser of this row, centred on the row, in metres. Default: the seats plus a margin."
        },
        "platformToRearWall": {
          "type": "boolean",
          "description": "The riser runs up to the back wall (it then carries the rows behind)."
        },
        "platformDepthM": {
          "$ref": "#/definitions/Meters",
          "description": "Depth of the riser of this row from its front edge, in metres."
        },
        "nezSpots": {
          "$ref": "#/definitions/SpotsDuNez"
        },
        "nezBalisage": {
          "type": "boolean"
        },
        "gardeCorps": {
          "type": "string",
          "enum": [
            "verre",
            "barreaux"
          ]
        },
        "platformConstruction": {
          "type": "string",
          "enum": [
            "creuse",
            "remplie",
            "piege"
          ]
        },
        "platformMarches": {
          "type": "string",
          "enum": [
            "gauche",
            "droite",
            "deux"
          ]
        },
        "platformMarchesLargeurM": {
          "$ref": "#/definitions/Meters"
        },
        "platformHabillage": {
          "$ref": "#/definitions/HabillageEstrade",
          "description": "Look of the riser under this row (HTM Pro): teintePlateau (a floor colour id), teinteFacade (a wall colour id), nezDeMarche (\"alu\", \"laiton\", \"noir\")."
        },
        "earHeightFrom": {
          "type": "string",
          "enum": [
            "plateau",
            "sol"
          ],
          "description": "Where the ear height is measured from: \"plateau\" (default, above the riser of the row) or \"sol\" (above the room floor)."
        },
        "gapWidth": {
          "$ref": "#/definitions/Meters",
          "description": "Width in metres of a central aisle splitting the row into two equal halves (even seat counts only). 0 or absent: a continuous row."
        },
        "seatOverrides": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/SeatOverride"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": "Leave out (seat positions set by the user in HTM)."
        },
        "courbe": {
          "type": "boolean",
          "description": "Curved row: every seat at the same distance from the screen and turned towards it."
        },
        "courbeRayonM": {
          "$ref": "#/definitions/Meters",
          "description": "Curved row only: radius of the arc in metres. Default: the row distance to the screen wall (every seat at the same distance from the screen)."
        },
        "furnitureKind": {
          "$ref": "#/definitions/ListeningFurnitureKind",
          "description": "What the listeners sit on: \"armchair\" (default), \"sofa\", \"chaise-longue\", \"bed\" or \"bar\"."
        },
        "earHeightM": {
          "$ref": "#/definitions/Meters",
          "description": "Ear height of this row in metres, above its floor. Ignored for armchairs (they use Seating.earHeight). Without it, a sofa uses 1.00, a chaise longue 0.75, a bed 0.80 and a bar 1.45."
        },
        "recliner": {
          "type": "boolean",
          "description": "The seats are recliners."
        },
        "reclinerReference": {
          "type": "string",
          "enum": [
            "seated",
            "relax"
          ],
          "description": "Recliner row: the position the speakers are placed for, \"seated\" (default) or \"relax\" (reclined, lower ears)."
        },
        "consolesCommunes": {
          "type": "boolean"
        },
        "meridiennes": {
          "type": "string",
          "enum": [
            "gauche",
            "droite",
            "deux"
          ],
          "description": "Fixed sofa row with chaise longue ends: \"gauche\", \"droite\" or \"deux\"."
        },
        "placesInclinees": {
          "type": "array",
          "items": {
            "type": "number"
          }
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look of the seats (HTM Pro): { modelId, finish } from lire_identifiants, partie \"aspect\" (mobilier, by row kind). The model does not change seatSpacing: give it too."
        },
        "led": {
          "type": "object",
          "properties": {
            "nez": {
              "$ref": "#/definitions/LedChoix"
            },
            "dessous": {
              "$ref": "#/definitions/LedChoix"
            },
            "pourtour": {
              "$ref": "#/definitions/LedChoix"
            }
          },
          "additionalProperties": false,
          "description": "LED of the row (HTM Pro, drawing only): nez (edge of its riser), dessous (glow under the seats), pourtour (around the riser). Each one {} (room tone) or { couleur: \"#rrggbb\" }."
        }
      },
      "required": [
        "id",
        "seatCount",
        "distanceFromScreen"
      ],
      "additionalProperties": false,
      "description": "One row of seats, centred on the screen wall unless offset."
    },
    "SeatOverride": {
      "type": "object",
      "properties": {
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "z": {
          "$ref": "#/definitions/Meters"
        }
      },
      "required": [
        "x",
        "z"
      ],
      "additionalProperties": false
    },
    "ListeningFurnitureKind": {
      "type": "string",
      "enum": [
        "armchair",
        "sofa",
        "chaise-longue",
        "bed",
        "bar"
      ]
    },
    "HvacUnit": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "$ref": "#/definitions/HvacUnitKind",
          "description": "Type: \"wall-split\", \"ducted-vent\", \"floor-console\", \"radiator\", \"fridge\", \"av-rack-fan\", \"popcorn\", \"aquarium\" or \"projector-fan\"."
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Position, in metres from the left wall."
        },
        "y": {
          "$ref": "#/definitions/Meters",
          "description": "Height above the floor, in metres."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Position, in metres from the screen wall."
        },
        "levelDbA": {
          "type": "number",
          "description": "Sound pressure level from the data sheet, in dB(A), at the speed used while listening, at refDistanceM."
        },
        "refDistanceM": {
          "$ref": "#/definitions/Meters",
          "description": "Measurement distance of the data sheet level, in metres (default 1)."
        },
        "octaveBandsDb": {
          "type": "object",
          "properties": {
            "125": {
              "type": "number"
            },
            "250": {
              "type": "number"
            },
            "500": {
              "type": "number"
            },
            "1000": {
              "type": "number"
            },
            "2000": {
              "type": "number"
            },
            "4000": {
              "type": "number"
            }
          },
          "additionalProperties": false,
          "description": "Data sheet spectrum per octave band, 125 to 4000 Hz, in unweighted dB, same speed and distance. Used only when complete."
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look (HTM Pro, drawing only): a model of its kind, from lire_identifiants famille \"climatisation\"."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Real width of the unit along its wall, in metres (drawing only)."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Real height of the unit, in metres (drawing only)."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Real depth of the unit, in metres (drawing only)."
        }
      },
      "required": [
        "id",
        "kind",
        "x",
        "y",
        "z"
      ],
      "additionalProperties": false,
      "description": "An air conditioning or heating unit, or another noise source in the room."
    },
    "HvacUnitKind": {
      "type": "string",
      "enum": [
        "wall-split",
        "ducted-vent",
        "floor-console",
        "radiator",
        "fridge",
        "av-rack-fan",
        "popcorn",
        "aquarium",
        "projector-fan"
      ]
    },
    "SurfaceMaterials": {
      "type": "object",
      "properties": {
        "frontWall": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "rearWall": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "leftWall": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "rightWall": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "ceiling": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "floor": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "cornerTreatments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CornerTreatment"
          }
        },
        "ceilingRampants": {
          "$ref": "#/definitions/SurfaceAssignment"
        },
        "suspendedCeiling": {
          "$ref": "#/definitions/SurfaceAssignment"
        }
      },
      "required": [
        "frontWall",
        "rearWall",
        "leftWall",
        "rightWall",
        "ceiling",
        "floor"
      ],
      "additionalProperties": false
    },
    "SurfaceAssignment": {
      "type": "object",
      "properties": {
        "materialId": {
          "type": "string"
        },
        "areaMeters2": {
          "type": "number"
        },
        "overlays": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/SurfaceOverlay"
          }
        }
      },
      "required": [
        "materialId"
      ],
      "additionalProperties": false
    },
    "SurfaceOverlay": {
      "type": "object",
      "properties": {
        "materialId": {
          "type": "string",
          "description": "Material, from lire_identifiants."
        },
        "coverage": {
          "type": "number",
          "description": "Covered share of the surface, 0 to 1."
        },
        "label": {
          "type": "string"
        },
        "layers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AbsorberLayer"
          }
        },
        "enabled": {
          "type": "boolean"
        },
        "design": {
          "$ref": "#/definitions/TreatmentDesign",
          "description": "Look (HTM Pro, drawing only)."
        },
        "led": {
          "$ref": "#/definitions/LedChoix"
        },
        "travees": {
          "$ref": "#/definitions/TraveesMurales",
          "description": "Bays drawn on this overlay (HTM Pro, drawing only), see TraveesMurales."
        },
        "habillage": {
          "$ref": "#/definitions/HabillageMural"
        }
      },
      "required": [
        "materialId",
        "coverage"
      ],
      "additionalProperties": false,
      "description": "Something covering part of a surface (curtain, wood cladding, a treated area)."
    },
    "TraveesMurales": {
      "type": "object",
      "properties": {
        "pasM": {
          "$ref": "#/definitions/Meters",
          "description": "Target width of one bay, pilaster included, in metres: the number of bays is rounded on the wall length."
        },
        "pilastreM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of each pilaster, in metres."
        },
        "saillieM": {
          "$ref": "#/definitions/Meters",
          "description": "How far the pilasters stand out in front of the fabric, in metres."
        },
        "lamesM": {
          "$ref": "#/definitions/Meters",
          "description": "Width of the slatted part in each bay, in metres (0 = fabric only)."
        },
        "led": {
          "$ref": "#/definitions/LedChoix",
          "description": "Vertical LED on both edges of each pilaster (drawing only), see LedChoix."
        },
        "couleurTissu": {
          "type": "string",
          "description": "Fabric colour: an IDENTIFIER of the treatment colours (lire_identifiants, aspect, traitements, couleurs), such as \"noir\" or \"bordeaux\", not a #rrggbb code."
        },
        "couleurLames": {
          "type": "string",
          "description": "Slat colour: an identifier of the treatment colours, such as \"chene\" or \"noyer\", not a #rrggbb code."
        },
        "rythme": {
          "type": "string",
          "enum": [
            "regulier",
            "libre"
          ],
          "description": "\"regulier\" (even slats, default) or \"libre\" (groups of slats of varied widths and depths, the fabric showing between them)."
        },
        "tablettes": {
          "type": "number",
          "description": "Number of horizontal wooden shelves across the fabric (0 to 8, drawing only)."
        }
      },
      "required": [
        "pasM",
        "pilastreM",
        "saillieM",
        "lamesM"
      ],
      "additionalProperties": false,
      "description": "Wall of bays (HTM Pro, drawing only): fabric bays between wooden pilasters, with optional slats, repeated along the wall. Put it in an overlay of that wall: room.surfaces.<wall>.overlays[] = { materialId, travees }. The share of fabric counted by the reverberation is the calculation of HTM, not this drawing."
    },
    "HabillageMural": {
      "type": "object",
      "properties": {
        "modele": {
          "$ref": "#/definitions/ModeleHabillageMural"
        },
        "couleur": {
          "type": "string"
        },
        "bois": {
          "type": "string"
        },
        "hauteurM": {
          "type": "number"
        }
      },
      "required": [
        "modele"
      ],
      "additionalProperties": false
    },
    "ModeleHabillageMural": {
      "type": "string",
      "enum": [
        "velours-tendu",
        "losanges-matelasses",
        "grille-bois",
        "tasseaux-irreguliers",
        "tenture-plissee",
        "feutre-tendu"
      ]
    },
    "CornerTreatment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "recoId": {
          "type": "string",
          "description": "For a trap in one corner: \"declared:corner-c\" followed by its cornerIndex, for example \"declared:corner-c0\". HTM rewrites any other value."
        },
        "materialId": {
          "type": "string"
        },
        "count": {
          "type": "number",
          "description": "Number of corners: 1 for a trap with a cornerIndex."
        },
        "areaPerCornerM2": {
          "type": "number",
          "description": "Front area of the trap in square metres (about 0.3 m times its height)."
        },
        "label": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "cornerIndex": {
          "type": "number",
          "description": "Corner holding the trap: the outward corners of the room outline, numbered in outline order (rectangle: 0 front left, 1 front right, 2 back right, 3 back left). One trap per corner."
        },
        "design": {
          "$ref": "#/definitions/TreatmentDesign"
        }
      },
      "required": [
        "id",
        "recoId",
        "materialId",
        "count",
        "areaPerCornerM2"
      ],
      "additionalProperties": false,
      "description": "A bass trap already in place in a corner of the room, from floor to ceiling."
    },
    "AcousticUseCase": {
      "type": "string",
      "enum": [
        "dedicated-cinema",
        "multi-use",
        "studio-listening"
      ]
    },
    "ListeningRegimePreference": {
      "anyOf": [
        {
          "type": "string",
          "const": "auto"
        },
        {
          "$ref": "#/definitions/ListeningRegime"
        }
      ],
      "description": "\"auto\" (default), \"nearfield\", \"midfield\" or \"farfield\": see PieceDecrite.listeningRegime."
    },
    "ListeningRegime": {
      "type": "string",
      "enum": [
        "nearfield",
        "midfield",
        "farfield"
      ]
    },
    "ListeningPosition": {
      "type": "object",
      "properties": {
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "z": {
          "$ref": "#/definitions/Meters"
        },
        "earHeight": {
          "$ref": "#/definitions/Meters"
        }
      },
      "required": [
        "x",
        "z",
        "earHeight"
      ],
      "additionalProperties": false
    },
    "CoteEpinglee": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "a": {
          "$ref": "#/definitions/ExtremiteDeCote"
        },
        "b": {
          "$ref": "#/definitions/ExtremiteDeCote"
        },
        "libelle": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "a",
        "b"
      ],
      "additionalProperties": false
    },
    "ExtremiteDeCote": {
      "type": "object",
      "properties": {
        "x": {
          "$ref": "#/definitions/Meters"
        },
        "z": {
          "$ref": "#/definitions/Meters"
        },
        "accroche": {
          "$ref": "#/definitions/AccrocheDeCote"
        }
      },
      "required": [
        "x",
        "z"
      ],
      "additionalProperties": false
    },
    "AccrocheDeCote": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "enceinte"
            },
            "canal": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "canal"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "objet"
            },
            "id": {
              "type": "string"
            },
            "u": {
              "type": "number"
            },
            "v": {
              "type": "number"
            }
          },
          "required": [
            "type",
            "id",
            "u",
            "v"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "estrade"
            },
            "id": {
              "type": "string"
            },
            "u": {
              "type": "number"
            },
            "v": {
              "type": "number"
            }
          },
          "required": [
            "type",
            "id",
            "u",
            "v"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "mlp"
            }
          },
          "required": [
            "type"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "ouverture"
            },
            "id": {
              "type": "string"
            },
            "u": {
              "type": "number"
            }
          },
          "required": [
            "type",
            "id",
            "u"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "panneau"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "id"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "projecteur"
            }
          },
          "required": [
            "type"
          ],
          "additionalProperties": false
        }
      ]
    },
    "SystemeAlternatifDecrit": {
      "type": "object",
      "properties": {
        "nom": {
          "type": "string",
          "description": "Name of this system, e.g. \"Stereo\"."
        },
        "nomDuSystemeActif": {
          "type": "string",
          "description": "Name of the active system (layout), e.g. \"Multichannel 7.1.4\"."
        },
        "placementView": {
          "type": "string",
          "enum": [
            "optimal",
            "manual"
          ],
          "description": "Leave out (HTM uses its own placement)."
        },
        "caissonsPartages": {
          "type": "boolean",
          "description": "true: the two systems share the subwoofers (a 2.1 on the subwoofers of the multichannel system)."
        },
        "layout": {
          "$ref": "#/definitions/ConfigurationDecrite",
          "description": "Its speaker configuration, written like layout (no positions: HTM places it)."
        }
      },
      "required": [
        "layout",
        "nom"
      ],
      "additionalProperties": false,
      "description": "The other speaker system of the room (HTM Pro). The user switches between the two in HTM."
    },
    "ConfigurationDecrite": {
      "type": "object",
      "properties": {
        "sub": {
          "$ref": "#/definitions/SubLayout",
          "description": "Subwoofers."
        },
        "format": {
          "$ref": "#/definitions/AudioFormat",
          "description": "Stored for information only: HTM reads the channels, not the format."
        },
        "characteristicsByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SpeakerCharacteristics"
          }
        },
        "orientationByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SpeakerOrientation"
          }
        },
        "sharedCabinets": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "canauxDoubles": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/DoublageCanal"
          }
        },
        "subFacingByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SubFacing"
          },
          "description": "Direction of one subwoofer, by channel (SW1, SW2…), overriding subFacing."
        },
        "subDetachedChannels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "subFacing": {
          "$ref": "#/definitions/SubFacing",
          "description": "Direction all subwoofers fire (drawing only), see SubFacing. Absent: parallel to the single wall a sub stands against, otherwise towards the listening position."
        },
        "subCabinetByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SubCabinetDimensions"
          }
        },
        "subPortByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SubLoad"
          },
          "description": "Loading of each subwoofer, by channel (SW1, SW2…), overriding sub.portLocation. \"infinite-baffle\" (a driver built into a wall or the ceiling, its back open to the space behind) exists only here: give it together with subMountingByChannel \"flush\" on that wall, or \"ceiling\"."
        },
        "subMountingByChannel": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/SubMounting"
          },
          "description": "Mounting of each subwoofer, by channel (SW1, SW2…). Absent: standing free in the room."
        },
        "overrides": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/SpeakerPositionOverride"
          },
          "description": "Manual speaker positions, set by the user in HTM. Never written by an assistant."
        },
        "frontClearance": {
          "$ref": "#/definitions/Meters",
          "description": "Front speakers standing free in front of the screen wall: distance in metres from the screen wall to the centre of their cabinets. Below about 0.15 the cabinet stays against the wall. Behind an acoustically transparent screen, give the speakers distance, not the screen distance: HTM moves the screen forward to keep it a few centimetres in front of them. Ignored for in-wall or on-wall speakers and with a baffle wall (frontFacade)."
        },
        "centerOrientation": {
          "$ref": "#/definitions/CenterCabinetOrientation",
          "description": "Centre speaker cabinet pose for the drawing: \"vertical\" (standing) or \"horizontal\" (lying). Absent: lying under an opaque screen or a TV, standing otherwise. characteristicsByChannel.C.cabinetOrientation, when given, takes precedence."
        },
        "surroundElevationAboveEarM": {
          "$ref": "#/definitions/Meters",
          "description": "Height of the surround speakers above ear level, in metres. HTM keeps a minimum above the ears and says so."
        },
        "floor": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "options": {
              "type": "object",
              "properties": {
                "center": {
                  "type": "boolean"
                },
                "surrounds": {
                  "type": "boolean"
                },
                "surroundBack": {
                  "type": "boolean"
                },
                "wides": {
                  "type": "boolean"
                },
                "extraSurrounds": {
                  "type": "boolean"
                },
                "extraSurroundsRear": {
                  "type": "boolean"
                },
                "centerSurround": {
                  "type": "boolean"
                },
                "frontCenter": {
                  "type": "boolean"
                },
                "rearSurrounds1": {
                  "type": "boolean"
                },
                "rearSurrounds2": {
                  "type": "boolean"
                },
                "centerSurroundPair": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false,
              "description": "Which ear-level channels are present. A missing option is false."
            },
            "count": {
              "type": "number",
              "description": "Number of ear-level speakers, centre included (5 for a 5.x.y system)."
            }
          },
          "required": [
            "count",
            "options"
          ],
          "description": "Speakers at ear level (front, centre, surrounds)."
        },
        "height": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "arrangement": {
              "type": "string",
              "description": "Not needed when options are given. Otherwise a named arrangement (see lire_guide)."
            },
            "options": {
              "type": "object",
              "properties": {
                "frontHeight": {
                  "type": "boolean"
                },
                "topFront": {
                  "type": "boolean"
                },
                "topMiddle": {
                  "type": "boolean"
                },
                "topRear": {
                  "type": "boolean"
                },
                "rearHeight": {
                  "type": "boolean"
                },
                "voiceOfGod": {
                  "type": "boolean"
                },
                "surroundHeight": {
                  "type": "boolean"
                },
                "centerHeight": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false,
              "description": "Which overhead pairs are present (topFront, topMiddle, topRear, frontHeight, rearHeight, voiceOfGod). A missing option is false."
            },
            "count": {
              "type": "number",
              "description": "Number of overhead (height) speakers."
            }
          },
          "required": [
            "count"
          ],
          "description": "Overhead (height) speakers."
        },
        "orientation": {
          "$ref": "#/definitions/OrientationByGroup"
        },
        "characteristics": {
          "type": "object",
          "properties": {
            "front": {
              "$ref": "#/definitions/SpeakerCharacteristics"
            },
            "wide": {
              "$ref": "#/definitions/SpeakerCharacteristics"
            },
            "surround": {
              "$ref": "#/definitions/SpeakerCharacteristics"
            },
            "height": {
              "$ref": "#/definitions/SpeakerCharacteristics",
              "description": "Overhead (height) speakers."
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "floor",
        "format",
        "height",
        "sub"
      ],
      "additionalProperties": false,
      "description": "The speaker configuration, as channel counts: HTM places the speakers itself. Speaker positions are not written."
    },
    "SubLayout": {
      "type": "object",
      "properties": {
        "count": {
          "type": "number",
          "description": "Number of subwoofers."
        },
        "strategy": {
          "type": "string",
          "description": "Where HTM places the subwoofers. Up to 4 subwoofers: a named preset (listed with a sentence each in lire_guide, VALID VALUES) or an array. Above 4: only \"front-wall\", \"rear-wall\", \"double-bass-array\" or \"distributed\"."
        },
        "wallPattern": {
          "$ref": "#/definitions/SubWallPattern",
          "description": "\"row\" (default), \"grid\" or \"staggered\": how a wall of subwoofers is filled."
        },
        "wallRows": {
          "type": "number",
          "description": "Grid only: number of rows, 2 to 4."
        },
        "dbaFrontCount": {
          "type": "number",
          "description": "double-bass-array only: number of subwoofers on the front wall, the rest on the rear wall (1 to count − 1, for example 4 front and 2 rear). Absent: half each."
        },
        "groups": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/SubGroup"
          },
          "description": "Several subwoofer layouts at once (for example a front wall and a rear wall), each with its own count and strategy. When present, the groups describe EVERY subwoofer: the first group replaces strategy, wallPattern and wallRows above, and count must equal the sum of the group counts."
        },
        "mode": {
          "$ref": "#/definitions/SubMode"
        },
        "portLocation": {
          "$ref": "#/definitions/PortLocation",
          "description": "Default subwoofer loading: \"sealed\", \"front\" or \"rear\" (ported), \"passive\" (passive radiator). An infinite baffle is given per subwoofer, in subPortByChannel."
        },
        "cabinet": {
          "$ref": "#/definitions/SubCabinetDimensions",
          "description": "Subwoofer cabinet size (drawing and footprint only). With a model (design.modelId), widthM, heightM and depthM may be left out: HTM writes the sizes of the model, and says so in the report."
        }
      },
      "required": [
        "count"
      ],
      "additionalProperties": false,
      "description": "Subwoofers."
    },
    "SubWallPattern": {
      "type": "string",
      "enum": [
        "row",
        "grid",
        "staggered"
      ]
    },
    "SubGroup": {
      "type": "object",
      "properties": {
        "count": {
          "type": "number",
          "description": "Number of subwoofers in this group."
        },
        "strategy": {
          "$ref": "#/definitions/SubArrayKind",
          "description": "Where HTM places this group, same values as SubLayout.strategy."
        },
        "wallPattern": {
          "$ref": "#/definitions/SubWallPattern",
          "description": "\"row\" (default), \"grid\" or \"staggered\": how the wall is filled."
        },
        "wallRows": {
          "type": "number",
          "description": "Grid only: number of rows, 2 to 4."
        },
        "dbaFrontCount": {
          "type": "number",
          "description": "double-bass-array only: number of subwoofers on the front wall, the rest on the rear wall (1 to count − 1). Absent: half each."
        }
      },
      "required": [
        "count",
        "strategy"
      ],
      "additionalProperties": false,
      "description": "A further group of subwoofers with its own count and strategy, alongside the main one (for example a wall of subwoofers at the front and another at the back)."
    },
    "SubArrayKind": {
      "type": "string",
      "enum": [
        "front-wall",
        "rear-wall",
        "double-bass-array",
        "distributed"
      ]
    },
    "SubMode": {
      "type": "string",
      "enum": [
        "standard",
        "directional"
      ]
    },
    "PortLocation": {
      "type": "string",
      "enum": [
        "front",
        "rear",
        "passive",
        "sealed"
      ]
    },
    "SubCabinetDimensions": {
      "type": "object",
      "properties": {
        "widthM": {
          "type": "number"
        },
        "heightM": {
          "type": "number"
        },
        "depthM": {
          "type": "number"
        },
        "design": {
          "$ref": "#/definitions/SpeakerDesign"
        }
      },
      "required": [
        "widthM",
        "heightM",
        "depthM"
      ],
      "additionalProperties": false
    },
    "SpeakerDesign": {
      "type": "object",
      "properties": {
        "modelId": {
          "type": "string",
          "description": "Model identifier, from lire_identifiants famille \"enceintes\"."
        },
        "finish": {
          "type": "string",
          "description": "Finish identifier of that model."
        },
        "grille": {
          "type": "boolean",
          "description": "true: grille on."
        },
        "pied": {
          "type": "string",
          "description": "Stand style of a speaker on a stand, from lire_identifiants famille \"enceintes\". An unknown value is reported."
        },
        "teinteGrille": {
          "type": "string",
          "description": "Grille colour of an angled in-ceiling speaker: \"noir\", \"blanc\" or \"mur\" (the colour of its wall)."
        }
      },
      "additionalProperties": false,
      "description": "Look of a speaker or subwoofer (HTM Pro, drawing only)."
    },
    "AudioFormat": {
      "type": "string",
      "enum": [
        "stereo",
        "dolby-digital",
        "dts-hd",
        "dolby-atmos",
        "dts-x-pro",
        "auro-3d"
      ]
    },
    "SpeakerCharacteristics": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/definitions/SpeakerType",
          "description": "Driver type: \"dynamic-cone\", \"coaxial-point-source\", \"horn-compression\", \"dipole\", \"bipole\", \"planar-ribbon\", \"omnidirectional\" or \"line-array\"."
        },
        "directivityH": {
          "$ref": "#/definitions/DirectivityH",
          "description": "Horizontal dispersion: \"narrow\", \"medium\", \"wide\", \"figure-8\" or \"omni\"."
        },
        "directivityV": {
          "$ref": "#/definitions/DirectivityV",
          "description": "Vertical dispersion: \"narrow\", \"medium\", \"wide\" or \"omni\"."
        },
        "formFactor": {
          "$ref": "#/definitions/FormFactor",
          "description": "Cabinet type: \"bookshelf\", \"tower\", \"in-wall\", \"on-wall\", \"in-ceiling\", \"satellite\" or \"soundbar\"."
        },
        "mounting": {
          "$ref": "#/definitions/MountingMode",
          "description": "\"free\" (standing, default), \"on-surface\" (fixed on its wall) or \"flush\" (built in)."
        },
        "flushAlcove": {
          "type": "boolean",
          "description": "Flush mounting only (mounting \"flush\"): the speaker sits in an alcove and turns towards the listening position instead of firing straight out of the wall, by flushAlcoveMaxDeg at most. No effect on in-wall or in-ceiling models."
        },
        "flushAlcoveMaxDeg": {
          "type": "number",
          "description": "Maximum turn of a speaker in an alcove, in degrees (0 to 40). Default 30."
        },
        "portLocation": {
          "$ref": "#/definitions/PortLocation",
          "description": "Bass loading: \"front\" or \"rear\" (bass-reflex port), \"passive\" (passive radiator) or \"sealed\". Used for the clearance advice only. Default \"front\"."
        },
        "coverageDegH": {
          "type": "number",
          "description": "Exact horizontal coverage at -6 dB, in degrees, from the data sheet. Given with coverageDegV, it replaces directivityH and directivityV."
        },
        "coverageDegV": {
          "type": "number",
          "description": "Exact vertical coverage at -6 dB, in degrees. See coverageDegH."
        },
        "aimableDriver": {
          "type": "boolean",
          "description": "In-wall or in-ceiling model whose driver pivots: true lets the group orientation aim it at the listening position. Default false (fixed driver, fires straight out)."
        },
        "baffleTiltDeg": {
          "type": "number",
          "description": "In-wall or in-ceiling model with a tilted baffle, in degrees (0 to 45): it aims that much towards the listening position."
        },
        "heightMount": {
          "type": "string",
          "enum": [
            "wall",
            "ceiling"
          ],
          "description": "Height speakers: \"wall\" (high on a wall) or \"ceiling\". Absent: the placement rules decide."
        },
        "radiation": {
          "type": "string",
          "enum": [
            "monopole",
            "bipole",
            "dipole",
            "tripole"
          ],
          "description": "\"monopole\" (default), \"bipole\", \"dipole\" or \"tripole\" (one direct face plus a pair in opposition)."
        },
        "cabinetOrientation": {
          "type": "string",
          "enum": [
            "vertical",
            "horizontal"
          ],
          "description": "Centre speaker cabinet: \"vertical\" (standing) or \"horizontal\" (lying). Sizes are always written as the cabinet stands: a lying centre 62 cm wide and 24 cm high takes cabinetWidthM 0.24 and cabinetHeightM 0.62, and HTM swaps them when it lays it down."
        },
        "supportPoutre": {
          "type": "string",
          "enum": [
            "sous",
            "sur",
            "flanc",
            "flancOppose"
          ],
          "description": "Speaker hung on a beam: \"sous\" (under it, default), \"sur\" (on top), \"flanc\" (on a bracket on the side facing the listening position) or \"flancOppose\" (on the other side)."
        },
        "surelevationM": {
          "type": "number",
          "description": "Standing speaker on a rigid support: height of the support under the cabinet, in metres. No effect on wall or flush speakers."
        },
        "lobeHalfAngleDeg": {
          "type": "number",
          "description": "Bipole or dipole: angle of each face from the aim, in degrees. Default 90."
        },
        "cabinetDepthM": {
          "type": "number",
          "description": "Real cabinet depth, in metres (from the model when absent, as cabinetWidthM)."
        },
        "wallGapM": {
          "type": "number",
          "description": "Gap from the back of the cabinet to the wall, in metres, for a speaker on a stand (up to 0.60). HTM moves the speaker away from the wall by this much: use it for speakers on stands in front of a window or a glazed wall."
        },
        "cabinetWidthM": {
          "type": "number",
          "description": "Real cabinet width, in metres. With a model (design.modelId) and no size, HTM writes the three sizes of the model, and says so in the report."
        },
        "cabinetHeightM": {
          "type": "number",
          "description": "Real cabinet height, in metres (from the model when absent, as cabinetWidthM)."
        },
        "sectionPrisme": {
          "type": "object",
          "properties": {
            "pointeM": {
              "type": "number"
            }
          },
          "additionalProperties": false,
          "description": "Wedge-shaped cabinet against the wall, its sloped face carrying the drivers: { pointeM } (0 = sharp edge, more = truncated). Absent: a rectangular cabinet."
        },
        "acousticCenterHeightM": {
          "type": "number",
          "description": "Height of the acoustic point of a standing speaker (tower or bookshelf, mounting free) above the foot of its cabinet, in metres: the foot is the top of its declared support (surelevationM), otherwise the floor or the riser under it. HTM places, aims and calculates the speaker from that point. Ignored when higher than the cabinet. Absent: the height HTM places it at; a tower model (design.modelId) gives its own."
        },
        "design": {
          "$ref": "#/definitions/SpeakerDesign",
          "description": "Look (HTM Pro, drawing only)."
        },
        "fabricId": {
          "type": "string",
          "description": "Stretched fabric in front of this group, from lire_identifiants (tissus)."
        },
        "logementTravee": {
          "type": "string",
          "enum": [
            "pilastre",
            "travee"
          ],
          "description": "In-wall speaker in a wall with bays (a wall overlay with travees, HTM Pro, drawing only): \"pilastre\" (in a widened wooden pilaster, default) or \"travee\" (straight in the bay)."
        }
      },
      "required": [
        "type",
        "directivityH",
        "directivityV",
        "formFactor"
      ],
      "additionalProperties": false,
      "description": "Characteristics of a speaker group (layout.characteristics.front, wide, surround or height) or of one channel (layout.characteristicsByChannel.<channel>, merged over its group). The centre C belongs to the front group: it takes characteristics.front unless characteristicsByChannel.C overrides it."
    },
    "SpeakerType": {
      "type": "string",
      "enum": [
        "dynamic-cone",
        "coaxial-point-source",
        "horn-compression",
        "dipole",
        "bipole",
        "planar-ribbon",
        "omnidirectional",
        "line-array"
      ]
    },
    "DirectivityH": {
      "type": "string",
      "enum": [
        "narrow",
        "medium",
        "wide",
        "figure-8",
        "omni"
      ]
    },
    "DirectivityV": {
      "type": "string",
      "enum": [
        "narrow",
        "medium",
        "wide",
        "omni"
      ]
    },
    "FormFactor": {
      "type": "string",
      "enum": [
        "bookshelf",
        "tower",
        "in-wall",
        "on-wall",
        "in-ceiling",
        "satellite",
        "soundbar"
      ]
    },
    "MountingMode": {
      "type": "string",
      "enum": [
        "free",
        "on-surface",
        "flush"
      ]
    },
    "SpeakerOrientation": {
      "type": "string",
      "enum": [
        "baffle",
        "toe-in-mlp",
        "toe-in-zone",
        "cross-fire"
      ],
      "description": "How a group is aimed: \"baffle\" (straight ahead, square to its wall), \"toe-in-mlp\" (turned towards the reference listening position), \"toe-in-zone\" (turned towards the centre of the listening area, better for the end seats of a wide row), \"cross-fire\" (each speaker aimed at the opposite side of the listening area)."
    },
    "DoublageCanal": {
      "type": "object",
      "properties": {
        "nombre": {
          "type": "number"
        },
        "entraxeM": {
          "type": "number"
        },
        "decalageHauteurM": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "SubFacing": {
      "type": "string",
      "enum": [
        "auto",
        "mlp",
        "front",
        "rear",
        "left",
        "right"
      ],
      "description": "Direction a subwoofer fires (drawing only): \"mlp\" (towards the listening position), \"auto\" (parallel to the nearest wall), or \"front\", \"rear\", \"left\", \"right\" (towards that wall)."
    },
    "SubLoad": {
      "anyOf": [
        {
          "$ref": "#/definitions/PortLocation"
        },
        {
          "type": "string",
          "const": "infinite-baffle"
        }
      ],
      "description": "Loading of one subwoofer: \"sealed\", \"front\" or \"rear\" (ported), \"passive\" (passive radiator) or \"infinite-baffle\" (built into a wall or the ceiling, its back open to the space behind)."
    },
    "SubMounting": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "free",
            "flush",
            "ceiling"
          ],
          "description": "\"free\" (standing, default), \"flush\" (built into a wall, with wall) or \"ceiling\"."
        },
        "wall": {
          "$ref": "#/definitions/WallId",
          "description": "The wall that houses a flush subwoofer (required with \"flush\")."
        }
      },
      "required": [
        "mode"
      ],
      "additionalProperties": false,
      "description": "How a subwoofer is mounted."
    },
    "SpeakerPositionOverride": {
      "type": "object",
      "properties": {
        "channel": {
          "type": "string"
        },
        "position": {
          "type": "object",
          "properties": {
            "x": {
              "$ref": "#/definitions/Meters"
            },
            "y": {
              "$ref": "#/definitions/Meters"
            },
            "z": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false
        },
        "aim": {
          "type": "object",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "z": {
              "type": "number"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false
        },
        "mountedOn": {
          "type": "object",
          "properties": {
            "beamId": {
              "type": "string"
            },
            "t": {
              "type": "number"
            },
            "hangBelowM": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "beamId",
            "t"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "channel",
        "position"
      ],
      "additionalProperties": false
    },
    "CenterCabinetOrientation": {
      "type": "string",
      "enum": [
        "vertical",
        "horizontal"
      ],
      "description": "\"vertical\" (standing) or \"horizontal\" (lying)."
    },
    "OrientationByGroup": {
      "type": "object",
      "properties": {
        "front": {
          "$ref": "#/definitions/SpeakerOrientation"
        },
        "wide": {
          "$ref": "#/definitions/SpeakerOrientation"
        },
        "surround": {
          "$ref": "#/definitions/SpeakerOrientation"
        },
        "height": {
          "$ref": "#/definitions/SpeakerOrientation"
        },
        "sub": {
          "$ref": "#/definitions/SpeakerOrientation"
        }
      },
      "required": [
        "front",
        "wide",
        "surround",
        "height",
        "sub"
      ],
      "additionalProperties": false,
      "description": "The aim of each speaker group (front, wide, surround, height), one SpeakerOrientation each."
    },
    "ProjecteurDecrit": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "throwRatioMin": {
          "type": "number",
          "description": "Shortest throw ratio (distance divided by image width), from the data sheet. Never estimated."
        },
        "throwRatioMax": {
          "type": "number",
          "description": "Longest throw ratio, from the data sheet."
        },
        "shiftVMinPct": {
          "type": "number",
          "description": "Lowest vertical lens shift, in percent of the image height, from the data sheet."
        },
        "shiftVMaxPct": {
          "type": "number",
          "description": "Highest vertical lens shift, in percent of the image height, from the data sheet."
        },
        "shiftHMinPct": {
          "type": "number",
          "description": "Lowest horizontal lens shift, in percent of the image width, from the data sheet."
        },
        "shiftHMaxPct": {
          "type": "number",
          "description": "Highest horizontal lens shift, in percent of the image width, from the data sheet."
        },
        "type": {
          "type": "string",
          "enum": [
            "standard",
            "ust"
          ],
          "description": "\"standard\" (default) or \"ust\" (ultra-short throw, close to the screen on low furniture)."
        },
        "position": {
          "type": "object",
          "properties": {
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "z": {
              "type": "number"
            }
          },
          "required": [
            "x",
            "y",
            "z"
          ],
          "additionalProperties": false,
          "description": "Position of the LENS in metres: x from the left wall, y above the floor, z from the screen wall."
        },
        "shiftEnvelope": {
          "type": "string",
          "enum": [
            "coupled",
            "independent"
          ],
          "description": "\"coupled\" (default, both axes share the travel) or \"independent\"."
        },
        "mount": {
          "type": "string",
          "enum": [
            "ceiling",
            "rear-wall",
            "technical-room",
            "niche"
          ],
          "description": "\"ceiling\" (default, hung under the ceiling), \"rear-wall\" (on a shelf against the back wall), \"technical-room\" (in the technical room behind the back wall: HTM draws a window in the shared wall at lens height) or \"niche\" (behind the back wall, with niche)."
        },
        "niche": {
          "$ref": "#/definitions/ProjectorNiche",
          "description": "The opening the beam goes through: the niche with mount \"niche\", or the window in the shared wall with mount \"technical-room\" (glazed by default, depth fields ignored). Ignored with other mounts."
        },
        "cabinetWidthM": {
          "$ref": "#/definitions/Meters",
          "description": "Real body width, in metres."
        },
        "cabinetHeightM": {
          "$ref": "#/definitions/Meters",
          "description": "Real body height, in metres."
        },
        "cabinetDepthM": {
          "$ref": "#/definitions/Meters",
          "description": "Real body depth, in metres. The body extends behind the lens by this much."
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look (HTM Pro, drawing only)."
        },
        "supportPlafond": {
          "type": "string",
          "enum": [
            "mat",
            "plateau"
          ]
        },
        "linkedDiffuserId": {
          "type": "string"
        }
      },
      "required": [
        "position"
      ],
      "description": "The video projector. Its position is that of its LENS, the body extends behind it. Give the optics only from the projector data sheet: left out, HTM uses default optics and says so on opening."
    },
    "ProjectorNiche": {
      "type": "object",
      "properties": {
        "lucarneLargeurM": {
          "type": "number",
          "description": "Width of the opening in the wall, in metres."
        },
        "lucarneHauteurM": {
          "type": "number",
          "description": "Height of the opening, in metres."
        },
        "lucarneBasM": {
          "type": "number",
          "description": "Height of the bottom of the opening above the room floor, in metres."
        },
        "lucarneCentreM": {
          "type": "number",
          "description": "Centre of the opening along the back wall, in metres from the left wall."
        },
        "vitree": {
          "type": "boolean",
          "description": "The opening is glazed (drawing only). Default: not glazed for a niche, glazed for a technical-room window."
        },
        "epaisseurMurM": {
          "type": "number",
          "description": "Thickness of the back wall, in metres."
        },
        "profondeurM": {
          "type": "number",
          "description": "Depth of the niche behind the wall, in metres."
        }
      },
      "additionalProperties": false,
      "description": "A niche behind the back wall that houses the projector (mount \"niche\"): the beam goes through an opening in the wall."
    },
    "MurDecrit": {
      "type": "object",
      "properties": {
        "longueurM": {
          "type": "number",
          "description": "Wall length in metres."
        },
        "angleDeg": {
          "type": "number",
          "description": "Interior angle, in degrees, of the corner where this wall starts: 90 for a square corner turning towards the room, 270 for a re-entrant corner (a step out of the room). Ignored for the first wall."
        }
      },
      "required": [
        "longueurM"
      ],
      "additionalProperties": false,
      "description": "One wall of contourEnMurs."
    },
    "PorteDecrite": {
      "anyOf": [
        {
          "$ref": "#/definitions/RoomDoor"
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mur": {
              "type": "number",
              "description": "Wall number in contourEnMurs order (1 = screen wall). In a rectangular room: 1 screen wall, 2 right, 3 back, 4 left."
            },
            "depuisLeDebutM": {
              "type": "number",
              "description": "Distance in metres from the corner where this wall starts (following the outline order) to the nearest edge of the door."
            },
            "id": {
              "type": "string"
            },
            "widthM": {
              "$ref": "#/definitions/Meters",
              "description": "Door width in metres."
            },
            "heightM": {
              "$ref": "#/definitions/Meters",
              "description": "Door height in metres."
            },
            "swing": {
              "type": "string",
              "enum": [
                "inward",
                "outward",
                "sliding"
              ],
              "description": "How the door opens: \"inward\" (into the room, it then needs clearance in front of it), \"outward\" or \"sliding\". Default \"inward\"."
            },
            "design": {
              "type": "object",
              "properties": {
                "modelId": {
                  "type": "string"
                },
                "finish": {
                  "type": "string"
                },
                "slidingMount": {
                  "type": "string"
                },
                "hublot": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "ouverte": {
              "type": "boolean"
            },
            "construction": {
              "type": "string",
              "enum": [
                "creuse",
                "pleine",
                "acoustique"
              ]
            },
            "vantaux": {
              "type": "number",
              "enum": [
                1,
                2
              ]
            },
            "repartition": {
              "type": "string",
              "enum": [
                "egale",
                "tiercee"
              ]
            },
            "charniere": {
              "type": "string",
              "enum": [
                "lo",
                "hi"
              ]
            },
            "porteDuLocal": {
              "type": "boolean"
            },
            "entree": {
              "type": "boolean",
              "description": "This is the entrance door (the tour \"arrival through the door\" starts from it)."
            }
          },
          "required": [
            "depuisLeDebutM",
            "heightM",
            "id",
            "mur",
            "widthM"
          ]
        }
      ],
      "description": "A door, preferably placed by wall number."
    },
    "RoomDoor": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ]
        },
        "position": {
          "$ref": "#/definitions/Meters"
        },
        "pan": {
          "type": "number"
        },
        "widthM": {
          "$ref": "#/definitions/Meters"
        },
        "heightM": {
          "$ref": "#/definitions/Meters"
        },
        "swing": {
          "type": "string",
          "enum": [
            "inward",
            "outward",
            "sliding"
          ]
        },
        "design": {
          "type": "object",
          "properties": {
            "modelId": {
              "type": "string"
            },
            "finish": {
              "type": "string"
            },
            "slidingMount": {
              "type": "string"
            },
            "hublot": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "ouverte": {
          "type": "boolean"
        },
        "construction": {
          "type": "string",
          "enum": [
            "creuse",
            "pleine",
            "acoustique"
          ]
        },
        "vantaux": {
          "type": "number",
          "enum": [
            1,
            2
          ]
        },
        "repartition": {
          "type": "string",
          "enum": [
            "egale",
            "tiercee"
          ]
        },
        "charniere": {
          "type": "string",
          "enum": [
            "lo",
            "hi"
          ]
        },
        "porteDuLocal": {
          "type": "boolean"
        },
        "entree": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "widthM",
        "heightM"
      ],
      "additionalProperties": false
    },
    "FenetreDecrite": {
      "anyOf": [
        {
          "$ref": "#/definitions/RoomWindow"
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mur": {
              "type": "number",
              "description": "Wall number in contourEnMurs order (1 = screen wall). In a rectangular room: 1 screen wall, 2 right, 3 back, 4 left."
            },
            "depuisLeDebutM": {
              "type": "number",
              "description": "Distance in metres from the corner where this wall starts (following the outline order) to the nearest edge of the window."
            },
            "id": {
              "type": "string"
            },
            "widthM": {
              "$ref": "#/definitions/Meters",
              "description": "Window width in metres."
            },
            "heightM": {
              "$ref": "#/definitions/Meters",
              "description": "Window height in metres."
            },
            "sillM": {
              "$ref": "#/definitions/Meters",
              "description": "Sill height above the floor, in metres."
            },
            "materialId": {
              "type": "string"
            },
            "design": {
              "$ref": "#/definitions/ObjectDesign"
            },
            "rideau": {
              "type": "string",
              "enum": [
                "tire",
                "ouvert"
              ]
            },
            "store": {
              "type": "string",
              "const": "baisse"
            },
            "vue": {
              "type": "string"
            }
          },
          "required": [
            "depuisLeDebutM",
            "heightM",
            "id",
            "mur",
            "sillM",
            "widthM"
          ]
        }
      ],
      "description": "A window, preferably placed by wall number."
    },
    "RoomWindow": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "wall": {
          "type": "string",
          "enum": [
            "frontWall",
            "rearWall",
            "leftWall",
            "rightWall"
          ]
        },
        "position": {
          "$ref": "#/definitions/Meters"
        },
        "pan": {
          "type": "number"
        },
        "widthM": {
          "$ref": "#/definitions/Meters"
        },
        "heightM": {
          "$ref": "#/definitions/Meters"
        },
        "sillM": {
          "$ref": "#/definitions/Meters"
        },
        "materialId": {
          "type": "string"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign",
          "description": "Look of the window (HTM Pro): model and frame finish from lire_identifiants famille \"fenetres\"."
        },
        "rideau": {
          "type": "string",
          "enum": [
            "tire",
            "ouvert"
          ],
          "description": "Curtain: \"tire\" (drawn) or \"ouvert\" (open)."
        },
        "store": {
          "type": "string",
          "const": "baisse",
          "description": "\"baisse\": the blind is down."
        },
        "vue": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "wall",
        "position",
        "widthM",
        "heightM",
        "sillM"
      ],
      "additionalProperties": false
    },
    "EspaceOuvertDecrit": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "opening": {
          "$ref": "#/definitions/OuvertureDecrite",
          "description": "The opening in the room wall: wall number (mur), distance from the start of that wall to its nearest edge (depuisLeDebutM), width and height."
        },
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string",
          "description": "Name shown in HTM, for example \"Kitchen\"."
        },
        "widthM": {
          "$ref": "#/definitions/Meters",
          "description": "Size of the open space ALONG the opening wall, in metres."
        },
        "depthM": {
          "$ref": "#/definitions/Meters",
          "description": "Size of the open space AWAY from the room, perpendicular to the opening wall, in metres."
        },
        "heightM": {
          "$ref": "#/definitions/Meters",
          "description": "Ceiling height of the open space, in metres."
        },
        "lateralOffsetM": {
          "$ref": "#/definitions/Meters",
          "description": "Offset in metres of the open space from the centre of its opening, along the wall (towards +x on the screen and back walls, towards the back on the side walls). 0 = centred on the opening."
        },
        "dominantMaterialId": {
          "type": "string",
          "description": "Main material of the open space (materialId from lire_identifiants)."
        }
      },
      "required": [
        "depthM",
        "heightM",
        "id",
        "opening",
        "widthM"
      ],
      "description": "An open space adjoining the room through a wide opening in one of its walls (open kitchen, corridor, dining area). It counts in the reverberation and the room modes."
    },
    "OuvertureDecrite": {
      "anyOf": [
        {
          "$ref": "#/definitions/RoomOpening"
        },
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mur": {
              "type": "number",
              "description": "Wall number in contourEnMurs order (1 = screen wall). In a rectangular room: 1 screen wall, 2 right, 3 back, 4 left."
            },
            "depuisLeDebutM": {
              "type": "number",
              "description": "Distance in metres from the corner where this wall starts (following the outline order) to the nearest edge of the opening."
            },
            "widthM": {
              "$ref": "#/definitions/Meters"
            },
            "heightM": {
              "$ref": "#/definitions/Meters"
            },
            "sillM": {
              "$ref": "#/definitions/Meters"
            }
          },
          "required": [
            "depuisLeDebutM",
            "heightM",
            "mur",
            "widthM"
          ]
        }
      ]
    },
    "RoomOpening": {
      "type": "object",
      "properties": {
        "wall": {
          "$ref": "#/definitions/WallId"
        },
        "position": {
          "$ref": "#/definitions/Meters"
        },
        "widthM": {
          "$ref": "#/definitions/Meters"
        },
        "heightM": {
          "$ref": "#/definitions/Meters"
        },
        "sillM": {
          "$ref": "#/definitions/Meters"
        }
      },
      "required": [
        "wall",
        "position",
        "widthM",
        "heightM"
      ],
      "additionalProperties": false
    },
    "PoteauDecrit": {
      "anyOf": [
        {
          "$ref": "#/definitions/Pilier"
        },
        {
          "$ref": "#/definitions/PoteauDepuisUnMur"
        }
      ]
    },
    "Pilier": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "x": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the left wall."
        },
        "z": {
          "$ref": "#/definitions/Meters",
          "description": "Centre, in metres from the screen wall."
        },
        "forme": {
          "type": "string",
          "enum": [
            "rond",
            "rectangle"
          ],
          "description": "\"rond\": largeurM is the diameter. \"rectangle\": largeurM by profondeurM."
        },
        "largeurM": {
          "$ref": "#/definitions/Meters",
          "description": "Diameter (round) or width (rectangle) in metres."
        },
        "profondeurM": {
          "$ref": "#/definitions/Meters"
        },
        "rotationDeg": {
          "type": "number"
        },
        "label": {
          "type": "string"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        }
      },
      "required": [
        "id",
        "x",
        "z",
        "forme",
        "largeurM"
      ],
      "additionalProperties": false,
      "description": "A post or column, by its centre on the floor."
    },
    "PoteauDepuisUnMur": {
      "type": "object",
      "properties": {
        "mur": {
          "type": "number",
          "description": "Wall number in contourEnMurs order (1 = screen wall)."
        },
        "depuisLeDebutM": {
          "type": "number",
          "description": "Distance in metres from the corner where this wall starts to the nearest edge of the post."
        },
        "id": {
          "type": "string"
        },
        "forme": {
          "type": "string",
          "enum": [
            "rond",
            "rectangle"
          ],
          "description": "\"rond\": largeurM is the diameter. \"rectangle\": largeurM by profondeurM."
        },
        "largeurM": {
          "$ref": "#/definitions/Meters"
        },
        "profondeurM": {
          "$ref": "#/definitions/Meters"
        },
        "rotationDeg": {
          "type": "number"
        },
        "label": {
          "type": "string"
        },
        "design": {
          "$ref": "#/definitions/ObjectDesign"
        },
        "distanceDuMurM": {
          "type": "number",
          "description": "Distance in metres from the wall to the face of the post that looks at it."
        }
      },
      "required": [
        "depuisLeDebutM",
        "distanceDuMurM",
        "forme",
        "id",
        "largeurM",
        "mur"
      ],
      "additionalProperties": false,
      "description": "A post placed from a wall: its edge along the wall and its distance from the wall."
    },
    "BassManagementConfig": {
      "type": "object",
      "properties": {
        "groups": {
          "type": "object",
          "properties": {
            "front": {
              "$ref": "#/definitions/GroupBassSetting"
            },
            "wide": {
              "$ref": "#/definitions/GroupBassSetting"
            },
            "surround": {
              "$ref": "#/definitions/GroupBassSetting"
            },
            "height": {
              "$ref": "#/definitions/GroupBassSetting"
            }
          },
          "required": [
            "front",
            "wide",
            "surround",
            "height"
          ],
          "additionalProperties": false
        },
        "lpfForLfeHz": {
          "type": "number"
        },
        "subwooferOutput": {
          "$ref": "#/definitions/SubwooferOutputMode"
        }
      },
      "required": [
        "groups",
        "lpfForLfeHz",
        "subwooferOutput"
      ],
      "additionalProperties": false
    },
    "GroupBassSetting": {
      "type": "object",
      "properties": {
        "size": {
          "$ref": "#/definitions/SpeakerSize"
        },
        "crossoverHz": {
          "type": "number"
        }
      },
      "required": [
        "size",
        "crossoverHz"
      ],
      "additionalProperties": false
    },
    "SpeakerSize": {
      "type": "string",
      "enum": [
        "large",
        "small"
      ]
    },
    "SubwooferOutputMode": {
      "type": "string",
      "enum": [
        "lfe",
        "lfe-main"
      ]
    }
  }
}
