Skip to content

Commit

Permalink
Update SubmitObservationUiSchema.json
Browse files Browse the repository at this point in the history
Wrap in submitObservation
  • Loading branch information
jay-hodgson authored Sep 10, 2024
1 parent 366af18 commit be2426b
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions NF-Tools-Schemas/SubmitObservationUiSchema.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit be2426b

Please sign in to comment.