Windmill · Schema

Job

Windmill Job schema

AutomationInternal ToolsOpen SourceProCode API CompositionScriptsWebhooksWorkflow EngineWorkflows
View JSON Schema on GitHub

JSON Schema

windmill-job-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/windmill/refs/heads/main/json-schema/windmill-job-schema.json",
  "title": "Job",
  "description": "Windmill Job schema",
  "oneOf": [
    {
      "allOf": [
        {
          "$ref": "#/components/schemas/CompletedJob"
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "CompletedJob"
              ]
            }
          }
        }
      ]
    },
    {
      "allOf": [
        {
          "$ref": "#/components/schemas/QueuedJob"
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "QueuedJob"
              ]
            }
          }
        }
      ]
    }
  ],
  "discriminator": {
    "propertyName": "type"
  }
}