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