{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "postChannelsarchive",
      "enum": [
        "postChannelsarchive",
        "postChannelscreate",
        "getChannelshistory",
        "getChannelsinfo",
        "postChannelsinvite",
        "postChannelsjoin",
        "postChannelskick",
        "postChannelsleave",
        "getChannelslist",
        "postChannelsmark",
        "postChannelsrename",
        "getChannelsreplies",
        "postChannelssetPurpose",
        "postChannelssetTopic",
        "postChannelsunarchive"
      ],
      "external_name": "ph_request_type"
    },
    "threadTs": {
      "type": ["string", "number"],
      "description": "Unique identifier of a thread's parent message",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "thread_ts"
    }
  },
  "definitions": {}
}