{
  "openapi": "3.0.1",
  "info": {
    "title": "TPS",
    "version": "v1"
  },
  "paths": {
    "/TPS/IsCallableSimple.json": {
      "post": {
        "tags": [
          "TPS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              }
            }
          }
        }
      }
    },
    "/TPS/IsCallable.json": {
      "post": {
        "tags": [
          "TPS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              }
            }
          }
        }
      }
    },
    "/TPS/IsCallableMultiple.json": {
      "post": {
        "tags": [
          "TPS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableMultipleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableMultipleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IsCallableMultipleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TPSOutput"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TPSOutput"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TPSOutput"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/TPS/GetCallableNumberSimple.json": {
      "post": {
        "tags": [
          "TPS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              }
            }
          }
        }
      }
    },
    "/TPS/GetCallableNumber.json": {
      "post": {
        "tags": [
          "TPS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCallableNumberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TPSOutput"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GetCallableNumberRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "numbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "options": {
            "type": "object",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCallableNumberSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "numbers": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IsCallableMultipleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "requests": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "options": {
            "type": "object",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IsCallableRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "object",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IsCallableSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Option": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "The name of the option. For an option to have any effect, the name must be one that the service expects.\r\nAny other options that are supplied should be ignored",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "description": "The value for the option. Although this is supplied as a string, it may be converted to other formats. If\r\nthe string is not in the expected format an error may be thrown.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an option that the caller can use to control how a request is executed"
      },
      "Status": {
        "type": "object",
        "properties": {
          "Success": {
            "type": "boolean"
          },
          "ErrorMessage": {
            "type": "string",
            "nullable": true
          },
          "CreditsRemaining": {
            "type": "number",
            "format": "float"
          }
        },
        "additionalProperties": false
      },
      "TPSOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Callable": {
            "type": "boolean"
          },
          "TelephoneNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "UserPass": {
        "type": "http",
        "scheme": "basic"
      },
      "ApiKey": {
        "type": "apiKey",
        "name": "key",
        "in": "query"
      },
      "JWT": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "UserPass": [ ],
      "ApiKey": [ ],
      "JWT": [ ]
    }
  ]
}