{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sambodh-ias-in/json-schema/sambodh-ias-in-create-flag-request-schema.json",
  "title": "CreateFlagRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sambodh-ias-in-openapi.json#/components/schemas/CreateFlagRequest",
  "properties": {
    "question_id": {
      "type": "string",
      "format": "uuid",
      "title": "Question Id"
    },
    "reason": {
      "type": "string",
      "title": "Reason"
    },
    "suggested_answer": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Suggested Answer"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "user_answer": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Answer"
    },
    "assessment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Assessment Id"
    },
    "surface": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Surface"
    },
    "client": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client"
    }
  },
  "type": "object",
  "required": [
    "question_id",
    "reason"
  ]
}