From 72fec31dbbbc087d9a64552241110ab89e92efff Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 27 Apr 2021 16:06:49 -0700 Subject: [PATCH] hydra-api: flesh out JobsetInput schema --- hydra-api.yaml | 9 +++++++++ src/lib/Hydra/Schema/JobsetInputs.pm | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/hydra-api.yaml b/hydra-api.yaml index d01387ec..9e67d207 100644 --- a/hydra-api.yaml +++ b/hydra-api.yaml @@ -553,6 +553,15 @@ components: JobsetInput: type: object properties: + name: + description: name of the input + type: string + type: + description: type of input + type: string + emailresponsible: + description: whether or not to email responsible parties + type: boolean jobsetinputalts: type: array description: ??? diff --git a/src/lib/Hydra/Schema/JobsetInputs.pm b/src/lib/Hydra/Schema/JobsetInputs.pm index d0964ab4..d0d1665d 100644 --- a/src/lib/Hydra/Schema/JobsetInputs.pm +++ b/src/lib/Hydra/Schema/JobsetInputs.pm @@ -135,6 +135,13 @@ __PACKAGE__->has_many( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5uKwEhDXso4IR1TFmwRxiA my %hint = ( + string_columns => [ + "name", + "type" + ], + boolean_columns => [ + "emailresponsible" + ], relations => { "jobsetinputalts" => "value" }