{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flatmark-dev/json-schema/flatmark-dev-job-submit-response-schema.json",
  "title": "JobSubmitResponse",
  "description": "A queued conversion job.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flatmark-dev-openapi.json#/components/schemas/JobSubmitResponse",
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id",
      "description": "The job id."
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "`queued` at submission."
    },
    "webhook_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Webhook Secret",
      "description": "The key for checking the webhook signature. Only set when you sent `webhook_url`, and only shown in this response."
    },
    "result_url": {
      "type": "string",
      "title": "Result Url",
      "description": "Where to download the result once the job succeeded."
    },
    "poll_url": {
      "type": "string",
      "title": "Poll Url",
      "description": "Where to check the job's status."
    }
  },
  "type": "object",
  "required": [
    "job_id",
    "status",
    "result_url",
    "poll_url"
  ]
}