{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "The body of every refusal the submit endpoint answers with.\n\nMirrors crew-api's ``models.error.ErrorResponse``, which is written with\n``exclude_none``: a field that is not set is left out.",
  "properties": {
    "code": {
      "description": "The HTTP status, as a string.",
      "examples": [
        "400"
      ],
      "title": "Code",
      "type": "string"
    },
    "message": {
      "description": "What went wrong, for a human.",
      "examples": [
        "Missing required field"
      ],
      "title": "Message",
      "type": "string"
    },
    "details": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "More about the refusal. Where present, `details.error` is a machine-readable slug such as `QUOTA_EXHAUSTED` or `PRIORITY_TOO_HIGH`.",
      "title": "Details"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Quote this to support.",
      "title": "Request Id"
    }
  },
  "required": [
    "code",
    "message"
  ],
  "title": "ErrorResponse",
  "type": "object"
}