datastores.yaml 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137
  1. ---
  2. swagger: '2.0'
  3. info:
  4. version: 1.0.0
  5. title: GeoServer Data Stores
  6. description: A data store contains vector format spatial data. It can be a file (such as a shapefile), a database (such as PostGIS), or a server (such as a remote Web Feature Service).
  7. contact:
  8. name: GeoServer
  9. email: 'geoserver-users@osgeo.org'
  10. url: 'https://geoserver.org/comm/'
  11. host: localhost:8080
  12. basePath: /geoserver/rest
  13. paths:
  14. /workspaces/{workspaceName}/datastores:
  15. get:
  16. operationId: getDatastores
  17. tags:
  18. - "DataStores"
  19. summary: Get a list of data stores
  20. description: List all data stores in workspace ws. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/datastores.xml" for XML)
  21. produces:
  22. - application/xml
  23. - application/json
  24. - text/html
  25. parameters:
  26. - name: workspaceName
  27. in: path
  28. required: true
  29. type: string
  30. description: The name of the workspace containing the data stores.
  31. responses:
  32. 200:
  33. description: OK
  34. schema:
  35. $ref: "#/definitions/dataStoreResponse"
  36. examples:
  37. application/xml: |
  38. <dataStore>
  39. <name>sf</name>
  40. <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/sf/datastores/sf.xml" type="application/xml"/>
  41. </dataStore>
  42. application/json: |
  43. {"dataStores":{"dataStore":[{"name":"sf","href":"http://localhost:8080/geoserver/rest/workspaces/sf/datastores/sf.json"}]}}
  44. post:
  45. operationId: postDatastores
  46. tags:
  47. - "DataStores"
  48. summary: Create a new data store
  49. description: Adds a new data store to the workspace.
  50. parameters:
  51. - name: workspaceName
  52. in: path
  53. type: string
  54. required: true
  55. description: The name of the workspace containing the data stores.
  56. - $ref: "#/parameters/dataStorePost"
  57. consumes:
  58. - application/xml
  59. - application/json
  60. produces:
  61. - application/xml
  62. - application/json
  63. - text/html
  64. responses:
  65. 201:
  66. description: Created
  67. schema:
  68. type: string
  69. headers:
  70. Location:
  71. description: URL where the newly created data store can be found
  72. type: string
  73. put:
  74. operationId: putdatastores
  75. tags:
  76. - "DataStores"
  77. description: Invalid. Use POST for adding a new data store, or PUT on /datastores/{datastore} to edit an existing data store.
  78. responses:
  79. 405:
  80. description: Method Not Allowed
  81. delete:
  82. operationId: deletedatastores
  83. tags:
  84. - "DataStores"
  85. description: Invalid. Use /datastores/{datastore} instead.
  86. responses:
  87. 405:
  88. description: Method Not Allowed
  89. /workspaces/{workspaceName}/datastores/{storeName}:
  90. get:
  91. operationId: getDataStore
  92. tags:
  93. - "DataStores"
  94. summary: Retrieve a particular data store from a workspace
  95. description: Controls a particular data store in a given workspace. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/datastores/{datastore}.xml" for XML).
  96. produces:
  97. - application/xml
  98. - application/json
  99. - text/html
  100. parameters:
  101. - name: workspaceName
  102. in: path
  103. type: string
  104. required: true
  105. description: The name of the workspace containing the data store.
  106. - name: storeName
  107. in: path
  108. required: true
  109. description: The name of the data store to retrieve.
  110. type: string
  111. - name: quietOnNotFound
  112. in: query
  113. required: false
  114. description: The quietOnNotFound parameter avoids logging an exception when the data store is not present. Note that 404 status code will still be returned.
  115. type: boolean
  116. responses:
  117. 200:
  118. description: OK
  119. schema:
  120. $ref: "#/definitions/datastore"
  121. examples:
  122. application/xml: |
  123. <dataStore>
  124. <name>sf</name>
  125. <enabled>true</enabled>
  126. <workspace>
  127. <name>sf</name>
  128. <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/sf.xml" type="application/xml"/>
  129. </workspace>
  130. <connectionParameters>
  131. <entry key="url">file:data/sf</entry>
  132. <entry key="namespace">http://www.openplans.org/spearfish</entry>
  133. </connectionParameters>
  134. <__default>false</__default>
  135. <featureTypes>
  136. <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/sf/datastores/sf/featuretypes.xml" type="application/xml"/>
  137. </featureTypes>
  138. </dataStore>
  139. application/json: |
  140. {"dataStore":{"name":"sf","enabled":true,"workspace":{"name":"sf","href":"http://localhost:8080/geoserver/rest/workspaces/sf.json"},"connectionParameters":{"entry":[{"@key":"url","$":"file:data/sf"},{"@key":"namespace","$":"http://www.openplans.org/spearfish"}]},"_default":false,"featureTypes":"http://localhost:8080/geoserver/rest/workspaces/sf/datastores/sf/featuretypes.json"}}
  141. post:
  142. operationId: postDatastore
  143. tags:
  144. - "DataStores"
  145. description: Invalid. Use PUT to edit a data store definition, or POST with /datastore to add a new definition.
  146. responses:
  147. 405:
  148. description: Method Not Allowed
  149. put:
  150. operationId: putDatastore
  151. tags:
  152. - "DataStores"
  153. summary: Modify a data store.
  154. description: Modify data store ds. Use the "Accept:" header to specify format or append an extension to the endpoint (example "/datastores/{ds}.xml" for XML).
  155. parameters:
  156. - name: workspaceName
  157. in: path
  158. type: string
  159. required: true
  160. description: The name of the workspace containing the data store.
  161. - name: storeName
  162. in: path
  163. required: true
  164. description: The name of the data store to modify.
  165. type: string
  166. - $ref: "#/parameters/dataStorePut"
  167. consumes:
  168. - application/xml
  169. - application/json
  170. responses:
  171. 200:
  172. description: The data store was successfully updated.
  173. delete:
  174. operationId: deleteDatastore
  175. tags:
  176. - "DataStores"
  177. summary: Delete data store
  178. description: Deletes a data store from the server.
  179. parameters:
  180. - name: workspaceName
  181. in: path
  182. type: string
  183. required: true
  184. description: The name of the workspace containing the data store.
  185. - name: storeName
  186. in: path
  187. required: true
  188. description: The name of the data store to delete.
  189. type: string
  190. - name: recurse
  191. in: query
  192. required: false
  193. description: The recurse controls recursive deletion. When set to true all resources contained in the store are also removed. The default value is "false".
  194. type: boolean
  195. responses:
  196. 200:
  197. description: OK
  198. /workspaces/{workspaceName}/datastores/{storeName}/reset:
  199. put:
  200. operationId: putDataStoreReset
  201. tags:
  202. - "DataStores"
  203. summary: Reset the caches related to this specific data store.
  204. description: Resets caches for this data store. This operation is used to force GeoServer to drop caches associated to this data store, and reconnect to the vector source the next time it is needed by a request. This is useful as the store can keep state, such as a connection pool, and the structure of the feature types it's serving.
  205. parameters:
  206. - name: workspaceName
  207. in: path
  208. type: string
  209. required: true
  210. description: The name of the workspace containing the data store.
  211. - name: storeName
  212. in: path
  213. required: true
  214. description: The name of the data store to modify.
  215. type: string
  216. responses:
  217. 200:
  218. description: OK
  219. post:
  220. operationId: postDataStoreReset
  221. tags:
  222. - "DataStores"
  223. summary: Reset the caches related to this specific data store.
  224. description: Resets caches for this data store. This operation is used to force GeoServer to drop caches associated to this data store, and reconnect to the vector source the next time it is needed by a request. This is useful as the store can keep state, such as a connection pool, and the structure of the feature types it's serving.
  225. parameters:
  226. - name: workspaceName
  227. in: path
  228. type: string
  229. required: true
  230. description: The name of the workspace containing the data store.
  231. - name: storeName
  232. in: path
  233. required: true
  234. description: The name of the data store to modify.
  235. type: string
  236. responses:
  237. 200:
  238. description: OK
  239. /workspaces/{workspaceName}/datastores/{storeName}/{method}.{format}:
  240. get:
  241. operationId: getDataStoreUpload
  242. tags:
  243. - "DataStores"
  244. description: Deprecated. Retrieve the underlying files for the data store as a zip file with MIME type application/zip
  245. parameters:
  246. - name: workspaceName
  247. in: path
  248. required: true
  249. description: The name of the workspace containing the data store.
  250. type: string
  251. - name: storeName
  252. in: path
  253. required: true
  254. description: The name of the store to be retrieved
  255. type: string
  256. - name: method
  257. in: path
  258. required: true
  259. description: The upload method. Can be "url", "file", "external". Unused for GET
  260. type: string
  261. - name: format
  262. in: path
  263. required: true
  264. description: The type of source data store (e.g., "shp"). Unused for GET
  265. type: string
  266. responses:
  267. 200:
  268. description: OK
  269. post:
  270. operationId: postDataStoreUpload
  271. tags:
  272. - "DataStores"
  273. description: Invalid, use PUT for uploads
  274. responses:
  275. 405:
  276. description: Method Not Allowed
  277. put:
  278. operationId: putDataStoreUpload
  279. tags:
  280. - "DataStores"
  281. summary: Uploads files to the data store, creating it if necessary
  282. description: Creates or modifies a single data store by uploading spatial data or mapping configuration (in case an app-schema data store is targeted) files.
  283. parameters:
  284. - name: workspaceName
  285. in: path
  286. required: true
  287. description: The name of the workspace containing the coverage stores.
  288. type: string
  289. - name: storeName
  290. in: path
  291. required: true
  292. description: The name of the store to be retrieved
  293. type: string
  294. - name: method
  295. in: path
  296. required: true
  297. description: The upload method. Can be "url", "file", "external".
  298. "file" uploads a file from a local source. The body of the request is the file itself.
  299. "url" uploads a file from an remote source. The body of the request is a URL pointing to the file to upload. This URL must be visible from the server.
  300. "external" uses an existing file on the server. The body of the request is the absolute path to the existing file.
  301. type: string
  302. - name: format
  303. in: path
  304. required: true
  305. description: The type of source data store (e.g., "shp").
  306. type: string
  307. - name: configure
  308. in: query
  309. required: false
  310. description: The configure parameter controls if a coverage/layer are configured upon file upload, in addition to creating the store. It can have a value of "none" to avoid configuring coverages.
  311. type: string
  312. - name: target
  313. in: query
  314. required: false
  315. description: The type of target data store (e.g., "shp"). Same as format if not provided.
  316. type: string
  317. - name: update
  318. in: query
  319. required: false
  320. description: The update mode. If "overwrite", will overwrite existing data. Otherwise, will append to existing data.
  321. type: string
  322. - name: charset
  323. in: query
  324. required: false
  325. description: The character set of the data.
  326. type: string
  327. - name: filename
  328. in: query
  329. required: false
  330. description: The filename parameter specifies the target file name for the file to be uploaded. This is important to avoid clashes with existing files.
  331. type: string
  332. responses:
  333. 200:
  334. description: The data store was successfully updated.
  335. delete:
  336. operationId: deleteDataStoreUpload
  337. tags:
  338. - "DataStores"
  339. description: Invalid, only used for uploads
  340. responses:
  341. 405:
  342. description: Method Not Allowed
  343. /workspaces/{workspaceName}/appschemastores/{storeName}/cleanSchemas:
  344. post:
  345. operationId: cleanAllMongoSchemas
  346. tags:
  347. - "DataStores"
  348. summary: Cleans all MongoDB internal stores Schemas for an App-Schema store.
  349. description: Cleans all MongoDB internal stores Schemas for an App-Schema store.
  350. produces:
  351. - text/plain
  352. parameters:
  353. - name: workspaceName
  354. in: path
  355. required: true
  356. type: string
  357. description: The name of the workspace containing the data stores.
  358. - name: storeName
  359. in: path
  360. required: true
  361. description: The name of the App-Schema store
  362. type: string
  363. responses:
  364. 200:
  365. description: OK
  366. /workspaces/{workspaceName}/appschemastores/{storeName}/datastores/{internalStoreId}/cleanSchemas:
  367. post:
  368. operationId: cleanMongoSchema
  369. tags:
  370. - "DataStores"
  371. summary: Cleans a MongoDB internal store Schemas for an App-Schema store.
  372. description: Cleans a MongoDB internal store Schemas for an App-Schema store.
  373. produces:
  374. - text/plain
  375. parameters:
  376. - name: workspaceName
  377. in: path
  378. required: true
  379. type: string
  380. description: The name of the workspace containing the data stores.
  381. - name: storeName
  382. in: path
  383. required: true
  384. description: The name of the App-Schema store
  385. type: string
  386. - name: internalStoreId
  387. in: path
  388. required: true
  389. description: The store ID for the internal MongoDB store as specified on App-Schema Mappings.
  390. type: string
  391. responses:
  392. 200:
  393. description: OK
  394. /workspaces/{workspaceName}/appschemastores/{storeName}/rebuildMongoSchemas:
  395. post:
  396. operationId: rebuildAllMongoSchemas
  397. tags:
  398. - "DataStores"
  399. summary: Rebuilds all MongoDB internal stores Schemas for an App-Schema store.
  400. description: Rebuilds all MongoDB internal stores Schemas for an App-Schema store.
  401. produces:
  402. - text/plain
  403. parameters:
  404. - name: workspaceName
  405. in: path
  406. required: true
  407. type: string
  408. description: The name of the workspace containing the data stores.
  409. - name: storeName
  410. in: path
  411. required: true
  412. description: The name of the App-Schema store
  413. type: string
  414. - name: ids
  415. in: query
  416. required: false
  417. description: Comma separated MongoDB object IDs for use in new generated schema.
  418. type: string
  419. - name: max
  420. in: query
  421. required: false
  422. description: Max number of objects for use in new generated schema.
  423. type: integer
  424. responses:
  425. 200:
  426. description: OK
  427. /workspaces/{workspaceName}/appschemastores/{storeName}/datastores/{internalStoreId}/rebuildMongoSchemas:
  428. post:
  429. operationId: rebuildMongoSchema
  430. tags:
  431. - "DataStores"
  432. summary: Rebuilds a MongoDB internal store Schemas for an App-Schema store.
  433. description: Rebuilds a MongoDB internal store Schemas for an App-Schema store.
  434. produces:
  435. - text/plain
  436. parameters:
  437. - name: workspaceName
  438. in: path
  439. required: true
  440. type: string
  441. description: The name of the workspace containing the data stores.
  442. - name: storeName
  443. in: path
  444. required: true
  445. description: The name of the App-Schema store
  446. type: string
  447. - name: internalStoreId
  448. in: path
  449. required: true
  450. description: The store ID for the internal MongoDB store as specified on App-Schema Mappings.
  451. type: string
  452. - name: ids
  453. in: query
  454. required: false
  455. description: Comma separated MongoDB object IDs for use in new generated schema.
  456. type: string
  457. - name: max
  458. in: query
  459. required: false
  460. description: Max number of objects for use in new generated schema.
  461. type: integer
  462. - name: schema
  463. in: query
  464. required: false
  465. description: Name of schema to re-build.
  466. type: string
  467. responses:
  468. 200:
  469. description: OK
  470. parameters:
  471. dataStorePost:
  472. name: dataStoreBody
  473. description: |
  474. The data store body information to upload.
  475. The contents of the connection parameters will differ depending on the type of data store being added.
  476. - GeoPackage
  477. Examples:
  478. - application/xml:
  479. ```
  480. <dataStore>
  481. <name>nyc</name>
  482. <connectionParameters>
  483. <database>file:///path/to/nyc.gpkg</database>
  484. <dbtype>geopkg</dbtype>
  485. </connectionParameters>
  486. </dataStore>
  487. ```
  488. - application/json:
  489. ```
  490. {
  491. "dataStore": {
  492. "name": "nyc",
  493. "connectionParameters": {
  494. "entry": [
  495. {"@key":"database","$":"file:///path/to/nyc.gpkg"},
  496. {"@key":"dbtype","$":"geopkg"}
  497. ]
  498. }
  499. }
  500. }
  501. ```
  502. Connection Parameters:
  503. | key | description | level | type | required | default |
  504. | --- | ----------- | ----- | ---- | -------- | ------- |
  505. | Primary key metadata table | The optional table containing primary key structure and sequence associations. Can be expressed as 'schema.name' or just 'name' | user | String | False | ` ` |
  506. | Callback factory | Name of JDBCReaderCallbackFactory to enable on the data store | user | String | False | ` ` |
  507. | Evictor tests per run | number of connections checked by the idle connection evictor for each of its runs (defaults to 3) | user | Integer | False | `3` |
  508. | database | Database | user | File | True | ` ` |
  509. | Batch insert size | Number of records inserted in the same batch (default, 1). For optimal performance, set to 100. | user | Integer | False | `1` |
  510. | fetch size | number of records read with each interaction with the DBMS | user | Integer | False | `1000` |
  511. | Connection timeout | number of seconds the connection pool will wait before timing out attempting to get a new connection (default, 20 seconds) | user | Integer | False | `20` |
  512. | namespace | Namespace prefix | user | String | False | ` ` |
  513. | max connections | maximum number of open connections | user | Integer | False | `10` |
  514. | Test while idle | Periodically test the connections are still valid also while idle in the pool | user | Boolean | False | `True` |
  515. | Max connection idle time | number of seconds a connection needs to stay idle for the evictor to consider closing it | user | Integer | False | `300` |
  516. | Session startup SQL | SQL statement executed when the connection is grabbed from the pool | user | String | False | ` ` |
  517. | validate connections | check connection is alive before using it | user | Boolean | False | `True` |
  518. | dbtype | Type | program | String | True | `geopkg` |
  519. | passwd | password used to login | user | String | False | ` ` |
  520. | Expose primary keys | Expose primary key columns as attributes of the feature type | user | Boolean | False | `False` |
  521. | min connections | minimum number of pooled connections | user | Integer | False | `1` |
  522. | Evictor run periodicity | number of seconds between idle object evictor runs (default, 300 seconds) | user | Integer | False | `300` |
  523. | Session close-up SQL | SQL statement executed when the connection is released to the pool | user | String | False | ` ` |
  524. | user | user name to login as | user | String | False | ` ` |
  525. - PostGIS
  526. Examples:
  527. - application/xml:
  528. ```
  529. <dataStore>
  530. <name>nyc</name>
  531. <connectionParameters>
  532. <host>localhost</host>
  533. <port>5432</port>
  534. <database>nyc</database>
  535. <user>bob</user>
  536. <passwd>postgres</passwd>
  537. <dbtype>postgis</dbtype>
  538. </connectionParameters>
  539. </dataStore>
  540. ```
  541. - application/json:
  542. ```
  543. {
  544. "dataStore": {
  545. "name": "nyc",
  546. "connectionParameters": {
  547. "entry": [
  548. {"@key":"host","$":"localhost"},
  549. {"@key":"port","$":"5432"},
  550. {"@key":"database","$":"nyc"},
  551. {"@key":"user","$":"bob"},
  552. {"@key":"passwd","$":"postgres"},
  553. {"@key":"dbtype","$":"postgis"}
  554. ]
  555. }
  556. }
  557. }
  558. ```
  559. Connection Parameters:
  560. | key | description | level | type | required | default |
  561. | --- | ----------- | ----- | ---- | -------- | ------- |
  562. | Connection timeout | number of seconds the connection pool will wait before timing out attempting to get a new connection (default, 20 seconds) | user | Integer | False | `20` |
  563. | validate connections | check connection is alive before using it | user | Boolean | False | `True` |
  564. | port | Port | user | Integer | True | `5432` |
  565. | Primary key metadata table | The optional table containing primary key structure and sequence associations. Can be expressed as 'schema.name' or just 'name' | user | String | False | ` ` |
  566. | Support on the fly geometry simplification | When enabled, operations such as map rendering will pass a hint that will enable the usage of ST_Simplify | user | Boolean | False | `True` |
  567. | create database | Creates the database if it does not exist yet | advanced | Boolean | False | `False` |
  568. | create database params | Extra specifications appended to the CREATE DATABASE command | advanced | String | False | `` |
  569. | dbtype | Type | program | String | True | `postgis` |
  570. | Batch insert size | Number of records inserted in the same batch (default, 1). For optimal performance, set to 100. | user | Integer | False | `1` |
  571. | namespace | Namespace prefix | user | String | False | ` ` |
  572. | Max connection idle time | number of seconds a connection needs to stay idle for the evictor to consider closing it | user | Integer | False | `300` |
  573. | Session startup SQL | SQL statement executed when the connection is grabbed from the pool | user | String | False | ` ` |
  574. | Expose primary keys | Expose primary key columns as attributes of the feature type | user | Boolean | False | `False` |
  575. | min connections | minimum number of pooled connections | user | Integer | False | `1` |
  576. | Max open prepared statements | Maximum number of prepared statements kept open and cached for each connection in the pool. Set to 0 to have unbounded caching, to -1 to disable caching | user | Integer | False | `50` |
  577. | Callback factory | Name of JDBCReaderCallbackFactory to enable on the data store | user | String | False | ` ` |
  578. | passwd | password used to login | user | String | False | ` ` |
  579. | encode functions | set to true to have a set of filter functions be translated directly in SQL. Due to differences in the type systems the result might not be the same as evaluating them in memory, including the SQL failing with errors while the in memory version works fine. However this allows us to push more of the filter into the database, increasing performance of the postgis table. | advanced | Boolean | False | `False` |
  580. | host | Host | user | String | True | `localhost` |
  581. | Evictor tests per run | number of connections checked by the idle connection evictor for each of its runs (defaults to 3) | user | Integer | False | `3` |
  582. | Loose bbox | Perform only primary filter on bbox | user | Boolean | False | `True` |
  583. | Evictor run periodicity | number of seconds between idle object evictor runs (default, 300 seconds) | user | Integer | False | `300` |
  584. | Estimated extends | Use the spatial index information to quickly get an estimate of the data bounds | user | Boolean | False | `True` |
  585. | database | Database | user | String | False | ` ` |
  586. | fetch size | number of records read with each interaction with the DBMS | user | Integer | False | `1000` |
  587. | Test while idle | Periodically test the connections are still valid also while idle in the pool | user | Boolean | False | `True` |
  588. | max connections | maximum number of open connections | user | Integer | False | `10` |
  589. | preparedStatements | Use prepared statements | user | Boolean | False | `False` |
  590. | Session close-up SQL | SQL statement executed when the connection is released to the pool | user | String | False | ` ` |
  591. | schema | Schema | user | String | False | `public` |
  592. | user | user name to login as | user | String | True | ` ` |
  593. - Shapefile
  594. Examples:
  595. - application/xml:
  596. ```
  597. <dataStore>
  598. <name>nyc</name>
  599. <connectionParameters>
  600. <url>file:/path/to/nyc.shp</url>
  601. </connectionParameters>
  602. </dataStore>
  603. ```
  604. - application/json:
  605. ```
  606. {
  607. "dataStore": {
  608. "name": "nyc",
  609. "connectionParameters": {
  610. "entry": [
  611. {"@key":"url","$":"file:/path/to/nyc.shp"}
  612. ]
  613. }
  614. }
  615. }
  616. ```
  617. Connection Parameters:
  618. | key | description | level | type | required | default |
  619. | --- | ----------- | ----- | ---- | -------- | ------- |
  620. | cache and reuse memory maps | only memory map a file one, then cache and reuse the map | advanced | Boolean | False | `True` |
  621. | namespace | URI to the namespace | advanced | URI | False | ` ` |
  622. | filetype | Discriminator for directory stores | program | String | False | `shapefile` |
  623. | charset | character used to decode strings from the DBF file | advanced | Charset | False | `ISO-8859-1` |
  624. | create spatial index | enable/disable the automatic creation of spatial index | advanced | Boolean | False | `True` |
  625. | fstype | Enable using a setting of 'shape'. | advanced | String | False | `shape` |
  626. | url | url to a .shp file | user | URL | True | ` ` |
  627. | enable spatial index | enable/disable the use of spatial index for local shapefiles | advanced | Boolean | False | `True` |
  628. | memory mapped buffer | enable/disable the use of memory-mapped IO | advanced | Boolean | False | `False` |
  629. | timezone | time zone used to read dates from the DBF file | advanced | TimeZone | False | `Pacific Standard Time` |
  630. - Directory of spatial files (shapefiles)
  631. Examples:
  632. - application/xml:
  633. ```
  634. <dataStore>
  635. <name>nyc</name>
  636. <connectionParameters>
  637. <url>file:/path/to/directory</url>
  638. </connectionParameters>
  639. </dataStore>
  640. ```
  641. - application/json:
  642. ```
  643. {
  644. "dataStore": {
  645. "name": "nyc",
  646. "connectionParameters": {
  647. "entry": [
  648. {"@key":"url","$":"file:/path/to/directory"}
  649. ]
  650. }
  651. }
  652. }
  653. ```
  654. Connection Parameters:
  655. | key | description | level | type | required | default |
  656. | --- | ----------- | ----- | ---- | -------- | ------- |
  657. | cache and reuse memory maps | only memory map a file one, then cache and reuse the map | advanced | Boolean | False | `True` |
  658. | namespace | URI to the namespace | advanced | URI | False | ` ` |
  659. | filetype | Discriminator for directory stores | program | String | False | `shapefile` |
  660. | charset | character used to decode strings from the DBF file | advanced | Charset | False | `ISO-8859-1` |
  661. | create spatial index | enable/disable the automatic creation of spatial index | advanced | Boolean | False | `True` |
  662. | fstype | Enable using a setting of 'shape'. | advanced | String | False | `shape` |
  663. | url | url to a .shp file | user | URL | True | ` ` |
  664. | enable spatial index | enable/disable the use of spatial index for local shapefiles | advanced | Boolean | False | `True` |
  665. | memory mapped buffer | enable/disable the use of memory-mapped IO | advanced | Boolean | False | `False` |
  666. | timezone | time zone used to read dates from the DBF file | advanced | TimeZone | False | `Pacific Standard Time` |
  667. - Web Feature Service
  668. Examples:
  669. - application/xml:
  670. ```
  671. <dataStore>
  672. <name>nyc</name>
  673. <connectionParameters>
  674. <GET_CAPABILITIES_URL>http://localhost:8080/geoserver/wfs?request=GetCapabilities</GET_CAPABILITIES_URL>
  675. </connectionParameters>
  676. </dataStore>
  677. ```
  678. - application/json:
  679. ```
  680. {
  681. "dataStore": {
  682. "name": "nyc",
  683. "connectionParameters": {
  684. "entry": [
  685. {"@key":"GET_CAPABILITIES_URL","$":"http://localhost:8080/geoserver/wfs?request=GetCapabilities"}
  686. ]
  687. }
  688. }
  689. }
  690. ```
  691. Connection Parameters:
  692. | key | description | level | type | required | default |
  693. | --- | ----------- | ----- | ---- | -------- | ------- |
  694. | Protocol | Sets a preference for the HTTP protocol to use when requesting WFS functionality. Set this value to Boolean.TRUE for POST, Boolean.FALSE for GET or NULL for AUTO | user | Boolean | False | ` ` |
  695. | WFS GetCapabilities URL | Represents a URL to the getCapabilities document or a server instance. | user | URL | False | ` ` |
  696. | Buffer Size | This allows the user to specify a buffer size in features. This param has a default value of 10 features. | user | Integer | False | `10` |
  697. | Filter compliance | Level of compliance to WFS specification (0-low,1-medium,2-high) | user | Integer | False | ` ` |
  698. | EntityResolver | Sets the entity resolver used to expand XML entities | program | EntityResolver | False | `org.geotools.xml.PreventLocalEntityResolver@75e98519` |
  699. | Time-out | This allows the user to specify a timeout in milliseconds. This param has a default value of 3000ms. | user | Integer | False | `3000` |
  700. | GmlComplianceLevel | Optional OGC GML compliance level required. | user | Integer | False | `0` |
  701. | Lenient | Indicates that datastore should do its best to create features from the provided data even if it does not accurately match the schema. Errors will be logged but the parsing will continue if this is true. Default is false | user | Boolean | False | `False` |
  702. | Password | This allows the user to specify a username. This param should not be used without the USERNAME param. | user | String | False | ` ` |
  703. | Use Default SRS | Use always the declared DefaultSRS for requests and reproject locally if necessary | advanced | Boolean | False | `False` |
  704. | Namespace | Override the original WFS type name namespaces | advanced | String | False | ` ` |
  705. | Username | This allows the user to specify a username. This param should not be used without the PASSWORD param. | user | String | False | ` ` |
  706. | Axis Order Filter | Indicates axis order used by the remote WFS server for filters. It applies only to WFS 1.x.0 servers. Default is the same as AXIS_ORDER | advanced | String | False | ` ` |
  707. | GmlCompatibleTypeNames | Use Gml Compatible TypeNames (replace : by _). | user | Boolean | False | `False` |
  708. | Maximum features | Positive integer used as a hard limit for the number of Features to retrieve for each FeatureType. A value of zero or not providing this parameter means no limit. | user | Integer | False | `0` |
  709. | Axis Order | Indicates axis order used by the remote WFS server in result coordinates. It applies only to WFS 1.x.0 servers. Default is Compliant | advanced | String | False | `Compliant` |
  710. | WFS Strategy | Override WFS strategy with either cubwerx, ionic, mapserver, geoserver, strict, nonstrict or arcgis strategy. | user | String | False | `auto` |
  711. | Try GZIP | Indicates that datastore should use gzip to transfer data if the server supports it. Default is true | user | Boolean | False | `True` |
  712. | Encoding | This allows the user to specify the character encoding of the XML-Requests sent to the Server. Defaults to UTF-8 | user | String | False | `UTF-8` |
  713. | Outputformat | This allows the user to specify an output format, different from the default one. | advanced | String | False | ` ` |
  714. in: body
  715. required: true
  716. schema:
  717. $ref: "#/definitions/datastore"
  718. dataStorePut:
  719. name: dataStoreBody
  720. description: |
  721. The updated data store definition.
  722. For a PUT, only values which should be changed need to be included. The connectionParameters map counts as a single value,
  723. so if you change it all pre-existing connection parameters will be overwritten.
  724. The contents of the connection parameters will differ depending on the type of data store being added.
  725. - GeoPackage
  726. Examples:
  727. - application/xml:
  728. ```
  729. <dataStore>
  730. <description>A data store</description>
  731. <enabled>true</enabled>
  732. <__default>true</__default>
  733. <connectionParameters>
  734. <database>file:///path/to/nyc.gpkg</database>
  735. </connectionParameters>
  736. </dataStore>
  737. ```
  738. - application/json:
  739. ```
  740. {
  741. "dataStore": {
  742. "description": "A data store",
  743. "enabled": "true",
  744. "_default": "true",
  745. "connectionParameters": {
  746. "entry": [
  747. {"@key":"database","$":"file:///path/to/nyc.gpkg"},
  748. ]
  749. }
  750. }
  751. }
  752. ```
  753. Connection Parameters:
  754. | key | description | level | type | required | default |
  755. | --- | ----------- | ----- | ---- | -------- | ------- |
  756. | Primary key metadata table | The optional table containing primary key structure and sequence associations. Can be expressed as 'schema.name' or just 'name' | user | String | False | ` ` |
  757. | Callback factory | Name of JDBCReaderCallbackFactory to enable on the data store | user | String | False | ` ` |
  758. | Evictor tests per run | number of connections checked by the idle connection evictor for each of its runs (defaults to 3) | user | Integer | False | `3` |
  759. | database | Database | user | File | True | ` ` |
  760. | Batch insert size | Number of records inserted in the same batch (default, 1). For optimal performance, set to 100. | user | Integer | False | `1` |
  761. | fetch size | number of records read with each interaction with the DBMS | user | Integer | False | `1000` |
  762. | Connection timeout | number of seconds the connection pool will wait before timing out attempting to get a new connection (default, 20 seconds) | user | Integer | False | `20` |
  763. | namespace | Namespace prefix | user | String | False | ` ` |
  764. | max connections | maximum number of open connections | user | Integer | False | `10` |
  765. | Test while idle | Periodically test the connections are still valid also while idle in the pool | user | Boolean | False | `True` |
  766. | Max connection idle time | number of seconds a connection needs to stay idle for the evictor to consider closing it | user | Integer | False | `300` |
  767. | Session startup SQL | SQL statement executed when the connection is grabbed from the pool | user | String | False | ` ` |
  768. | validate connections | check connection is alive before using it | user | Boolean | False | `True` |
  769. | dbtype | Type | program | String | True | `geopkg` |
  770. | passwd | password used to login | user | String | False | ` ` |
  771. | Expose primary keys | Expose primary key columns as attributes of the feature type | user | Boolean | False | `False` |
  772. | min connections | minimum number of pooled connections | user | Integer | False | `1` |
  773. | Evictor run periodicity | number of seconds between idle object evictor runs (default, 300 seconds) | user | Integer | False | `300` |
  774. | Session close-up SQL | SQL statement executed when the connection is released to the pool | user | String | False | ` ` |
  775. | user | user name to login as | user | String | False | ` ` |
  776. - PostGIS
  777. Examples:
  778. - application/xml:
  779. ```
  780. <dataStore>
  781. <description>A data store</description>
  782. <enabled>true</enabled>
  783. <__default>true</__default>
  784. <connectionParameters>
  785. <host>localhost</host>
  786. <port>5432</port>
  787. <database>nyc</database>
  788. <user>bob</user>
  789. <passwd>postgres</passwd>
  790. </connectionParameters>
  791. </dataStore>
  792. ```
  793. - application/json:
  794. ```
  795. {
  796. "dataStore": {
  797. "description": "A data store",
  798. "enabled": "true",
  799. "_default": "true",
  800. "connectionParameters": {
  801. "entry": [
  802. {"@key":"host","$":"localhost"},
  803. {"@key":"port","$":"5432"},
  804. {"@key":"database","$":"nyc"},
  805. {"@key":"user","$":"bob"},
  806. {"@key":"passwd","$":"postgres"},
  807. ]
  808. }
  809. }
  810. }
  811. ```
  812. Connection Parameters:
  813. | key | description | level | type | required | default |
  814. | --- | ----------- | ----- | ---- | -------- | ------- |
  815. | Connection timeout | number of seconds the connection pool will wait before timing out attempting to get a new connection (default, 20 seconds) | user | Integer | False | `20` |
  816. | validate connections | check connection is alive before using it | user | Boolean | False | `True` |
  817. | port | Port | user | Integer | True | `5432` |
  818. | Primary key metadata table | The optional table containing primary key structure and sequence associations. Can be expressed as 'schema.name' or just 'name' | user | String | False | ` ` |
  819. | Support on the fly geometry simplification | When enabled, operations such as map rendering will pass a hint that will enable the usage of ST_Simplify | user | Boolean | False | `True` |
  820. | create database | Creates the database if it does not exist yet | advanced | Boolean | False | `False` |
  821. | create database params | Extra specifications appended to the CREATE DATABASE command | advanced | String | False | `` |
  822. | dbtype | Type | program | String | True | `postgis` |
  823. | Batch insert size | Number of records inserted in the same batch (default, 1). For optimal performance, set to 100. | user | Integer | False | `1` |
  824. | namespace | Namespace prefix | user | String | False | ` ` |
  825. | Max connection idle time | number of seconds a connection needs to stay idle for the evictor to consider closing it | user | Integer | False | `300` |
  826. | Session startup SQL | SQL statement executed when the connection is grabbed from the pool | user | String | False | ` ` |
  827. | Expose primary keys | Expose primary key columns as attributes of the feature type | user | Boolean | False | `False` |
  828. | min connections | minimum number of pooled connections | user | Integer | False | `1` |
  829. | Max open prepared statements | Maximum number of prepared statements kept open and cached for each connection in the pool. Set to 0 to have unbounded caching, to -1 to disable caching | user | Integer | False | `50` |
  830. | Callback factory | Name of JDBCReaderCallbackFactory to enable on the data store | user | String | False | ` ` |
  831. | passwd | password used to login | user | String | False | ` ` |
  832. | encode functions | set to true to have a set of filter functions be translated directly in SQL. Due to differences in the type systems the result might not be the same as evaluating them in memory, including the SQL failing with errors while the in memory version works fine. However this allows us to push more of the filter into the database, increasing performance of the postgis table. | advanced | Boolean | False | `False` |
  833. | host | Host | user | String | True | `localhost` |
  834. | Evictor tests per run | number of connections checked by the idle connection evictor for each of its runs (defaults to 3) | user | Integer | False | `3` |
  835. | Loose bbox | Perform only primary filter on bbox | user | Boolean | False | `True` |
  836. | Evictor run periodicity | number of seconds between idle object evictor runs (default, 300 seconds) | user | Integer | False | `300` |
  837. | Estimated extends | Use the spatial index information to quickly get an estimate of the data bounds | user | Boolean | False | `True` |
  838. | database | Database | user | String | False | ` ` |
  839. | fetch size | number of records read with each interaction with the DBMS | user | Integer | False | `1000` |
  840. | Test while idle | Periodically test the connections are still valid also while idle in the pool | user | Boolean | False | `True` |
  841. | max connections | maximum number of open connections | user | Integer | False | `10` |
  842. | preparedStatements | Use prepared statements | user | Boolean | False | `False` |
  843. | Session close-up SQL | SQL statement executed when the connection is released to the pool | user | String | False | ` ` |
  844. | schema | Schema | user | String | False | `public` |
  845. | user | user name to login as | user | String | True | ` ` |
  846. - Shapefile
  847. Examples:
  848. - application/xml:
  849. ```
  850. <dataStore>
  851. <description>A data store</description>
  852. <enabled>true</enabled>
  853. <__default>true</__default>
  854. <connectionParameters>
  855. <url>file:/path/to/nyc.shp</url>
  856. </connectionParameters>
  857. </dataStore>
  858. ```
  859. - application/json:
  860. ```
  861. {
  862. "dataStore": {
  863. "description": "A data store",
  864. "enabled": "true",
  865. "_default": "true",
  866. "connectionParameters": {
  867. "entry": [
  868. {"@key":"url","$":"file:/path/to/nyc.shp"}
  869. ]
  870. }
  871. }
  872. }
  873. ```
  874. Connection Parameters:
  875. | key | description | level | type | required | default |
  876. | --- | ----------- | ----- | ---- | -------- | ------- |
  877. | cache and reuse memory maps | only memory map a file one, then cache and reuse the map | advanced | Boolean | False | `True` |
  878. | namespace | URI to the namespace | advanced | URI | False | ` ` |
  879. | filetype | Discriminator for directory stores | program | String | False | `shapefile` |
  880. | charset | character used to decode strings from the DBF file | advanced | Charset | False | `ISO-8859-1` |
  881. | create spatial index | enable/disable the automatic creation of spatial index | advanced | Boolean | False | `True` |
  882. | fstype | Enable using a setting of 'shape'. | advanced | String | False | `shape` |
  883. | url | url to a .shp file | user | URL | True | ` ` |
  884. | enable spatial index | enable/disable the use of spatial index for local shapefiles | advanced | Boolean | False | `True` |
  885. | memory mapped buffer | enable/disable the use of memory-mapped IO | advanced | Boolean | False | `False` |
  886. | timezone | time zone used to read dates from the DBF file | advanced | TimeZone | False | `Pacific Standard Time` |
  887. - Directory of spatial files (shapefiles)
  888. Examples:
  889. - application/xml:
  890. ```
  891. <dataStore>
  892. <description>A data store</description>
  893. <enabled>true</enabled>
  894. <__default>true</__default>
  895. <connectionParameters>
  896. <url>file:/path/to/directory</url>
  897. </connectionParameters>
  898. </dataStore>
  899. ```
  900. - application/json:
  901. ```
  902. {
  903. "dataStore": {
  904. "description": "A data store",
  905. "enabled": "true",
  906. "_default": "true",
  907. "connectionParameters": {
  908. "entry": [
  909. {"@key":"url","$":"file:/path/to/directory"}
  910. ]
  911. }
  912. }
  913. }
  914. ```
  915. Connection Parameters:
  916. | key | description | level | type | required | default |
  917. | --- | ----------- | ----- | ---- | -------- | ------- |
  918. | cache and reuse memory maps | only memory map a file one, then cache and reuse the map | advanced | Boolean | False | `True` |
  919. | namespace | URI to the namespace | advanced | URI | False | ` ` |
  920. | filetype | Discriminator for directory stores | program | String | False | `shapefile` |
  921. | charset | character used to decode strings from the DBF file | advanced | Charset | False | `ISO-8859-1` |
  922. | create spatial index | enable/disable the automatic creation of spatial index | advanced | Boolean | False | `True` |
  923. | fstype | Enable using a setting of 'shape'. | advanced | String | False | `shape` |
  924. | url | url to a .shp file | user | URL | True | ` ` |
  925. | enable spatial index | enable/disable the use of spatial index for local shapefiles | advanced | Boolean | False | `True` |
  926. | memory mapped buffer | enable/disable the use of memory-mapped IO | advanced | Boolean | False | `False` |
  927. | timezone | time zone used to read dates from the DBF file | advanced | TimeZone | False | `Pacific Standard Time` |
  928. - Web Feature Service
  929. Examples:
  930. - application/xml:
  931. ```
  932. <dataStore>
  933. <description>A data store</description>
  934. <enabled>true</enabled>
  935. <__default>true</__default>
  936. <connectionParameters>
  937. <GET_CAPABILITIES_URL>http://localhost:8080/geoserver/wfs?request=GetCapabilities</GET_CAPABILITIES_URL>
  938. </connectionParameters>
  939. </dataStore>
  940. ```
  941. - application/json:
  942. ```
  943. {
  944. "dataStore": {
  945. "description": "A data store",
  946. "enabled": "true",
  947. "_default": "true",
  948. "connectionParameters": {
  949. "entry": [
  950. {"@key":"GET_CAPABILITIES_URL","$":"http://localhost:8080/geoserver/wfs?request=GetCapabilities"}
  951. ]
  952. }
  953. }
  954. }
  955. ```
  956. Connection Parameters:
  957. | key | description | level | type | required | default |
  958. | --- | ----------- | ----- | ---- | -------- | ------- |
  959. | Protocol | Sets a preference for the HTTP protocol to use when requesting WFS functionality. Set this value to Boolean.TRUE for POST, Boolean.FALSE for GET or NULL for AUTO | user | Boolean | False | ` ` |
  960. | WFS GetCapabilities URL | Represents a URL to the getCapabilities document or a server instance. | user | URL | False | ` ` |
  961. | Buffer Size | This allows the user to specify a buffer size in features. This param has a default value of 10 features. | user | Integer | False | `10` |
  962. | Filter compliance | Level of compliance to WFS specification (0-low,1-medium,2-high) | user | Integer | False | ` ` |
  963. | EntityResolver | Sets the entity resolver used to expand XML entities | program | EntityResolver | False | `org.geotools.xml.PreventLocalEntityResolver@75e98519` |
  964. | Time-out | This allows the user to specify a timeout in milliseconds. This param has a default value of 3000ms. | user | Integer | False | `3000` |
  965. | GmlComplianceLevel | Optional OGC GML compliance level required. | user | Integer | False | `0` |
  966. | Lenient | Indicates that datastore should do its best to create features from the provided data even if it does not accurately match the schema. Errors will be logged but the parsing will continue if this is true. Default is false | user | Boolean | False | `False` |
  967. | Password | This allows the user to specify a username. This param should not be used without the USERNAME param. | user | String | False | ` ` |
  968. | Use Default SRS | Use always the declared DefaultSRS for requests and reproject locally if necessary | advanced | Boolean | False | `False` |
  969. | Namespace | Override the original WFS type name namespaces | advanced | String | False | ` ` |
  970. | Username | This allows the user to specify a username. This param should not be used without the PASSWORD param. | user | String | False | ` ` |
  971. | Axis Order Filter | Indicates axis order used by the remote WFS server for filters. It applies only to WFS 1.x.0 servers. Default is the same as AXIS_ORDER | advanced | String | False | ` ` |
  972. | GmlCompatibleTypeNames | Use Gml Compatible TypeNames (replace : by _). | user | Boolean | False | `False` |
  973. | Maximum features | Positive integer used as a hard limit for the number of Features to retrieve for each FeatureType. A value of zero or not providing this parameter means no limit. | user | Integer | False | `0` |
  974. | Axis Order | Indicates axis order used by the remote WFS server in result coordinates. It applies only to WFS 1.x.0 servers. Default is Compliant | advanced | String | False | `Compliant` |
  975. | WFS Strategy | Override WFS strategy with either cubwerx, ionic, mapserver, geoserver, strict, nonstrict or arcgis strategy. | user | String | False | `auto` |
  976. | Try GZIP | Indicates that datastore should use gzip to transfer data if the server supports it. Default is true | user | Boolean | False | `True` |
  977. | Encoding | This allows the user to specify the character encoding of the XML-Requests sent to the Server. Defaults to UTF-8 | user | String | False | `UTF-8` |
  978. | Outputformat | This allows the user to specify an output format, different from the default one. | advanced | String | False | ` ` |
  979. in: body
  980. required: true
  981. schema:
  982. $ref: "#/definitions/datastore"
  983. definitions:
  984. dataStoreResponse:
  985. title: datastores
  986. type: array
  987. items:
  988. title: datastore
  989. type: object
  990. properties:
  991. name:
  992. type: string
  993. description: Name of data store
  994. link:
  995. type: string
  996. description: URL to data store definition
  997. datastore:
  998. title: datastore
  999. type: object
  1000. properties:
  1001. name:
  1002. type: string
  1003. description: Name of data store
  1004. description:
  1005. type: string
  1006. description: Description of data store
  1007. enabled:
  1008. type: boolean
  1009. description: Whether or not the data store is enabled
  1010. workspace:
  1011. title: workspace
  1012. type: object
  1013. properties:
  1014. name:
  1015. type: string
  1016. description: Name of workspace
  1017. link:
  1018. type: string
  1019. description: URL to workspace definition
  1020. connectionParameters:
  1021. type: array
  1022. items:
  1023. title: entry
  1024. description: connection parameter key-value pair
  1025. type: object
  1026. properties:
  1027. key:
  1028. type: string
  1029. description: Connection parameter key
  1030. value:
  1031. type: string
  1032. description: Connection parameter value
  1033. __default:
  1034. type: boolean
  1035. description: Whether or not the data store is the default data store
  1036. featureTypes:
  1037. type: array
  1038. items:
  1039. type: string
  1040. description: URL to featuretype definition