{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.3/framingLayout/roof-opening-header.schema.json",
  "$comment": "OpenEik 0.2: folded by tools/fold-schemas.mjs from the proposal framingLayout, which 0.2 makes a rule (decision D5). Written by hand from the text, not generated.",
  "title": "A roof opening's header",
  "description": "The header across a roof opening that a layout of rafters frames (Part IV, 7.4.13, rule 10): none, \"none\", where a modelled beam carries the opening; or one piece of its own section, width up the slope and depth square to it from the rafters' top, a glulam or a laminated veneer header for a wide opening. Where it gives none, the header is the layout's openingFraming.headerPlies plies of its family's Width by its ChordDepth.",
  "anyOf": [
    {
      "const": "none"
    },
    {
      "type": "object",
      "properties": {
        "width": {
          "type": "number",
          "minimum": 45,
          "maximum": 600
        },
        "depth": {
          "type": "number",
          "minimum": 90,
          "maximum": 2000
        }
      },
      "required": [
        "width",
        "depth"
      ],
      "additionalProperties": false
    }
  ]
}
