{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/dlp_NewSharedEntry", "title": "dlp_NewSharedEntry", "discriminator": { "propertyName": "entry_type" }, "oneOf": [ { "properties": { "enabled": { "type": "boolean" }, "entry_id": { "format": "uuid", "type": "string" }, "entry_type": { "enum": [ "custom" ], "type": "string" } }, "required": [ "entry_id", "enabled", "entry_type" ], "type": "object" }, { "properties": { "enabled": { "type": "boolean" }, "entry_id": { "format": "uuid", "type": "string" }, "entry_type": { "enum": [ "predefined" ], "type": "string" } }, "required": [ "entry_id", "enabled", "entry_type" ], "type": "object" }, { "properties": { "enabled": { "type": "boolean" }, "entry_id": { "format": "uuid", "type": "string" }, "entry_type": { "enum": [ "integration" ], "type": "string" } }, "required": [ "entry_id", "enabled", "entry_type" ], "type": "object" }, { "properties": { "enabled": { "type": "boolean" }, "entry_id": { "format": "uuid", "type": "string" }, "entry_type": { "enum": [ "exact_data" ], "type": "string" } }, "required": [ "entry_id", "enabled", "entry_type" ], "type": "object" } ] }