From d272443ece9e9a27a5cc68320a1532d32b4ea68d Mon Sep 17 00:00:00 2001 From: Francis Charette-Migneault Date: Fri, 19 Jul 2024 22:26:05 -0400 Subject: [PATCH] add `filter-lang` and `filter-crs` for Part 3 field modifiers --- .../processes-workflows/fieldsModifiers.yaml | 53 +++++++++++++------ 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/openapi/schemas/processes-workflows/fieldsModifiers.yaml b/openapi/schemas/processes-workflows/fieldsModifiers.yaml index 1e48bf0c..409ed3d8 100644 --- a/openapi/schemas/processes-workflows/fieldsModifiers.yaml +++ b/openapi/schemas/processes-workflows/fieldsModifiers.yaml @@ -1,16 +1,39 @@ - type: object - properties: - filter: +type: object +properties: + filter: + oneOf: + - type: string + - $comment: Update with https://github.com/opengeospatial/ogcapi-features/blob/master/cql2/standard/schema/cql2.json if needed. + description: Basic CQL2-JSON definition + type: array + items: + type: object + required: + - op + - args + properties: + op: + type: string + args: + type: {} + filter-lang: + type: string + examples: + - cql2-text + - cql2-json + - fes + filter-crs: + type: string + format: uri-reference + properties: + oneOf: + - type: object + additionalProperties: + type: string + - type: array + items: + type: string + sortBy: + type: array + items: type: string - properties: - oneOf: - - type: object - additionalProperties: - type: string - - type: array - items: - type: string - sortBy: - type: array - items: - type: string