diff --git a/src/main/resources/coding-schemes/fpml/CodeList.xsd b/src/main/resources/coding-schemes/fpml/CodeList.xsd new file mode 100644 index 0000000..97c6e91 --- /dev/null +++ b/src/main/resources/coding-schemes/fpml/CodeList.xsd @@ -0,0 +1,849 @@ + + + + + Container for any XML content which is in a different namespace to the Schema's target namespace. + + + + + + + + Document type for the definition of a column set, which is a set of code list columns and/or keys. + + + + + General document information for the column set. + + + + + Details of the column set. + + + + + + Identification of the default datatype library for the column set. + + + + + + Top-level element for the definition of a column set. + + + + + Document type for the definition of a simple or derived code list. + + + + + General document information for the code list. + + + + + A choice between a column set definition and a column set reference. + + + + + A choice between a simple code list definition and a derived code list definition. + + + + + + + Top-level element for the definition of a code list. + + + + + Document type for the definition of a set of code lists. + + + + + General document information for the code list set. + + + + + + + + Top-level element for the definition of a code list set + + + + + Identification and location information for a resource. + + + + + Name(s) for the resource. + + + + + Version of the resource. + + + + + Canonical URI which serves as a unique identifier for all versions of the resource. + + + + + Identification and location URIs for the resource. + + + + + + + User annotation information for a resource. + + + + + Human-readable information about the resource. + + + + + Machine-readable information about the resource. + + + + + + + General document information. + + + + + User annotation information for the document. + + + + + Identification and location information for the resource defined by the document. + + + + + + + Specific details of a column set. + + + + + A choice between a column definition and a column reference. + + + + + A choice between a key definition and a key reference. + + + + + + + A choice between a column definition and a column reference. + + + + + Definition of a column. + + + + + Reference to a column defined in an external column set or code list. + + + + + + + A choice between a key definition and a key reference. + + + + + Definition of a key. + + + + + Reference to a key defined in an external column set or code list. + + + + + + + Definition of a column. + + + + + User information about the column. + + + + + Name(s) of the column. + + + + + Data type of the column. + + + + + + ID which identifies the column within the document. + + + + + Whether the column is required or optional. + + + + + + Reference to a column defined in an external column set or code list. + + + + + User annotation about the referenced column. + + + + + Identification of the external column set or code list which contains the column definition. + + + + + + ID which identifies the column within the document. + + + + + ID which identifies which identifies the column within the external column set or code list. + + + + + Whether the column is required or optional. + + + + + + Definition of a key. + + + + + User annotation about the key. + + + + + Name(s) of the key. + + + + + References to the document IDs of the columns which make up the key. Only required columns can form part of a key. + + + + + + ID which identifies the key within the document. + + + + + + Reference to a key defined in an external column set or code list. + + + + + User annotation about the referenced key. + + + + + Identification of the external column set or code list which contains the key definition. + + + + + + ID which identifies the key within the document. + + + + + ID which identifies which identifies the key within the external column set or code list. + + + + + + A choice between a column set definition and a column set reference. + + + + + Definition of a column set. + + + + + Reference to a column set defined in an external column set or code list document. + + + + + + + Definition of a column set. + + + + Details of the column set. + + + + + Identification of the default datatype library for the column set. + + + + + + Reference to a column set defined in an external column set or code list document. + + + + + User annotation about the referenced column set. + + + + + Identification of the external column set or code list document which contains the column set definition. + + + + + + + A choice between a simple code list definition and a derived code list definition. + + + + + Details of a simple code list definition. + + + + + Definition of a derived code list. + + + + + + + Definition of a simple code list. + + + + + User annotation for the code list. + + + + + Row which represents one of the conceptual codes in the code list. + + + + + + + Definition of a derived code list. + + + + + User annotation for the code list. + + + + + A choice of one of the different types of derived code list definition. + + + + + + + Identification and location URIs for a resource. + + + + + Canonical URI which serves as a unique identifier for all versions of the resource. + + + + + Canonical URI which serves as a unique identifier for this version of the resource. + + + + + Suggested retrieval location for this version of the resource. + + + + + + + Reference to a code list defined in an external document. + + + + + User annotation about the referenced code list. + + + + + Identification of the external document which contains the code list definition. + + + + + + + A choice between a simple code list definition, a derived code list definition, or a reference to a code list defined in an external document. + + + + + Definition of a simple code list. + + + + + Definition of a derived code list. + + + + + Reference to a code list defined in an external document. + + + + + + + Attribute set used to identify a resource within the document. + + + + Unique ID within the document for the resource. + + + + + + Attribute set used to identify a resource within an external document. + + + + Unique ID of the resource within the external document. + + + + + + Name(s) for a resource. + + + + + Short name (token) for the resource. + + + + + Long name for the resource. + + + + + + + Data type for a column. + + + + + User annotation for the datatype. + + + + + Facet parameter which refines the datatype. + + + + + + Unique ID for the datatype within its datatype library. + + + + + URI which uniquely identifies the datatype library. If not provided, the datatype library for the enclosing column set is used. + + + + + + Reference to a column which forms part of a key. + + + + + User annotation about the column. + + + + User annotation information for a resource. + + + + + + Human readable information about the resource. + + + + + + + Machine-readable information about the resource. + + + + + + + + + + Reference to the ID of the column within the document. + + + + + + Details of a simple code list definition. + + + + + Reference to the derived code list of which this simple code list is a realisation. + + + + + Definition of the simple code list. + + + + + + + Attribute set which defines the usage of a resource. + + + + Whether the resource is required or optional. + + + + + + Row which represents a conceptual code in a code list. + + + + + User annotation about the row. + + + + + Column value for the row. + + + + + + + A choice between a simple textual value and a complex (structured) XML value. + + + + + Simple textual value. + + + + + Complex (structured) XML value. + + + + + + + Simple textual value. + + + + + + + + Attribute set for referring to a column definition within the document. + + + + Reference to the ID of a column in the document. + + + + + + Individual value from a row which represents a conceptual value in a code list. + + + + + User annotation about the value. + + + + + A choice between a simple textual value and a complex (structured) XML value. + + + + + + Reference to the column with which this value is associated. If not provided, the column is assumed to be the column following the column of the preceding value. + + + + + + A choice of one of the different types of derived code list definition. + + + + + Definition of a column set exclusion filter. + + + + + Definition of a column set inclusion filter. + + + + + Definition of a column set match filter. + + + + + Definition of a column set union filter. + + + + + Definition of a row exclusion filter. + + + + + Definition of a row inclusion filter. + + + + + Definition of a row match filter. + + + + + Definition of a row union filter. + + + + + + + Definition of a row filter. + + + + + User annotation for the row filter. + + + + + Source code list for the row filter. + + + + + Control code list for the row filter. + + + + + + + Input code list for a code list filter or union. + + + + A choice between a simple code list definition, a derived code list definition, or a reference to a code list defined in an external document. + + + + + + Union of one or more code lists. + + + + + User annotation about the union. + + + + + Source code list for the union. + + + + + + + Definition of a column set filter. + + + + + User annotation about the column set filter. + + + + + Source code list for the column set filter. + + + + + Control column set for the column set filter. + + + + + + + Input column set for a code list filter. + + + + A choice between a column set definition and a column set reference. + + + + + + Facet information for refining a datatype. + + + + + + Short name (token) for the datatype facet. + + + + + Long name for the datatype facet. + + + + + + + + Identification of the default datatype library for a column set. + + + + URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes. + + + + + + Indicates whether the usage of a resource is required or optional. + + + + + + +