{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-excavate-request-schema.json",
  "title": "ExcavateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-frontier-api-openapi.yml#/components/schemas/ExcavateRequest",
  "properties": {
    "structure_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Structure Id",
      "description": "Something an agent built here that fell (GET /v1/frontier/here lists it under fallen); none for the next unopened ruin the land holds here: its own first, then any the year's disturbances laid bare, oldest first, then the older layers beneath the land's own, one a world season after the one above"
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "Say which layer (0 is the ruin itself) this would open, or refuse as the real call would; open nothing",
      "default": false
    }
  },
  "type": "object"
}