Difference between revisions of "Filling Out the Ingest LDD Class: Basic"

From The SBN Wiki
Jump to navigation Jump to search
(Creation - Safety Save)
 
(Creation - Safety Save)
Line 1: Line 1:
--------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 "<code>pds:</code>" prefix is required or used in the tags. --------
+
----
 +
----
 +
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 "<code>pds:</code>" prefix is required or used in the tags.  
 +
----
 +
----
 +
 
 
The '''''&lt;Ingest_LDD&gt;''''' 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 '''''&lt;Ingest_LDD&gt;''''' is in the PDS4 master schema.
 
The '''''&lt;Ingest_LDD&gt;''''' 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 '''''&lt;Ingest_LDD&gt;''''' is in the PDS4 master schema.
  

Revision as of 20:33, 25 March 2015



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.

<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



<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

<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

<DD_Class_Reference>

OPTIONAL


<Terminological_Entry>

OPTIONAL


<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