-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from nf-osi/cconrad8-patch-1
Add files via upload
- Loading branch information
Showing
2 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"title": "Submission Form for NF Tools", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "object", | ||
"required": ["first_name", "last_name", "email"], | ||
"properties": { | ||
"first_name": { | ||
"type": "string", | ||
"title": "First Name" | ||
}, | ||
"last_name": { | ||
"type": "string", | ||
"title": "Last Name" | ||
}, | ||
"email": { | ||
"type": "string", | ||
"title": "Contact Email", | ||
"format": "email" | ||
}, | ||
"institution": { | ||
"type": "string", | ||
"title": "Institution", | ||
"default": "" | ||
} | ||
} | ||
}, | ||
"submitObservation": { | ||
"type": "object", | ||
"properties": { | ||
"observations": { | ||
"type": "array", | ||
"title": "Add Observations", | ||
"items": { | ||
"type": "object", | ||
"required": ["resourceName", "observationType", "details"], | ||
"properties": { | ||
"resourceName": { | ||
"type": "string", | ||
"title": "Name of Resource" | ||
}, | ||
"observationType": { | ||
"type": "string", | ||
"title": "Observation Type", | ||
"enum": [ | ||
"Body Length", | ||
"Body Weight", | ||
"Coat Color", | ||
"Depositor Comment", | ||
"Disease Susceptibility", | ||
"Feed Intake", | ||
"Feeding Behavior", | ||
"General Comment or Review", | ||
"Growth Rate", | ||
"Issue", | ||
"Lifespan", | ||
"Motor Activity", | ||
"Organ Development", | ||
"Other", | ||
"Reflex Development", | ||
"Reproductive Behavior", | ||
"Social Behavior", | ||
"Swimming Behavior", | ||
"Tumor Growth", | ||
"Usage Instructions" | ||
] | ||
}, | ||
"details": { | ||
"type": "string", | ||
"title": "Observation Details" | ||
}, | ||
"referencePublication": { | ||
"type": "string", | ||
"title": "Publication Reference" | ||
}, | ||
"fileUpload": { | ||
"type": "string", | ||
"title": "Associated File" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"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" | ||
} | ||
}, | ||
"ui:options": { | ||
"addButtonText": "Add Observation" | ||
} | ||
} | ||
} |