Components
This section will contain a collection of reused components that are used throughout the SRS.
Phone number input#
- Input type
- Phone number
- Validation
- Israeli phone number (+972)
OTP input#
- Input type
- Number
Pagination inputs#
Limit#
- Input type
- Number
- Validation
- Minimum
- 1
- Maximum & Default
- Some configurable positive integer
- Minimum
Offset#
- Input type
- Number
- Validation
- Required
- Minimum
- 0
Mechanism#
Whenever pagination inputs are provided, apply the following mechanism:
- If a Function inputlimit is provided, skip (Function inputlimit x Function inputoffset) entries by the selected sort order (by default, newest to oldest). If not, use (
configurable defaultx Function inputoffset) instead. - Return Function inputlimit amount of the results. if Function inputlimit is not provided, a
configurable defaultlimited amount of results will be returned.
Locale input#
- Input type
- Enum
- Type
- String
- Options
- "he" (Hebrew)
- "en" (English)
- "ar" (Arabic)
- Default value
- "he"
Mechanism#
If the requested content exists in the requested locale, return the matching variation. Otherwise, return 'he' locale which will be the default.
Name inputs#
First name#
- Input type
- String
- Validation
- Minimum
- 1
- Maximum
- 100
- Minimum
Last name#
- Input type
- String
- Validation
- Minimum
- 1
- Maximum
- 100
- Minimum