{
  "type": "object",
  "title": "invocation",
  "description": "Schema for a dbt invocation",
  "properties": {
    "project_id": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "invocation_id": {
      "type": "string"
    },
    "command": {
      "type": "string"
    },
    "command_options": {
      "type": "string"
    },
    "progress": {
      "type": "string",
      "enum": ["start", "end"]
    },
    "version": {
      "type": "string"
    },
    "remote_ip": {
      "type": "string"
    },
    "run_type": {
      "type": "string",
      "enum": ["dry", "test", "regular"]
    },
    "result_type": {
      "type": "string",
      "enum": ["ok", "error"]
    },
    "result": {
      "type": "string"
    }
  }
}
