package pipeline

import "gitea.maximumdirect.net/eric/notarius/internal/core/source"

func validSourceDocument() *source.SourceDocument {
	return &source.SourceDocument{
		ID: "source-1", Kind: "document", Format: "text/plain", Digest: "sha256:source",
		Units: []source.SourceUnit{
			{ID: 1, Kind: "unit", Text: "Source unit.", Ref: source.SourceRef{SourceID: "source-1", StartUnitID: 1, EndUnitID: 1}},
			{ID: 2, Kind: "unit", Text: "Second source unit.", Ref: source.SourceRef{SourceID: "source-1", StartUnitID: 2, EndUnitID: 2}},
			{ID: 3, Kind: "unit", Text: "Third source unit.", Ref: source.SourceRef{SourceID: "source-1", StartUnitID: 3, EndUnitID: 3}},
		},
	}
}
