From be2426bdd24cbfc9456750704cd5e170786d585a Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Tue, 10 Sep 2024 11:46:23 -0700 Subject: [PATCH] Update SubmitObservationUiSchema.json Wrap in submitObservation --- .../SubmitObservationUiSchema.json | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/NF-Tools-Schemas/SubmitObservationUiSchema.json b/NF-Tools-Schemas/SubmitObservationUiSchema.json index ce15063a..f48d5a1a 100644 --- a/NF-Tools-Schemas/SubmitObservationUiSchema.json +++ b/NF-Tools-Schemas/SubmitObservationUiSchema.json @@ -1,29 +1,31 @@ { - "observations": { - "items": { - "resourceName": { - "ui:placeholder": "Enter the name of the resource" - }, - "observationType": { - "ui:widget": "select", - "ui:placeholder": "Select an observation type" - }, - "details": { - "ui:widget": "textarea", - "ui:placeholder": "Enter details of the observation", - "ui:options": { - "rows": 5 + "submitObservation": { + "observations": { + "items": { + "resourceName": { + "ui:placeholder": "Enter the name of the resource" + }, + "observationType": { + "ui:widget": "select", + "ui:placeholder": "Select an observation type" + }, + "details": { + "ui:widget": "textarea", + "ui:placeholder": "Enter details of the observation", + "ui:options": { + "rows": 5 + } + }, + "referencePublication": { + "ui:placeholder": "Enter publication DOI" + }, + "fileUpload": { + "ui:widget": "file" } }, - "referencePublication": { - "ui:placeholder": "Enter publication DOI" - }, - "fileUpload": { - "ui:widget": "file" + "ui:options": { + "addButtonText": "Add Observation" } - }, - "ui:options": { - "addButtonText": "Add Observation" } } }