📄️ Answer
The Answer interface is used to define the properties of an answer. Answers are used to define the correct answer for a task. These are generally used in training tasks or if skip logic is required based on the answer.
📄️ BaseIndividualComponent
The BaseIndividualComponent interface is used to define the required fields for all components.
📄️ BaseResponse
The BaseResponse interface is used to define the required fields for all responses.
📄️ CheckboxResponse
The CheckboxResponse interface is used to define the properties of a checkbox response.
📄️ ComponentBlock
The ComponentBlock interface is used to define order properties within the sequence. This is used to define the order of components in a study and the skip logic. It supports random assignment of trials using a pure random assignment and a latin square.
📄️ ComponentBlockCondition
The ComponentBlockCondition interface is used to define a SkipCondition based on the number of correct or incorrect components in a block. All answers on all components in the block are checked.
📄️ DeterministicInterruption
The DeterministicInterruption interface is used to define an interruption that will be shown at a specific location in the block.
📄️ DropdownResponse
The DropdownResponse interface is used to define the properties of a dropdown response.
📄️ GlobalConfig
The GlobalConfig is used to generate the list of available studies in the UI.
📄️ IFrameResponse
The IFrameResponse interface is used to define the properties of an iframe response.
📄️ ImageComponent
The ImageComponent interface is used to define the properties of an image component. This component is used to render an image with optional styling.
📄️ IndividualComponentAllResponsesCondition
The IndividualComponentAllResponsesCondition interface is used to define a SkipCondition based on all answers to a specific component. The skip logic will be checked for every component in the block that has the specified name.
📄️ IndividualComponentSingleResponseCondition
The IndividualComponentSingleResponseCondition interface is used to define a SkipCondition based on a single answer to a specific component. The skip logic will be checked for every component in the block that has the specified name.
📄️ LibraryConfig
LibraryConfig is used to define the properties of a library configuration. This is a JSON object with three main components: baseComponents, components, and the sequences. Libraries are useful for defining components and sequences of these components that are to be reused across multiple studies. We (the reVISit team) provide several libraries that can be used in your study configurations. Check the public/libraries folder in the reVISit-studies repository for available libraries. We also plan to accept community contributions for libraries. If you have a library that you think would be useful for others, please reach out to us. We would love to include it in our repository.
📄️ LikertResponse
The LikertResponse interface is used to define the properties of a likert response.
📄️ LongTextResponse
The LongTextResponse interface is used to define the properties of a long text response.
📄️ MarkdownComponent
The MarkdownComponent interface is used to define the properties of a markdown component. The components can be used to render many different things, such as consent forms, instructions, and debriefs. Additionally, you can use the markdown component to render images, videos, and other media, with supporting text. Markdown components can have responses (e.g. in a consent form), or no responses (e.g. in a help text file). Here's an example with no responses for a simple help text file:
📄️ MatrixResponse
The MatrixResponse interface is used to define the properties of a matrix radio or matrix checkbox response.
📄️ NumberOption
The NumberOption interface is used to define the options for a slider response.
📄️ NumericalResponse
The NumericalResponse interface is used to define the properties of a numerical response.