{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.1/proposed/review/index.json",
  "$comment": "Proposed for OpenEik 0.2: Part XVIII, review and issue. Written by hand from Part XVIII, 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 [\"review\"], which applies the proposal drawings too).",
  "title": "Review and issue, proposed for 0.2",
  "description": "The index of the proposal review (Part XVIII, proposed for 0.2, from plan 688). It is a schema that asserts nothing: its member x-eik-proposal maps each kind of file of the proposal to its schema, and each statement to its predicate type and predicate's schema. A statement is a file of Part XIV, 14.2's format, its envelope and time-stamps as a drawing's sign-off has them. The members it adds to an issue are in proposed/drawings/issue.schema.json. Its member served names the file a host serves and no building holds: a host's keys, at a path on the host's origin (XVIII.5.6). Schema paths are relative to https://openeik.org/schemas/0.1/.",
  "x-eik-proposal": {
    "name": "review",
    "part": "XVIII",
    "status": "proposed for 0.2",
    "needs": [
      "drawings"
    ],
    "files": [
      {
        "pattern": "project/reviews/<review>.json",
        "format": "openeik-model-review/0.1",
        "schema": "proposed/review/model-review.schema.json"
      },
      {
        "pattern": "drawings/issues/<issue>/signoffs/<n>.json",
        "format": "openeik-drawing-signoff/0.1",
        "schema": "proposed/drawings/signoff.schema.json",
        "predicateType": "https://openeik.org/attestation/issue/v0.1",
        "predicate": "proposed/review/issue-predicate.schema.json"
      },
      {
        "pattern": "drawings/issues/<issue>/receipts/<n>.json",
        "format": "openeik-drawing-signoff/0.1",
        "schema": "proposed/drawings/signoff.schema.json",
        "predicateType": "https://openeik.org/attestation/issue-receipt/v0.1",
        "predicate": "proposed/review/receipt-predicate.schema.json"
      },
      {
        "pattern": "project/terms-accepted/<n>.json",
        "format": "openeik-drawing-signoff/0.1",
        "schema": "proposed/drawings/signoff.schema.json",
        "predicateType": "https://openeik.org/attestation/terms-accepted/v0.1",
        "predicate": "proposed/review/terms-predicate.schema.json"
      }
    ],
    "issue": {
      "pattern": "drawings/issues/<issue>.json",
      "schema": "proposed/drawings/issue.schema.json",
      "members": [
        "versions",
        "renditions",
        "terms"
      ]
    },
    "served": [
      {
        "path": "/.well-known/openeik/host-keys.json",
        "format": "openeik-host-keys/0.1",
        "schema": "proposed/review/host-keys.schema.json"
      }
    ],
    "references": {
      "modelReview": [
        {
          "path": [
            "items",
            "*",
            "anchors",
            "*",
            "element"
          ],
          "to": "element"
        }
      ]
    }
  }
}
