## Example
The following JSON is an example for this standardized configuration component:
```json
{ "UseAllowed": true
, "UseDisallowed": true
, "IncludeDefaultAllowed": false
, "IncludeDefaultDisallowed": true
, "DefaultIsAccepted": false
, "UseCustomerService": true
, "AllowedIpV6Addresses":
[ "1.2.3.4"
, "5.6.7.8"
]
}
```
## Definition
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://invantive.com/schemas/defs/IpValidationConfig.schema.json",
"title": "IpValidationConfig",
"description": "Generic IP validation configuration.",
"type": "object",
"additionalProperties": false,
"properties": {
"UseCustomerService": {
"type": "boolean",
"description": "Whether to check against Invantive Customer Service."
},
"DefaultIsAccepted": {
"type": "boolean",
"description": "Whether default is accepted when no other check is executed or returns an answer.",
"default": false
},
"UseAllowed": {
"type": "boolean",
"description": "Whether to check against the allowed list.",
"default": true
},
"UseDisallowed": {
"type": "boolean",
"description": "Whether to check against the disallowed list.",
"default": true
},
"IncludeDefaultAllowed": {
"type": "boolean",
"description": "Whether default allowed IPv6-addresses should be included.",
"default": true
},
"IncludeDefaultDisallowed": {
"type": "boolean",
"description": "Whether default disallowed IPv6-addresses should be included."
"default": true
},
"AllowedIpV6Addresses": {
"type": ["array", "null"],
"items": { "type": "string" },
"description": "Additional IPv6-addresses that are explicitly whitelisted."
},
"DisallowedIpV6Addresses": {
"type": ["array", "null"],
"items": { "type": "string" },
"description": "Additional IPv6-addresses that are explicitly blacklisted."
},
}
}
```