GraphQL/Inputs
PurchaseAnimalInput
Per-animal details within a purchase record.
input PurchaseAnimalInput {
animalIdentity: AnimalIdentityInput!
tagType: AnimalTagType
characteristics: AnimalCharacteristicsInput!
state: AnimalStateInput
parentage: [AnimalParentageEntryInput!]
price: MonetaryAmountInput
}Fields
PurchaseAnimalInput.animalIdentity ● AnimalIdentityInput! non-null input
Identity of the animal being purchased. vid or eid required for new animals.
PurchaseAnimalInput.tagType ● AnimalTagType enum
The type of physical tag to create for this animal. When omitted the type is inferred from the provided identifiers (eid-only → EID, vid-only → VID, eid+vid → EID_AND_VID). When specified, the identifier values are validated against the format expected by that tag type.
PurchaseAnimalInput.characteristics ● AnimalCharacteristicsInput! non-null input
Required animal characteristics for creation.
PurchaseAnimalInput.state ● AnimalStateInput input
Optional animal state at time of purchase.
PurchaseAnimalInput.parentage ● [AnimalParentageEntryInput!] list input
Optional parentage entries.
PurchaseAnimalInput.price ● MonetaryAmountInput input
Per-animal purchase price. Maps to the perHeadIndividuallyPriced outgoing in the domain.
Member Of
input