Skip to content

[wip] Adding InputType enum #540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions linkml-schema/reproschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ slots:
title: inputType
description: An element to describe the input type of a Item.
slot_uri: reproschema:inputType
range: InputType
isAbout:
title: isAbout
description: A pointer to the node describing the item.
Expand Down Expand Up @@ -687,3 +688,117 @@ enums:
title: TimedOut
description: A boolean element to describe if the response did not occur within the prescribed time.
meaning: reproschema:TimedOut
InputType:
permissible_values:
radio:
title: radio
description: A radio button input type.
meaning: reproschema:radio
audioCheck:
title: audioCheck
description: An audio check input type.
meaning: reproschema:audioCheck
audioRecord:
title: audioRecord
description: An audio record input type.
meaning: reproschema:audioRecord
audioPassageRecord:
title: audioPassageRecord
description: An audio passage record input type.
meaning: reproschema:audioPassageRecord
audioImageRecord:
title: audioImageRecord
description: An audio image record input type.
meaning: reproschema:audioImageRecord
audioRecordNumberTask:
title: audioRecordNumberTask
description: An audio record number task input type.
meaning: reproschema:audioRecordNumberTask
audioRecordAudioTask:
title: audioRecordAudioTask
description: An audio record audio task input type.
meaning: reproschema:audioRecordAudioTask
audioRecordNoStop:
title: audioRecordNoStop
description: An audio record no stop input type.
meaning: reproschema:audioRecordNoStop
Comment on lines +697 to +724
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this coming from schemas and protocols? or from the UI itself?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just copied everything what is in the UI in the selector.
I don't think the list was ever in schema, just trying to add

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see. this is fine for now. we may want to consolidate in the future.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but this is also why I think we should provide better description and check if this still make sense and work

text:
title: text
description: A text input type.
meaning: reproschema:text
textarea:
title: textarea
description: A textarea input type.
meaning: reproschema:textarea
pid:
title: pid
description: A pid input type.
meaning: reproschema:pid
email:
title: email
description: An email input type.
meaning: reproschema:email
timeRange:
title: timeRange
description: A time range input type.
meaning: reproschema:timeRange
multitext:
title: multitext
description: A multitext input type.
meaning: reproschema:multitext
number:
title: number
description: A number input type.
meaning: reproschema:number
float:
title: float
description: A float input type.
meaning: reproschema:float
range:
title: range
description: A range input type.
meaning: reproschema:range
date:
title: date
description: A date input type.
meaning: reproschema:date
year:
title: year
description: A year input type.
meaning: reproschema:year
documentUpload:
title: documentUpload
description: A document upload input type.
meaning: reproschema:documentUpload
slider:
title: slider
description: A slider input type.
meaning: reproschema:slider
selectCountry:
title: selectCountry
description: A select country input type.
meaning: reproschema:selectCountry
selectState:
title: selectState
description: A select state input type.
meaning: reproschema:selectState
selectLanguage:
title: selectLanguage
description: A select language input type.
meaning: reproschema:selectLanguage
select:
title: select
description: A select input type.
meaning: reproschema:select
static:
title: static
description: A static input type.
meaning: reproschema:static
save:
title: save
description: A save input type.
meaning: reproschema:save
sign:
title: sign
description: A sign input type.
meaning: reproschema:sign
Loading