AgriWebb API
GraphQL/Objects

AnimalState

Current animal state, this changes regularly over the lifetime of the animal as new data is recorded.

type AnimalState {
  currentLocationId: String
  onFarm: Boolean
  onFarmDate: Timestamp
  lastSeen: Timestamp
  daysReared: Int
  offFarmDate: Timestamp
  disposalMethod: String
  fate: AnimalFate
  fertilityStatus: FertilityStatus
  rearingRank: Float
  reproductiveStatus: ReproductiveStatus
  statusDate: Timestamp
  withholdingDateMeat: Timestamp
  withholdingDateExport: Timestamp
  withholdingDateOrganic: Timestamp
  weaned: Boolean
  offspringCount: Float
  weights: AnimalWeightSummary
  bodyConditionScore: ConditionScore
  bodyConditionScoreDate: Timestamp
  animalUnits: AnimalUnit
  hasHadOffspring: Boolean
}

Fields

AnimalState.currentLocationId ● String
scalar

An internal AgriWebb ID representing the animals location, be that of a paddock, pen, yard, feedlot, vegetation, laneway etc

AnimalState.onFarm ● Boolean
scalar

Indication of whether this animal is currently on or off-farm.

AnimalState.onFarmDate ● Timestamp
scalar

A timestamp (observation date of entry) if the animal is currently on farm or has ever been on current farm. Null if never been on farm. If the animal has been on the farm multiple times, this refers to the latest entry the animal was on farm.

AnimalState.lastSeen ● Timestamp
scalar

Date the animal was last seen

AnimalState.daysReared ● Int
scalar

The number of days reared on farm. A number if the animal is currently on farm or has ever been on current farm. Null if never been on farm. If the animal has been on the farm multiple times, this refers to the latest period the animal was on farm

AnimalState.offFarmDate ● Timestamp
scalar

Used to calculate the number of days reared on farm. A number (observation date of exit) if the animal has ever left the current farm. Null if never left (or entered) the farm. If the animal has been on the farm multiple times, this refers to the latest exit the animal was on farm.

AnimalState.disposalMethod ● String
scalar

Indicates the disposal method for an animal that is dead. This may be Null if the animal is alive or disposal method is unknown.

AnimalState.fate ● AnimalFate
enum

Also known as "Status", this field is typically used to describe if the animal is Alive or Dead, sometimes with other variants such as Culled and Sold.

AnimalState.fertilityStatus ● FertilityStatus
enum

Indicates whether an animal is known to be fertile or not, or whether it has been partly or fully neutered. For instance, a neutered cattle male is a steer, a neutered sheep male is a wether. Females of both species can be spayed. An infertile male by comparison still has testes and responds as a male, and is frequently used as a "teaser".

AnimalState.rearingRank ● Float
scalar

Rearing rank is used to indicate the number of progeny reared by the same dam during the same lactation as this has an influence on weights and growth rates. For example, an animal reared as a twin will have a rearing rank of 2. May be Null if unknown, or 0 if born dead. Integer: Null or values 0 to 12.

AnimalState.reproductiveStatus ● ReproductiveStatus
enum

Indicates whether the animal reproductive status such as pregnant / empty. Note that this state may change a number of times over an animal's lifetime.

AnimalState.statusDate ● Timestamp
scalar

Date the status or fate last changed. May be Null.

AnimalState.withholdingDateMeat ● Timestamp
scalar

Due to animal health treatments, the animal may not enter the food supply chain until this date. Derived from animal health treatment events. May be Null.

AnimalState.withholdingDateExport ● Timestamp
scalar

Date resulting from export slaughter interval of a treatment

AnimalState.withholdingDateOrganic ● Timestamp
scalar

Due to animal health treatments, the animal may not enter the food supply chain as organic until this date. Derived from animal health treatment events. May be Null.

AnimalState.weaned ● Boolean
scalar

Whether the animal has been weaned. Animals arriving through purchase are assumed weaned, whereas animals born on farm remain at foot until weaning is recorded. Affects age-class calculation.

AnimalState.offspringCount ● Float
scalar

Cumulative count of offspring this animal has had over its lifetime. Affects age-class calculation.

AnimalState.weights ● AnimalWeightSummary
object

Covers live weight and date, and average daily weigh gains for live and overall

AnimalState.bodyConditionScore ● ConditionScore
object

Latest body condition score of the animal

AnimalState.bodyConditionScoreDate ● Timestamp
scalar

When the body condition score was last observed.

AnimalState.animalUnits ● AnimalUnit
object

Grazing load of the animal (e.g. DSE, LSE, AE, AU). May be derived from the weight and other animal state properties.

AnimalState.hasHadOffspring ● Boolean
scalar

Indicate that an animal has had offspring to get the correct age class without tracking the offspring through birth records.

Member Of

Animal

object

On this page

FieldsAnimalState.currentLocationId ● String
scalar
AnimalState.onFarm ● Boolean
scalar
AnimalState.onFarmDate ● Timestamp
scalar
AnimalState.lastSeen ● Timestamp
scalar
AnimalState.daysReared ● Int
scalar
AnimalState.offFarmDate ● Timestamp
scalar
AnimalState.disposalMethod ● String
scalar
AnimalState.fate ● AnimalFate
enum
AnimalState.fertilityStatus ● FertilityStatus
enum
AnimalState.rearingRank ● Float
scalar
AnimalState.reproductiveStatus ● ReproductiveStatus
enum
AnimalState.statusDate ● Timestamp
scalar
AnimalState.withholdingDateMeat ● Timestamp
scalar
AnimalState.withholdingDateExport ● Timestamp
scalar
AnimalState.withholdingDateOrganic ● Timestamp
scalar
AnimalState.weaned ● Boolean
scalar
AnimalState.offspringCount ● Float
scalar
AnimalState.weights ● AnimalWeightSummary
object
AnimalState.bodyConditionScore ● ConditionScore
object
AnimalState.bodyConditionScoreDate ● Timestamp
scalar
AnimalState.animalUnits ● AnimalUnit
object
AnimalState.hasHadOffspring ● Boolean
scalar
Member Of