Filling Out the Ingest LDD Class: Basic

From The SBN Wiki
Revision as of 20:58, 25 March 2015 by Raugh (talk | contribs) (Creation - Safety Save)
Jump to navigation Jump to search


The following assumes that you have initialized an XML file for your validation environment with the required PDS4 namespace and Schematron references. It also assumes that the default namespace has been declared to be the PDS4 namespace, so that no "pds:" prefix is required or used in the tags.



The <Ingest_LDD> class is the document root for the input file passed to LDDTool, which in turn converts it into the XSD Schema and Schematron files that comprise the working, referenceable version of a namespace dictionary. The definition of <Ingest_LDD> is in the PDS4 master schema.

Contents

<name>

REQUIRED

<ldd_version_id>

REQUIRED

<full_name>

REQUIRED

<steward_id>

REQUIRED

<namespace_id>

REQUIRED

<comment>

OPTIONAL

<last_modification_date_time>

REQUIRED


<DD_Attribute>

REQUIRED

<name>

REQUIRED

<version_id>

REQUIRED

<local_identifier>

REQUIRED

<nillable_flag>

REQUIRED

<submitter_name>

REQUIRED

<definition>

REQUIRED

<comment>

OPTIONAL

<Internal_Reference>

OPTIONAL

<lid_reference>

OPTIONAL (but see description)

<lidvid_reference>

OPTIONAL (but see description)

<reference_type>

REQUIRED

<comment>

OPTIONAL

<Terminological_Entry>

OPTIONAL

<name>

REQUIRED

<definition>

REQUIRED

<language>

REQUIRED

<preferred_flag>

REQUIRED

<role>

OPTIONAL

<External_Reference_Extended>

OPTIONAL

<doi>

OPTIONAL

<reference_text>

REQUIRED

<description>

OPTIONAL

<name>

OPTIONAL

<url>

OPTIONAL

<DD_Value_Domain>

REQUIRED

<enumeration_flag>

REQUIRED

<value_data_type>

REQUIRED

<formation_rule>

OPTIONAL

<minimum_characters>

OPTIONAL

<maximum_characters>

OPTIONAL

<minimum_value>

OPTIONAL

<maximum_value>

OPTIONAL

<pattern>

OPTIONAL

<unit_of_measure_type>

OPTIONAL

<specified_unit_id>

OPTIONAL

<DD_Permissible_Value>

OPTIONAL

<value>

REQUIRED

<value_meaning>

REQUIRED

<Terminological_Entry>

OPTIONAL


<DD_Class>

OPTIONAL

<name>

REQUIRED

<version_id>

REQUIRED

<local_identifier>

REQUIRED

<submitter_name>

REQUIRED

<definition>

REQUIRED

<abstract_flag>

OPTIONAL

<element_flag>

OPTIONAL

<Internal_Reference>

OPTIONAL

<lid_reference>

OPTIONAL (but see description)

<lidvid_reference>

OPTIONAL (but see description)

<reference_type>

REQUIRED

<comment>

OPTIONAL

<DD_Association>

REQUIRED (but see description)

<local_identifier>

REQUIRED

<reference_type>

REQUIRED

<minimum_occurrences>

REQUIRED

<maximum_occurrences>

REQUIRED

<constant_value>

OPTIONAL

<DD_Attribute_Reference>

OPTIONAL

<namespace_id>

REQUIRED

<name>

REQUIRED

<DD_Class_Reference>

OPTIONAL

<namespace_id>

REQUIRED

<name>

REQUIRED



<DD_Rule>

OPTIONAL

<local_identifier>

REQUIRED

<rule_context>

REQUIRED

<rule_assign>

OPTIONAL

<DD_Attribute_Reference>

REQUIRED

<namespace_id>

REQUIRED

<name>

REQUIRED

<DD_Class_Reference>

REQUIRED

<namespace_id>

REQUIRED

<name>

REQUIRED

<DD_Rule_Statement>

REQUIRED

<rule_type>

REQUIRED

<rule_test>

REQUIRED

<rule_message>

REQUIRED

<rule_description>

OPTIONAL

<rule_value>

OPTIONAL