{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codequiry-com/json-schema/codequiry-com-quick-check-result-schema.json",
  "title": "QuickCheckResult",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codequiry-com-openapi.yml#/components/schemas/QuickCheckResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "check_id": {
          "type": "integer"
        },
        "check_name": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "language_id": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "status_id": {
          "type": "integer"
        },
        "test_type": {
          "type": "integer"
        },
        "submissions": {
          "type": "object",
          "properties": {
            "uploaded": {
              "type": "integer"
            },
            "failed": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            },
            "details": {
              "type": "array",
              "description": "The submission rows created by this call.",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "filename": {
                    "type": "string"
                  },
                  "file_size": {
                    "type": "integer"
                  },
                  "status_id": {
                    "type": "integer"
                  },
                  "created_at": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "failed_uploads": {
          "type": "array",
          "description": "Files rejected during upload. Empty when everything landed.",
          "items": {
            "type": "object",
            "properties": {
              "file": {
                "type": "string"
              },
              "error": {
                "type": "string"
              }
            }
          }
        },
        "detection_settings": {
          "type": "object",
          "description": "Which external corpora this check searches, resolved from webcheck/dbcheck and the engine.",
          "properties": {
            "web_check": {
              "type": "boolean"
            },
            "github_check": {
              "type": "boolean"
            },
            "stackoverflow_check": {
              "type": "boolean"
            },
            "gist_check": {
              "type": "boolean"
            }
          }
        },
        "check_url": {
          "type": "string"
        },
        "execution_time_ms": {
          "type": "number"
        }
      }
    },
    "next_steps": {
      "type": "object",
      "description": "Literal follow-up calls, with the new check id already substituted in.",
      "properties": {
        "poll_status": {
          "type": "string"
        },
        "get_results": {
          "type": "string"
        }
      }
    }
  }
}