namespace AIStudio.Assistants.BeyondFactsLab; /// /// The research on one person of a preparation of the BeyondFacts Lab. /// /// The ID of the preparation. /// The ID of the person, see BflPersonId. public sealed record BflPersonLocation(Guid ProjectId, Guid PersonId) { /// /// Gets the research on a person by the name of the person. /// /// The ID of the preparation. /// The name of the person. public static BflPersonLocation Of(Guid projectId, string name) => new(projectId, BflPersonId.Of(name)); /// /// Gets the key under which the research registers as a running session, beside the research on the topics. /// public string Key => $"{this.ProjectId:D}/research/participants/{this.PersonId:D}"; }