{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-discovery-network-directory-account-item-detail-schema.json",
  "title": "DiscoveryNetworkDirectoryAccountItemDetail",
  "description": "Discovery Network Directory Account Item Detail",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-discovery-api-openapi.yml#/components/schemas/DiscoveryNetworkDirectoryAccountItemDetail",
  "properties": {
    "accountDomain": {
      "description": "Account Domain",
      "type": "string"
    },
    "accountDomainId": {
      "description": "Account Domain Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "addedManually": {
      "description": "Added Manually",
      "type": "boolean"
    },
    "canLaunch": {
      "description": "Can Launch",
      "type": "boolean"
    },
    "computerId": {
      "description": "Computer Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "computerName": {
      "description": "Computer Name",
      "type": "string"
    },
    "createdDate": {
      "description": "Date Item was Created",
      "type": "string",
      "format": "date-time"
    },
    "discoveryItemScannerId": {
      "description": "Discovery Item Scanner Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "discoveryItemScannerName": {
      "description": "Discovery Item Scanner Name",
      "type": "string"
    },
    "discoverySourceId": {
      "description": "Discovery Source Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "discoverySourceName": {
      "description": "Discovery Source Name",
      "type": "string"
    },
    "displayName": {
      "description": "Display Name",
      "type": "string"
    },
    "distinguishedName": {
      "description": "Distinguished Name",
      "type": "string"
    },
    "excluded": {
      "description": "Excluded from Discovery",
      "type": "boolean"
    },
    "networkItemId": {
      "description": "The Id of this Network Item",
      "type": "integer",
      "format": "int32"
    },
    "organizationUnitId": {
      "description": "Organization Unit Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "organizationUnitName": {
      "description": "Organization Unit Name",
      "type": "string"
    },
    "passwordExpirationDate": {
      "description": "Password Expiration Date",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "passwordExpirationStatus": {
      "description": "Password Expiration Status",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "passwordLastSet": {
      "description": "Password Last Set",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "scanItemTemplateId": {
      "description": "Scan Item Template Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "scanItemTemplateName": {
      "description": "Scan Item Template Name",
      "type": "string"
    },
    "secretId": {
      "description": "Secret Id",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "secretName": {
      "description": "Secret Name",
      "type": "string"
    },
    "serviceAccounts": {
      "description": "Service Accounts associated to this Network Item",
      "items": {
        "$ref": "#/$defs/DiscoveryNetworkServiceAccount"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "DiscoveryNetworkServiceAccount": {
      "description": "Discovery Network Service Account",
      "properties": {
        "canLaunch": {
          "description": "Can Launch",
          "type": "boolean"
        },
        "computerAccountId": {
          "description": "Id of Directory Service Computer Account if one is found to be associated",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "computerAccountName": {
          "description": "Name of Directory Service Computer Account if one is found to be associated",
          "type": "string"
        },
        "computerDependencyId": {
          "description": "Computer Dependency Id",
          "type": "integer",
          "format": "int32"
        },
        "computerId": {
          "description": "Computer Id",
          "type": "integer",
          "format": "int32"
        },
        "computerName": {
          "description": "Computer Name",
          "type": "string"
        },
        "dependencyName": {
          "description": "Dependency Name",
          "type": "string"
        },
        "secretId": {
          "description": "Secret Id",
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "secretName": {
          "description": "Secret Name",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}