|
2206 | 2206 | "/service_types": {
|
2207 | 2207 | "get": {
|
2208 | 2208 | "summary": "Supported secondary web service protocols",
|
2209 |
| - "description": "The request will ask the back-end for supported secondary web service protocols, e.g. WMS or WCS. The response is an object of all available secondary web service protocols, including their parameters and attributes.\nParameters configure the service and therefore need to be defined upon creation of a service. Attributes are read-only characteristics of the service and may be computed based on the parameters, e.g. available layers for a WMS based on the bands in the underlying GeoTiff.\nTo improve interoperability between back-ends common names for the services SHOULD be used, e.g. the abbreviations used in the official [OGC Schema Repository](http://schemas.opengis.net/) for the respective services.\nService names are allowed to be *case insensitive* throughout the API.", |
| 2209 | + "description": "The request will ask the back-end for supported secondary web service protocols, e.g. WMS or WCS. The response is an object of all available secondary web service protocols, including their parameters, attributes and process graph variables.\nParameters configure the service and therefore need to be defined upon creation of a service. Attributes are read-only characteristics of the service and may be computed based on the parameters, e.g. available layers for a WMS based on the bands in the underlying GeoTiff.\nA list of process graph variables is also available. This variables can be used by users in a process graph that is used to compute web service results. The objects can directly be used inside the process graph. Such variables are usually things that have to be injected into the process graph from the context of the web service. For example, a map service such as a WMS would need to inject the spatial extent into the process graph so that the back-end can compute the corresponding tile correctly.\nTo improve interoperability between back-ends common names for the services SHOULD be used, e.g. the abbreviations used in the official [OGC Schema Repository](http://schemas.opengis.net/) for the respective services.\nService names are allowed to be *case insensitive* throughout the API.", |
2210 | 2210 | "tags": [
|
2211 | 2211 | "Capabilities",
|
2212 | 2212 | "Secondary Services Management"
|
|
2231 | 2231 | "type": "object",
|
2232 | 2232 | "properties": {
|
2233 | 2233 | "parameters": {
|
2234 |
| - "type": "object", |
2235 | 2234 | "title": "Service Type Parameters",
|
2236 | 2235 | "description": "List of supported parameters for configuration.",
|
| 2236 | + "type": "object", |
2237 | 2237 | "additionalProperties": {
|
2238 | 2238 | "$ref": "#/components/schemas/argument"
|
2239 | 2239 | }
|
2240 | 2240 | },
|
2241 | 2241 | "attributes": {
|
2242 |
| - "type": "object", |
2243 | 2242 | "title": "Service Type Attributes",
|
2244 | 2243 | "description": "List of supported attributes.",
|
| 2244 | + "type": "object", |
2245 | 2245 | "additionalProperties": {
|
2246 | 2246 | "$ref": "#/components/schemas/argument"
|
2247 | 2247 | }
|
2248 | 2248 | },
|
| 2249 | + "variables": { |
| 2250 | + "title": "Service Type Variables", |
| 2251 | + "description": "List of supported process graph variables.", |
| 2252 | + "type": "array", |
| 2253 | + "items": { |
| 2254 | + "$ref": "#/components/schemas/variable" |
| 2255 | + } |
| 2256 | + }, |
2249 | 2257 | "links": {
|
2250 | 2258 | "description": "Additional links related to this service type, e.g. more information about the parameters, attributes or options to access the created services.",
|
2251 | 2259 | "type": "array",
|
|
2279 | 2287 | ]
|
2280 | 2288 | }
|
2281 | 2289 | },
|
| 2290 | + "variables": [ |
| 2291 | + { |
| 2292 | + "variable_id": "layer", |
| 2293 | + "type": "string", |
| 2294 | + "desctiption": "The layer name.", |
| 2295 | + "default": "roads" |
| 2296 | + }, |
| 2297 | + { |
| 2298 | + "variable_id": "spetial_extent_west", |
| 2299 | + "type": "number" |
| 2300 | + }, |
| 2301 | + { |
| 2302 | + "variable_id": "spetial_extent_east", |
| 2303 | + "type": "number" |
| 2304 | + }, |
| 2305 | + { |
| 2306 | + "variable_id": "spetial_extent_north", |
| 2307 | + "type": "number" |
| 2308 | + }, |
| 2309 | + { |
| 2310 | + "variable_id": "spetial_extent_south", |
| 2311 | + "type": "number" |
| 2312 | + } |
| 2313 | + ], |
2282 | 2314 | "links": [
|
2283 | 2315 | {
|
2284 | 2316 | "href": "https://www.opengeospatial.org/standards/wms",
|
|
4097 | 4129 | "enum": [
|
4098 | 4130 | "string",
|
4099 | 4131 | "number",
|
| 4132 | + "integer", |
4100 | 4133 | "boolean",
|
4101 | 4134 | "array",
|
4102 | 4135 | "object"
|
|
4165 | 4198 | }
|
4166 | 4199 | },
|
4167 | 4200 | "process_argument_value": {
|
| 4201 | + "title": "Process Argument Value", |
4168 | 4202 | "description": "Arguments for a process. See the API documentation for more information.",
|
4169 | 4203 | "nullable": true,
|
4170 | 4204 | "oneOf": [
|
|
0 commit comments