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

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

/**
 * Used by {@code GET /api/persons/{id}/inferred-relationships}: each entry
 * is a derived relationship to another family member, labelled from the
 * requesting person's perspective.
 */
public record InferredRelationshipWithPersonDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) PersonNodeDTO person,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String label,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) int hops
) {}
