package cloud.nstart.terravault.ordinis.restapi.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.JsonNode;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

import java.time.OffsetDateTime;

@JsonInclude(JsonInclude.Include.NON_NULL)
public record CreateRecordRequest(
    @NotBlank String businessKey,
    @NotNull JsonNode data,
    String geometryWkt,
    OffsetDateTime validFrom,
    OffsetDateTime validTo) {}
