{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.8/slabHosts/insert-at.schema.json",
  "$comment": "OpenEik 0.7: folded by tools/fold-schemas-0.7.mjs from the proposal slabHosts, which 0.7 makes a rule (open questions, 164). Written by hand, not generated.",
  "title": "A cast-in item's place on its host",
  "description": "Where a cast-in item stands in its host's frame (Part IV, 7.6, rule 5; with the proposal slabHosts, Part II, 6.1.2, rule 3, and Part IV, 7.6.1): the face it is cast in from, its point along, up and across, its turn and its tilt, its row, and a conduit's way.",
  "type": "object",
  "properties": {
    "face": {
      "type": "string",
      "enum": [
        "exterior",
        "interior",
        "top",
        "bottom",
        "start",
        "end",
        "edge"
      ],
      "description": "The face it is cast in from: on a wall, exterior, interior, top, bottom, start or end (Part IV, 7.6, rule 5); in a slab or a roof, with the proposal slabHosts, top, bottom or edge, the edge edgeId names (Part II, 6.1.2, rule 3)."
    },
    "edgeId": {
      "type": "string",
      "minLength": 1,
      "description": "On the face edge of a slab or a roof: the edge of its host's outline the item lies on, by its id (its edgeIds, or <host id>:edge:<n>; Part I, 6.6). With no other face, and in no wall (Part II, 6.1.2, rule 3)."
    },
    "along": {
      "type": "number"
    },
    "up": {
      "type": "number"
    },
    "across": {
      "type": "number"
    },
    "turn": {
      "type": "number",
      "enum": [
        0,
        90
      ]
    },
    "tilt": {
      "type": "number",
      "minimum": -80,
      "maximum": 80
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "spacing": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 50000
    },
    "direction": {
      "type": "string",
      "enum": [
        "along",
        "up",
        "across"
      ],
      "description": "The way its row runs: along or up a wall; along or across a slab or a roof, along its frame's u or v (Part II, 6.1.2, rule 3)."
    },
    "path": {
      "type": "array",
      "items": {
        "type": "array",
        "minItems": 3,
        "maxItems": 3,
        "prefixItems": [
          {
            "type": "number"
          },
          {
            "type": "number"
          },
          {
            "type": "number"
          }
        ]
      },
      "minItems": 1,
      "maxItems": 60,
      "description": "A conduit's way, its points in its host's frame: [along, up, across] in a wall, [along, across, up] in a slab or a roof (Part II, 6.1.2, rule 3)."
    }
  },
  "required": [
    "face"
  ],
  "x-eik-closed": true
}
