{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatinbox-net/json-schema/chatinbox-net-call-me-later-vm-schema.json",
  "title": "CallMeLaterVM",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chatinbox-net-callmelater-api-openapi.yml#/components/schemas/CallMeLaterVM",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "customerID": {
      "type": "integer",
      "format": "int32"
    },
    "chatID": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "callReasonID": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "callReasonName": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "relatedUserID": {
      "type": "integer",
      "format": "int32"
    },
    "relatedUserName": {
      "type": [
        "string",
        "null"
      ]
    },
    "relatedUserFullName": {
      "type": [
        "string",
        "null"
      ]
    },
    "relatedTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "workGroupID": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "isCompleted": {
      "type": "boolean"
    },
    "completedUserID": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "completedUserName": {
      "type": [
        "string",
        "null"
      ]
    },
    "completedUserFullName": {
      "type": [
        "string",
        "null"
      ]
    },
    "completedTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "customerFullName": {
      "type": [
        "string",
        "null"
      ]
    },
    "callReason": {
      "$ref": "#/$defs/CallReasonVM"
    },
    "allCallReasons": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CallReasonVM"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CallReasonVM": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}