Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
NiFi has a ValidateXml processor to validate incoming XML files against a schema. It would be good to have one to validate JSON files as well.
For example, an input JSON of:
{
name: "Test",
timestamp: 1463499695,
tags:
,
fields:
}
Could be validated successfully against the following "schema":
{
"type": "object",
"required": ["name", "tags", "timestamp", "fields"],
"properties": {
"name":
,
"timestamp":
,
"tags": {"type": "object", "items": {"type": "string"}},
"fields":
}
}
There is at least one ASF-friendly library that could be used for implementation: https://github.com/everit-org/json-schema
Attachments
Attachments
Issue Links
- duplicates
-
NIFI-10426 Create a processor to validate JSON
- Closed
- is duplicated by
-
NIFI-7392 Create a ValidateJSON Processor
- Resolved
-
NIFI-8179 Standalone JSON validator processor
- Resolved
- is fixed by
-
NIFI-7392 Create a ValidateJSON Processor
- Resolved
- links to