diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2015-06-24 15:46:24 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2015-06-24 15:46:24 +0300 |
commit | 435dab1dd413f57bd6744ae60df0222afb5af4c8 (patch) | |
tree | 7ec62b6002f47c8743ec35e814f277c39b4a30de | |
parent | 83b9523ab4b5d7ae080a58b0655831ada84994bb (diff) | |
download | shared-mime-info-435dab1dd413f57bd6744ae60df0222afb5af4c8.tar.gz |
Add text/csv-schema
http://www.iana.org/assignments/media-types/text/csv-schema
-rw-r--r-- | freedesktop.org.xml.in | 7 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test.csvs | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index e36a9301..dcaa8abc 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -5256,6 +5256,13 @@ command to generate the output files. <sub-class-of type="text/plain"/> <glob pattern="*.csv"/> </mime-type> + <mime-type type="text/csv-schema"> + <_comment>CSV Schema document</_comment> + <acronym>CSV</acronym> + <expanded-acronym>Comma Separated Values</expanded-acronym> + <sub-class-of type="text/plain"/> + <glob pattern="*.csvs"/> + </mime-type> <mime-type type="text/x-copying"> <_comment>license terms</_comment> <sub-class-of type="text/plain"/> @@ -297,6 +297,8 @@ test.t application/x-perl # Copied from http://en.wikipedia.org/wiki/Turtle_%28syntax%29#Example test.ttl text/turtle ox test.rs text/rust ox +# Copied from http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#basics +test.csvs text/csv-schema ox # xml subtypes ../shared-mime-info-spec.xml application/x-docbook+xml xox diff --git a/tests/test.csvs b/tests/test.csvs new file mode 100644 index 00000000..ad2237bb --- /dev/null +++ b/tests/test.csvs @@ -0,0 +1,5 @@ +version 1.0 +@totalColumns 3 +name: notEmpty +age: range(0, 120) +gender: is("m") or is("f") or is("t") or is("n") |