Skip to content

Commit

Permalink
#3042: Add coordinate format to anet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ysf-simsoft committed Jun 15, 2020
1 parent a0948a4 commit d82861c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions anet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,9 @@ dictionary:
helpText: Help text for object date field
visibleWhen: $[?(@.colourOptions === 'GREEN')]

location:
format: MGRS

position:
name: 'Position Name'

Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/anet-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,16 @@ properties:
additionalProperties:
"$ref": "#/definitions/customField"

location:
type: object
additionalProperties: false
required: [format]
properties:
format:
type: string
title: Coordinate format for location
description: Used in the UI where a location's coordinate is shown. Possible values are MGRS and LAT_LON. Defaults to LAT_LON.

position:
type: object
additionalProperties: false
Expand Down

0 comments on commit d82861c

Please sign in to comment.