GraphQL/Objects
SaleRecord
No description
type SaleRecord implements Record {
recordId: ID!
recordType: RecordType
observationDate: Timestamp
sessionId: ID
animalId: ID!
departureDate: Timestamp
newOwnerId: ID
newOwnerName: String
reference: String
}Fields
SaleRecord.recordId ● ID! non-null scalar
SaleRecord.recordType ● RecordType enum
SaleRecord.observationDate ● Timestamp scalar
SaleRecord.sessionId ● ID scalar
SaleRecord.animalId ● ID! non-null scalar
SaleRecord.departureDate ● Timestamp scalar
The date the animals departed the farm
SaleRecord.newOwnerId ● ID scalar
ID of the new owner
SaleRecord.newOwnerName ● String scalar
Name of the new owner
SaleRecord.reference ● String scalar
A reference number or identifier for this sale
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