{
"id": "org.custorium.temp.jsonfg.coordRefSys",
"defs": {
"refSys": {
"refs": [
"#singleRefSys",
"multiRefSys"
],
"type": "union"
},
"multiRefSys": {
"type": "array",
"items": {
"ref": "#singleRefSys",
"type": "ref"
},
"minLength": 2
},
"refSysByRef": {
"type": "object",
"required": [
"type",
"href"
],
"properties": {
"href": {
"type": "string",
"description": "The value is either a URI or a CURIE."
},
"type": {
"enum": [
"Reference"
],
"type": "string"
},
"epoch": {
"type": "integer"
}
}
},
"refSysCustom": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "Value should not be reference"
}
}
},
"singleRefSys": {
"refs": [
"#refSysSimpleRef",
"#refSysByRef",
"#refSysCustom"
],
"type": "union"
},
"refSysSimpleRef": {
"type": "string",
"description": "The value is either a URI or a CURIE."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"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"
}