public extension PureYAML.Validation { /// The read-only bundle a type-directed check receives: the whole `document` (for cross-cutting /// checks), the current `subject` of the check's type, and the `path` to where it sits. struct SubjectContext: Sendable { public var document: PureYAML.Model.Value public var subject: Subject public var path: Path public init( document: PureYAML.Model.Value, subject: Subject, path: Path, ) { self.document = document self.subject = subject self.path = path } } }