JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/dlp_Entry",
"title": "dlp_Entry",
"discriminator": {
"propertyName": "type"
},
"oneOf": [
{
"allOf": [
{
"$ref": "#/components/schemas/dlp_CustomEntry"
},
{
"properties": {
"type": {
"enum": [
"custom"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
],
"title": "Custom Entry"
},
{
"allOf": [
{
"$ref": "#/components/schemas/dlp_PredefinedEntry"
},
{
"properties": {
"type": {
"enum": [
"predefined"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
],
"title": "Predefined Entry"
},
{
"allOf": [
{
"$ref": "#/components/schemas/dlp_IntegrationEntry"
},
{
"properties": {
"type": {
"enum": [
"integration"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
],
"title": "Integration Entry"
},
{
"allOf": [
{
"$ref": "#/components/schemas/dlp_ExactDataEntry"
},
{
"properties": {
"type": {
"enum": [
"exact_data"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
],
"title": "Exact Data Entry"
},
{
"allOf": [
{
"$ref": "#/components/schemas/dlp_WordListEntry"
},
{
"properties": {
"type": {
"enum": [
"word_list"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
],
"title": "Word List Entry"
}
]
}