Skip to content

Data Validation

nexssp edited this page Jan 29, 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: OCR
debug: true
input:
  - name: file
    validate:
      - type: required
output:
  - name: text
    validate:
      - type: required
Clone this wiki locally