AgriWebb API
GraphQL/Objects

DeathRecord

No description

type DeathRecord implements Record {
  recordId: ID!
  recordType: RecordType
  observationDate: Timestamp
  sessionId: ID
  animalId: ID!
  deathCause: AnimalFate
  deathReason: DeathFateReason
  fateDetails: String
}

Fields

DeathRecord.recordId ● ID!
non-null
scalar

DeathRecord.recordType ● RecordType
enum

DeathRecord.observationDate ● Timestamp
scalar

DeathRecord.sessionId ● ID
scalar

DeathRecord.animalId ● ID!
non-null
scalar

DeathRecord.deathCause ● AnimalFate
enum

The fate code for this death (typically Dead)

DeathRecord.deathReason ● DeathFateReason
enum

The reason for the death

DeathRecord.fateDetails ● String
scalar

Additional details about the death

Interfaces

Record
interface

Polymorphic parent type of various records regularly recorded against an animal. There is generally a 0-n relationship between these records and the individual, ie: the animal may have multiple records of the same type recorded against it over time

On this page

FieldsDeathRecord.recordId ● ID!
non-null
scalar
DeathRecord.recordType ● RecordType
enum
DeathRecord.observationDate ● Timestamp
scalar
DeathRecord.sessionId ● ID
scalar
DeathRecord.animalId ● ID!
non-null
scalar
DeathRecord.deathCause ● AnimalFate
enum
DeathRecord.deathReason ● DeathFateReason
enum
DeathRecord.fateDetails ● String
scalar
InterfacesRecord
interface