{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/commands/groundLoad.upsert.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal ground, which 0.5 makes a rule (open questions, 132). Written by hand, not generated.",
  "title": "groundLoad.upsert",
  "description": "Writes a load on the ground whole, under its id: a new one at the end of its list, one that is there in its place (Part XIX, 8).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "groundLoad.upsert"
    },
    "load": {
      "$ref": "../project/ground.schema.json#/$defs/load"
    },
    "expectedLoad": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "description": "The load as read, whole; null in an envelope for a new one."
    }
  },
  "required": [
    "kind",
    "load"
  ],
  "additionalProperties": false
}
