The eLandings XML schema provides definitions for all XML documents used in the eLandings system. These include documents used by agency personnel, and documents used by the software internally. Only a subset of the XML document definitions are needed to interface an external system with eLandings.
The landing_report eLandings XML definition defines files that are prepared by an external system and submitted to eLandings, or schema definition is contained in a number of files. The schema is partitioned so that systems that need only particular element definitions do not have to deal with elements that are not needed for their operations. The W3C XML schema allows schema definition files to include other files. The eLandings XML schema makes use of include statements.
The eLandings XML schema definition files are:
- datatypes.xsd - the data elements that are definitions of atomic data types. That is, the elements that are made from raw data types, and cannot be broken down further. Examples are the landing report id data element, and the weight data element. They contain data, but not structure. Atomic data elements may have attributes. For example, the condition code data element is a simple number containing the code, such as 1. The condition code data element has a attribute for _name-, which contains the name of the condition.
- dateelements.xsd - commonly used data elements that hold groups of individual elements, and that are used in multiple types of reports. For example, the cfec_permit data element, that is made up of the fishery, permit number, and year sequence. The data_elements may have both required and optional elements. While the XML schema defines elements as optional, the eLandings business rules determine when elements are required for particular reports.
- landingreport.xsd - the landing report data element definitions.
- productionreport.xsd - the production report data element definitions.
- logbook.xsd - the electronic logbook data element definitions.
The eLandings system includes other XSD files that provide data element definitions that are used internally. Interfacing systems do not need these data elements.
The landing_report XML definition defines landing report data files that are extracted from eLandings and imported to another system. It is also used for files that are prepared by an external system and submitted to eLandings. Elements of the landing_report document and their usage are defined on the Landing Report Data page.
The production_report XML definition defines files that are prepared by an external system and submitted to eLandings, or production report data files that are extracted from eLandings and imported to another system. It also applies to files that are prepared by an external system and submitted to eLandings. Elements of the production_report document and their usage are defined on the Production Report Data page.
...