org.custorium.temp.jsonfg.coordRefSys

willem.dobs.nl

Schema Diff

+35 -28

From

CID
bafyreib5qqb5qe6...
Indexed At
2026-01-04 21:34 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": {
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 -
        "type",
23 20
        "href"
24 21
      ],
25 22
      "properties": {
26 23
        "href": {
27 24
          "type": "string",
28 -
          "description": "The value is either a URI or a CURIE."
29 -
        },
30 -
        "type": {
31 -
          "enum": [
32 -
            "Reference"
33 -
          ],
34 -
          "type": "string"
25 +
          "format": "uri"
35 26
        },
36 27
        "epoch": {
37 28
          "type": "integer"
38 29
        }
39 30
      }
40 31
    },
41 32
    "refSysCustom": {
42 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 -
      "refs": [
55 -
        "#refSysSimpleRef",
56 -
        "#refSysByRef",
57 -
        "#refSysCustom"
45 +
      "type": "object",
46 +
      "required": [
47 +
        "refSys"
58 48
      ],
59 -
      "type": "union"
49 +
      "properties": {
50 +
        "refSys": {
51 +
          "refs": [
52 +
            "#refSysSimpleRef",
53 +
            "#refSysByRef",
54 +
            "#refSysCustom"
55 +
          ],
56 +
          "type": "union"
57 +
        }
58 +
      }
60 59
    },
61 60
    "refSysSimpleRef": {
62 -
      "type": "string",
63 -
      "description": "The value is either a URI or a CURIE."
61 +
      "type": "object",
62 +
      "required": [
63 +
        "uri"
64 +
      ],
65 +
      "properties": {
66 +
        "uri": {
67 +
          "type": "string",
68 +
          "description": "The value is either a URI or a CURIE."
69 +
        }
70 +
      }
64 71
    }
65 72
  },
66 73
  "$type": "com.atproto.lexicon.schema",
67 74
  "lexicon": 1,
68 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"
69 76
}

Compare Other Versions

Lexicon Garden

@