Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
This Property is only considered if the [Schema Access Strategy] Property has a value of "Schema Name Property".JSON Schema Registry | JSON Schema Registry | | Controller Service API: JsonSchemaRegistry Implementation: StandardJsonSchemaRegistry | Specifies the Controller Service to use for the JSON Schema Registry
This Property is only considered if the [Schema Access Strategy] Property has a value of "Schema Name Property". |
JSON Schema | JSON Schema | | | A URL or file path to the JSON schema or the actual JSON schema content
This property requires exactly one resource to be provided. That resource may be any of the following types: text, URL, file.
This Property is only considered if the [Schema Access Strategy] Property has a value of "JSON Schema Property". |
JSON Schema Version | JSON Schema Version | Draft 2020-12 | - Draft 4
![Draft Version 4 Draft Version 4](../../../../../html/images/iconInfo.png) - Draft 6
![Draft Version 6 Draft Version 6](../../../../../html/images/iconInfo.png) - Draft 7
![Draft Version 7 Draft Version 7](../../../../../html/images/iconInfo.png) - Draft 2019-09
![Draft Version 2019-09 Draft Version 2019-09](../../../../../html/images/iconInfo.png) - Draft 2020-12
![Draft Version 2020-12 Draft Version 2020-12](../../../../../html/images/iconInfo.png)
| The JSON schema specification
This Property is only considered if the [Schema Access Strategy] Property has a value of "JSON Schema Property". |
Relationships:
Name | Description |
---|
valid | FlowFiles that are successfully validated against the schema are routed to this relationship |
invalid | FlowFiles that are not valid according to the specified schema are routed to this relationship |
failure | FlowFiles that cannot be read as JSON are routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
json.validation.errors | If the flow file is routed to the invalid relationship , this attribute will contain the error message resulting from the validation failure. |
State management:
This component does not store state.Restricted:
Required Permission | Explanation |
---|
reference remote resources | Schema configuration can reference resources over HTTP |
Input requirement:
This component requires an incoming relationship.System Resource Considerations:
Resource | Description |
---|
MEMORY | Validating JSON requires reading FlowFile content into memory |