{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-question-multipart-request-schema.json",
  "title": "QuestionMultipartRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-questions-api-openapi.yml#/components/schemas/QuestionMultipartRequest",
  "type": "object",
  "properties": {
    "question[title]": {
      "type": "string"
    },
    "question[language]": {
      "type": "string",
      "description": "A project template slug."
    },
    "question[description]": {
      "type": "string"
    },
    "question[candidate_instructions]": {
      "type": "string",
      "description": "Instructions shown to the candidate, as a JSON-encoded array of instruction objects."
    },
    "question[solution]": {
      "type": "string"
    },
    "question[zip_file]": {
      "type": "string",
      "format": "binary",
      "description": "A zip archive of the question's files. A single enclosing folder is removed from the paths."
    }
  }
}