{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.1/proposed/electrical/index.json",
  "$comment": "Proposed for OpenEik 0.2: Part XIII, electrical installations. Written by hand from the outline of Part XIII and the reference implementation's names and ranges, not generated: tools/generate-schemas.mjs keeps this folder and lists none of it in index.json. No file of OpenEik 0.1 is held to it; a validator applies it only when asked for the proposal (@openeik/tools: proposals [\"electrical\"]).",
  "title": "Electrical installations, proposed for 0.2",
  "description": "The index of the proposal electrical (Part XIII, proposed for 0.2). It is a schema that asserts nothing: its member x-eik-proposal maps each kind of file of the proposal to its schema, as the schemas' index.json does for OpenEik 0.1, names the members it adds to records of 0.1 with their schemas, names the values it adds to enumerations of 0.1 (values: each enumeration by its schema and its member's path in a record, which a validator with the proposal widens by the values listed, and only by them), and lists the references the proposal adds. Schema paths are relative to https://openeik.org/schemas/0.1/.",
  "x-eik-proposal": {
    "name": "electrical",
    "part": "XIII",
    "status": "proposed for 0.2",
    "categories": [
      "electrical",
      "cableCarrier",
      "cable"
    ],
    "categoryDiscipline": {
      "electrical": "systems",
      "cableCarrier": "systems",
      "cable": "systems"
    },
    "files": [
      {
        "pattern": "types/<discipline>/<category>/<id>.json",
        "list": "types",
        "categories": [
          "electrical",
          "cableCarrier",
          "cable"
        ],
        "schema": "proposed/electrical/types/<category>.schema.json"
      },
      {
        "pattern": "<discipline>/<level>/<category>/<id>.json",
        "list": "elements",
        "categories": [
          "electrical",
          "cableCarrier",
          "cable"
        ],
        "schema": "proposed/electrical/elements/<category>.schema.json"
      },
      {
        "pattern": "project/circuits/<id>.json",
        "list": "circuits",
        "schema": "proposed/electrical/circuit.schema.json"
      }
    ],
    "members": [
      {
        "record": "view",
        "path": [
          "display",
          "lighting"
        ],
        "kinds": [
          "3d"
        ],
        "schema": "proposed/electrical/view-lighting.schema.json",
        "section": "4.3"
      }
    ],
    "values": [
      {
        "record": "detailItem",
        "schema": "drawings/detail-item.schema.json",
        "path": [
          "legend",
          "scheme"
        ],
        "values": [
          "electrical",
          "circuits"
        ],
        "section": "4.4"
      }
    ],
    "references": {
      "element": [
        {
          "path": [
            "electrical",
            "circuitId"
          ],
          "to": "circuit"
        },
        {
          "path": [
            "electrical",
            "from"
          ],
          "to": "element"
        },
        {
          "path": [
            "electrical",
            "controls",
            "*"
          ],
          "to": "element"
        },
        {
          "path": [
            "cable",
            "to"
          ],
          "to": "element"
        },
        {
          "path": [
            "cable",
            "circuitId"
          ],
          "to": "circuit"
        },
        {
          "path": [
            "cable",
            "carrierIds",
            "*"
          ],
          "to": "element"
        }
      ],
      "circuit": [
        {
          "path": [
            "boardId"
          ],
          "to": "element"
        }
      ],
      "view": [
        {
          "path": [
            "display",
            "lighting",
            "on",
            "*"
          ],
          "to": "element"
        }
      ]
    },
    "deprecated": [
      {
        "record": "type",
        "categories": [
          "fire"
        ],
        "path": [
          "fire",
          "kind"
        ],
        "values": [
          "emergencyLight"
        ],
        "instead": "an electrical element whose type's kind is emergencyLight",
        "section": "2.3",
        "rule": "7",
        "code": "fire-emergency-light"
      }
    ]
  }
}
