Skip to content

Commit

Permalink
fix: limit arrays to contain a string (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
netanelC authored Jun 14, 2022
1 parent 0f8455f commit b629e74
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/yaml/3dCatalog/3dMetadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,14 @@ components:
type: array
items:
type: string
minItems: 1
description: Layer sensors list
example: ["OTHER"]
footprint:
$ref: ../geojson.yaml#/components/schemas/Geometry
description: Geographic demarkatetion of the product
example: '{"type":"Polygon","coordinates":[[[1,2],[3,4],[5,6],[7,8],[1,2]]]}'
allOf:
- $ref: ../geojson.yaml#/components/schemas/Geometry
- description: Geographic demarkatetion of the product
- example: '{"type":"Polygon","coordinates":[[[1,2],[3,4],[5,6],[7,8],[1,2]]]}'
heightRangeFrom:
type: number
format: double
Expand Down Expand Up @@ -148,6 +150,7 @@ components:
type: array
items:
type: string
minItems: 1
description: regions included in the layer
classification:
type: string
Expand Down Expand Up @@ -191,6 +194,7 @@ components:
- properties:
links:
type: array
minItems: 1
items:
$ref: ../link.yaml#/components/schemas/Link
metadata:
Expand Down

0 comments on commit b629e74

Please sign in to comment.