{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-operation-model-schema.json",
  "title": "OperationModel",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-onesource-trust-tax-services-v2-openapi.yml#/components/schemas/OperationModel",
  "type": "object",
  "properties": {
    "request_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "$ref": "#/$defs/OperationsStatus"
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_date_time": {
      "type": "string",
      "format": "date-time"
    },
    "last_action_date_time": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "OperationsStatus": {
      "enum": [
        "NotStarted",
        "Running",
        "Succeeded",
        "Failed",
        "Cancelled",
        "Rejected"
      ],
      "type": "string"
    }
  }
}