{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.5/pieces/host-edge.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal pieces, which 0.5 makes a rule (open questions, 124). Written by hand, not generated.",
  "title": "An adopted edge piece",
  "description": "The slab edge element an adopted piece is a piece of, its piece's id, and its stretch along their edge (Part XX, 8, rule 1).",
  "type": "object",
  "properties": {
    "element": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The element the piece is a piece of."
    },
    "piece": {
      "type": "string",
      "minLength": 3,
      "maxLength": 400,
      "description": "The id the piece had in its element's layout (Part XX, 4.4 and 5.4)."
    },
    "from": {
      "type": "number",
      "description": "Its start, a station along the edge, mm.",
      "minimum": 0,
      "maximum": 100000
    },
    "to": {
      "type": "number",
      "description": "Its end, a station along the edge, mm.",
      "minimum": 0,
      "maximum": 100000
    }
  },
  "required": [
    "element",
    "piece",
    "from",
    "to"
  ],
  "x-eik-closed": true
}
