Animals XML Schema
ws_animal_e Complex Type
Description
This is the schema for all data elements for a specified Animal.
Namespace urn:CoreOne.Animals
Diagram
state Element county Element active Element person_num Element country Element postcode Element town Element addr1 Element gender Element suffix Element surname Element middle Element forename Element title Element id Element Sequence keeper Element state Element county Element active Element person_num Element country Element postcode Element town Element addr1 Element gender Element suffix Element surname Element middle Element forename Element title Element id Element Sequence owner Element active Element species_id Element long_name Element short_name Element id Element Sequence breed Element active Element long_name Element short_name Element id Element Sequence species Element has_restriction Element active Element holding_id Element species_id Element name Element num Element id Element Sequence herd Element end_date Element fix_date Element tag_number Element tag_type_id Element animal_id Element id Element Sequence animal_tags Element metadata Element keeper_id Element owner_id Element has_restriction Element sire_id Element dam_id Element known_deceased Element death_date Element registration_date Element birth_date Element name Element label Element sex_code Element breed_id Element species_id Element herd_id Element id Element Sequence ws_animal_e Complex Type
Overview
ws_animal_e
This is the schema for all data elements for a specified Animal.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified record.
herd_id :int
This is an internal CoreOne Herd id used as a foreign key to uniquely identify the specified Animal's herd.
species_id :int
This is an internal CoreOne Species id used as a foreign key to uniquely identify the specified Animal's Species.
breed_id :int
This is an internal CoreOne Breed id used as a foreign key to uniquely identify the specified Animal's breed.
sex_code :int
This is the code used to identify the sex of the specified Animal.
label :string
This is the label used for the specified Animal.
name :string
This is the full name(s) used for the specified Animal.
birth_date :date
This is the date of birth for the specified Animal.
registration_date :date
This is the date of registration for the specified Animal.
death_date :date
This is the date of death (if applicable) for the specified Animal.
known_deceased :boolean
This is a boolean value which flags whether the specified Animal is known to be deceased.
dam_id :int
This is an internal CoreOne Animal id. It is the mother parent of the specified Animal.
sire_id :int
This is an internal CoreOne Animal id. It is the father parent of the specified Animal.
has_restriction :boolean
This is a boolean value which flags whether the Animal has any restrictions.
owner_id :int
This is an internal CoreOne Person id used as a foreign key. This is the current owner of the specified Animal.
keeper_id :int
This is an internal CoreOne Person id used as a foreign key. This is the current keeper of the specified Animal.
metadata :string
This is the metadata for the specified Animal.
animal_tags 0..∞ ws_animal_tag_f Complex Type
These are the details held about the Animal's current animal tags.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified Animal Tag.
animal_id :int
This is an internal CoreOne Animal id used as a foreign key to link the Animal Tag to a specific animal.
tag_type_id :int
This is an internal CoreOne id used as a foreign key to specify the type of the current tag.
tag_number :string
This is the current tag number used for the specified Animal Tag.
fix_date :date
This is the date in which the Animal Tag as been allocated to an animal.
end_date :date
This is the end date used for the specified Animal Tag.
herd ws_herd Complex Type
These are the details held about the Animal's current herd.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the animal's current herd.
num :string
This is the number used for the animal's current herd.
name :string
This is the full name(s) used for the specified animal's current herd.
species_id :int
This is an internal CoreOne id used as a foreign key to link the herd to a certain Species.
holding_id :int
This is an internal CoreOne Holding id used as a foreign key to link the herd to a certain Premises.
active :boolean
This is a boolean value which flags whether the specified herd record is currently active or inactive.
has_restriction :boolean
This is a Boolean value which flags whether the specified herd has any movement restrictions on it.
species ws_species Complex Type
These are the details held about the Animal's species.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the animal's species.
short_name :string
This is the short code used for the specified species.
long_name :string
This is the full name used for the specified species.
active :boolean
This is a boolean value which flags whether the specified species is currently active or inactive.
breed ws_breed Complex Type
These are the details held about the Animal's breed.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified record.
short_name :string
This is the short code used for the specified record.
long_name :string
This is the full name used for the specified record.
species_id :int
This is an internal CoreOne id used as a foreign key to link the record to a certain Species.
active :boolean
This is a boolean value which flags whether the specified record is currently active or inactive.
owner ws_person Complex Type
These are the details held about the Animal's owner.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified person.
title :string
This is the title used for the specified person.
forename :string
This is the first name used for the specified person.
middle :string
This is the middle name used for the specified person.
surname :string
This is the last name used for the specified person.
suffix :string
This is the suffix used for the specified person.
gender :int
This is the gender code used to identify the sex of the specified person.
addr1 :string
This is the first line of address for the specified person's location.
town :string
This is the town where the specified person is currently located.
postcode :string
This is the current ZIP Code used for the specified person's location.
country :string
This is the country where the specified person is currently located.
person_num :string
This is the phone number used for the specified person.
active :boolean
This is a boolean value which flags whether the specified person is currently active or inactive.
county :string
This is the county where the specified person is currently located.
state :string
This is the state where the specified person is currently located.
keeper ws_person Complex Type
These are the details held about the Animal's keeper.
Sequence
id :int
This is an internal CoreOne id used to uniquely identify the specified person.
title :string
This is the title used for the specified person.
forename :string
This is the first name used for the specified person.
middle :string
This is the middle name used for the specified person.
surname :string
This is the last name used for the specified person.
suffix :string
This is the suffix used for the specified person.
gender :int
This is the gender code used to identify the sex of the specified person.
addr1 :string
This is the first line of address for the specified person's location.
town :string
This is the town where the specified person is currently located.
postcode :string
This is the current ZIP Code used for the specified person's location.
country :string
This is the country where the specified person is currently located.
person_num :string
This is the phone number used for the specified person.
active :boolean
This is a boolean value which flags whether the specified person is currently active or inactive.
county :string
This is the county where the specified person is currently located.
state :string
This is the state where the specified person is currently located.
Remarks

Source
See Also
Animals XML Schema

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.