mirror of https://github.com/tdwg/dwc.git
Add empty line after titles
This commit is contained in:
parent
1fcac0868e
commit
bc69fdfaa5
|
@ -38,9 +38,11 @@ Bibliographic citation
|
|||
Simple Darwin Core is a predefined subset of the terms that have common use across a wide variety of biodiversity applications. The terms used in Simple Darwin Core are those that are found at the cross-section of taxonomic names, places, and events that document biological occurrences on the planet. The two driving principles are simplicity and flexibility.
|
||||
|
||||
### 1.1 Status of the content of this document
|
||||
|
||||
All sections of this document are normative, except for examples, which are explicitly marked as non-normative.
|
||||
|
||||
## 2 Audience
|
||||
|
||||
This document is targeted toward those who want to share biodiversity information using the simplest methods and structure: Simple Darwin Core. It explains the uses and limitations of this structure and how to expand upon it.
|
||||
|
||||
## 3 What makes it simple?
|
||||
|
@ -85,6 +87,7 @@ The [Text guide](../text/) describes how to construct and format a text file usi
|
|||
The [XML guide](../xml/) describes how to construct XML schemas to share data based on Darwin Core terms. Looking at the [Simple Darwin Core XML Schema](../xml/tdwg_dwc_simple.xsd) using the XML guide as a reference you will be able to see that the schema supports the notion of a `SimpleDarwinRecord`, which is just a grouping of up to one of each of the Darwin Core terms that are `Properties` (not `Classes`).
|
||||
|
||||
#### 6.2.1 Example of Simple Darwin Core as XML (non-normative)
|
||||
|
||||
The following example shows a `SimpleDarwinRecordSet` containing one `SimpleDarwinRecord` for a `Taxon`:
|
||||
|
||||
```xml
|
||||
|
@ -137,6 +140,7 @@ Sooner or later you may want to share more information than Simple Darwin Core s
|
|||
One way would be to try to "overload" existing terms by using them to hold information other than what was intended based on the definition of the terms. Please don't do this. If an existing term has close to the same meaning as one you want to use, but just doesn't quite fit because of the way the definition is worded, it would be better to request an amendment to the term definition so that it will be clear for your community how to use it. You can request such a change by submitting an issue in the [Darwin Core repository](https://github.com/tdwg/dwc).
|
||||
|
||||
### 7.1 Structured content using dynamicProperties
|
||||
|
||||
Another way to get more out of Darwin Core without adding a term is to "payload" the [`dynamicProperties`](http://rs.tdwg.org/dwc/terms/dynamicProperties) term with structured content, as shown in the example below, using Javascript Open Notation (JSON). This is perfectly legal, since it doesn't compromise the meaning of the term. One of the weaknesses of payloading data in this way is that it is subject to a lack of stable or well-defined semantics. Also, it is highly recommended to flatten the content into a single string with no non-printing characters (such as line feeds) to facilitate use in the widest variety of data sharing contexts. Still, this might be a reasonable way to at least allow you to share all of your data, even if there might be problems with people using it reliably.
|
||||
|
||||
#### 7.1.1 Example of structured JSON content within XML (non-normative)
|
||||
|
@ -175,6 +179,7 @@ Another way to get more out of Darwin Core without adding a term is to "payload"
|
|||
```
|
||||
|
||||
### 7.2 Extending Darwin Core by adding terms
|
||||
|
||||
If you were using just CSV text files to exchange information, then you might be tempted to just add the new fields to the files. This approach suffers most of the same problems as payloading - no one aside from those with whom you communicated would know what those new fields were or how to use them. Sharing in this way via XML would be an even bigger problem, because the [Simple Darwin Core XML Schema](../xml/tdwg_dwc_simple.xsd) defines the terms that it supports and the new fields would not correspond with any terms understood by the schema. In other words, the XML with your fields in it would not be a valid Simple Darwin Core XML document.
|
||||
|
||||
So, if you really need to extend the capabilities of Darwin Core, the best first step is to follow the standards process to add the terms you need. See the [Contributing guide](https://github.com/tdwg/dwc/blob/master/.github/CONTRIBUTING.md) to understand how to suggest a new term.
|
||||
|
|
|
@ -42,6 +42,7 @@ This document provides guidelines for formatting and sharing [Darwin Core terms]
|
|||
More complex structure can be shared in multiple related files. The description of content and relationships between files can be achieved using the metafile. This guideline makes recommendations for the simple case of a _core_ file, upon which Darwin Core _records_ are based, and _extensions_ that are linked to records in that core file. Specifically, extension records have a _many-to-one_ relationship with records in the core file. For example, a core file might contain specimen records, with one specimen per row in the file, while an extension file contains one or more identifications for those specimens, with one identification per row in the extension file, and with an identifier to the specimen for each identification row. This example would allow many identifications to be associated with each specimen.
|
||||
|
||||
### 1.1 Status of the content of this document
|
||||
|
||||
All sections of this document are normative, except for examples, whose sections are marked as non-normative.
|
||||
|
||||
### 1.2 Simple example metafile content (non-normative)
|
||||
|
|
|
@ -40,9 +40,11 @@ This document provides guidelines for implementing application schemas based on
|
|||
This document does not provide guidelines for encoding Darwin Core in RDF/XML. Nor does it take a position on the relative merits of encoding metadata in "plain" XML rather than RDF/XML. This document provides guidelines in those cases where RDF/XML is not considered appropriate.
|
||||
|
||||
### 1.1 Status of the content of this document
|
||||
|
||||
All sections of this document are normative, except for sections that are explicitly marked as non-normative.
|
||||
|
||||
### 1.2 Audience
|
||||
|
||||
This document is targeted toward those who wish to use or construct application schemas using Darwin Core terms in XML. It includes explanations of existing schemas such as [Simple Darwin Core](../simple/) and how to build new schemas to meet specific models of information.
|
||||
|
||||
## 2 Implementation guide
|
||||
|
@ -105,6 +107,7 @@ Do not use an empty string - an element with no content:
|
|||
The term [`dcterms:type`](http://rs.tdwg.org/dwc/terms/dcterms:type) (which is controlled by the [Dublin Core Type Vocabulary](http://dublincore.org/documents/dcmi-type-vocabulary/)), gives the basic category of object (`PhysicalObject`, `StillImage`, `MovingImage`, `Sound`, `Text`) the record is about. The term [`basisOfRecord`](http://rs.tdwg.org/dwc/terms/basisOfRecord), which has a controlled vocabulary distinct from that of `dcterms:type`, shows the name of the Darwin Core class (e.g., [`LivingSpecimen`](http://rs.tdwg.org/dwc/terms/LivingSpecimen), [`PreservedSpecimen`](http://rs.tdwg.org/dwc/terms/PreservedSpecimen), [`FossilSpecimen`](http://rs.tdwg.org/dwc/terms/FossilSpecimen), [`HumanObservation`](http://rs.tdwg.org/dwc/terms/HumanObservation), [`MachineObservation`](http://rs.tdwg.org/dwc/terms/MachineObservation), [`Taxon`](http://rs.tdwg.org/dwc/terms/Taxon)) the record is about.
|
||||
|
||||
#### 2.6.1 Simple Darwin Core example (non-normative)
|
||||
|
||||
Following is a brief example of an XML document for a single specimen complying with the [Simple Darwin Core Schema](tdwg_dwc_simple.xsd)]. The [Simple Darwin Core XML example document](example_simple.xml) (if this link shows a blank page in your browser, use the View Source option to see the XML document) shows detail for a single record having a more complete set of elements.
|
||||
|
||||
```xml
|
||||
|
@ -142,6 +145,7 @@ Many Darwin Core terms (`properties`) are defined as being associated with anoth
|
|||
It is encouraged to use classes in a normalized way to avoid deep nesting. A [Darwin Core Tools and Applications page](https://github.com/tdwg/dwc-documentation/blob/master/documentation/resources.md) has been created as an index to example schemas for the purpose of community discussions and development. An [XML schema](tdwg_dwc_classes.xsd) is provided to freely mix any Darwin Core Class in a global list and allow them to reference each other using the respective class identifier terms.
|
||||
|
||||
#### 2.7.1 Normalized classes examples (non-normative)
|
||||
|
||||
Following is an example of using normalized classes to represent two related specimen occurrences (one of which has had a second identification) at one location following this class-based schema. Note that you can reuse the location definition here by referring to it via locationID:
|
||||
|
||||
```xml
|
||||
|
|
Loading…
Reference in New Issue