{"id":48765,"library":"node-red-contrib-full-msg-json-schema-validation","title":"Node-RED Full Message JSON Schema Validator","description":"A Node-RED node for validating JSON objects against a JSON Schema. Current stable version is 1.1.0. This package provides a custom node that validates a specified property of the message (msg) against a user-provided JSON Schema. It outputs messages on two outputs: OK for valid and KO for invalid, with an error explanation added to msg on the KO output. It integrates directly into Node-RED's flow editor, requiring no additional code. Compared to other Node-RED validation nodes, it focuses on simplicity and schema-based validation of arbitrary message properties. Release cadence is low, with infrequent updates.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/oarroyog/node-red-contrib-json-schema","tags":["javascript","json","node","node-red","schema"],"install":[{"cmd":"npm install node-red-contrib-full-msg-json-schema-validation","lang":"bash","label":"npm"},{"cmd":"yarn add node-red-contrib-full-msg-json-schema-validation","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-red-contrib-full-msg-json-schema-validation","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Runtime dependency: the node runs inside Node-RED, requiring its API.","package":"node-red","optional":false}],"imports":[{"note":"This package is a Node-RED node, not a library. It is installed and used within Node-RED's flow editor; no JavaScript imports are needed.","wrong":"import { node } from 'node-red-contrib-full-msg-json-schema-validation'","symbol":"node","correct":"Install via Node-RED palette or npm: npm install node-red-contrib-full-msg-json-schema-validation"}],"quickstart":{"code":"// No code needed. Install via Node-RED palette manager or run:\n// npm install node-red-contrib-full-msg-json-schema-validation\n// Then in Node-RED, add a \"full-json-schema-validation\" node.\n// Configure: select property (e.g., msg.payload) and paste JSON Schema.","lang":"javascript","description":"Shows how to install and configure the Node-RED node for JSON Schema validation."},"warnings":[{"fix":"Click Deploy after any configuration change.","message":"Node must be deployed after changing schema or property selection.","severity":"gotcha","affected_versions":"<=1.1.0"}],"env_vars":null,"search_vec":"'1.1.0':26 'ad':66 'addit':85 'arbitrari':105 'base':102 'cadenc':109 'code':86 'compar':87 'current':22 'custom':31 'direct':75 'editor':82 'error':64 'explan':65 'flow':81 'focus':96 'full':4 'infrequ':113 'integr':74 'invalid':61 'javascript':115 'json':6,16,20,47,116 'ko':59,71 'low':111 'messag':5,40,51,106 'msg':41,68 'node':2,11,13,32,78,91,94,117,119 'node-r':1,10,77,90,118 'object':17 'ok':55 'output':50,54,72 'packag':28 'properti':37,107 'provid':29,46 'red':3,12,79,92,120 'releas':108 'requir':83 'schema':7,21,48,101,121 'schema-bas':100 'simplic':98 'specifi':36 'stabl':23 'two':53 'updat':114 'user':45 'user-provid':44 'valid':8,15,34,57,93,103 'version':24","created_at":"2026-06-07T16:58:21.327781+00:00","updated_at":"2026-06-07T16:58:21.327781+00:00","problems":[{"fix":"Connect only the second output (KO) to a debug node to see the error.","cause":"The node only adds the error object when validation fails; ensure you are checking the correct output (second output).","error":"msg.error is undefined on KO output"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/oarroyog/node-red-contrib-json-schema#readme","github":"https://github.com/oarroyog/node-red-contrib-json-schema","docs":null,"changelog":null,"pypi":null,"npm":"node-red-contrib-full-msg-json-schema-validation","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}