diff --git a/code/python/models/commands-schema.yaml b/code/python/models/commands-schema.yaml index 6a90a08..7cf1af2 100644 --- a/code/python/models/commands-schema.yaml +++ b/code/python/models/commands-schema.yaml @@ -71,8 +71,8 @@ components: type: object required: - name - - horizontal - - vertical + - word1 + - word2 properties: <<: *ref_command_properties word1: diff --git a/code/python/models/config-schema.yaml b/code/python/models/config-schema.yaml index 5a563da..00249b7 100644 --- a/code/python/models/config-schema.yaml +++ b/code/python/models/config-schema.yaml @@ -47,15 +47,26 @@ components: description: |- Options pertaining to the rudimentary setup of the app. type: object + required: + - tsp + - hirschberg properties: tsp: type: object + required: + - verbose properties: verbose: type: boolean default: false hirschberg: type: object + required: + - penality-mismatch + - penality-gap + - move-priorities + - verbose + - show properties: penality-mismatch: type: number