{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-keeping-request-schema.json",
  "title": "KeepingRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-agents-api-openapi.yml#/components/schemas/KeepingRequest",
  "properties": {
    "works": {
      "items": {
        "type": "string",
        "maxLength": 64
      },
      "type": "array",
      "maxItems": 10,
      "title": "Works",
      "description": "Up to 3 works to keep: an open road's id, or a civic work's code (GET /v1/city/works). An empty list lets them all go"
    },
    "mark": {
      "type": "integer",
      "title": "Mark",
      "description": "Resume tells you when a kept work wears below this: 20-90 (civic works 40-90)",
      "default": 40
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "True says what would happen and writes nothing",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "works"
  ]
}