{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.1/proposed/adopted/detail-item-cloud.schema.json",
  "$comment": "Proposed for OpenEik 0.2: Part II, 14.4, rule 1 (open questions, 115). Generated by tools/generate-schemas.mjs from the reference implementation at de6f0d04, as the schemas of 0.1 are, and not written by hand. In 0.1 it is a member the detail item schema does not know, kept; a validator holds it to this schema only when asked for the proposal (@openeik/tools: proposals [\"adopted\"]).",
  "title": "A revision cloud",
  "description": "A closed line drawn as a revision cloud (Part II, 14.4, rule 1, proposed for 0.2): its points are the cloud's corners, joined by scallops of arc mm on the paper, outward, or inward where inward is true; revision is the mark its tag shows, a triangle centred on tag, else on its first corner, and not shown where tagHidden is true or the mark is empty.",
  "type": "object",
  "properties": {
    "arc": {
      "type": "number",
      "minimum": 1,
      "maximum": 50
    },
    "inward": {
      "type": "boolean"
    },
    "revision": {
      "type": "string",
      "maxLength": 20
    },
    "tag": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {
          "type": "number"
        },
        {
          "type": "number"
        }
      ]
    },
    "tagHidden": {
      "type": "boolean"
    }
  },
  "required": [
    "arc"
  ],
  "x-eik-closed": true
}
