{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-workflow-wrapper-model-contract-external-task-search-response-schema.json",
  "title": "Workflow.Wrapper.Model.Contract.External.TaskSearchResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-onesource-workflow-openapi.yml#/components/schemas/Workflow.Wrapper.Model.Contract.External.TaskSearchResponse",
  "type": "object",
  "properties": {
    "_meta": {
      "$ref": "#/$defs/Workflow.Wrapper.Model.Contract.Generic.Meta"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Workflow.Wrapper.Model.Contract.External.TaskResponse"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Workflow.Wrapper.Model.Contract.External.TaskResponse": {
      "type": "object",
      "properties": {
        "taskId": {
          "type": [
            "string",
            "null"
          ]
        },
        "taskName": {
          "type": [
            "string",
            "null"
          ]
        },
        "workflowInstanceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "workflowTemplateId": {
          "type": [
            "string",
            "null"
          ]
        },
        "dueDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "createdDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "followUpDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "variables": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "nullable": true
          }
        },
        "workflowTemplateName": {
          "type": [
            "string",
            "null"
          ]
        },
        "assignedUsers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Workflow.Wrapper.Model.Contract.External.User"
          }
        }
      },
      "additionalProperties": false
    },
    "Workflow.Wrapper.Model.Contract.External.User": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "login": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Workflow.Wrapper.Model.Contract.Generic.Meta": {
      "type": "object",
      "properties": {
        "totalItems": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    }
  }
}