{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lathe-live/json-schema/lathe-live-accepted-schema.json",
  "title": "Accepted",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lathe-live-openapi.json#/components/schemas/Accepted",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "already_queued",
        "removed",
        "updated"
      ],
      "title": "Status",
      "default": "queued"
    },
    "job_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Job Id"
    },
    "instance_id": {
      "type": "string",
      "title": "Instance Id"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "job_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Job Url"
    },
    "checkout_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Checkout Url",
      "description": "A free instance's upgrade: open in a browser and pay the plan's first month; the upgrade follows the payment."
    },
    "verified": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Verified",
      "description": "Registry credentials only: whether the registry took them. Null when there was no image of yours there to try them on."
    },
    "warning": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warning",
      "description": "Registry credentials only: why the registry refused them, when it did. They are saved either way."
    },
    "cidrs": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cidrs",
      "description": "The allowlist as normalised (allowlist only)."
    },
    "settings": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Settings",
      "description": "Engine settings only: the whole engine as it will be once the job has run, secrets masked. A read before the job finishes still answers the previous values, so an `add` reads its result here."
    }
  },
  "type": "object",
  "required": [
    "job_id",
    "instance_id",
    "message"
  ]
}