{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-work-item-payload-schema.json",
  "title": "WorkItemPayload",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-work-items-api-openapi.yml#/components/schemas/WorkItemPayload",
  "type": "object",
  "required": [
    "activityId"
  ],
  "properties": {
    "activityId": {
      "type": "string",
      "description": "Fully qualified Activity ID (e.g., owner.activityname+alias)."
    },
    "arguments": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/WorkItemArgument"
      }
    },
    "limitProcessingTimeSec": {
      "type": "integer",
      "description": "Processing time limit in seconds."
    }
  },
  "$defs": {
    "WorkItemArgument": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to download input or upload output."
        },
        "verb": {
          "type": "string",
          "enum": [
            "get",
            "put",
            "post",
            "patch",
            "read"
          ]
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "localName": {
          "type": "string"
        },
        "pathInZip": {
          "type": "string"
        },
        "optional": {
          "type": "boolean"
        }
      }
    }
  }
}