42 lines
787 B
Go
42 lines
787 B
Go
package epistemics
|
|
|
|
type BeliefState string
|
|
|
|
const (
|
|
BeliefProvisional BeliefState = "PROVISIONAL"
|
|
BeliefConflicted BeliefState = "CONFLICTED"
|
|
BeliefVerified BeliefState = "VERIFIED"
|
|
)
|
|
|
|
type Observation struct {
|
|
ID ObservationID
|
|
SourceSnapshot SourceSnapshotID
|
|
Excerpt SourceExcerptID
|
|
Text string
|
|
ObservedAt int64
|
|
}
|
|
|
|
type Claim struct {
|
|
ID ClaimID
|
|
Statement string
|
|
ObservationID ObservationID
|
|
CitationID CitationID
|
|
Verification VerificationState
|
|
}
|
|
|
|
type Belief struct {
|
|
ID BeliefID
|
|
ClaimID ClaimID
|
|
State BeliefState
|
|
}
|
|
|
|
type TruthBundle struct {
|
|
Source Source
|
|
Snapshot SourceSnapshot
|
|
Excerpt SourceExcerpt
|
|
Observation Observation
|
|
Claim Claim
|
|
Belief Belief
|
|
Citation Citation
|
|
}
|