@crossbind/port-gdal-standalone-napi 0.0.0-bootstrap.0 → 2.0.0-beta.63

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 (179) hide show
  1. package/LICENSE +2593 -0
  2. package/README.md +16 -3
  3. package/dist/data/certs/cacert.pem +3480 -0
  4. package/dist/data/gdal/GDALLogoBW.svg +138 -0
  5. package/dist/data/gdal/GDALLogoColor.svg +126 -0
  6. package/dist/data/gdal/GDALLogoGS.svg +126 -0
  7. package/dist/data/gdal/LICENSE.TXT +467 -0
  8. package/dist/data/gdal/MM_m_idofic.csv +320 -0
  9. package/dist/data/gdal/cubewerx_extra.wkt +48 -0
  10. package/dist/data/gdal/default.rsc +0 -0
  11. package/dist/data/gdal/ecw_cs.wkt +1453 -0
  12. package/dist/data/gdal/eedaconf.json +23 -0
  13. package/dist/data/gdal/epsg.wkt +1 -0
  14. package/dist/data/gdal/esri_StatePlane_extra.wkt +631 -0
  15. package/dist/data/gdal/gdal_algorithm.schema.json +240 -0
  16. package/dist/data/gdal/gdalg.schema.json +36 -0
  17. package/dist/data/gdal/gdalicon.png +0 -0
  18. package/dist/data/gdal/gdalinfo_output.schema.json +390 -0
  19. package/dist/data/gdal/gdalmdiminfo_output.schema.json +393 -0
  20. package/dist/data/gdal/gdaltileindex.xsd +264 -0
  21. package/dist/data/gdal/gdalvrt.xsd +948 -0
  22. package/dist/data/gdal/gfs.xsd +246 -0
  23. package/dist/data/gdal/gml_registry.xml +117 -0
  24. package/dist/data/gdal/gml_registry.xsd +66 -0
  25. package/dist/data/gdal/grib2_center.csv +251 -0
  26. package/dist/data/gdal/grib2_process.csv +102 -0
  27. package/dist/data/gdal/grib2_subcenter.csv +63 -0
  28. package/dist/data/gdal/grib2_table_4_2_0_0.csv +261 -0
  29. package/dist/data/gdal/grib2_table_4_2_0_1.csv +261 -0
  30. package/dist/data/gdal/grib2_table_4_2_0_13.csv +261 -0
  31. package/dist/data/gdal/grib2_table_4_2_0_14.csv +261 -0
  32. package/dist/data/gdal/grib2_table_4_2_0_15.csv +261 -0
  33. package/dist/data/gdal/grib2_table_4_2_0_16.csv +261 -0
  34. package/dist/data/gdal/grib2_table_4_2_0_17.csv +261 -0
  35. package/dist/data/gdal/grib2_table_4_2_0_18.csv +261 -0
  36. package/dist/data/gdal/grib2_table_4_2_0_19.csv +261 -0
  37. package/dist/data/gdal/grib2_table_4_2_0_190.csv +261 -0
  38. package/dist/data/gdal/grib2_table_4_2_0_191.csv +261 -0
  39. package/dist/data/gdal/grib2_table_4_2_0_2.csv +261 -0
  40. package/dist/data/gdal/grib2_table_4_2_0_20.csv +261 -0
  41. package/dist/data/gdal/grib2_table_4_2_0_21.csv +261 -0
  42. package/dist/data/gdal/grib2_table_4_2_0_22.csv +261 -0
  43. package/dist/data/gdal/grib2_table_4_2_0_3.csv +261 -0
  44. package/dist/data/gdal/grib2_table_4_2_0_4.csv +261 -0
  45. package/dist/data/gdal/grib2_table_4_2_0_5.csv +261 -0
  46. package/dist/data/gdal/grib2_table_4_2_0_6.csv +261 -0
  47. package/dist/data/gdal/grib2_table_4_2_0_7.csv +261 -0
  48. package/dist/data/gdal/grib2_table_4_2_10_0.csv +261 -0
  49. package/dist/data/gdal/grib2_table_4_2_10_1.csv +261 -0
  50. package/dist/data/gdal/grib2_table_4_2_10_191.csv +261 -0
  51. package/dist/data/gdal/grib2_table_4_2_10_2.csv +261 -0
  52. package/dist/data/gdal/grib2_table_4_2_10_3.csv +261 -0
  53. package/dist/data/gdal/grib2_table_4_2_10_4.csv +261 -0
  54. package/dist/data/gdal/grib2_table_4_2_1_0.csv +261 -0
  55. package/dist/data/gdal/grib2_table_4_2_1_1.csv +261 -0
  56. package/dist/data/gdal/grib2_table_4_2_1_2.csv +261 -0
  57. package/dist/data/gdal/grib2_table_4_2_20_0.csv +261 -0
  58. package/dist/data/gdal/grib2_table_4_2_20_1.csv +261 -0
  59. package/dist/data/gdal/grib2_table_4_2_20_2.csv +261 -0
  60. package/dist/data/gdal/grib2_table_4_2_20_3.csv +261 -0
  61. package/dist/data/gdal/grib2_table_4_2_2_0.csv +261 -0
  62. package/dist/data/gdal/grib2_table_4_2_2_3.csv +261 -0
  63. package/dist/data/gdal/grib2_table_4_2_2_4.csv +261 -0
  64. package/dist/data/gdal/grib2_table_4_2_2_5.csv +261 -0
  65. package/dist/data/gdal/grib2_table_4_2_2_6.csv +261 -0
  66. package/dist/data/gdal/grib2_table_4_2_2_7.csv +261 -0
  67. package/dist/data/gdal/grib2_table_4_2_3_0.csv +261 -0
  68. package/dist/data/gdal/grib2_table_4_2_3_1.csv +261 -0
  69. package/dist/data/gdal/grib2_table_4_2_3_2.csv +243 -0
  70. package/dist/data/gdal/grib2_table_4_2_3_3.csv +261 -0
  71. package/dist/data/gdal/grib2_table_4_2_3_4.csv +261 -0
  72. package/dist/data/gdal/grib2_table_4_2_3_5.csv +261 -0
  73. package/dist/data/gdal/grib2_table_4_2_3_6.csv +261 -0
  74. package/dist/data/gdal/grib2_table_4_2_4_0.csv +261 -0
  75. package/dist/data/gdal/grib2_table_4_2_4_1.csv +261 -0
  76. package/dist/data/gdal/grib2_table_4_2_4_10.csv +261 -0
  77. package/dist/data/gdal/grib2_table_4_2_4_2.csv +261 -0
  78. package/dist/data/gdal/grib2_table_4_2_4_3.csv +261 -0
  79. package/dist/data/gdal/grib2_table_4_2_4_4.csv +261 -0
  80. package/dist/data/gdal/grib2_table_4_2_4_5.csv +261 -0
  81. package/dist/data/gdal/grib2_table_4_2_4_6.csv +261 -0
  82. package/dist/data/gdal/grib2_table_4_2_4_7.csv +261 -0
  83. package/dist/data/gdal/grib2_table_4_2_4_8.csv +261 -0
  84. package/dist/data/gdal/grib2_table_4_2_4_9.csv +261 -0
  85. package/dist/data/gdal/grib2_table_4_2_local_Canada.csv +5 -0
  86. package/dist/data/gdal/grib2_table_4_2_local_HPC.csv +2 -0
  87. package/dist/data/gdal/grib2_table_4_2_local_MRMS.csv +175 -0
  88. package/dist/data/gdal/grib2_table_4_2_local_NCEP.csv +401 -0
  89. package/dist/data/gdal/grib2_table_4_2_local_NDFD.csv +38 -0
  90. package/dist/data/gdal/grib2_table_4_2_local_index.csv +7 -0
  91. package/dist/data/gdal/grib2_table_4_5.csv +261 -0
  92. package/dist/data/gdal/grib2_table_versions.csv +3 -0
  93. package/dist/data/gdal/gt_datum.csv +229 -0
  94. package/dist/data/gdal/gt_ellips.csv +24 -0
  95. package/dist/data/gdal/header.dxf +1138 -0
  96. package/dist/data/gdal/inspire_cp_BasicPropertyUnit.gfs +57 -0
  97. package/dist/data/gdal/inspire_cp_CadastralBoundary.gfs +60 -0
  98. package/dist/data/gdal/inspire_cp_CadastralParcel.gfs +81 -0
  99. package/dist/data/gdal/inspire_cp_CadastralZoning.gfs +161 -0
  100. package/dist/data/gdal/jpfgdgml_AdmArea.gfs +59 -0
  101. package/dist/data/gdal/jpfgdgml_AdmBdry.gfs +49 -0
  102. package/dist/data/gdal/jpfgdgml_AdmPt.gfs +59 -0
  103. package/dist/data/gdal/jpfgdgml_BldA.gfs +54 -0
  104. package/dist/data/gdal/jpfgdgml_BldL.gfs +54 -0
  105. package/dist/data/gdal/jpfgdgml_Cntr.gfs +54 -0
  106. package/dist/data/gdal/jpfgdgml_CommBdry.gfs +49 -0
  107. package/dist/data/gdal/jpfgdgml_CommPt.gfs +59 -0
  108. package/dist/data/gdal/jpfgdgml_Cstline.gfs +54 -0
  109. package/dist/data/gdal/jpfgdgml_ElevPt.gfs +54 -0
  110. package/dist/data/gdal/jpfgdgml_GCP.gfs +94 -0
  111. package/dist/data/gdal/jpfgdgml_LeveeEdge.gfs +49 -0
  112. package/dist/data/gdal/jpfgdgml_RailCL.gfs +54 -0
  113. package/dist/data/gdal/jpfgdgml_RdASL.gfs +44 -0
  114. package/dist/data/gdal/jpfgdgml_RdArea.gfs +54 -0
  115. package/dist/data/gdal/jpfgdgml_RdCompt.gfs +59 -0
  116. package/dist/data/gdal/jpfgdgml_RdEdg.gfs +59 -0
  117. package/dist/data/gdal/jpfgdgml_RdMgtBdry.gfs +49 -0
  118. package/dist/data/gdal/jpfgdgml_RdSgmtA.gfs +59 -0
  119. package/dist/data/gdal/jpfgdgml_RvrMgtBdry.gfs +49 -0
  120. package/dist/data/gdal/jpfgdgml_SBAPt.gfs +49 -0
  121. package/dist/data/gdal/jpfgdgml_SBArea.gfs +54 -0
  122. package/dist/data/gdal/jpfgdgml_SBBdry.gfs +44 -0
  123. package/dist/data/gdal/jpfgdgml_WA.gfs +54 -0
  124. package/dist/data/gdal/jpfgdgml_WL.gfs +54 -0
  125. package/dist/data/gdal/jpfgdgml_WStrA.gfs +54 -0
  126. package/dist/data/gdal/jpfgdgml_WStrL.gfs +54 -0
  127. package/dist/data/gdal/leaflet_template.html +102 -0
  128. package/dist/data/gdal/nitf_spec.xml +3508 -0
  129. package/dist/data/gdal/nitf_spec.xsd +178 -0
  130. package/dist/data/gdal/ogr_fields_override.schema.json +278 -0
  131. package/dist/data/gdal/ogrinfo_output.schema.json +532 -0
  132. package/dist/data/gdal/ogrvrt.xsd +526 -0
  133. package/dist/data/gdal/osmconf.ini +134 -0
  134. package/dist/data/gdal/ozi_datum.csv +131 -0
  135. package/dist/data/gdal/ozi_ellips.csv +35 -0
  136. package/dist/data/gdal/pci_datum.txt +530 -0
  137. package/dist/data/gdal/pci_ellips.txt +129 -0
  138. package/dist/data/gdal/pdfcomposition.xsd +703 -0
  139. package/dist/data/gdal/plscenesconf.json +1985 -0
  140. package/dist/data/gdal/ruian_vf_ob_v1.gfs +1455 -0
  141. package/dist/data/gdal/ruian_vf_st_uvoh_v1.gfs +86 -0
  142. package/dist/data/gdal/ruian_vf_st_v1.gfs +1489 -0
  143. package/dist/data/gdal/ruian_vf_v1.gfs +2126 -0
  144. package/dist/data/gdal/s57agencies.csv +249 -0
  145. package/dist/data/gdal/s57attributes.csv +484 -0
  146. package/dist/data/gdal/s57expectedinput.csv +1008 -0
  147. package/dist/data/gdal/s57objectclasses.csv +287 -0
  148. package/dist/data/gdal/seed_2d.dgn +0 -0
  149. package/dist/data/gdal/seed_3d.dgn +0 -0
  150. package/dist/data/gdal/stateplane.csv +259 -0
  151. package/dist/data/gdal/template_tiles.mapml +26 -0
  152. package/dist/data/gdal/tms_LINZAntarticaMapTileGrid.json +190 -0
  153. package/dist/data/gdal/tms_MapML_APSTILE.json +268 -0
  154. package/dist/data/gdal/tms_MapML_CBMTILE.json +346 -0
  155. package/dist/data/gdal/tms_NZTM2000.json +243 -0
  156. package/dist/data/gdal/trailer.dxf +434 -0
  157. package/dist/data/gdal/vdv452.xml +349 -0
  158. package/dist/data/gdal/vdv452.xsd +45 -0
  159. package/dist/data/proj/CH +22 -0
  160. package/dist/data/proj/GL27 +23 -0
  161. package/dist/data/proj/ITRF2000 +24 -0
  162. package/dist/data/proj/ITRF2008 +94 -0
  163. package/dist/data/proj/ITRF2014 +55 -0
  164. package/dist/data/proj/ITRF2020 +91 -0
  165. package/dist/data/proj/deformation_model.schema.json +582 -0
  166. package/dist/data/proj/nad.lst +142 -0
  167. package/dist/data/proj/nad27 +810 -0
  168. package/dist/data/proj/nad83 +745 -0
  169. package/dist/data/proj/other.extra +53 -0
  170. package/dist/data/proj/proj.db +0 -0
  171. package/dist/data/proj/proj.ini +59 -0
  172. package/dist/data/proj/projjson.schema.json +1174 -0
  173. package/dist/data/proj/triangulation.schema.json +214 -0
  174. package/dist/data/proj/world +214 -0
  175. package/dist/gdal-standalone-napi.native.cjs +3884 -0
  176. package/dist/node/napi.d.mts +2644 -0
  177. package/dist/node/napi.mjs +4918 -0
  178. package/package.json +63 -6
  179. package/sbom.cdx.json +412 -0
@@ -0,0 +1,178 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************************************
4
+ * Project: NITF Library
5
+ * Purpose: Schema of description of NITF TREs
6
+ * Author: Even Rouault, <even dot rouault at spatialys.com>
7
+ *
8
+ **********************************************************************
9
+ * Copyright (c) 2011, Even Rouault
10
+ *
11
+ * SPDX-License-Identifier: MIT
12
+ ****************************************************************************/
13
+ -->
14
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
15
+ <xs:element name="root">
16
+ <xs:complexType>
17
+ <xs:sequence>
18
+ <xs:element name="tres" minOccurs="0">
19
+ <xs:complexType>
20
+ <xs:sequence>
21
+ <xs:element name="tre" type="treType" minOccurs="0" maxOccurs="unbounded"/>
22
+ </xs:sequence>
23
+ </xs:complexType>
24
+ </xs:element>
25
+ <xs:element name="des_list" minOccurs="0">
26
+ <xs:complexType>
27
+ <xs:sequence>
28
+ <xs:element name="des" type="desType" minOccurs="0" maxOccurs="unbounded"/>
29
+ </xs:sequence>
30
+ </xs:complexType>
31
+ </xs:element>
32
+ </xs:sequence>
33
+ </xs:complexType>
34
+ </xs:element>
35
+
36
+ <xs:complexType name="treType">
37
+ <xs:group ref="itemType"/>
38
+ <xs:attribute name="name" type="xs:string"/>
39
+ <xs:attribute name="md_prefix" type="xs:string" use="optional"/>
40
+ <xs:attribute name="length" type="positiveInteger" use="optional"/>
41
+ <xs:attribute name="minlength" type="xs:integer" use="optional"/>
42
+ <xs:attribute name="maxlength" type="xs:integer" use="optional"/>
43
+ <xs:attribute name="location" type="xs:string" use="optional"/>
44
+ </xs:complexType>
45
+
46
+ <xs:complexType name="desType">
47
+ <xs:sequence>
48
+ <!-- definition of user-defined subheader fields of DES -->
49
+ <xs:element name="subheader_fields" minOccurs="0">
50
+ <xs:complexType>
51
+ <xs:group ref="itemType"/>
52
+ <xs:attribute name="name" type="xs:string"/>
53
+ <xs:attribute name="length" type="positiveInteger" use="optional"/>
54
+ <xs:attribute name="minlength" type="xs:integer" use="optional"/>
55
+ <xs:attribute name="maxlength" type="xs:integer" use="optional"/>
56
+ </xs:complexType>
57
+ </xs:element>
58
+
59
+ <!-- definition of fields in data section of DES -->
60
+ <xs:element name="data_fields" minOccurs="0">
61
+ <xs:complexType>
62
+ <xs:group ref="itemType"/>
63
+ <xs:attribute name="name" type="xs:string"/>
64
+ <xs:attribute name="length" type="positiveInteger" use="optional"/>
65
+ <xs:attribute name="minlength" type="xs:integer" use="optional"/>
66
+ <xs:attribute name="maxlength" type="xs:integer" use="optional"/>
67
+ </xs:complexType>
68
+ </xs:element>
69
+ </xs:sequence>
70
+ <xs:attribute name="name" type="xs:string"/>
71
+ </xs:complexType>
72
+
73
+ <xs:group name="itemType">
74
+ <xs:sequence>
75
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
76
+ <xs:element name="field" type="fieldType">
77
+ <xs:key name="att1">
78
+ <xs:selector xpath="."/>
79
+ <xs:field xpath="@length|@length_var"/>
80
+ </xs:key>
81
+ </xs:element>
82
+ <xs:element name="loop" type="loopType">
83
+ <xs:key name="att2">
84
+ <xs:selector xpath="."/>
85
+ <xs:field xpath="@counter|@iterations|@formula"/>
86
+ </xs:key>
87
+ </xs:element>
88
+ <xs:element name="rpf_component" type="rpfComponentType"/>
89
+ <xs:element name="if" type="ifType"/>
90
+ </xs:choice>
91
+ <xs:element name="if_remaining_bytes" type="if_remaining_bytesType" minOccurs="0" maxOccurs="1"/>
92
+ </xs:sequence>
93
+ </xs:group>
94
+
95
+ <xs:complexType name="rpfComponentType">
96
+ <xs:group ref="itemType"/>
97
+ <xs:attribute name="id"/>
98
+ </xs:complexType>
99
+
100
+ <xs:complexType name="loopType">
101
+ <xs:group ref="itemType"/>
102
+ <xs:attribute name="name"/>
103
+ <!-- xs:choice -->
104
+ <xs:attribute name="counter" type="xs:string"/>
105
+ <xs:attribute name="iterations" type="positiveInteger"/>
106
+ <xs:attribute name="formula">
107
+ <xs:simpleType>
108
+ <xs:restriction base="xs:string">
109
+ <xs:enumeration value="(NPART+1)*(NPART)/2"/>
110
+ <xs:enumeration value="(NUMOPG+1)*(NUMOPG)/2"/>
111
+ <xs:enumeration value="(NUM_ADJ_PARM+1)*(NUM_ADJ_PARM)/2"/>
112
+ <xs:enumeration value="(N1_CAL+1)*(N1_CAL)/2"/>
113
+ <xs:enumeration value="(NUM_PARA+1)*(NUM_PARA)/2"/>
114
+ <xs:enumeration value="NPAR*NPARO"/>
115
+ <xs:enumeration value="NPLN-1"/>
116
+ <xs:enumeration value="NXPTS*NYPTS"/>
117
+ </xs:restriction>
118
+ </xs:simpleType>
119
+ </xs:attribute>
120
+ <!-- /xs:choice -->
121
+ <xs:attribute name="md_prefix" use="optional">
122
+ <xs:simpleType>
123
+ <xs:restriction base="xs:string">
124
+ <xs:pattern value="([a-z]|[A-Z]|[0-9]|_)*(%[0-9]*d)?([a-z]|[A-Z]|[0-9]|_)*"/>
125
+ </xs:restriction>
126
+ </xs:simpleType>
127
+ </xs:attribute>
128
+ </xs:complexType>
129
+
130
+ <xs:simpleType name="positiveInteger">
131
+ <xs:restriction base="xs:integer">
132
+ <xs:minInclusive value="1"/>
133
+ </xs:restriction>
134
+ </xs:simpleType>
135
+
136
+ <xs:complexType name="ifType">
137
+ <xs:group ref="itemType"/>
138
+ <xs:attribute name="cond">
139
+ <xs:simpleType>
140
+ <xs:restriction base="xs:string">
141
+ <xs:pattern value=".+([!]?=|:).*"/>
142
+ </xs:restriction>
143
+ </xs:simpleType>
144
+ </xs:attribute>
145
+ </xs:complexType>
146
+
147
+ <xs:complexType name="if_remaining_bytesType">
148
+ <xs:group ref="itemType"/>
149
+ </xs:complexType>
150
+
151
+ <xs:complexType name="fieldType">
152
+ <!-- xs:choice -->
153
+ <xs:attribute name="length" type="positiveInteger"/>
154
+ <xs:attribute name="length_var" type="xs:string"/>
155
+ <!-- /xs:choice -->
156
+ <xs:attribute name="name" type="xs:string" use="optional"/>
157
+ <xs:attribute name="longname" type="xs:string" use="optional"/>
158
+ <xs:attribute name="type" use="optional">
159
+ <xs:simpleType>
160
+ <xs:restriction base="xs:string">
161
+ <xs:enumeration value="string"/>
162
+ <xs:enumeration value="integer"/>
163
+ <xs:enumeration value="real"/>
164
+ <xs:enumeration value="IEEE754_Float32_BigEndian"/>
165
+ <xs:enumeration value="IEEE754_Float64_BigEndian"/>
166
+ <xs:enumeration value="UnsignedInt_BigEndian"/>
167
+ <xs:enumeration value="ISO8859-1"/>
168
+ <xs:enumeration value="bitmask"/>
169
+ </xs:restriction>
170
+ </xs:simpleType>
171
+ </xs:attribute>
172
+ <xs:attribute name="unit" type="xs:string" use="optional"/>
173
+ <xs:attribute name="minval" use="optional"/>
174
+ <xs:attribute name="maxval" use="optional"/>
175
+ <xs:attribute name="fixed_value" use="optional"/>
176
+ <!--<xs:anyAttribute/>-->
177
+ </xs:complexType>
178
+ </xs:schema>
@@ -0,0 +1,278 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "description": "Schema for OGR_SCHEMA open option",
4
+ "oneOf": [
5
+ {
6
+ "$ref": "#/definitions/dataset"
7
+ }
8
+ ],
9
+ "definitions": {
10
+ "schemaType": {
11
+ "enum": [
12
+ "Patch",
13
+ "Full"
14
+ ]
15
+ },
16
+ "dataset": {
17
+ "type": "object",
18
+ "properties": {
19
+ "layers": {
20
+ "type": "array",
21
+ "description": "The list of layers contained in the schema",
22
+ "items": {
23
+ "$ref": "#/definitions/layer"
24
+ }
25
+ }
26
+ },
27
+ "required": [
28
+ "layers"
29
+ ],
30
+ "additionalProperties": false
31
+ },
32
+ "layer": {
33
+ "type": "object",
34
+ "properties": {
35
+ "name": {
36
+ "description": "The name of the layer. Can be '*' to apply to any layer.",
37
+ "type": "string"
38
+ },
39
+ "fidColumnName": {
40
+ "description": "The name of the FID column",
41
+ "type": "string"
42
+ },
43
+ "schemaType": {
44
+ "description": "The type of schema operation: patch or full",
45
+ "$ref": "#/definitions/schemaType"
46
+ },
47
+ "fields": {
48
+ "description": "The list of field definitions",
49
+ "type": "array",
50
+ "items": {
51
+ "$ref": "#/definitions/field"
52
+ }
53
+ },
54
+ "geometryFields": {
55
+ "type": "array",
56
+ "items": {
57
+ "$ref": "#/definitions/geometryField"
58
+ }
59
+ }
60
+ },
61
+ "required": [
62
+ "name",
63
+ "fields"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ "field": {
68
+ "description": "The field definition",
69
+ "type": "object",
70
+ "properties": {
71
+ "name": {
72
+ "type": "string"
73
+ },
74
+ "srcType": {
75
+ "$ref": "#/definitions/fieldType"
76
+ },
77
+ "srcSubType": {
78
+ "$ref": "#/definitions/fieldSubType"
79
+ },
80
+ "type": {
81
+ "$ref": "#/definitions/fieldType"
82
+ },
83
+ "subType": {
84
+ "$ref": "#/definitions/fieldSubType"
85
+ },
86
+ "width": {
87
+ "type": "integer"
88
+ },
89
+ "precision": {
90
+ "type": "integer"
91
+ },
92
+ "newName": {
93
+ "description": "The new name of the field",
94
+ "type": "string"
95
+ },
96
+ "nullable": {
97
+ "description": "Whether the field is not nullable",
98
+ "type": "boolean"
99
+ },
100
+ "uniqueConstraint": {
101
+ "description": "Whether the field is unique",
102
+ "type": "boolean"
103
+ },
104
+ "defaultValue": {
105
+ "description": "The default value for the field",
106
+ "type": [
107
+ "string"
108
+ ]
109
+ },
110
+ "alias": {
111
+ "description": "Alias for the field",
112
+ "type": "string"
113
+ },
114
+ "comment": {
115
+ "description": "Comment for the field",
116
+ "type": "string"
117
+ },
118
+ "domainName": {
119
+ "description": "Domain for the field",
120
+ "type": "string"
121
+ },
122
+ "timezone": {
123
+ "description": "Time zone for date/time fields",
124
+ "type": "string"
125
+ }
126
+ },
127
+ "anyOf": [
128
+ {
129
+ "required": [
130
+ "name"
131
+ ]
132
+ },
133
+ {
134
+ "anyOf": [
135
+ {
136
+ "required": [
137
+ "srcType"
138
+ ]
139
+ },
140
+ {
141
+ "required": [
142
+ "srcSubType"
143
+ ]
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "additionalProperties": false
149
+ },
150
+ "fieldType": {
151
+ "enum": [
152
+ "Integer",
153
+ "Integer64",
154
+ "Real",
155
+ "String",
156
+ "Binary",
157
+ "IntegerList",
158
+ "Integer64List",
159
+ "RealList",
160
+ "StringList",
161
+ "Date",
162
+ "Time",
163
+ "DateTime"
164
+ ]
165
+ },
166
+ "fieldSubType": {
167
+ "enum": [
168
+ "None",
169
+ "Boolean",
170
+ "Int16",
171
+ "Float32",
172
+ "JSON",
173
+ "UUID"
174
+ ]
175
+ },
176
+ "geometryField": {
177
+ "type": "object",
178
+ "properties": {
179
+ "name": {
180
+ "type": "string"
181
+ },
182
+ "type": {
183
+ "pattern": "^(Geometry|((Multi)?Point)|((Multi)?LineString)|((Multi)?Polygon)|GeometryCollection|((Multi)?Curve)|((Multi)?Surface)|CircularString|CompoundCurve|CurvePolygon|Tin|PolyhedralSurface|Triangle)[Z]?[M]?$"
184
+ },
185
+ "nullable": {
186
+ "type": "boolean"
187
+ },
188
+ "coordinateSystem": {
189
+ "oneOf": [
190
+ {
191
+ "type": "null"
192
+ },
193
+ {
194
+ "$ref": "#/definitions/coordinateSystem"
195
+ }
196
+ ]
197
+ },
198
+ "supportedSRSList": {
199
+ "type": "array",
200
+ "items": {
201
+ "oneOf": [
202
+ {
203
+ "type": "object",
204
+ "properties": {
205
+ "id": {
206
+ "type": "object",
207
+ "properties": {
208
+ "authority": {
209
+ "type": "string"
210
+ },
211
+ "code": {
212
+ "type": "string"
213
+ }
214
+ }
215
+ }
216
+ },
217
+ "additionalProperties": false
218
+ },
219
+ {
220
+ "type": "object",
221
+ "properties": {
222
+ "wkt": {
223
+ "type": "string"
224
+ }
225
+ },
226
+ "additionalProperties": false
227
+ }
228
+ ]
229
+ }
230
+ },
231
+ "xyCoordinateResolution": {
232
+ "type": "number"
233
+ },
234
+ "zCoordinateResolution": {
235
+ "type": "number"
236
+ },
237
+ "mCoordinateResolution": {
238
+ "type": "number"
239
+ },
240
+ "coordinatePrecisionFormatSpecificOptions": {
241
+ "type": "object"
242
+ }
243
+ },
244
+ "required": [
245
+ "name",
246
+ "type"
247
+ ],
248
+ "additionalProperties": false
249
+ },
250
+ "coordinateSystem": {
251
+ "type": "object",
252
+ "properties": {
253
+ "authid": {
254
+ "type": "string",
255
+ "description": "A SRS definition in the form <authority>:<code> (e.g. EPSG:4326)"
256
+ },
257
+ "wkt": {
258
+ "type": "string"
259
+ },
260
+ "projjson": {
261
+ "$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
262
+ },
263
+ "dataAxisToSRSAxisMapping": {
264
+ "type": "array",
265
+ "items": {
266
+ "type": "number",
267
+ "minItems": 2,
268
+ "maxItems": 3
269
+ }
270
+ },
271
+ "coordinateEpoch": {
272
+ "type": "number"
273
+ }
274
+ },
275
+ "additionalProperties": false
276
+ }
277
+ }
278
+ }