1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "Custom configuration schema",
- "description": "Schema to validate custom configuration given as input to the custom configuration properties",
- "definitions": {
- "Interval": {
- "type": "object",
- "properties": {
- "fromIndex": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "CommonConfiguration": {
- "type": "object",
- "properties": {
- "args": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "interval": {
- "$ref": "#/definitions/Interval"
- },
- "isMethodPrefix": {
- "type": "boolean"
- },
- "isShallow": {
- "type": "boolean"
- },
- "isWhitelist": {
- "type": "boolean"
- },
- "methodId": {
- "type": "string"
- }
- },
- "required": [
- "methodId"
- ],
- "additionalProperties": false
- },
- "RuleConfiguration": {
- "type": "object",
- "properties": {
- "decoders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- },
- "encoders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- },
- "passthroughs": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- },
- "sanitizers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- },
- "sinks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- },
- "sources": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommonConfiguration"
- }
- }
- },
- "additionalProperties": false
- }
- },
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/RuleConfiguration"
- }
- }
|