OrganizationAnalysis
public struct OrganizationAnalysis : Equatable, Sendable
Shared, domain-keyed privacy analysis of an organization.
The same underlying analysis is returned to every caller asking about the same domain; it
carries only organization-generic signals. id equals the analyzed domain.
-
Identifies the shared analysis. Equal to the analyzed domain.
Declaration
Swift
public let id: String -
The analyzed domain (equal to
id).Declaration
Swift
public let domain: String -
Aggregate status.
.pendingwhile an asynchronous source is still resolving.Declaration
Swift
public let status: AnalysisResultStatus -
Reason for the current
status, when the service provides one.Declaration
Swift
public let statusReason: AnalysisResultStatusReason? -
Time the aggregate was last derived.
Declaration
Swift
public let lastAnalyzedAt: Date -
Structured analysis payload. Populated when
statusis.completeor.partial.Declaration
Swift
public let data: AnalysisResultData? -
The caller who requested this view. The underlying analysis is shared.
Declaration
Swift
public let owner: String -
Record version, used for optimistic concurrency.
Declaration
Swift
public let version: Int -
Date the analysis was created.
Declaration
Swift
public let createdAt: Date -
Date the analysis was last updated.
Declaration
Swift
public let updatedAt: Date -
Declaration
Swift
public init( id: String, domain: String, status: AnalysisResultStatus, statusReason: AnalysisResultStatusReason? = nil, lastAnalyzedAt: Date, data: AnalysisResultData?, owner: String, version: Int, createdAt: Date, updatedAt: Date )
OrganizationAnalysis Structure Reference