1
1
---
2
2
layout: default
3
- title: Prefixes
3
+ title: Namespace Prefixes
4
4
permalink: /prefixes/
5
5
---
6
6
7
- {% for prefsuf in site.data.prefixes['@context'] %}
8
- {{ prefsuf[0] }}: {{ prefsuf[1] }}
9
- {% endfor %}
7
+ < div class ="container ">
8
+ < div class ="page-header ">
9
+ < h2 > Prefix Registry</ h2 >
10
+ </ div >
11
+ < p >
12
+ An easy way to extend CoverageJSON is to add new fields to it.
13
+ In order to avoid name clashes (both with other extensions and future versions of the format)
14
+ it is recommended to use names of the form < code > "prefix:suffix"</ code > .
15
+ If CoverageJSON documents using that prefix shall be published more widely,
16
+ then it should be registered together with the corresponding namespace URI.
17
+ A registration avoids name clashes and eases common understanding of extensions without establishing the full
18
+ machinery of JSON-LD for example.
19
+ More details can be found in the < a href ="http://covjson.org/spec/#extensions "> "Extensions" section</ a >
20
+ of the specification.
21
+ </ p >
22
+
23
+ < div class ="panel panel-primary ">
24
+ < div class ="panel-heading ">
25
+ < h3 class ="panel-title "> How to register a prefix</ h3 >
26
+ </ div >
27
+ < div class ="panel-body ">
28
+ < strong > Very simple!</ strong >
29
+ The only thing you have to do is edit the
30
+ < a href ="https://github.com/covjson/covjson.github.io/blob/master/_data/prefixes.yaml "> prefixes.yaml</ a >
31
+ file on GitHub and submit a pull request. Once the request is accepted, the prefix entry immediately appears in
32
+ the table below, as well as in the < a href ="http://covjson.org/prefixes.jsonld "> covjson.org/prefixes.jsonld</ a >
33
+ file which is included in the < a href ="http://covjson.org/context.jsonld "> default JSON-LD context</ a > ,
34
+ making it available for linked data applications.
35
+ If you register a prefix for a common namespace, try to use an established prefix.
36
+ The website < a href ="http://prefix.cc/ "> prefix.cc</ a > may provide some help for that.
37
+ </ div >
38
+ </ div >
39
+
40
+ < table class ="table ">
41
+ < thead >
42
+ < tr >
43
+ < th > Prefix</ th >
44
+ < th > URI</ th >
45
+ </ tr >
46
+ </ thead >
47
+ < tbody >
48
+ {% for entry in site.data.prefixes %}
49
+ < tr > < td > {{ entry[0] }}</ td > < td > < a href ="{{ entry[1] }} " target ="_blank "> {{ entry[1] }}</ a > </ td > </ tr >
50
+ {% endfor %}
51
+ </ tbody >
52
+ </ table >
53
+ </ div >
0 commit comments