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

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

import java.util.List;

/** Payload for {@code GET /api/network}. Nodes are family members; edges are family-graph relationships. */
public record NetworkDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<PersonNodeDTO> nodes,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<RelationshipDTO> edges
) {}
