org.custorium.temp.jsonfg.coordRefSys
Schema Diff
+12 -13
1
1
{
2
2
"id": "org.custorium.temp.jsonfg.coordRefSys",
3
3
"defs": {
4
-
"refSys": {
5
-
"refs": [
6
-
"#singleRefSys",
7
-
"#multiRefSys"
8
-
],
9
-
"type": "union"
10
-
},
11
4
"multiRefSys": {
12
-
"type": "array",
13
-
"items": {
14
-
"ref": "#singleRefSys",
15
-
"type": "ref"
16
-
},
17
-
"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
+
}
18
16
},
19
17
"refSysByRef": {
20
18
"type": "object",
21
19
"required": [
22
20
"href"
23
21
],
24
22
"properties": {
25
23
"href": {
26
24
"type": "string",
27
25
"format": "uri"
28
26
},
29
27
"epoch": {
30
28
"type": "integer"
31
29
}
32
30
}
33
31
},
34
32
"refSysCustom": {
33
+
"type": "object",
35
34
"required": [
36
35
"type"
37
36
],
38
37
"properties": {
39
38
"type": {
40
39
"type": "string",
41
40
"description": "Value should not be reference"
42
41
}
43
42
}
44
43
},
45
44
"singleRefSys": {
46
45
"type": "object",
47
46
"required": [
48
47
"refSys"
49
48
],
50
49
"properties": {
51
50
"refSys": {
52
51
"refs": [
53
52
"#refSysSimpleRef",
54
53
"#refSysByRef",
55
54
"#refSysCustom"
56
55
],
57
56
"type": "union"
58
57
}
59
58
}
60
59
},
61
60
"refSysSimpleRef": {
62
61
"type": "object",
63
62
"required": [
64
63
"uri"
65
64
],
66
65
"properties": {
67
66
"uri": {
68
67
"type": "string",
69
68
"description": "The value is either a URI or a CURIE."
70
69
}
71
70
}
72
71
}
73
72
},
74
73
"$type": "com.atproto.lexicon.schema",
75
74
"lexicon": 1,
76
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"
77
76
}