{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.8/storeProtocol/put.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": "Objects sent",
  "description": "The body of POST …/objects/put (Part VI, 6.8.6, rule 4): each object by its name, the SHA-256 of its text's UTF-8 bytes, which the store checks (rule 5).",
  "type": "object",
  "properties": {
    "objects": {
      "type": "object",
      "description": "Each object, {<hash>: <text>}.",
      "propertyNames": {
        "type": "string",
        "pattern": "^[0-9a-f]{64}$"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "objects"
  ]
}
