{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-password-type-model-schema.json",
  "title": "PasswordTypeModel",
  "description": "Displays the properties of a Password Type",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-remotepasswordchanging-api-openapi.yml#/components/schemas/PasswordTypeModel",
  "properties": {
    "active": {
      "description": "Whether the Password Type is Active ",
      "type": "boolean"
    },
    "allowsPrivilegedAccount": {
      "description": "Allows a Default Privileged Account",
      "type": "boolean"
    },
    "canEdit": {
      "description": "Whether the Password Type can be edited",
      "type": "boolean"
    },
    "concurrencyId": {
      "description": "Globally unique Id",
      "type": "string"
    },
    "customPort": {
      "description": "Custom Port",
      "type": "integer",
      "format": "int32"
    },
    "exitCommand": {
      "description": "Exit Command",
      "type": "string"
    },
    "fields": {
      "description": "Password Type Fields",
      "items": {
        "$ref": "#/$defs/IRestPasswordTypeField"
      },
      "type": "array"
    },
    "hasCommands": {
      "description": "Whether Commands Exist",
      "type": "boolean"
    },
    "hasLDAPSettings": {
      "description": "Whether LDAP Settings Exist",
      "type": "boolean"
    },
    "heartbeatScriptArgs": {
      "description": "Heartbeat Script Args",
      "type": "string"
    },
    "heartbeatScriptId": {
      "description": "Heartbeat Script Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "ignoreSSL": {
      "description": "Whether Password Type ignores SSL warnings",
      "type": "boolean"
    },
    "isWeb": {
      "description": "Whether Is Web",
      "type": "boolean"
    },
    "ldapConnectionSettingsId": {
      "description": "LDAP Connection Settings Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "lineEnding": {
      "$ref": "#/$defs/LineEnding"
    },
    "mainframeConnectionString": {
      "description": "Mainframe Connection String",
      "type": "string"
    },
    "name": {
      "description": "Password Type Name",
      "type": "string"
    },
    "odbcConnectionString": {
      "description": "ODBC Connection String",
      "type": "string"
    },
    "passwordTypeId": {
      "description": "Password Type Id",
      "type": "integer",
      "format": "int32"
    },
    "requestTerminal": {
      "description": "Request Terminal",
      "type": "boolean"
    },
    "rpcScriptArgs": {
      "description": "RPC Script Args",
      "type": "string"
    },
    "rpcScriptId": {
      "description": "RPC Script Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "runnerType": {
      "$ref": "#/$defs/RunnerType"
    },
    "scanItemTemplateId": {
      "description": "Scan Template Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "supportsCustomSettings": {
      "description": "Identifies if changer supports custom settings",
      "type": "boolean"
    },
    "supportsIgnoreSslErrors": {
      "description": "Identifies if changer supports ignoring of SSL errors",
      "type": "boolean"
    },
    "supportsSsl": {
      "description": "Identifies if changer supports SSL",
      "type": "boolean"
    },
    "supportsTakeOver": {
      "description": "Identifies if changer supports take over",
      "type": "boolean"
    },
    "supportsUseSsl": {
      "description": "Identifies if changer supports Use of SSL",
      "type": "boolean"
    },
    "typeName": {
      "description": "Federator Type",
      "type": "string"
    },
    "useSSL": {
      "description": "Whether Password Type uses SSL",
      "type": "boolean"
    },
    "useUsernameAndPassword": {
      "description": "Whether Password Type uses both Username and Password",
      "type": "boolean"
    },
    "validForTakeover": {
      "description": "Whether is Valid For Takeover",
      "type": "boolean"
    },
    "windowsCustomPorts": {
      "description": "Custom Ports for Windows",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IRestPasswordTypeField": {
      "description": "Password Type Fields",
      "properties": {
        "isOptional": {
          "description": "IsOptional",
          "type": "boolean"
        },
        "name": {
          "description": "Name",
          "type": "string"
        },
        "passwordTypeFieldId": {
          "description": "PasswordTypeFieldId",
          "type": "integer",
          "format": "int32"
        },
        "scanItemFieldId": {
          "description": "ScanItemFieldId",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "type": "object"
    },
    "LineEnding": {
      "description": "Line ending type",
      "properties": {},
      "type": "string",
      "enum": [
        "NewLine",
        "CarriageReturn",
        "CarriageReturnNewLine"
      ]
    },
    "RunnerType": {
      "description": "Runner Type",
      "properties": {},
      "type": "string",
      "enum": [
        "Standard",
        "Legacy"
      ]
    }
  }
}