Skip to content

Commit

Permalink
AB#618: Add enumeration of possible classification to dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
ce-simsoft committed Jan 11, 2023
1 parent 490c2d8 commit 5adc8db
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anet-dictionary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ fields:
placeholder: Search for a position...

report:
attachments:
classification: [NATO_UNCLASSIFIED, NATO_RESTRICTED]
canUnpublishReports: true
intent: Engagement purpose
atmosphere: Atmospherics
Expand Down
13 changes: 13 additions & 0 deletions src/main/resources/anet-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,19 @@ properties:
additionalProperties: false
required: [intent, atmosphere, atmosphereDetails, cancelled, nextSteps, reportText]
properties:
attachments:
type: object
additionalProperties: false
properties:
classification:
type: array
uniqueItems: true
items:
type: string
enum:
[ NATO_UNCLASSIFIED, NATO_RESTRICTED ]
title: Whether reports have attachments
description: Used for attachments in reports; if set to 'true', attachment can be added to reports
canUnpublishReports:
type: boolean
default: false
Expand Down

0 comments on commit 5adc8db

Please sign in to comment.