package org.raddatz.familienarchiv.person.relationship.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * Pairwise inferred relationship for the document badge.
 * {@code labelFromA} reads "Person B, from A's point of view" and vice-versa
 * (e.g. A=parent, B=child → labelFromA = "Sohn", labelFromB = "Vater").
 */
public record InferredRelationshipDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String labelFromA,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String labelFromB,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) int hops
) {}
