{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-describe-adassessment-result-schema.json",
  "title": "DescribeADAssessmentResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-ad-assessment-api-openapi.yml#/components/schemas/DescribeADAssessmentResult",
  "type": "object",
  "properties": {
    "Assessment": {
      "$ref": "#/$defs/Assessment"
    },
    "AssessmentReports": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssessmentReport"
      },
      "description": "A list of assessment reports containing validation results for each domain controller and test category. Each report includes specific validation details and outcomes."
    }
  },
  "$defs": {
    "Assessment": {
      "type": "object",
      "properties": {
        "AssessmentId": {
          "type": "string",
          "description": "The unique identifier of the directory assessment."
        },
        "DirectoryId": {
          "type": "string",
          "description": "The identifier of the directory associated with this assessment."
        },
        "DnsName": {
          "type": "string",
          "description": "The fully qualified domain name (FQDN) of the Active Directory domain being assessed."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the assessment was initiated."
        },
        "LastUpdateDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the assessment status was last updated."
        },
        "Status": {
          "type": "string",
          "description": "The current status of the assessment. Valid values include SUCCESS, FAILED, PENDING, and IN_PROGRESS."
        },
        "StatusCode": {
          "type": "string",
          "description": "A detailed status code providing additional information about the assessment state."
        },
        "StatusReason": {
          "type": "string",
          "description": "A human-readable description of the current assessment status, including any error details or progress information."
        },
        "CustomerDnsIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IP addresses of the DNS servers or domain controllers in your self-managed AD environment."
        },
        "VpcId": {
          "type": "string",
          "description": "Contains Amazon VPC information for the StartADAssessment operation."
        },
        "SubnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of subnet identifiers in the Amazon VPC in which the hybrid directory is created."
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security groups identifiers attached to the network interfaces."
        },
        "SelfManagedInstanceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The identifiers of the self-managed AD instances used to perform the assessment."
        },
        "ReportType": {
          "type": "string",
          "description": "The type of assessment report generated. Valid values are CUSTOMER and SYSTEM."
        },
        "Version": {
          "type": "string",
          "description": "The version of the assessment framework used to evaluate your self-managed AD environment."
        }
      }
    },
    "AssessmentReport": {
      "type": "object",
      "properties": {
        "DomainControllerIp": {
          "type": "string",
          "description": "The IP address of the domain controller that was tested during the assessment."
        },
        "Validations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AssessmentValidation"
          },
          "description": "A list of validation results for different test categories performed against this domain controller."
        }
      }
    },
    "AssessmentValidation": {
      "type": "object",
      "properties": {
        "Category": {
          "type": "string",
          "description": "The category of the validation test."
        },
        "Name": {
          "type": "string",
          "description": "The name of the specific validation test performed within the category."
        },
        "Status": {
          "type": "string",
          "description": "The result status of the validation test. Valid values include SUCCESS, FAILED, PENDING, and IN_PROGRESS."
        },
        "StatusCode": {
          "type": "string",
          "description": "A detailed status code providing additional information about the validation result."
        },
        "StatusReason": {
          "type": "string",
          "description": "A human-readable description of the validation result, including any error details or recommendations."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the validation test was started."
        },
        "LastUpdateDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the validation test was completed or last updated."
        }
      }
    }
  }
}