org.custorium.temp.jsonfg.coordRefSys

willem.dobs.nl

Schema Diff

+8 -17

From

CID
bafyreiezb4um5dc...
Indexed At
2026-02-06 13:09 UTC
View this version

To

CID
bafyreigklw2ezj3...
Indexed At
2026-02-06 13:19 UTC
View this version
1 1
{
2 2
  "id": "org.custorium.temp.jsonfg.coordRefSys",
3 3
  "defs": {
4 -
    "refSys": {
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": {
33 +
      "type": "object",
43 34
      "required": [
44 35
        "type"
45 36
      ],
46 37
      "properties": {
47 38
        "type": {
48 39
          "type": "string",
49 40
          "description": "Value should not be reference"
50 41
        }
51 42
      }
52 43
    },
53 44
    "singleRefSys": {
54 45
      "type": "object",
55 46
      "required": [
56 47
        "refSys"
57 48
      ],
58 49
      "properties": {
59 50
        "refSys": {
60 51
          "refs": [
61 52
            "#refSysSimpleRef",
62 53
            "#refSysByRef",
63 54
            "#refSysCustom"
64 55
          ],
65 56
          "type": "union"
66 57
        }
67 58
      }
68 59
    },
69 60
    "refSysSimpleRef": {
70 61
      "type": "object",
71 62
      "required": [
72 63
        "uri"
73 64
      ],
74 65
      "properties": {
75 66
        "uri": {
76 67
          "type": "string",
77 68
          "description": "The value is either a URI or a CURIE."
78 69
        }
79 70
      }
80 71
    }
81 72
  },
82 73
  "$type": "com.atproto.lexicon.schema",
83 74
  "lexicon": 1,
84 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"
85 76
}

Compare Other Versions

Lexicon Garden

@