org.custorium.temp.jsonfg.coordRefSys
Schema Diff
+11 -6
1
1
{
2
2
"id": "org.custorium.temp.jsonfg.coordRefSys",
3
3
"defs": {
4
4
"multiRefSys": {
5
-
"type": "array",
6
-
"items": {
7
-
"ref": "#singleRefSys",
8
-
"type": "ref"
9
-
},
10
-
"minLength": 2
5
+
"type": "object",
6
+
"properties": {
7
+
"refSys": {
8
+
"type": "array",
9
+
"items": {
10
+
"ref": "#singleRefSys",
11
+
"type": "ref"
12
+
},
13
+
"minLength": 2
14
+
}
15
+
}
11
16
},
12
17
"refSysByRef": {
13
18
"type": "object",
14
19
"required": [
15
20
"href"
16
21
],
17
22
"properties": {
18
23
"href": {
19
24
"type": "string",
20
25
"format": "uri"
21
26
},
22
27
"epoch": {
23
28
"type": "integer"
24
29
}
25
30
}
26
31
},
27
32
"refSysCustom": {
28
33
"type": "object",
29
34
"required": [
30
35
"type"
31
36
],
32
37
"properties": {
33
38
"type": {
34
39
"type": "string",
35
40
"description": "Value should not be reference"
36
41
}
37
42
}
38
43
},
39
44
"singleRefSys": {
40
45
"type": "object",
41
46
"required": [
42
47
"refSys"
43
48
],
44
49
"properties": {
45
50
"refSys": {
46
51
"refs": [
47
52
"#refSysSimpleRef",
48
53
"#refSysByRef",
49
54
"#refSysCustom"
50
55
],
51
56
"type": "union"
52
57
}
53
58
}
54
59
},
55
60
"refSysSimpleRef": {
56
61
"type": "object",
57
62
"required": [
58
63
"uri"
59
64
],
60
65
"properties": {
61
66
"uri": {
62
67
"type": "string",
63
68
"description": "The value is either a URI or a CURIE."
64
69
}
65
70
}
66
71
}
67
72
},
68
73
"$type": "com.atproto.lexicon.schema",
69
74
"lexicon": 1,
70
75
"description": "WIP, A straitforward translation from OGC Features and Geometries Json (https://portal.ogc.org/files/107269#schema-coordrefsys) to ATProto lexicon, following the draft lexicon styleguide. The most distinct change is addition of a decimals property to higher level objects"
71
76
}