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 Jul 9, 2020
1 parent e1bbd88 commit 8047715
Show file tree
Hide file tree
Showing 2 changed files with 14 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: LAT_LON

position:
name: 'Position Name'

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

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

position:
type: object
additionalProperties: false
Expand Down

0 comments on commit 8047715

Please sign in to comment.