{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/storeProtocol/log.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 history asked for",
  "description": "The body of POST …/log (Part VI, 6.8.8, rules 1 and 2): at most 1000 heads, and at most 20 000 commits.",
  "type": "object",
  "properties": {
    "heads": {
      "type": "array",
      "maxItems": 1000,
      "items": {
        "type": "string",
        "pattern": "^[0-9a-f]{64}$"
      },
      "description": "The versions to walk back from."
    },
    "limit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 20000,
      "description": "The most commits to answer."
    }
  },
  "required": [
    "heads",
    "limit"
  ]
}
