pyogrio 0.12.0__cp314-cp314t-macosx_12_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. pyogrio/.dylibs/libgdal.37.3.11.4.dylib +0 -0
  2. pyogrio/__init__.py +57 -0
  3. pyogrio/_compat.py +54 -0
  4. pyogrio/_env.py +59 -0
  5. pyogrio/_err.cpython-314t-darwin.so +0 -0
  6. pyogrio/_geometry.cpython-314t-darwin.so +0 -0
  7. pyogrio/_io.cpython-314t-darwin.so +0 -0
  8. pyogrio/_ogr.cpython-314t-darwin.so +0 -0
  9. pyogrio/_version.py +21 -0
  10. pyogrio/_vsi.cpython-314t-darwin.so +0 -0
  11. pyogrio/core.py +387 -0
  12. pyogrio/errors.py +25 -0
  13. pyogrio/gdal_data/GDAL-targets-release.cmake +19 -0
  14. pyogrio/gdal_data/GDAL-targets.cmake +106 -0
  15. pyogrio/gdal_data/GDALConfig.cmake +24 -0
  16. pyogrio/gdal_data/GDALConfigVersion.cmake +65 -0
  17. pyogrio/gdal_data/GDALLogoBW.svg +138 -0
  18. pyogrio/gdal_data/GDALLogoColor.svg +126 -0
  19. pyogrio/gdal_data/GDALLogoGS.svg +126 -0
  20. pyogrio/gdal_data/LICENSE.TXT +467 -0
  21. pyogrio/gdal_data/MM_m_idofic.csv +321 -0
  22. pyogrio/gdal_data/copyright +467 -0
  23. pyogrio/gdal_data/cubewerx_extra.wkt +48 -0
  24. pyogrio/gdal_data/default.rsc +0 -0
  25. pyogrio/gdal_data/ecw_cs.wkt +1453 -0
  26. pyogrio/gdal_data/eedaconf.json +23 -0
  27. pyogrio/gdal_data/epsg.wkt +1 -0
  28. pyogrio/gdal_data/esri_StatePlane_extra.wkt +631 -0
  29. pyogrio/gdal_data/gdal_algorithm.schema.json +220 -0
  30. pyogrio/gdal_data/gdalg.schema.json +36 -0
  31. pyogrio/gdal_data/gdalicon.png +0 -0
  32. pyogrio/gdal_data/gdalinfo_output.schema.json +390 -0
  33. pyogrio/gdal_data/gdalmdiminfo_output.schema.json +326 -0
  34. pyogrio/gdal_data/gdaltileindex.xsd +253 -0
  35. pyogrio/gdal_data/gdalvrt.xsd +927 -0
  36. pyogrio/gdal_data/gfs.xsd +246 -0
  37. pyogrio/gdal_data/gml_registry.xml +117 -0
  38. pyogrio/gdal_data/gml_registry.xsd +66 -0
  39. pyogrio/gdal_data/grib2_center.csv +251 -0
  40. pyogrio/gdal_data/grib2_process.csv +102 -0
  41. pyogrio/gdal_data/grib2_subcenter.csv +63 -0
  42. pyogrio/gdal_data/grib2_table_4_2_0_0.csv +261 -0
  43. pyogrio/gdal_data/grib2_table_4_2_0_1.csv +261 -0
  44. pyogrio/gdal_data/grib2_table_4_2_0_13.csv +261 -0
  45. pyogrio/gdal_data/grib2_table_4_2_0_14.csv +261 -0
  46. pyogrio/gdal_data/grib2_table_4_2_0_15.csv +261 -0
  47. pyogrio/gdal_data/grib2_table_4_2_0_16.csv +261 -0
  48. pyogrio/gdal_data/grib2_table_4_2_0_17.csv +11 -0
  49. pyogrio/gdal_data/grib2_table_4_2_0_18.csv +261 -0
  50. pyogrio/gdal_data/grib2_table_4_2_0_19.csv +261 -0
  51. pyogrio/gdal_data/grib2_table_4_2_0_190.csv +261 -0
  52. pyogrio/gdal_data/grib2_table_4_2_0_191.csv +261 -0
  53. pyogrio/gdal_data/grib2_table_4_2_0_2.csv +261 -0
  54. pyogrio/gdal_data/grib2_table_4_2_0_20.csv +261 -0
  55. pyogrio/gdal_data/grib2_table_4_2_0_21.csv +261 -0
  56. pyogrio/gdal_data/grib2_table_4_2_0_3.csv +261 -0
  57. pyogrio/gdal_data/grib2_table_4_2_0_4.csv +261 -0
  58. pyogrio/gdal_data/grib2_table_4_2_0_5.csv +261 -0
  59. pyogrio/gdal_data/grib2_table_4_2_0_6.csv +261 -0
  60. pyogrio/gdal_data/grib2_table_4_2_0_7.csv +261 -0
  61. pyogrio/gdal_data/grib2_table_4_2_10_0.csv +261 -0
  62. pyogrio/gdal_data/grib2_table_4_2_10_1.csv +261 -0
  63. pyogrio/gdal_data/grib2_table_4_2_10_191.csv +261 -0
  64. pyogrio/gdal_data/grib2_table_4_2_10_2.csv +261 -0
  65. pyogrio/gdal_data/grib2_table_4_2_10_3.csv +261 -0
  66. pyogrio/gdal_data/grib2_table_4_2_10_4.csv +261 -0
  67. pyogrio/gdal_data/grib2_table_4_2_1_0.csv +261 -0
  68. pyogrio/gdal_data/grib2_table_4_2_1_1.csv +261 -0
  69. pyogrio/gdal_data/grib2_table_4_2_1_2.csv +261 -0
  70. pyogrio/gdal_data/grib2_table_4_2_20_0.csv +261 -0
  71. pyogrio/gdal_data/grib2_table_4_2_20_1.csv +261 -0
  72. pyogrio/gdal_data/grib2_table_4_2_20_2.csv +261 -0
  73. pyogrio/gdal_data/grib2_table_4_2_2_0.csv +261 -0
  74. pyogrio/gdal_data/grib2_table_4_2_2_3.csv +261 -0
  75. pyogrio/gdal_data/grib2_table_4_2_2_4.csv +261 -0
  76. pyogrio/gdal_data/grib2_table_4_2_2_5.csv +261 -0
  77. pyogrio/gdal_data/grib2_table_4_2_2_6.csv +261 -0
  78. pyogrio/gdal_data/grib2_table_4_2_3_0.csv +261 -0
  79. pyogrio/gdal_data/grib2_table_4_2_3_1.csv +261 -0
  80. pyogrio/gdal_data/grib2_table_4_2_3_2.csv +28 -0
  81. pyogrio/gdal_data/grib2_table_4_2_3_3.csv +8 -0
  82. pyogrio/gdal_data/grib2_table_4_2_3_4.csv +14 -0
  83. pyogrio/gdal_data/grib2_table_4_2_3_5.csv +11 -0
  84. pyogrio/gdal_data/grib2_table_4_2_3_6.csv +11 -0
  85. pyogrio/gdal_data/grib2_table_4_2_4_0.csv +261 -0
  86. pyogrio/gdal_data/grib2_table_4_2_4_1.csv +261 -0
  87. pyogrio/gdal_data/grib2_table_4_2_4_10.csv +261 -0
  88. pyogrio/gdal_data/grib2_table_4_2_4_2.csv +261 -0
  89. pyogrio/gdal_data/grib2_table_4_2_4_3.csv +261 -0
  90. pyogrio/gdal_data/grib2_table_4_2_4_4.csv +261 -0
  91. pyogrio/gdal_data/grib2_table_4_2_4_5.csv +261 -0
  92. pyogrio/gdal_data/grib2_table_4_2_4_6.csv +261 -0
  93. pyogrio/gdal_data/grib2_table_4_2_4_7.csv +261 -0
  94. pyogrio/gdal_data/grib2_table_4_2_4_8.csv +261 -0
  95. pyogrio/gdal_data/grib2_table_4_2_4_9.csv +261 -0
  96. pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv +5 -0
  97. pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv +2 -0
  98. pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv +175 -0
  99. pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv +401 -0
  100. pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv +38 -0
  101. pyogrio/gdal_data/grib2_table_4_2_local_index.csv +7 -0
  102. pyogrio/gdal_data/grib2_table_4_5.csv +261 -0
  103. pyogrio/gdal_data/grib2_table_versions.csv +3 -0
  104. pyogrio/gdal_data/gt_datum.csv +229 -0
  105. pyogrio/gdal_data/gt_ellips.csv +24 -0
  106. pyogrio/gdal_data/header.dxf +1124 -0
  107. pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs +57 -0
  108. pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs +60 -0
  109. pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs +81 -0
  110. pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs +161 -0
  111. pyogrio/gdal_data/jpfgdgml_AdmArea.gfs +59 -0
  112. pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs +49 -0
  113. pyogrio/gdal_data/jpfgdgml_AdmPt.gfs +59 -0
  114. pyogrio/gdal_data/jpfgdgml_BldA.gfs +54 -0
  115. pyogrio/gdal_data/jpfgdgml_BldL.gfs +54 -0
  116. pyogrio/gdal_data/jpfgdgml_Cntr.gfs +54 -0
  117. pyogrio/gdal_data/jpfgdgml_CommBdry.gfs +49 -0
  118. pyogrio/gdal_data/jpfgdgml_CommPt.gfs +59 -0
  119. pyogrio/gdal_data/jpfgdgml_Cstline.gfs +54 -0
  120. pyogrio/gdal_data/jpfgdgml_ElevPt.gfs +54 -0
  121. pyogrio/gdal_data/jpfgdgml_GCP.gfs +94 -0
  122. pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs +49 -0
  123. pyogrio/gdal_data/jpfgdgml_RailCL.gfs +54 -0
  124. pyogrio/gdal_data/jpfgdgml_RdASL.gfs +44 -0
  125. pyogrio/gdal_data/jpfgdgml_RdArea.gfs +54 -0
  126. pyogrio/gdal_data/jpfgdgml_RdCompt.gfs +59 -0
  127. pyogrio/gdal_data/jpfgdgml_RdEdg.gfs +59 -0
  128. pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs +49 -0
  129. pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs +59 -0
  130. pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs +49 -0
  131. pyogrio/gdal_data/jpfgdgml_SBAPt.gfs +49 -0
  132. pyogrio/gdal_data/jpfgdgml_SBArea.gfs +54 -0
  133. pyogrio/gdal_data/jpfgdgml_SBBdry.gfs +44 -0
  134. pyogrio/gdal_data/jpfgdgml_WA.gfs +54 -0
  135. pyogrio/gdal_data/jpfgdgml_WL.gfs +54 -0
  136. pyogrio/gdal_data/jpfgdgml_WStrA.gfs +54 -0
  137. pyogrio/gdal_data/jpfgdgml_WStrL.gfs +54 -0
  138. pyogrio/gdal_data/leaflet_template.html +102 -0
  139. pyogrio/gdal_data/nitf_spec.xml +3288 -0
  140. pyogrio/gdal_data/nitf_spec.xsd +171 -0
  141. pyogrio/gdal_data/ogr_fields_override.schema.json +125 -0
  142. pyogrio/gdal_data/ogrinfo_output.schema.json +528 -0
  143. pyogrio/gdal_data/ogrvrt.xsd +528 -0
  144. pyogrio/gdal_data/osmconf.ini +134 -0
  145. pyogrio/gdal_data/ozi_datum.csv +131 -0
  146. pyogrio/gdal_data/ozi_ellips.csv +35 -0
  147. pyogrio/gdal_data/pci_datum.txt +530 -0
  148. pyogrio/gdal_data/pci_ellips.txt +129 -0
  149. pyogrio/gdal_data/pdfcomposition.xsd +703 -0
  150. pyogrio/gdal_data/pds4_template.xml +65 -0
  151. pyogrio/gdal_data/plscenesconf.json +1985 -0
  152. pyogrio/gdal_data/ruian_vf_ob_v1.gfs +1455 -0
  153. pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs +86 -0
  154. pyogrio/gdal_data/ruian_vf_st_v1.gfs +1489 -0
  155. pyogrio/gdal_data/ruian_vf_v1.gfs +2126 -0
  156. pyogrio/gdal_data/s57agencies.csv +249 -0
  157. pyogrio/gdal_data/s57attributes.csv +484 -0
  158. pyogrio/gdal_data/s57expectedinput.csv +1008 -0
  159. pyogrio/gdal_data/s57objectclasses.csv +287 -0
  160. pyogrio/gdal_data/seed_2d.dgn +0 -0
  161. pyogrio/gdal_data/seed_3d.dgn +0 -0
  162. pyogrio/gdal_data/stateplane.csv +259 -0
  163. pyogrio/gdal_data/template_tiles.mapml +28 -0
  164. pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json +190 -0
  165. pyogrio/gdal_data/tms_MapML_APSTILE.json +268 -0
  166. pyogrio/gdal_data/tms_MapML_CBMTILE.json +346 -0
  167. pyogrio/gdal_data/tms_NZTM2000.json +243 -0
  168. pyogrio/gdal_data/trailer.dxf +434 -0
  169. pyogrio/gdal_data/usage +4 -0
  170. pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake +23 -0
  171. pyogrio/gdal_data/vcpkg.spdx.json +291 -0
  172. pyogrio/gdal_data/vcpkg_abi_info.txt +45 -0
  173. pyogrio/gdal_data/vdv452.xml +349 -0
  174. pyogrio/gdal_data/vdv452.xsd +45 -0
  175. pyogrio/gdal_data/vicar.json +164 -0
  176. pyogrio/geopandas.py +978 -0
  177. pyogrio/proj_data/CH +22 -0
  178. pyogrio/proj_data/GL27 +23 -0
  179. pyogrio/proj_data/ITRF2000 +24 -0
  180. pyogrio/proj_data/ITRF2008 +94 -0
  181. pyogrio/proj_data/ITRF2014 +55 -0
  182. pyogrio/proj_data/ITRF2020 +91 -0
  183. pyogrio/proj_data/copyright +34 -0
  184. pyogrio/proj_data/deformation_model.schema.json +582 -0
  185. pyogrio/proj_data/nad.lst +142 -0
  186. pyogrio/proj_data/nad27 +810 -0
  187. pyogrio/proj_data/nad83 +745 -0
  188. pyogrio/proj_data/other.extra +53 -0
  189. pyogrio/proj_data/proj-config-version.cmake +44 -0
  190. pyogrio/proj_data/proj-config.cmake +79 -0
  191. pyogrio/proj_data/proj-targets-release.cmake +19 -0
  192. pyogrio/proj_data/proj-targets.cmake +107 -0
  193. pyogrio/proj_data/proj.db +0 -0
  194. pyogrio/proj_data/proj.ini +59 -0
  195. pyogrio/proj_data/proj4-targets-release.cmake +19 -0
  196. pyogrio/proj_data/proj4-targets.cmake +107 -0
  197. pyogrio/proj_data/projjson.schema.json +1174 -0
  198. pyogrio/proj_data/triangulation.schema.json +214 -0
  199. pyogrio/proj_data/usage +9 -0
  200. pyogrio/proj_data/vcpkg.spdx.json +203 -0
  201. pyogrio/proj_data/vcpkg_abi_info.txt +28 -0
  202. pyogrio/proj_data/world +214 -0
  203. pyogrio/raw.py +897 -0
  204. pyogrio/tests/__init__.py +0 -0
  205. pyogrio/tests/conftest.py +588 -0
  206. pyogrio/tests/fixtures/README.md +108 -0
  207. pyogrio/tests/fixtures/curve.gpkg +0 -0
  208. pyogrio/tests/fixtures/curvepolygon.gpkg +0 -0
  209. pyogrio/tests/fixtures/line_zm.gpkg +0 -0
  210. pyogrio/tests/fixtures/list_field_values_file.parquet +0 -0
  211. pyogrio/tests/fixtures/list_nested_struct_file.parquet +0 -0
  212. pyogrio/tests/fixtures/multisurface.gpkg +0 -0
  213. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg +1 -0
  214. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf +0 -0
  215. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj +1 -0
  216. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp +0 -0
  217. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx +0 -0
  218. pyogrio/tests/fixtures/sample.osm.pbf +0 -0
  219. pyogrio/tests/fixtures/test_gpkg_nulls.gpkg +0 -0
  220. pyogrio/tests/test_arrow.py +1160 -0
  221. pyogrio/tests/test_core.py +702 -0
  222. pyogrio/tests/test_geopandas_io.py +3218 -0
  223. pyogrio/tests/test_path.py +374 -0
  224. pyogrio/tests/test_raw_io.py +1473 -0
  225. pyogrio/tests/test_util.py +56 -0
  226. pyogrio/util.py +258 -0
  227. pyogrio-0.12.0.dist-info/METADATA +125 -0
  228. pyogrio-0.12.0.dist-info/RECORD +231 -0
  229. pyogrio-0.12.0.dist-info/WHEEL +6 -0
  230. pyogrio-0.12.0.dist-info/licenses/LICENSE +21 -0
  231. pyogrio-0.12.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,528 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "description": "Schema for ogrinfo -json output",
4
+
5
+ "oneOf": [
6
+ {
7
+ "$ref": "#/definitions/dataset"
8
+ }
9
+ ],
10
+
11
+ "definitions": {
12
+
13
+ "dataset": {
14
+ "type": "object",
15
+ "properties": {
16
+ "description": {
17
+ "type": "string"
18
+ },
19
+ "driverShortName": {
20
+ "type": "string"
21
+ },
22
+ "driverLongName": {
23
+ "type": "string"
24
+ },
25
+ "layers": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/definitions/layer"
29
+ }
30
+ },
31
+ "metadata": {
32
+ "$ref": "#/definitions/metadata"
33
+ },
34
+ "domains": {
35
+ "$ref": "#/definitions/domains"
36
+ },
37
+ "relationships": {
38
+ "$ref": "#/definitions/relationships"
39
+ },
40
+ "rootGroup": {
41
+ "$ref": "#/definitions/group"
42
+ }
43
+ },
44
+ "required": [
45
+ "layers",
46
+ "metadata",
47
+ "domains"
48
+ ],
49
+ "additionalProperties": false
50
+ },
51
+
52
+ "layer": {
53
+ "type": "object",
54
+ "properties": {
55
+ "name": {
56
+ "type": "string"
57
+ },
58
+ "metadata": {
59
+ "$ref": "#/definitions/metadata"
60
+ },
61
+ "fidColumnName": {
62
+ "type": "string"
63
+ },
64
+ "featureCount": {
65
+ "type": "number"
66
+ },
67
+ "features": {
68
+ "type": "array",
69
+ "items": {
70
+ "$ref": "https://geojson.org/schema/Feature.json"
71
+ }
72
+ },
73
+ "fields": {
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "#/definitions/field"
77
+ }
78
+ },
79
+ "geometryFields": {
80
+ "type": "array",
81
+ "items": {
82
+ "$ref": "#/definitions/geometryField"
83
+ }
84
+ }
85
+ },
86
+ "required": [
87
+ "name",
88
+ "metadata",
89
+ "geometryFields",
90
+ "fields"
91
+ ],
92
+ "additionalProperties": false
93
+ },
94
+
95
+ "metadata": {
96
+ "type": "object",
97
+ "$comment": "Object whose keys are metadata domain names. The empty string is a valid metadata domain name, and is used for the default domain.",
98
+ "patternProperties": {
99
+ "^.*$": {
100
+ "$ref": "#/definitions/metadataDomain"
101
+ }
102
+ }
103
+ },
104
+
105
+ "metadataDomain": {
106
+ "$comment": " The values of a metadadomain are key: string pairs, or arbitrary JSON objects for metadata domain names starting with the \"json:\" prefix.",
107
+ "any": [
108
+ {
109
+ "type": "object"
110
+ },
111
+ {
112
+ "type": "#/definitions/keyValueDict"
113
+ }
114
+ ]
115
+ },
116
+
117
+ "field": {
118
+ "type": "object",
119
+ "properties": {
120
+ "name": {
121
+ "type": "string"
122
+ },
123
+ "type": {
124
+ "$ref": "#/definitions/fieldType"
125
+ },
126
+ "subType": {
127
+ "$ref": "#/definitions/fieldSubType"
128
+ },
129
+ "width": {
130
+ "type": "integer"
131
+ },
132
+ "precision": {
133
+ "type": "integer"
134
+ },
135
+ "nullable": {
136
+ "type": "boolean"
137
+ },
138
+ "uniqueConstraint": {
139
+ "type": "boolean"
140
+ },
141
+ "defaultValue": {
142
+ "type": "string"
143
+ },
144
+ "alias": {
145
+ "type": "string"
146
+ },
147
+ "domainName": {
148
+ "type": "string"
149
+ },
150
+ "comment": {
151
+ "type": "string"
152
+ },
153
+ "timezone": {
154
+ "type": "string",
155
+ "pattern": "^(localtime|(mixed timezones)|UTC|((\\+|-)[0-9][0-9]:[0-9][0-9]))$"
156
+ }
157
+ },
158
+ "required": [
159
+ "name",
160
+ "type",
161
+ "nullable",
162
+ "uniqueConstraint"
163
+ ],
164
+ "additionalProperties": false
165
+ },
166
+
167
+ "fieldType": {
168
+ "enum": [
169
+ "Integer",
170
+ "Integer64",
171
+ "Real",
172
+ "String",
173
+ "Binary",
174
+ "IntegerList",
175
+ "Integer64List",
176
+ "RealList",
177
+ "StringList",
178
+ "Date",
179
+ "Time",
180
+ "DateTime"
181
+ ]
182
+ },
183
+
184
+ "fieldSubType": {
185
+ "enum": [
186
+ "None",
187
+ "Boolean",
188
+ "Int16",
189
+ "Float32",
190
+ "JSON",
191
+ "UUID"
192
+ ]
193
+ },
194
+
195
+ "geometryField": {
196
+ "type": "object",
197
+ "properties": {
198
+ "name": {
199
+ "type": "string"
200
+ },
201
+ "type": {
202
+ "pattern": "^(Geometry|((Multi)?Point)|((Multi)?LineString)|((Multi)?Polygon)|GeometryCollection|((Multi)?Curve)|((Multi)?Surface)|CircularString|CompoundCurve|CurvePolygon|Tin|PolyhedralSurface|Triangle)[Z]?[M]?$"
203
+ },
204
+ "nullable": {
205
+ "type": "boolean"
206
+ },
207
+ "extent": {
208
+ "type": "array",
209
+ "items": {
210
+ "type": "number",
211
+ "minItems": 4,
212
+ "maxItems": 4
213
+ }
214
+ },
215
+ "extent3D": {
216
+ "type": "array",
217
+ "items": {
218
+ "type": [
219
+ "null",
220
+ "number"
221
+ ],
222
+ "minItems": 6,
223
+ "maxItems": 6
224
+ }
225
+ },
226
+ "coordinateSystem": {
227
+ "oneOf": [
228
+ {
229
+ "type": "null"
230
+ },
231
+ {
232
+ "$ref": "#/definitions/coordinateSystem"
233
+ }
234
+ ]
235
+ },
236
+ "supportedSRSList": {
237
+ "type": "array",
238
+ "items": {
239
+ "oneOf": [
240
+ {
241
+ "type": "object",
242
+ "properties": {
243
+ "id": {
244
+ "type": "object",
245
+ "properties": {
246
+ "authority": {
247
+ "type": "string"
248
+ },
249
+ "code": {
250
+ "type": "string"
251
+ }
252
+ }
253
+ }
254
+ },
255
+ "additionalProperties": false
256
+ },
257
+ {
258
+ "type": "object",
259
+ "properties": {
260
+ "wkt": {
261
+ "type": "string"
262
+ }
263
+ },
264
+ "additionalProperties": false
265
+ }
266
+ ]
267
+ }
268
+ },
269
+ "xyCoordinateResolution": {
270
+ "type": "number"
271
+ },
272
+ "zCoordinateResolution": {
273
+ "type": "number"
274
+ },
275
+ "mCoordinateResolution": {
276
+ "type": "number"
277
+ },
278
+ "coordinatePrecisionFormatSpecificOptions": {
279
+ "type": "object"
280
+ }
281
+ },
282
+ "required": [
283
+ "name",
284
+ "type"
285
+ ],
286
+ "additionalProperties": false
287
+ },
288
+
289
+ "coordinateSystem": {
290
+ "type": "object",
291
+ "properties": {
292
+ "wkt": {
293
+ "type": "string"
294
+ },
295
+ "projjson": {
296
+ "$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
297
+ },
298
+ "dataAxisToSRSAxisMapping": {
299
+ "type": "array",
300
+ "items": {
301
+ "type": "number",
302
+ "minItems": 2,
303
+ "maxItems": 3
304
+ }
305
+ },
306
+ "coordinateEpoch": {
307
+ "type": "number"
308
+ }
309
+ },
310
+ "required": [
311
+ "wkt",
312
+ "dataAxisToSRSAxisMapping"
313
+ ],
314
+ "additionalProperties": false
315
+ },
316
+
317
+ "domains": {
318
+ "type": "object",
319
+ "patternProperties": {
320
+ "^.*$": {
321
+ "$ref": "#/definitions/domain"
322
+ }
323
+ },
324
+ "additionalProperties": false
325
+ },
326
+
327
+ "keyValueDict": {
328
+ "type": "object",
329
+ "patternProperties": {
330
+ "^.*$": {}
331
+ }
332
+ },
333
+
334
+ "domain": {
335
+ "type": "object",
336
+ "properties": {
337
+ "description": {
338
+ "type": "string"
339
+ },
340
+ "type": {
341
+ "enum": [
342
+ "coded",
343
+ "range",
344
+ "glob"
345
+ ]
346
+ },
347
+ "fieldType": {
348
+ "$ref": "#/definitions/fieldType"
349
+ },
350
+ "fieldSubType": {
351
+ "$ref": "#/definitions/fieldSubType"
352
+ },
353
+ "glob": {
354
+ "$comment": "only present when type=coded",
355
+ "type": "string"
356
+ },
357
+ "codedValues": {
358
+ "$comment": "only present when type=coded",
359
+ "$ref": "#/definitions/keyValueDict"
360
+ },
361
+ "splitPolicy": {
362
+ "enum": [
363
+ "default value",
364
+ "duplicate",
365
+ "geometry ratio"
366
+ ]
367
+ },
368
+ "mergePolicy": {
369
+ "enum": [
370
+ "default value",
371
+ "sum",
372
+ "geometry weighted"
373
+ ]
374
+ },
375
+ "minValue": {
376
+ "$comment": "only present when type=range",
377
+ "any": [
378
+ {
379
+ "type": "string "
380
+ },
381
+ {
382
+ "type": "number"
383
+ }
384
+ ]
385
+ },
386
+ "minValueIncluded": {
387
+ "$comment": "only present when type=range",
388
+ "type": "boolean"
389
+ },
390
+ "maxValue": {
391
+ "$comment": "only present when type=range",
392
+ "any": [
393
+ {
394
+ "type": "string "
395
+ },
396
+ {
397
+ "type": "number"
398
+ }
399
+ ]
400
+ },
401
+ "maxValueIncluded": {
402
+ "$comment": "only present when type=range",
403
+ "type": "boolean"
404
+ }
405
+ },
406
+ "required": [
407
+ "type",
408
+ "fieldType",
409
+ "splitPolicy",
410
+ "mergePolicy"
411
+ ],
412
+ "additionalProperties": false
413
+ },
414
+
415
+ "group": {
416
+ "type": "object",
417
+ "properties": {
418
+ "name": {
419
+ "type": "string"
420
+ },
421
+ "layerNames": {
422
+ "type": "array",
423
+ "items": {
424
+ "type": "string"
425
+ }
426
+ },
427
+ "groups": {
428
+ "type": "array",
429
+ "items": {
430
+ "$ref": "#/definitions/group"
431
+ }
432
+ }
433
+ },
434
+ "required": [
435
+ "layerNames",
436
+ "groups"
437
+ ],
438
+ "additionalProperties": false
439
+ },
440
+
441
+ "relationships": {
442
+ "type": "object",
443
+ "patternProperties": {
444
+ "^.*$": {
445
+ "$ref": "#/definitions/relationship"
446
+ }
447
+ },
448
+ "additionalProperties": false
449
+ },
450
+
451
+ "relationship": {
452
+ "type": "object",
453
+ "properties": {
454
+ "type": {
455
+ "type": "string",
456
+ "enum": [
457
+ "Composite",
458
+ "Association",
459
+ "Aggregation"
460
+ ]
461
+ },
462
+ "related_table_type": {
463
+ "type": "string"
464
+ },
465
+ "cardinality": {
466
+ "type": "string",
467
+ "enum": [
468
+ "OneToOne",
469
+ "OneToMany",
470
+ "ManyToOne",
471
+ "ManyToMany"
472
+ ]
473
+ },
474
+ "left_table_name": {
475
+ "type": "string"
476
+ },
477
+ "right_table_name": {
478
+ "type": "string"
479
+ },
480
+ "left_table_fields": {
481
+ "type": "array",
482
+ "items": {
483
+ "type": "string"
484
+ }
485
+ },
486
+ "right_table_fields": {
487
+ "type": "array",
488
+ "items": {
489
+ "type": "string"
490
+ }
491
+ },
492
+ "mapping_table_name": {
493
+ "type": "string"
494
+ },
495
+ "left_mapping_table_fields": {
496
+ "type": "array",
497
+ "items": {
498
+ "type": "string"
499
+ }
500
+ },
501
+ "right_mapping_table_fields": {
502
+ "type": "array",
503
+ "items": {
504
+ "type": "string"
505
+ }
506
+ },
507
+ "forward_path_label": {
508
+ "type": "string"
509
+ },
510
+ "backward_path_label": {
511
+ "type": "string"
512
+ }
513
+ },
514
+ "required": [
515
+ "type",
516
+ "related_table_type",
517
+ "cardinality",
518
+ "left_table_name",
519
+ "right_table_name",
520
+ "left_table_fields",
521
+ "right_table_fields",
522
+ "forward_path_label",
523
+ "backward_path_label"
524
+ ],
525
+ "additionalProperties": false
526
+ }
527
+ }
528
+ }