{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/storeProtocol/part.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal storeProtocol, which 0.5 makes a rule (open questions, 28). Written by hand, not generated.",
  "title": "A part taken",
  "description": "The answer to PUT …/objects/{hash}/uploads/{upload}/{n} (Part VI, 6.8.7, rule 2): the part's number and the etag that names its bytes.",
  "type": "object",
  "properties": {
    "ok": {
      "const": true,
      "description": "The call was answered as asked (Part VI, 6.8.1, rule 4)."
    },
    "part": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "The part's number, n."
    },
    "etag": {
      "type": "string",
      "minLength": 1,
      "description": "What names the bytes the store took."
    }
  },
  "required": [
    "ok",
    "part",
    "etag"
  ]
}
