-
-
Notifications
You must be signed in to change notification settings - Fork 2
Data Validation
nexssp edited this page Jun 10, 2020
·
11 revisions
Nexss Programmer passing data between programs nad modules/packages in JSON format. Each module can receive and send messages to another one. You can validate data by setup project and use config file as below.
Below example will validate module that needs to have 2 required fields:
-input: called 'file'
-output: called 'file'
name: Email
debug: true
input:
- name: _imap_username
validate:
- type: required
- name: _imap_password
validate:
- type: required
output:
- name: emailTotal
validate:
- type: number
Nexss Programmer 2.x - The innovative and evelutionary tool for the programmers.
- Home
- Getting Started
- Nexss Programmer Parts
- Development of Packages/Projects
- Other