> For the complete documentation index, see [llms.txt](https://docs.decube.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decube.io/public-api/overview/index/data-quality-v2/cases-and-incidents.md).

# Cases & incidents

Find, assign, mute, and close Data Quality V2 cases, and read the incidents and evidence inside them

When a monitor run fails, Decube raises an **incident** and files it under a **case**. The Cases & incidents endpoints let you work those cases from outside Decube: pull open cases into a ticketing tool, assign them to the right owner, and read the evidence behind each failure.

## How incidents become cases

Decube groups incidents by monitor configuration version:

* **A failed run raises one incident.** The incident records what Decube measured and, where available, a query you can run to inspect the failing rows.
* **Incidents join the open case for their version.** If the version has no open case, Decube opens one.
* **Closing a case ends its grouping.** The next failure opens a new case, so each round of a problem has its own record and owner.

[Cases](https://docs.decube.io/data-quality-v2/cases.md) and [Case details](https://docs.decube.io/data-quality-v2/cases/case-details.md) describe the same model in the UI.

## Find cases

`POST /data_quality/cases/search`

## Search Cases

> Search cases by filters.

```json
{"openapi":"3.1.0","info":{"title":"Decube Public API (BETA)","version":"1.0.0"},"servers":[{"url":"https://connect.<REGION>.decube.io/api/v1/data"}],"paths":{"/data_quality/cases/search":{"post":{"tags":["Data Quality"],"summary":"Search Cases","description":"Search cases by filters.","operationId":"search_cases_data_quality_cases_search_post","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CaseSearchRequest":{"properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query","description":"Search term to match against the monitor name (substring match, case insensitive)"},"filters":{"$ref":"#/components/schemas/CaseSearchFilters","description":"Filters to apply. Excluded filters are not applied."},"page_size":{"type":"integer","maximum":100,"minimum":1,"title":"Page Size","description":"Number of results per page","default":25},"page_number":{"type":"integer","maximum":100000,"minimum":1,"title":"Page Number","description":"Page number of the results","default":1}},"type":"object","title":"CaseSearchRequest"},"CaseSearchFilters":{"properties":{"assets":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/SourceIdentifier"},{"$ref":"#/components/schemas/CollectionIdentifier"},{"$ref":"#/components/schemas/DatasetIdentifier"},{"$ref":"#/components/schemas/PropertyIdentifier"}],"discriminator":{"propertyName":"type","mapping":{"collection":"#/components/schemas/CollectionIdentifier","dataset":"#/components/schemas/DatasetIdentifier","property":"#/components/schemas/PropertyIdentifier","source":"#/components/schemas/SourceIdentifier"}}},"type":"array"},{"type":"null"}],"title":"Assets","description":"Filter cases whose monitor is on the given assets or the assets under them. All entries must be of the same asset type."},"monitor_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Monitor Ids","description":"Filter cases of the given monitors"},"monitor_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/MonitorType"},"type":"array"},{"type":"null"}],"title":"Monitor Types","description":"Filter cases by monitor type"},"assignees":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assignees","description":"Filter cases by assignee user ID. An empty list selects the cases that have no assignee."},"states":{"anyOf":[{"items":{"$ref":"#/components/schemas/CaseState"},"type":"array"},{"type":"null"}],"title":"States","description":"Filter cases by state"},"incident_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Incident From","description":"Filter cases whose latest incident is on or after this date"},"incident_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Incident To","description":"Filter cases whose latest incident is on or before this date"},"custom_attributes":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/BooleanAttributeFilter"},{"$ref":"#/components/schemas/TextAttributeFilter"},{"$ref":"#/components/schemas/IntegerAttributeFilter"},{"$ref":"#/components/schemas/EnumAttributeFilter"},{"$ref":"#/components/schemas/UserAttributeFilter"},{"$ref":"#/components/schemas/KVAttributeFilter"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/BooleanAttributeFilter","enum":"#/components/schemas/EnumAttributeFilter","integer":"#/components/schemas/IntegerAttributeFilter","kv":"#/components/schemas/KVAttributeFilter","text":"#/components/schemas/TextAttributeFilter","user":"#/components/schemas/UserAttributeFilter"}}},"type":"array"},{"type":"null"}],"title":"Custom Attributes","description":"Filter cases by the custom attribute values of their monitor"}},"type":"object","title":"CaseSearchFilters"},"SourceIdentifier":{"properties":{"type":{"type":"string","const":"source","title":"Type"},"id":{"type":"integer","minimum":1,"title":"Id","description":"Unique identifier of the source asset"}},"type":"object","required":["type","id"],"title":"SourceIdentifier"},"CollectionIdentifier":{"properties":{"type":{"type":"string","const":"collection","title":"Type"},"id":{"type":"integer","minimum":1,"title":"Id","description":"Unique identifier of the collection asset"}},"type":"object","required":["type","id"],"title":"CollectionIdentifier"},"DatasetIdentifier":{"properties":{"type":{"type":"string","const":"dataset","title":"Type"},"id":{"type":"integer","minimum":1,"title":"Id","description":"Unique identifier of the dataset asset"}},"type":"object","required":["type","id"],"title":"DatasetIdentifier"},"PropertyIdentifier":{"properties":{"type":{"type":"string","const":"property","title":"Type"},"id":{"type":"integer","minimum":1,"title":"Id","description":"Unique identifier of the property asset"}},"type":"object","required":["type","id"],"title":"PropertyIdentifier"},"MonitorType":{"type":"string","enum":["freshness_sla","freshness_staleness","volume","null","unique","zero","is_before","is_after","average","minimum","maximum","sum","range","string_length","regex_match","regex_not_match","value_in","value_not_in","custom_sql"],"title":"MonitorType"},"CaseState":{"type":"string","enum":["open","closed"],"title":"CaseState"},"BooleanAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"boolean","title":"Type"},"condition":{"type":"string","const":"IS","title":"Condition"},"value":{"type":"boolean","title":"Value"}},"type":"object","required":["config_id","operator","type","condition","value"],"title":"BooleanAttributeFilter"},"FilterOperator":{"type":"string","enum":["AND","OR"],"title":"FilterOperator"},"TextAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"text","title":"Type"},"condition":{"type":"string","enum":["CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","ENDS_WITH"],"title":"Condition"},"value":{"type":"string","maxLength":8000,"title":"Value"}},"type":"object","required":["config_id","operator","type","condition","value"],"title":"TextAttributeFilter"},"IntegerAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"integer","title":"Type"},"condition":{"type":"string","enum":["IS","IS_NOT","GREATER_THAN","GREATER_THAN_OR_EQUAL_TO","LESS_THAN","LESS_THAN_OR_EQUAL_TO"],"title":"Condition"},"value":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"title":"Value"}},"type":"object","required":["config_id","operator","type","condition","value"],"title":"IntegerAttributeFilter"},"EnumAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"enum","title":"Type"},"condition":{"type":"string","enum":["IS","IS_NOT"],"title":"Condition"},"value":{"items":{"type":"integer"},"type":"array","title":"Value"}},"type":"object","required":["config_id","operator","type","condition","value"],"title":"EnumAttributeFilter"},"UserAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"user","title":"Type"},"condition":{"type":"string","enum":["IS","IS_NOT"],"title":"Condition"},"value":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Value"}},"type":"object","required":["config_id","operator","type","condition","value"],"title":"UserAttributeFilter"},"KVAttributeFilter":{"oneOf":[{"$ref":"#/components/schemas/KVTextAttributeFilter"},{"$ref":"#/components/schemas/KVEnumAttributeFilter"}],"title":"KVAttributeFilter","discriminator":{"propertyName":"value_type","mapping":{"enum":"#/components/schemas/KVEnumAttributeFilter","text":"#/components/schemas/KVTextAttributeFilter"}}},"KVTextAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"kv","title":"Type"},"value_type":{"type":"string","const":"text","title":"Value Type"},"key_id":{"type":"integer","title":"Key Id"},"condition":{"type":"string","enum":["CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","ENDS_WITH"],"title":"Condition"},"value":{"type":"string","maxLength":8000,"title":"Value"}},"type":"object","required":["config_id","operator","type","value_type","key_id","condition","value"],"title":"KVTextAttributeFilter"},"KVEnumAttributeFilter":{"properties":{"config_id":{"type":"integer","title":"Config Id"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"type":{"type":"string","const":"kv","title":"Type"},"value_type":{"type":"string","const":"enum","title":"Value Type"},"key_id":{"type":"integer","title":"Key Id"},"condition":{"type":"string","enum":["IS","IS_NOT"],"title":"Condition"},"value":{"items":{"type":"integer"},"type":"array","title":"Value"}},"type":"object","required":["config_id","operator","type","value_type","key_id","condition","value"],"title":"KVEnumAttributeFilter"},"CaseListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CaseItem"},"type":"array","title":"Items"},"page_number":{"type":"integer","title":"Page Number"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","page_number","page_size"],"title":"CaseListResponse"},"CaseItem":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/CaseState"},"monitor":{"$ref":"#/components/schemas/MonitorItem"},"incident_count":{"type":"integer","title":"Incident Count"},"first_incident_time":{"type":"string","format":"date-time","title":"First Incident Time"},"latest_incident_time":{"type":"string","format":"date-time","title":"Latest Incident Time"},"assignee_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee Id"},"muted_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Muted Until"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","state","monitor","incident_count","first_incident_time","latest_incident_time","assignee_id","muted_until","has_edit_permission"],"title":"CaseItem"},"MonitorItem":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"dq_dimension":{"$ref":"#/components/schemas/DQDimension"},"source_id":{"type":"integer","title":"Source Id"},"enabled":{"type":"boolean","title":"Enabled"},"invalid_reason":{"anyOf":[{"$ref":"#/components/schemas/InvalidReason"},{"type":"null"}]},"configuration":{"oneOf":[{"$ref":"#/components/schemas/FreshnessSLADetail"},{"$ref":"#/components/schemas/FreshnessStalenessDetail"},{"$ref":"#/components/schemas/VolumeDetail"},{"$ref":"#/components/schemas/AggregateDetail"},{"$ref":"#/components/schemas/NumericRangeDetail"},{"$ref":"#/components/schemas/StringLengthDetail"},{"$ref":"#/components/schemas/ConditionDetail"},{"$ref":"#/components/schemas/TemporalDetail"},{"$ref":"#/components/schemas/PatternDetail"},{"$ref":"#/components/schemas/ValueSetDetail"},{"$ref":"#/components/schemas/CustomSqlDetail"}],"title":"Configuration","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateDetail","custom_sql":"#/components/schemas/CustomSqlDetail","freshness_sla":"#/components/schemas/FreshnessSLADetail","freshness_staleness":"#/components/schemas/FreshnessStalenessDetail","is_after":"#/components/schemas/TemporalDetail","is_before":"#/components/schemas/TemporalDetail","maximum":"#/components/schemas/AggregateDetail","minimum":"#/components/schemas/AggregateDetail","null":"#/components/schemas/ConditionDetail","range":"#/components/schemas/NumericRangeDetail","regex_match":"#/components/schemas/PatternDetail","regex_not_match":"#/components/schemas/PatternDetail","string_length":"#/components/schemas/StringLengthDetail","sum":"#/components/schemas/AggregateDetail","unique":"#/components/schemas/ConditionDetail","value_in":"#/components/schemas/ValueSetDetail","value_not_in":"#/components/schemas/ValueSetDetail","volume":"#/components/schemas/VolumeDetail","zero":"#/components/schemas/ConditionDetail"}}},"custom_attributes":{"items":{"anyOf":[{"$ref":"#/components/schemas/TextAttributeRead"},{"$ref":"#/components/schemas/EnumAttributeRead"},{"$ref":"#/components/schemas/IntegerAttributeRead"},{"$ref":"#/components/schemas/BooleanAttributeRead"},{"$ref":"#/components/schemas/UserAttributeRead"},{"$ref":"#/components/schemas/KVAttributeRead"}]},"type":"array","title":"Custom Attributes"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","name","description","dq_dimension","source_id","enabled","invalid_reason","configuration","custom_attributes","has_edit_permission"],"title":"MonitorItem"},"DQDimension":{"type":"string","enum":["accuracy","completeness","uniqueness","validity","timeliness","consistency","granularity","others"],"title":"DQDimension"},"InvalidReason":{"type":"string","enum":["primary_asset_incompatible_type","timestamp_incompatible_type","source_incompatible_with_detection_method","primary_asset_not_found","timestamp_column_not_found"],"title":"InvalidReason"},"FreshnessSLADetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_sla","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessSLADetail"},"LastRunState":{"type":"string","enum":["queued","running","passed","failed","errored","skipped_no_data","skipped_no_prev_data"],"title":"LastRunState"},"SimpleSchedule":{"properties":{"frequency":{"type":"string","enum":["every_30_minutes","every_hour"],"title":"Frequency"}},"type":"object","required":["frequency"],"title":"SimpleSchedule"},"StartTimeSchedule":{"properties":{"frequency":{"type":"string","enum":["every_3_hours","every_6_hours","every_12_hours","daily"],"title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"StartTimeSchedule"},"NamedTimezone":{"properties":{"type":{"type":"string","const":"zone","title":"Type"},"name":{"type":"string","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap"],"title":"Name","description":"IANA name, for example Asia/Singapore"}},"type":"object","required":["type","name"],"title":"NamedTimezone"},"FixedOffsetTimezone":{"properties":{"type":{"type":"string","const":"offset","title":"Type"},"offset":{"type":"string","pattern":"^[+-]\\d{2}:(00|30)$","title":"Offset","description":"UTC offset, for example +08:00 or -03:30"}},"type":"object","required":["type","offset"],"title":"FixedOffsetTimezone"},"DayOfWeekSchedule":{"properties":{"frequency":{"type":"string","const":"weekly","title":"Frequency"},"day_of_week":{"type":"integer","maximum":6,"minimum":0,"title":"Day Of Week","description":"0 = Monday"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_week","start_time","timezone"],"title":"DayOfWeekSchedule"},"FirstDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"first_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"FirstDayOfMonthSchedule"},"LastDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"last_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"LastDayOfMonthSchedule"},"DayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"monthly","title":"Frequency"},"day_of_month":{"type":"integer","maximum":28,"minimum":1,"title":"Day Of Month"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_month","start_time","timezone"],"title":"DayOfMonthSchedule"},"DurationThreshold":{"properties":{"type":{"type":"string","const":"duration","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":1,"title":"Value","description":"Duration value"},"unit":{"type":"string","enum":["minutes","hours","days"],"title":"Unit","description":"Duration unit"}},"type":"object","required":["type","value","unit"],"title":"DurationThreshold"},"MetadataDetection":{"properties":{"type":{"type":"string","const":"metadata","title":"Type"}},"type":"object","required":["type"],"title":"MetadataDetection"},"ColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id"],"title":"ColumnDetection"},"decube__asset__models__AssetData":{"properties":{"asset":{"$ref":"#/components/schemas/DataAssets"},"parents":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Parents"},"assets":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Assets"},"attrs":{"additionalProperties":true,"type":"object","title":"Attrs"}},"type":"object","required":["asset","parents","assets","attrs"],"title":"AssetData"},"DataAssets":{"properties":{"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"id":{"type":"integer","title":"Id"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/DbType"},{"$ref":"#/components/schemas/AssetMetadataSubtypes"},{"type":"string","enum":["glossary","category","term"]}],"title":"Subtype"},"qual_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qual Id"},"icon":{"anyOf":[{"$ref":"#/components/schemas/IconPredefined"},{"type":"null"}]}},"type":"object","required":["type","name","id","subtype"],"title":"DataAssets"},"DbType":{"type":"string","enum":["bigquery","redshift","postgresql","mysql","snowflake","databricks","sql_server","azure_server","singlestore","synapse","oracle","sap_hana","clickhouse","cloudera_hive","hive","power_bi","fabric","tableau","looker","salesforce","dbt_cloud","dbt_core","fivetran","airflow","adf","glue","s3dl","adls","gcsdl","open_lineage","spark","iceberg","cloudera_atlas","atlas","unknown","virtual_source"],"title":"DbType"},"AssetMetadataSubtypes":{"type":"string","enum":["database","schema","table","virtual_table","view","column","virtual_column","data_job","data_task","data_job_run","data_task_run","data_product","file","glossary","category","term","monitor","incident","case","policy","policy_rule","property_monitor","dataset_monitor","etl_monitor","custom_monitor","dashboard","report","chart"],"title":"AssetMetadataSubtypes"},"IconPredefined":{"properties":{"type":{"type":"string","const":"predefined","title":"Type"},"icon":{"$ref":"#/components/schemas/PlatformIcons"}},"type":"object","required":["type","icon"],"title":"IconPredefined"},"PlatformIcons":{"type":"string","enum":["airbyte","amazon-athena","amazon-redshift","amazon-s3","apache-airflow","apache-atlas","apache-hive","apache-iceberg","apache-kafka","apache-spark","aurora-mysql","aws-glue","azure-data-factory","azure-data-lake-storage","azure-sql","clickhouse-black","clickhouse-yellow","cloudera","dagster","databricks","dbt","fivetran","google-bq","google-cloud-storage","looker-google-cloud","metabase","microsoft-azure-synapse-analytics","microsoft-fabric","microsoft-sql-server","mode","mysql","openlineage","oracle","postgresql","power-bi","salesforce","sap-hana","sigma-computing","sigma","singlestore","snowflake","tableau","thoughtspot","trino","yugabyte-db"],"title":"PlatformIcons"},"FreshnessStalenessDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_staleness","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessStalenessDetail"},"ManualSchedule":{"properties":{"frequency":{"type":"string","const":"manual","title":"Frequency"}},"type":"object","required":["frequency"],"title":"ManualSchedule"},"VolumeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"volume","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/VolumeColumnDetection"},{"$ref":"#/components/schemas/VolumeCountDetection-Output"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/VolumeColumnDetection","full_table_count":"#/components/schemas/VolumeCountDetection-Output","metadata":"#/components/schemas/VolumeCountDetection-Output"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","detection_method","primary_asset"],"title":"VolumeDetail"},"VolumeColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"},"threshold":{"$ref":"#/components/schemas/CountDeltaThreshold"}},"type":"object","required":["type","timestamp_column_id","column_timezone","threshold"],"title":"VolumeColumnDetection"},"CountDeltaThreshold":{"properties":{"type":{"type":"string","const":"count_delta","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"CountDeltaThreshold"},"VolumeCountDetection-Output":{"properties":{"type":{"type":"string","enum":["metadata","full_table_count"],"title":"Type"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Output"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Output"}}}},"type":"object","required":["type","threshold"],"title":"VolumeCountDetection"},"PercentageDeltaThreshold-Output":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["average","minimum","maximum","sum"],"title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","primary_asset"],"title":"AggregateDetail"},"FullTableScan":{"properties":{"type":{"type":"string","const":"full_table_scan","title":"Type"}},"type":"object","required":["type"],"title":"FullTableScan"},"IncrementalScan":{"properties":{"type":{"type":"string","const":"incremental_scan","title":"Type"},"method":{"oneOf":[{"$ref":"#/components/schemas/TimestampColumnScan"},{"$ref":"#/components/schemas/ExpressionScan"}],"title":"Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/TimestampColumnScan","expression":"#/components/schemas/ExpressionScan"}}}},"type":"object","required":["type","method"],"title":"IncrementalScan"},"TimestampColumnScan":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id","column_timezone"],"title":"TimestampColumnScan"},"ExpressionScan":{"properties":{"type":{"type":"string","const":"expression","title":"Type"},"expression":{"type":"string","maxLength":1000,"title":"Expression"}},"type":"object","required":["type","expression"],"title":"ExpressionScan"},"NumericRangeThreshold-Output":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"NumericRangeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"range","title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"NumericRangeDetail"},"AbsoluteTolerance":{"properties":{"type":{"type":"string","const":"absolute","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","value"],"title":"AbsoluteTolerance"},"PercentageTolerance-Output":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"StringLengthDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"string_length","title":"Type"},"threshold":{"$ref":"#/components/schemas/IntegerRangeThreshold"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"StringLengthDetail"},"IntegerRangeThreshold":{"properties":{"type":{"type":"string","const":"integer_range","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Max"}},"type":"object","required":["type"],"title":"IntegerRangeThreshold"},"ConditionDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["null","unique","zero"],"title":"Type"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","tolerance","primary_asset"],"title":"ConditionDetail"},"TemporalDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["is_before","is_after"],"title":"Type"},"point_in_time":{"oneOf":[{"$ref":"#/components/schemas/Now"},{"$ref":"#/components/schemas/FixedDate"},{"$ref":"#/components/schemas/FixedDateTime"},{"$ref":"#/components/schemas/OffsetFromNow"}],"title":"Point In Time","discriminator":{"propertyName":"type","mapping":{"fixed_date":"#/components/schemas/FixedDate","fixed_datetime":"#/components/schemas/FixedDateTime","now":"#/components/schemas/Now","offset_from_now":"#/components/schemas/OffsetFromNow"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","point_in_time","tolerance","primary_asset"],"title":"TemporalDetail"},"Now":{"properties":{"type":{"type":"string","const":"now","title":"Type"}},"type":"object","required":["type"],"title":"Now"},"FixedDate":{"properties":{"type":{"type":"string","const":"fixed_date","title":"Type"},"date":{"type":"string","format":"date","title":"Date"}},"type":"object","required":["type","date"],"title":"FixedDate"},"FixedDateTime":{"properties":{"type":{"type":"string","const":"fixed_datetime","title":"Type"},"datetime":{"type":"string","format":"date-time","title":"Datetime"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["type","datetime","timezone"],"title":"FixedDateTime"},"OffsetFromNow":{"properties":{"type":{"type":"string","const":"offset_from_now","title":"Type"},"unit":{"type":"string","enum":["days","hours","minutes"],"title":"Unit"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","unit","value"],"title":"OffsetFromNow"},"PatternDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["regex_match","regex_not_match"],"title":"Type"},"pattern":{"oneOf":[{"$ref":"#/components/schemas/PresetPattern"},{"$ref":"#/components/schemas/CustomPattern"}],"title":"Pattern","discriminator":{"propertyName":"type","mapping":{"custom":"#/components/schemas/CustomPattern","preset":"#/components/schemas/PresetPattern"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","pattern","tolerance","primary_asset"],"title":"PatternDetail"},"PresetPattern":{"properties":{"type":{"type":"string","const":"preset","title":"Type"},"pattern_name":{"$ref":"#/components/schemas/RegexPreset"}},"type":"object","required":["type","pattern_name"],"title":"PresetPattern"},"RegexPreset":{"type":"string","enum":["email","uuid"],"title":"RegexPreset"},"CustomPattern":{"properties":{"type":{"type":"string","const":"custom","title":"Type"},"pattern":{"type":"string","maxLength":1000,"title":"Pattern"}},"type":"object","required":["type","pattern"],"title":"CustomPattern"},"ValueSetDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["value_in","value_not_in"],"title":"Type"},"values":{"items":{"type":"string","maxLength":1000},"type":"array","maxItems":100,"title":"Values"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","values","tolerance","primary_asset"],"title":"ValueSetDetail"},"CustomSqlDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"custom_sql","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"sql_query":{"type":"string","maxLength":1000000,"title":"Sql Query"},"search_space_query":{"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}],"title":"Search Space Query"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"attribution_assets":{"items":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"type":"array","title":"Attribution Assets"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","sql_query","search_space_query","tolerance","primary_asset","attribution_assets"],"title":"CustomSqlDetail"},"TextAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"text","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"TextAttributeRead"},"AttributeManagementType":{"type":"string","enum":["user","system"],"title":"AttributeManagementType"},"SystemIdentifier":{"type":"string","enum":["constraints","snowflake_tag"],"title":"SystemIdentifier"},"EnumAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"enum","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"$ref":"#/components/schemas/decube__models__custom_attributes__config__EnumValue"},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"EnumAttributeRead"},"decube__models__custom_attributes__config__EnumValue":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"EnumValue"},"IntegerAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"integer","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"integer","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"IntegerAttributeRead"},"BooleanAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"boolean","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"boolean","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"BooleanAttributeRead"},"UserAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"user","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"UserAttributeRead"},"KVAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"kv","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"oneOf":[{"$ref":"#/components/schemas/KVTextEntryValueRead"},{"$ref":"#/components/schemas/KVEnumEntryValueRead"}],"discriminator":{"propertyName":"type","mapping":{"enum":"#/components/schemas/KVEnumEntryValueRead","text":"#/components/schemas/KVTextEntryValueRead"}}},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"KVAttributeRead"},"KVTextEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"text","title":"Type"},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVTextEntryValueRead"},"KVEnumEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"enum","title":"Type"},"value":{"items":{"$ref":"#/components/schemas/KVKeyEnumOptionRead"},"type":"array","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVEnumEntryValueRead"},"KVKeyEnumOptionRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"KVKeyEnumOptionRead"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

Every field in the body is optional. An empty body `{}` returns all the cases you can view.

Results sort by latest incident, most recent first. A case moves to the top of the list when a new incident joins it, so if you page through a large result set while monitors are running, a case can shift between pages. Filter on `incident_to` to hold the window fixed.

```json
{
  "filters": {
    "states": ["open"],
    "assignees": [],
    "incident_from": "2026-09-29"
  },
  "page_size": 100
}
```

## Get a case

`GET /data_quality/cases/details?case_id=789`

## Get Case Details

> Get case details

```json
{"openapi":"3.1.0","info":{"title":"Decube Public API (BETA)","version":"1.0.0"},"servers":[{"url":"https://connect.<REGION>.decube.io/api/v1/data"}],"paths":{"/data_quality/cases/details":{"get":{"tags":["Data Quality"],"summary":"Get Case Details","description":"Get case details","operationId":"get_case_details_data_quality_cases_details_get","parameters":[{"name":"case_id","in":"query","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CaseItem":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/CaseState"},"monitor":{"$ref":"#/components/schemas/MonitorItem"},"incident_count":{"type":"integer","title":"Incident Count"},"first_incident_time":{"type":"string","format":"date-time","title":"First Incident Time"},"latest_incident_time":{"type":"string","format":"date-time","title":"Latest Incident Time"},"assignee_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee Id"},"muted_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Muted Until"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","state","monitor","incident_count","first_incident_time","latest_incident_time","assignee_id","muted_until","has_edit_permission"],"title":"CaseItem"},"CaseState":{"type":"string","enum":["open","closed"],"title":"CaseState"},"MonitorItem":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"dq_dimension":{"$ref":"#/components/schemas/DQDimension"},"source_id":{"type":"integer","title":"Source Id"},"enabled":{"type":"boolean","title":"Enabled"},"invalid_reason":{"anyOf":[{"$ref":"#/components/schemas/InvalidReason"},{"type":"null"}]},"configuration":{"oneOf":[{"$ref":"#/components/schemas/FreshnessSLADetail"},{"$ref":"#/components/schemas/FreshnessStalenessDetail"},{"$ref":"#/components/schemas/VolumeDetail"},{"$ref":"#/components/schemas/AggregateDetail"},{"$ref":"#/components/schemas/NumericRangeDetail"},{"$ref":"#/components/schemas/StringLengthDetail"},{"$ref":"#/components/schemas/ConditionDetail"},{"$ref":"#/components/schemas/TemporalDetail"},{"$ref":"#/components/schemas/PatternDetail"},{"$ref":"#/components/schemas/ValueSetDetail"},{"$ref":"#/components/schemas/CustomSqlDetail"}],"title":"Configuration","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateDetail","custom_sql":"#/components/schemas/CustomSqlDetail","freshness_sla":"#/components/schemas/FreshnessSLADetail","freshness_staleness":"#/components/schemas/FreshnessStalenessDetail","is_after":"#/components/schemas/TemporalDetail","is_before":"#/components/schemas/TemporalDetail","maximum":"#/components/schemas/AggregateDetail","minimum":"#/components/schemas/AggregateDetail","null":"#/components/schemas/ConditionDetail","range":"#/components/schemas/NumericRangeDetail","regex_match":"#/components/schemas/PatternDetail","regex_not_match":"#/components/schemas/PatternDetail","string_length":"#/components/schemas/StringLengthDetail","sum":"#/components/schemas/AggregateDetail","unique":"#/components/schemas/ConditionDetail","value_in":"#/components/schemas/ValueSetDetail","value_not_in":"#/components/schemas/ValueSetDetail","volume":"#/components/schemas/VolumeDetail","zero":"#/components/schemas/ConditionDetail"}}},"custom_attributes":{"items":{"anyOf":[{"$ref":"#/components/schemas/TextAttributeRead"},{"$ref":"#/components/schemas/EnumAttributeRead"},{"$ref":"#/components/schemas/IntegerAttributeRead"},{"$ref":"#/components/schemas/BooleanAttributeRead"},{"$ref":"#/components/schemas/UserAttributeRead"},{"$ref":"#/components/schemas/KVAttributeRead"}]},"type":"array","title":"Custom Attributes"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","name","description","dq_dimension","source_id","enabled","invalid_reason","configuration","custom_attributes","has_edit_permission"],"title":"MonitorItem"},"DQDimension":{"type":"string","enum":["accuracy","completeness","uniqueness","validity","timeliness","consistency","granularity","others"],"title":"DQDimension"},"InvalidReason":{"type":"string","enum":["primary_asset_incompatible_type","timestamp_incompatible_type","source_incompatible_with_detection_method","primary_asset_not_found","timestamp_column_not_found"],"title":"InvalidReason"},"FreshnessSLADetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_sla","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessSLADetail"},"LastRunState":{"type":"string","enum":["queued","running","passed","failed","errored","skipped_no_data","skipped_no_prev_data"],"title":"LastRunState"},"SimpleSchedule":{"properties":{"frequency":{"type":"string","enum":["every_30_minutes","every_hour"],"title":"Frequency"}},"type":"object","required":["frequency"],"title":"SimpleSchedule"},"StartTimeSchedule":{"properties":{"frequency":{"type":"string","enum":["every_3_hours","every_6_hours","every_12_hours","daily"],"title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"StartTimeSchedule"},"NamedTimezone":{"properties":{"type":{"type":"string","const":"zone","title":"Type"},"name":{"type":"string","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap"],"title":"Name","description":"IANA name, for example Asia/Singapore"}},"type":"object","required":["type","name"],"title":"NamedTimezone"},"FixedOffsetTimezone":{"properties":{"type":{"type":"string","const":"offset","title":"Type"},"offset":{"type":"string","pattern":"^[+-]\\d{2}:(00|30)$","title":"Offset","description":"UTC offset, for example +08:00 or -03:30"}},"type":"object","required":["type","offset"],"title":"FixedOffsetTimezone"},"DayOfWeekSchedule":{"properties":{"frequency":{"type":"string","const":"weekly","title":"Frequency"},"day_of_week":{"type":"integer","maximum":6,"minimum":0,"title":"Day Of Week","description":"0 = Monday"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_week","start_time","timezone"],"title":"DayOfWeekSchedule"},"FirstDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"first_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"FirstDayOfMonthSchedule"},"LastDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"last_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"LastDayOfMonthSchedule"},"DayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"monthly","title":"Frequency"},"day_of_month":{"type":"integer","maximum":28,"minimum":1,"title":"Day Of Month"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_month","start_time","timezone"],"title":"DayOfMonthSchedule"},"DurationThreshold":{"properties":{"type":{"type":"string","const":"duration","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":1,"title":"Value","description":"Duration value"},"unit":{"type":"string","enum":["minutes","hours","days"],"title":"Unit","description":"Duration unit"}},"type":"object","required":["type","value","unit"],"title":"DurationThreshold"},"MetadataDetection":{"properties":{"type":{"type":"string","const":"metadata","title":"Type"}},"type":"object","required":["type"],"title":"MetadataDetection"},"ColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id"],"title":"ColumnDetection"},"decube__asset__models__AssetData":{"properties":{"asset":{"$ref":"#/components/schemas/DataAssets"},"parents":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Parents"},"assets":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Assets"},"attrs":{"additionalProperties":true,"type":"object","title":"Attrs"}},"type":"object","required":["asset","parents","assets","attrs"],"title":"AssetData"},"DataAssets":{"properties":{"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"id":{"type":"integer","title":"Id"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/DbType"},{"$ref":"#/components/schemas/AssetMetadataSubtypes"},{"type":"string","enum":["glossary","category","term"]}],"title":"Subtype"},"qual_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qual Id"},"icon":{"anyOf":[{"$ref":"#/components/schemas/IconPredefined"},{"type":"null"}]}},"type":"object","required":["type","name","id","subtype"],"title":"DataAssets"},"DbType":{"type":"string","enum":["bigquery","redshift","postgresql","mysql","snowflake","databricks","sql_server","azure_server","singlestore","synapse","oracle","sap_hana","clickhouse","cloudera_hive","hive","power_bi","fabric","tableau","looker","salesforce","dbt_cloud","dbt_core","fivetran","airflow","adf","glue","s3dl","adls","gcsdl","open_lineage","spark","iceberg","cloudera_atlas","atlas","unknown","virtual_source"],"title":"DbType"},"AssetMetadataSubtypes":{"type":"string","enum":["database","schema","table","virtual_table","view","column","virtual_column","data_job","data_task","data_job_run","data_task_run","data_product","file","glossary","category","term","monitor","incident","case","policy","policy_rule","property_monitor","dataset_monitor","etl_monitor","custom_monitor","dashboard","report","chart"],"title":"AssetMetadataSubtypes"},"IconPredefined":{"properties":{"type":{"type":"string","const":"predefined","title":"Type"},"icon":{"$ref":"#/components/schemas/PlatformIcons"}},"type":"object","required":["type","icon"],"title":"IconPredefined"},"PlatformIcons":{"type":"string","enum":["airbyte","amazon-athena","amazon-redshift","amazon-s3","apache-airflow","apache-atlas","apache-hive","apache-iceberg","apache-kafka","apache-spark","aurora-mysql","aws-glue","azure-data-factory","azure-data-lake-storage","azure-sql","clickhouse-black","clickhouse-yellow","cloudera","dagster","databricks","dbt","fivetran","google-bq","google-cloud-storage","looker-google-cloud","metabase","microsoft-azure-synapse-analytics","microsoft-fabric","microsoft-sql-server","mode","mysql","openlineage","oracle","postgresql","power-bi","salesforce","sap-hana","sigma-computing","sigma","singlestore","snowflake","tableau","thoughtspot","trino","yugabyte-db"],"title":"PlatformIcons"},"FreshnessStalenessDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_staleness","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessStalenessDetail"},"ManualSchedule":{"properties":{"frequency":{"type":"string","const":"manual","title":"Frequency"}},"type":"object","required":["frequency"],"title":"ManualSchedule"},"VolumeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"volume","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/VolumeColumnDetection"},{"$ref":"#/components/schemas/VolumeCountDetection-Output"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/VolumeColumnDetection","full_table_count":"#/components/schemas/VolumeCountDetection-Output","metadata":"#/components/schemas/VolumeCountDetection-Output"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","detection_method","primary_asset"],"title":"VolumeDetail"},"VolumeColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"},"threshold":{"$ref":"#/components/schemas/CountDeltaThreshold"}},"type":"object","required":["type","timestamp_column_id","column_timezone","threshold"],"title":"VolumeColumnDetection"},"CountDeltaThreshold":{"properties":{"type":{"type":"string","const":"count_delta","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"CountDeltaThreshold"},"VolumeCountDetection-Output":{"properties":{"type":{"type":"string","enum":["metadata","full_table_count"],"title":"Type"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Output"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Output"}}}},"type":"object","required":["type","threshold"],"title":"VolumeCountDetection"},"PercentageDeltaThreshold-Output":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["average","minimum","maximum","sum"],"title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","primary_asset"],"title":"AggregateDetail"},"FullTableScan":{"properties":{"type":{"type":"string","const":"full_table_scan","title":"Type"}},"type":"object","required":["type"],"title":"FullTableScan"},"IncrementalScan":{"properties":{"type":{"type":"string","const":"incremental_scan","title":"Type"},"method":{"oneOf":[{"$ref":"#/components/schemas/TimestampColumnScan"},{"$ref":"#/components/schemas/ExpressionScan"}],"title":"Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/TimestampColumnScan","expression":"#/components/schemas/ExpressionScan"}}}},"type":"object","required":["type","method"],"title":"IncrementalScan"},"TimestampColumnScan":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id","column_timezone"],"title":"TimestampColumnScan"},"ExpressionScan":{"properties":{"type":{"type":"string","const":"expression","title":"Type"},"expression":{"type":"string","maxLength":1000,"title":"Expression"}},"type":"object","required":["type","expression"],"title":"ExpressionScan"},"NumericRangeThreshold-Output":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"NumericRangeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"range","title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"NumericRangeDetail"},"AbsoluteTolerance":{"properties":{"type":{"type":"string","const":"absolute","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","value"],"title":"AbsoluteTolerance"},"PercentageTolerance-Output":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"StringLengthDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"string_length","title":"Type"},"threshold":{"$ref":"#/components/schemas/IntegerRangeThreshold"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"StringLengthDetail"},"IntegerRangeThreshold":{"properties":{"type":{"type":"string","const":"integer_range","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Max"}},"type":"object","required":["type"],"title":"IntegerRangeThreshold"},"ConditionDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["null","unique","zero"],"title":"Type"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","tolerance","primary_asset"],"title":"ConditionDetail"},"TemporalDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["is_before","is_after"],"title":"Type"},"point_in_time":{"oneOf":[{"$ref":"#/components/schemas/Now"},{"$ref":"#/components/schemas/FixedDate"},{"$ref":"#/components/schemas/FixedDateTime"},{"$ref":"#/components/schemas/OffsetFromNow"}],"title":"Point In Time","discriminator":{"propertyName":"type","mapping":{"fixed_date":"#/components/schemas/FixedDate","fixed_datetime":"#/components/schemas/FixedDateTime","now":"#/components/schemas/Now","offset_from_now":"#/components/schemas/OffsetFromNow"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","point_in_time","tolerance","primary_asset"],"title":"TemporalDetail"},"Now":{"properties":{"type":{"type":"string","const":"now","title":"Type"}},"type":"object","required":["type"],"title":"Now"},"FixedDate":{"properties":{"type":{"type":"string","const":"fixed_date","title":"Type"},"date":{"type":"string","format":"date","title":"Date"}},"type":"object","required":["type","date"],"title":"FixedDate"},"FixedDateTime":{"properties":{"type":{"type":"string","const":"fixed_datetime","title":"Type"},"datetime":{"type":"string","format":"date-time","title":"Datetime"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["type","datetime","timezone"],"title":"FixedDateTime"},"OffsetFromNow":{"properties":{"type":{"type":"string","const":"offset_from_now","title":"Type"},"unit":{"type":"string","enum":["days","hours","minutes"],"title":"Unit"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","unit","value"],"title":"OffsetFromNow"},"PatternDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["regex_match","regex_not_match"],"title":"Type"},"pattern":{"oneOf":[{"$ref":"#/components/schemas/PresetPattern"},{"$ref":"#/components/schemas/CustomPattern"}],"title":"Pattern","discriminator":{"propertyName":"type","mapping":{"custom":"#/components/schemas/CustomPattern","preset":"#/components/schemas/PresetPattern"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","pattern","tolerance","primary_asset"],"title":"PatternDetail"},"PresetPattern":{"properties":{"type":{"type":"string","const":"preset","title":"Type"},"pattern_name":{"$ref":"#/components/schemas/RegexPreset"}},"type":"object","required":["type","pattern_name"],"title":"PresetPattern"},"RegexPreset":{"type":"string","enum":["email","uuid"],"title":"RegexPreset"},"CustomPattern":{"properties":{"type":{"type":"string","const":"custom","title":"Type"},"pattern":{"type":"string","maxLength":1000,"title":"Pattern"}},"type":"object","required":["type","pattern"],"title":"CustomPattern"},"ValueSetDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["value_in","value_not_in"],"title":"Type"},"values":{"items":{"type":"string","maxLength":1000},"type":"array","maxItems":100,"title":"Values"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","values","tolerance","primary_asset"],"title":"ValueSetDetail"},"CustomSqlDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"custom_sql","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"sql_query":{"type":"string","maxLength":1000000,"title":"Sql Query"},"search_space_query":{"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}],"title":"Search Space Query"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"attribution_assets":{"items":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"type":"array","title":"Attribution Assets"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","sql_query","search_space_query","tolerance","primary_asset","attribution_assets"],"title":"CustomSqlDetail"},"TextAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"text","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"TextAttributeRead"},"AttributeManagementType":{"type":"string","enum":["user","system"],"title":"AttributeManagementType"},"SystemIdentifier":{"type":"string","enum":["constraints","snowflake_tag"],"title":"SystemIdentifier"},"EnumAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"enum","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"$ref":"#/components/schemas/decube__models__custom_attributes__config__EnumValue"},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"EnumAttributeRead"},"decube__models__custom_attributes__config__EnumValue":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"EnumValue"},"IntegerAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"integer","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"integer","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"IntegerAttributeRead"},"BooleanAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"boolean","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"boolean","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"BooleanAttributeRead"},"UserAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"user","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"UserAttributeRead"},"KVAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"kv","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"oneOf":[{"$ref":"#/components/schemas/KVTextEntryValueRead"},{"$ref":"#/components/schemas/KVEnumEntryValueRead"}],"discriminator":{"propertyName":"type","mapping":{"enum":"#/components/schemas/KVEnumEntryValueRead","text":"#/components/schemas/KVTextEntryValueRead"}}},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"KVAttributeRead"},"KVTextEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"text","title":"Type"},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVTextEntryValueRead"},"KVEnumEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"enum","title":"Type"},"value":{"items":{"$ref":"#/components/schemas/KVKeyEnumOptionRead"},"type":"array","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVEnumEntryValueRead"},"KVKeyEnumOptionRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"KVKeyEnumOptionRead"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

Returns one case:

* **`assignee_id`** — the user who owns the case, or `null`.
* **`muted_until`** — when a mute ends, or `null` if the case isn't muted.
* **`monitor`** — the monitor that raised the case, with the configuration version the case belongs to. This can be an earlier version than the monitor's active one.

## Update a case

## Update Case

> Assign, close, mute, or unmute a case.

```json
{"openapi":"3.1.0","info":{"title":"Decube Public API (BETA)","version":"1.0.0"},"servers":[{"url":"https://connect.<REGION>.decube.io/api/v1/data"}],"paths":{"/data_quality/cases":{"patch":{"tags":["Data Quality"],"summary":"Update Case","description":"Assign, close, mute, or unmute a case.","operationId":"update_case_data_quality_cases_patch","parameters":[{"name":"case_id","in":"query","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CaseUpdateRequest":{"properties":{"assignee_id":{"anyOf":[{"$ref":"#/components/schemas/Change_Union_str__NoneType__"},{"$ref":"#/components/schemas/NotChanged"}],"title":"Assignee Id","default":{}},"action":{"anyOf":[{"$ref":"#/components/schemas/Change_Annotated_Union_CloseCase__MuteCase__UnmuteCase___Discriminator__"},{"$ref":"#/components/schemas/NotChanged"}],"title":"Action","default":{}}},"type":"object","title":"CaseUpdateRequest"},"Change_Union_str__NoneType__":{"properties":{"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"type":"object","required":["value"],"title":"Change[Union[str, NoneType]]"},"NotChanged":{"properties":{},"type":"object","title":"NotChanged"},"Change_Annotated_Union_CloseCase__MuteCase__UnmuteCase___Discriminator__":{"properties":{"value":{"oneOf":[{"$ref":"#/components/schemas/CloseCase"},{"$ref":"#/components/schemas/MuteCase"},{"$ref":"#/components/schemas/UnmuteCase"}],"title":"Value","discriminator":{"propertyName":"type","mapping":{"close":"#/components/schemas/CloseCase","mute":"#/components/schemas/MuteCase","unmute":"#/components/schemas/UnmuteCase"}}}},"type":"object","required":["value"],"title":"Change[Annotated[Union[CloseCase, MuteCase, UnmuteCase], Discriminator]]"},"CloseCase":{"properties":{"type":{"type":"string","const":"close","title":"Type"}},"type":"object","required":["type"],"title":"CloseCase"},"MuteCase":{"properties":{"type":{"type":"string","const":"mute","title":"Type"},"duration":{"type":"string","enum":["1D","1W","1M"],"title":"Duration"}},"type":"object","required":["type","duration"],"title":"MuteCase"},"UnmuteCase":{"properties":{"type":{"type":"string","const":"unmute","title":"Type"}},"type":"object","required":["type"],"title":"UnmuteCase"},"CaseItem":{"properties":{"id":{"type":"integer","title":"Id"},"state":{"$ref":"#/components/schemas/CaseState"},"monitor":{"$ref":"#/components/schemas/MonitorItem"},"incident_count":{"type":"integer","title":"Incident Count"},"first_incident_time":{"type":"string","format":"date-time","title":"First Incident Time"},"latest_incident_time":{"type":"string","format":"date-time","title":"Latest Incident Time"},"assignee_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee Id"},"muted_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Muted Until"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","state","monitor","incident_count","first_incident_time","latest_incident_time","assignee_id","muted_until","has_edit_permission"],"title":"CaseItem"},"CaseState":{"type":"string","enum":["open","closed"],"title":"CaseState"},"MonitorItem":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"dq_dimension":{"$ref":"#/components/schemas/DQDimension"},"source_id":{"type":"integer","title":"Source Id"},"enabled":{"type":"boolean","title":"Enabled"},"invalid_reason":{"anyOf":[{"$ref":"#/components/schemas/InvalidReason"},{"type":"null"}]},"configuration":{"oneOf":[{"$ref":"#/components/schemas/FreshnessSLADetail"},{"$ref":"#/components/schemas/FreshnessStalenessDetail"},{"$ref":"#/components/schemas/VolumeDetail"},{"$ref":"#/components/schemas/AggregateDetail"},{"$ref":"#/components/schemas/NumericRangeDetail"},{"$ref":"#/components/schemas/StringLengthDetail"},{"$ref":"#/components/schemas/ConditionDetail"},{"$ref":"#/components/schemas/TemporalDetail"},{"$ref":"#/components/schemas/PatternDetail"},{"$ref":"#/components/schemas/ValueSetDetail"},{"$ref":"#/components/schemas/CustomSqlDetail"}],"title":"Configuration","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateDetail","custom_sql":"#/components/schemas/CustomSqlDetail","freshness_sla":"#/components/schemas/FreshnessSLADetail","freshness_staleness":"#/components/schemas/FreshnessStalenessDetail","is_after":"#/components/schemas/TemporalDetail","is_before":"#/components/schemas/TemporalDetail","maximum":"#/components/schemas/AggregateDetail","minimum":"#/components/schemas/AggregateDetail","null":"#/components/schemas/ConditionDetail","range":"#/components/schemas/NumericRangeDetail","regex_match":"#/components/schemas/PatternDetail","regex_not_match":"#/components/schemas/PatternDetail","string_length":"#/components/schemas/StringLengthDetail","sum":"#/components/schemas/AggregateDetail","unique":"#/components/schemas/ConditionDetail","value_in":"#/components/schemas/ValueSetDetail","value_not_in":"#/components/schemas/ValueSetDetail","volume":"#/components/schemas/VolumeDetail","zero":"#/components/schemas/ConditionDetail"}}},"custom_attributes":{"items":{"anyOf":[{"$ref":"#/components/schemas/TextAttributeRead"},{"$ref":"#/components/schemas/EnumAttributeRead"},{"$ref":"#/components/schemas/IntegerAttributeRead"},{"$ref":"#/components/schemas/BooleanAttributeRead"},{"$ref":"#/components/schemas/UserAttributeRead"},{"$ref":"#/components/schemas/KVAttributeRead"}]},"type":"array","title":"Custom Attributes"},"has_edit_permission":{"type":"boolean","title":"Has Edit Permission"}},"type":"object","required":["id","name","description","dq_dimension","source_id","enabled","invalid_reason","configuration","custom_attributes","has_edit_permission"],"title":"MonitorItem"},"DQDimension":{"type":"string","enum":["accuracy","completeness","uniqueness","validity","timeliness","consistency","granularity","others"],"title":"DQDimension"},"InvalidReason":{"type":"string","enum":["primary_asset_incompatible_type","timestamp_incompatible_type","source_incompatible_with_detection_method","primary_asset_not_found","timestamp_column_not_found"],"title":"InvalidReason"},"FreshnessSLADetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_sla","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessSLADetail"},"LastRunState":{"type":"string","enum":["queued","running","passed","failed","errored","skipped_no_data","skipped_no_prev_data"],"title":"LastRunState"},"SimpleSchedule":{"properties":{"frequency":{"type":"string","enum":["every_30_minutes","every_hour"],"title":"Frequency"}},"type":"object","required":["frequency"],"title":"SimpleSchedule"},"StartTimeSchedule":{"properties":{"frequency":{"type":"string","enum":["every_3_hours","every_6_hours","every_12_hours","daily"],"title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"StartTimeSchedule"},"NamedTimezone":{"properties":{"type":{"type":"string","const":"zone","title":"Type"},"name":{"type":"string","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap"],"title":"Name","description":"IANA name, for example Asia/Singapore"}},"type":"object","required":["type","name"],"title":"NamedTimezone"},"FixedOffsetTimezone":{"properties":{"type":{"type":"string","const":"offset","title":"Type"},"offset":{"type":"string","pattern":"^[+-]\\d{2}:(00|30)$","title":"Offset","description":"UTC offset, for example +08:00 or -03:30"}},"type":"object","required":["type","offset"],"title":"FixedOffsetTimezone"},"DayOfWeekSchedule":{"properties":{"frequency":{"type":"string","const":"weekly","title":"Frequency"},"day_of_week":{"type":"integer","maximum":6,"minimum":0,"title":"Day Of Week","description":"0 = Monday"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_week","start_time","timezone"],"title":"DayOfWeekSchedule"},"FirstDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"first_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"FirstDayOfMonthSchedule"},"LastDayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"last_day_of_month","title":"Frequency"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","start_time","timezone"],"title":"LastDayOfMonthSchedule"},"DayOfMonthSchedule":{"properties":{"frequency":{"type":"string","const":"monthly","title":"Frequency"},"day_of_month":{"type":"integer","maximum":28,"minimum":1,"title":"Day Of Month"},"start_time":{"type":"string","format":"time","title":"Start Time"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["frequency","day_of_month","start_time","timezone"],"title":"DayOfMonthSchedule"},"DurationThreshold":{"properties":{"type":{"type":"string","const":"duration","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":1,"title":"Value","description":"Duration value"},"unit":{"type":"string","enum":["minutes","hours","days"],"title":"Unit","description":"Duration unit"}},"type":"object","required":["type","value","unit"],"title":"DurationThreshold"},"MetadataDetection":{"properties":{"type":{"type":"string","const":"metadata","title":"Type"}},"type":"object","required":["type"],"title":"MetadataDetection"},"ColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id"],"title":"ColumnDetection"},"decube__asset__models__AssetData":{"properties":{"asset":{"$ref":"#/components/schemas/DataAssets"},"parents":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Parents"},"assets":{"items":{"$ref":"#/components/schemas/DataAssets"},"type":"array","title":"Assets"},"attrs":{"additionalProperties":true,"type":"object","title":"Attrs"}},"type":"object","required":["asset","parents","assets","attrs"],"title":"AssetData"},"DataAssets":{"properties":{"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"id":{"type":"integer","title":"Id"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/DbType"},{"$ref":"#/components/schemas/AssetMetadataSubtypes"},{"type":"string","enum":["glossary","category","term"]}],"title":"Subtype"},"qual_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qual Id"},"icon":{"anyOf":[{"$ref":"#/components/schemas/IconPredefined"},{"type":"null"}]}},"type":"object","required":["type","name","id","subtype"],"title":"DataAssets"},"DbType":{"type":"string","enum":["bigquery","redshift","postgresql","mysql","snowflake","databricks","sql_server","azure_server","singlestore","synapse","oracle","sap_hana","clickhouse","cloudera_hive","hive","power_bi","fabric","tableau","looker","salesforce","dbt_cloud","dbt_core","fivetran","airflow","adf","glue","s3dl","adls","gcsdl","open_lineage","spark","iceberg","cloudera_atlas","atlas","unknown","virtual_source"],"title":"DbType"},"AssetMetadataSubtypes":{"type":"string","enum":["database","schema","table","virtual_table","view","column","virtual_column","data_job","data_task","data_job_run","data_task_run","data_product","file","glossary","category","term","monitor","incident","case","policy","policy_rule","property_monitor","dataset_monitor","etl_monitor","custom_monitor","dashboard","report","chart"],"title":"AssetMetadataSubtypes"},"IconPredefined":{"properties":{"type":{"type":"string","const":"predefined","title":"Type"},"icon":{"$ref":"#/components/schemas/PlatformIcons"}},"type":"object","required":["type","icon"],"title":"IconPredefined"},"PlatformIcons":{"type":"string","enum":["airbyte","amazon-athena","amazon-redshift","amazon-s3","apache-airflow","apache-atlas","apache-hive","apache-iceberg","apache-kafka","apache-spark","aurora-mysql","aws-glue","azure-data-factory","azure-data-lake-storage","azure-sql","clickhouse-black","clickhouse-yellow","cloudera","dagster","databricks","dbt","fivetran","google-bq","google-cloud-storage","looker-google-cloud","metabase","microsoft-azure-synapse-analytics","microsoft-fabric","microsoft-sql-server","mode","mysql","openlineage","oracle","postgresql","power-bi","salesforce","sap-hana","sigma-computing","sigma","singlestore","snowflake","tableau","thoughtspot","trino","yugabyte-db"],"title":"PlatformIcons"},"FreshnessStalenessDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"freshness_staleness","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"threshold":{"$ref":"#/components/schemas/DurationThreshold"},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/MetadataDetection"},{"$ref":"#/components/schemas/ColumnDetection"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/ColumnDetection","metadata":"#/components/schemas/MetadataDetection"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessStalenessDetail"},"ManualSchedule":{"properties":{"frequency":{"type":"string","const":"manual","title":"Frequency"}},"type":"object","required":["frequency"],"title":"ManualSchedule"},"VolumeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"volume","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"detection_method":{"oneOf":[{"$ref":"#/components/schemas/VolumeColumnDetection"},{"$ref":"#/components/schemas/VolumeCountDetection-Output"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/VolumeColumnDetection","full_table_count":"#/components/schemas/VolumeCountDetection-Output","metadata":"#/components/schemas/VolumeCountDetection-Output"}}},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","detection_method","primary_asset"],"title":"VolumeDetail"},"VolumeColumnDetection":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"},"threshold":{"$ref":"#/components/schemas/CountDeltaThreshold"}},"type":"object","required":["type","timestamp_column_id","column_timezone","threshold"],"title":"VolumeColumnDetection"},"CountDeltaThreshold":{"properties":{"type":{"type":"string","const":"count_delta","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"CountDeltaThreshold"},"VolumeCountDetection-Output":{"properties":{"type":{"type":"string","enum":["metadata","full_table_count"],"title":"Type"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Output"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Output"}}}},"type":"object","required":["type","threshold"],"title":"VolumeCountDetection"},"PercentageDeltaThreshold-Output":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["average","minimum","maximum","sum"],"title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","primary_asset"],"title":"AggregateDetail"},"FullTableScan":{"properties":{"type":{"type":"string","const":"full_table_scan","title":"Type"}},"type":"object","required":["type"],"title":"FullTableScan"},"IncrementalScan":{"properties":{"type":{"type":"string","const":"incremental_scan","title":"Type"},"method":{"oneOf":[{"$ref":"#/components/schemas/TimestampColumnScan"},{"$ref":"#/components/schemas/ExpressionScan"}],"title":"Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/TimestampColumnScan","expression":"#/components/schemas/ExpressionScan"}}}},"type":"object","required":["type","method"],"title":"IncrementalScan"},"TimestampColumnScan":{"properties":{"type":{"type":"string","const":"column","title":"Type"},"timestamp_column_id":{"type":"integer","title":"Timestamp Column Id"},"column_timezone":{"anyOf":[{"type":"string","pattern":"^[+-]\\d{2}:[0-5]\\d$"},{"type":"null"}],"title":"Column Timezone","description":"UTC offset, for example +08:00, required for timezone-naive timestamp columns"}},"type":"object","required":["type","timestamp_column_id","column_timezone"],"title":"TimestampColumnScan"},"ExpressionScan":{"properties":{"type":{"type":"string","const":"expression","title":"Type"},"expression":{"type":"string","maxLength":1000,"title":"Expression"}},"type":"object","required":["type","expression"],"title":"ExpressionScan"},"NumericRangeThreshold-Output":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"NumericRangeDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"range","title":"Type"},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"NumericRangeDetail"},"AbsoluteTolerance":{"properties":{"type":{"type":"string","const":"absolute","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","value"],"title":"AbsoluteTolerance"},"PercentageTolerance-Output":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"StringLengthDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","const":"string_length","title":"Type"},"threshold":{"$ref":"#/components/schemas/IntegerRangeThreshold"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"StringLengthDetail"},"IntegerRangeThreshold":{"properties":{"type":{"type":"string","const":"integer_range","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Max"}},"type":"object","required":["type"],"title":"IntegerRangeThreshold"},"ConditionDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["null","unique","zero"],"title":"Type"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","tolerance","primary_asset"],"title":"ConditionDetail"},"TemporalDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["is_before","is_after"],"title":"Type"},"point_in_time":{"oneOf":[{"$ref":"#/components/schemas/Now"},{"$ref":"#/components/schemas/FixedDate"},{"$ref":"#/components/schemas/FixedDateTime"},{"$ref":"#/components/schemas/OffsetFromNow"}],"title":"Point In Time","discriminator":{"propertyName":"type","mapping":{"fixed_date":"#/components/schemas/FixedDate","fixed_datetime":"#/components/schemas/FixedDateTime","now":"#/components/schemas/Now","offset_from_now":"#/components/schemas/OffsetFromNow"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","point_in_time","tolerance","primary_asset"],"title":"TemporalDetail"},"Now":{"properties":{"type":{"type":"string","const":"now","title":"Type"}},"type":"object","required":["type"],"title":"Now"},"FixedDate":{"properties":{"type":{"type":"string","const":"fixed_date","title":"Type"},"date":{"type":"string","format":"date","title":"Date"}},"type":"object","required":["type","date"],"title":"FixedDate"},"FixedDateTime":{"properties":{"type":{"type":"string","const":"fixed_datetime","title":"Type"},"datetime":{"type":"string","format":"date-time","title":"Datetime"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["type","datetime","timezone"],"title":"FixedDateTime"},"OffsetFromNow":{"properties":{"type":{"type":"string","const":"offset_from_now","title":"Type"},"unit":{"type":"string","enum":["days","hours","minutes"],"title":"Unit"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","unit","value"],"title":"OffsetFromNow"},"PatternDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["regex_match","regex_not_match"],"title":"Type"},"pattern":{"oneOf":[{"$ref":"#/components/schemas/PresetPattern"},{"$ref":"#/components/schemas/CustomPattern"}],"title":"Pattern","discriminator":{"propertyName":"type","mapping":{"custom":"#/components/schemas/CustomPattern","preset":"#/components/schemas/PresetPattern"}}},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","pattern","tolerance","primary_asset"],"title":"PatternDetail"},"PresetPattern":{"properties":{"type":{"type":"string","const":"preset","title":"Type"},"pattern_name":{"$ref":"#/components/schemas/RegexPreset"}},"type":"object","required":["type","pattern_name"],"title":"PresetPattern"},"RegexPreset":{"type":"string","enum":["email","uuid"],"title":"RegexPreset"},"CustomPattern":{"properties":{"type":{"type":"string","const":"custom","title":"Type"},"pattern":{"type":"string","maxLength":1000,"title":"Pattern"}},"type":"object","required":["type","pattern"],"title":"CustomPattern"},"ValueSetDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"scan_method":{"oneOf":[{"$ref":"#/components/schemas/FullTableScan"},{"$ref":"#/components/schemas/IncrementalScan"}],"title":"Scan Method","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/FullTableScan","incremental_scan":"#/components/schemas/IncrementalScan"}}},"type":{"type":"string","enum":["value_in","value_not_in"],"title":"Type"},"values":{"items":{"type":"string","maxLength":1000},"type":"array","maxItems":100,"title":"Values"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","schedule","scan_method","type","values","tolerance","primary_asset"],"title":"ValueSetDetail"},"CustomSqlDetail":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"next_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Scheduled At"},"last_run_state":{"anyOf":[{"$ref":"#/components/schemas/LastRunState"},{"type":"null"}]},"last_run_state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run State Updated At"},"type":{"type":"string","const":"custom_sql","title":"Type"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/ManualSchedule"},{"$ref":"#/components/schemas/SimpleSchedule"},{"$ref":"#/components/schemas/StartTimeSchedule"},{"$ref":"#/components/schemas/DayOfWeekSchedule"},{"$ref":"#/components/schemas/FirstDayOfMonthSchedule"},{"$ref":"#/components/schemas/LastDayOfMonthSchedule"},{"$ref":"#/components/schemas/DayOfMonthSchedule"}],"title":"Schedule","discriminator":{"propertyName":"frequency","mapping":{"daily":"#/components/schemas/StartTimeSchedule","every_12_hours":"#/components/schemas/StartTimeSchedule","every_30_minutes":"#/components/schemas/SimpleSchedule","every_3_hours":"#/components/schemas/StartTimeSchedule","every_6_hours":"#/components/schemas/StartTimeSchedule","every_hour":"#/components/schemas/SimpleSchedule","first_day_of_month":"#/components/schemas/FirstDayOfMonthSchedule","last_day_of_month":"#/components/schemas/LastDayOfMonthSchedule","manual":"#/components/schemas/ManualSchedule","monthly":"#/components/schemas/DayOfMonthSchedule","weekly":"#/components/schemas/DayOfWeekSchedule"}}},"sql_query":{"type":"string","maxLength":1000000,"title":"Sql Query"},"search_space_query":{"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}],"title":"Search Space Query"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"attribution_assets":{"items":{"$ref":"#/components/schemas/decube__asset__models__AssetData"},"type":"array","title":"Attribution Assets"}},"type":"object","required":["id","version_number","next_scheduled_at","last_run_state","last_run_state_updated_at","type","schedule","sql_query","search_space_query","tolerance","primary_asset","attribution_assets"],"title":"CustomSqlDetail"},"TextAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"text","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"TextAttributeRead"},"AttributeManagementType":{"type":"string","enum":["user","system"],"title":"AttributeManagementType"},"SystemIdentifier":{"type":"string","enum":["constraints","snowflake_tag"],"title":"SystemIdentifier"},"EnumAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"enum","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"$ref":"#/components/schemas/decube__models__custom_attributes__config__EnumValue"},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"EnumAttributeRead"},"decube__models__custom_attributes__config__EnumValue":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"EnumValue"},"IntegerAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"integer","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"integer","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"IntegerAttributeRead"},"BooleanAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"boolean","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"type":"boolean","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"BooleanAttributeRead"},"UserAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"user","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"UserAttributeRead"},"KVAttributeRead":{"properties":{"id":{"type":"integer","title":"Id"},"type":{"type":"string","const":"kv","title":"Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"management_type":{"$ref":"#/components/schemas/AttributeManagementType"},"system_identifier":{"anyOf":[{"$ref":"#/components/schemas/SystemIdentifier"},{"type":"null"}]},"value":{"items":{"oneOf":[{"$ref":"#/components/schemas/KVTextEntryValueRead"},{"$ref":"#/components/schemas/KVEnumEntryValueRead"}],"discriminator":{"propertyName":"type","mapping":{"enum":"#/components/schemas/KVEnumEntryValueRead","text":"#/components/schemas/KVTextEntryValueRead"}}},"type":"array","title":"Value"}},"type":"object","required":["id","type","label","description","management_type","system_identifier","value"],"title":"KVAttributeRead"},"KVTextEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"text","title":"Type"},"value":{"type":"string","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVTextEntryValueRead"},"KVEnumEntryValueRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","const":"enum","title":"Type"},"value":{"items":{"$ref":"#/components/schemas/KVKeyEnumOptionRead"},"type":"array","title":"Value"}},"type":"object","required":["id","label","type","value"],"title":"KVEnumEntryValueRead"},"KVKeyEnumOptionRead":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"color":{"type":"string","title":"Color"}},"type":"object","required":["id","label","color"],"title":"KVKeyEnumOptionRead"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

Pass the case ID as a query parameter. The body is partial: include `assignee_id`, `action`, or both, and leave out anything you don't want to change. Wrap each change in a `value` object, so Decube can tell "set this to null" apart from "leave this alone".

| To…                 | Send                                                              |
| ------------------- | ----------------------------------------------------------------- |
| Assign the case     | `{ "assignee_id": { "value": "<user-id>" } }`                     |
| Remove the assignee | `{ "assignee_id": { "value": null } }`                            |
| Close the case      | `{ "action": { "value": { "type": "close" } } }`                  |
| Mute alerts         | `{ "action": { "value": { "type": "mute", "duration": "1W" } } }` |
| Resume alerts       | `{ "action": { "value": { "type": "unmute" } } }`                 |

{% hint style="warning" %}
A field sent without the `value` wrapper, such as `{ "action": { "type": "close" } }`, isn't applied. The request succeeds and the case stays as it was, so check the returned case to confirm your change.
{% endhint %}

You can combine an assignment and an action in one request:

```json
{
  "assignee_id": { "value": "<user-id>" },
  "action": { "value": { "type": "mute", "duration": "1D" } }
}
```

How each change behaves:

* **Assign** — Decube emails the new assignee. Look up a user's ID with the [Users API](https://docs.decube.io/public-api/overview/control-api/users.md).
* **Mute** — stops alerts for the case for `1D`, `1W`, or `1M`, counted from the time of your request. The monitor keeps running and new incidents still join the case. The response shows the end time in `muted_until`.
* **Unmute** — resumes alerts before the mute ends.
* **Close** — marks the investigation finished. You can't reopen a closed case. The next failure opens a new one.

Every change appears in the case's audit history, the same as a change made in the UI.

## List the incidents in a case

Lists the incidents in one case, newest first. Each item has the incident `id` and its `scheduled_at` time. Takes `page_size` (default `25`, maximum `100`) and `page_number`.

## List Case Incidents

> List the incidents of a case.

```json
{"openapi":"3.1.0","info":{"title":"Decube Public API (BETA)","version":"1.0.0"},"servers":[{"url":"https://connect.<REGION>.decube.io/api/v1/data"}],"paths":{"/data_quality/cases/incidents":{"get":{"tags":["Data Quality"],"summary":"List Case Incidents","description":"List the incidents of a case.","operationId":"list_case_incidents_data_quality_cases_incidents_get","parameters":[{"name":"case_id","in":"query","required":true,"schema":{"type":"integer","title":"Case Id"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Page Size"}},{"name":"page_number","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":1,"default":1,"title":"Page Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"IncidentListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/IncidentListItem"},"type":"array","title":"Items"},"page_number":{"type":"integer","title":"Page Number"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","page_number","page_size"],"title":"IncidentListResponse"},"IncidentListItem":{"properties":{"id":{"type":"integer","title":"Id"},"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"}},"type":"object","required":["id","scheduled_at"],"title":"IncidentListItem"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

## Get an incident

## Get Incident Details

> Get incident details

```json
{"openapi":"3.1.0","info":{"title":"Decube Public API (BETA)","version":"1.0.0"},"servers":[{"url":"https://connect.<REGION>.decube.io/api/v1/data"}],"paths":{"/data_quality/incidents/details":{"get":{"tags":["Data Quality"],"summary":"Get Incident Details","description":"Get incident details","operationId":"get_incident_details_data_quality_incidents_details_get","parameters":[{"name":"incident_id","in":"query","required":true,"schema":{"type":"integer","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"IncidentDetail":{"properties":{"id":{"type":"integer","title":"Id"},"case_id":{"type":"integer","title":"Case Id"},"run_id":{"type":"integer","title":"Run Id"},"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"},"evidence":{"oneOf":[{"$ref":"#/components/schemas/FreshnessEvidence"},{"$ref":"#/components/schemas/VolumeEvidence"},{"$ref":"#/components/schemas/AggregateEvidence"},{"$ref":"#/components/schemas/RangeEvidence"},{"$ref":"#/components/schemas/CountEvidence"},{"$ref":"#/components/schemas/TemporalEvidence"},{"$ref":"#/components/schemas/StringLengthEvidence"},{"$ref":"#/components/schemas/RegexEvidence"},{"$ref":"#/components/schemas/ValueSetEvidence"},{"$ref":"#/components/schemas/CustomSqlEvidence"}],"title":"Evidence","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateEvidence","custom_sql":"#/components/schemas/CustomSqlEvidence","freshness_sla":"#/components/schemas/FreshnessEvidence","freshness_staleness":"#/components/schemas/FreshnessEvidence","is_after":"#/components/schemas/TemporalEvidence","is_before":"#/components/schemas/TemporalEvidence","maximum":"#/components/schemas/AggregateEvidence","minimum":"#/components/schemas/AggregateEvidence","null":"#/components/schemas/CountEvidence","range":"#/components/schemas/RangeEvidence","regex_match":"#/components/schemas/RegexEvidence","regex_not_match":"#/components/schemas/RegexEvidence","string_length":"#/components/schemas/StringLengthEvidence","sum":"#/components/schemas/AggregateEvidence","unique":"#/components/schemas/CountEvidence","value_in":"#/components/schemas/ValueSetEvidence","value_not_in":"#/components/schemas/ValueSetEvidence","volume":"#/components/schemas/VolumeEvidence","zero":"#/components/schemas/CountEvidence"}}},"debug_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Debug Query"}},"type":"object","required":["id","case_id","run_id","scheduled_at","evidence","debug_query"],"title":"IncidentDetail"},"FreshnessEvidence":{"properties":{"type":{"type":"string","enum":["freshness_sla","freshness_staleness"],"title":"Type"},"metric":{"oneOf":[{"$ref":"#/components/schemas/FreshnessDateTimeMetric"},{"$ref":"#/components/schemas/FreshnessDateMetric"}],"title":"Metric","discriminator":{"propertyName":"type","mapping":{"last_observed_write_date":"#/components/schemas/FreshnessDateMetric","last_observed_write_time":"#/components/schemas/FreshnessDateTimeMetric"}}},"computed_age":{"type":"integer","title":"Computed Age","description":"Computed data age in minutes"}},"type":"object","required":["type","metric","computed_age"],"title":"FreshnessEvidence"},"FreshnessDateTimeMetric":{"properties":{"type":{"type":"string","const":"last_observed_write_time","title":"Type"},"value":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Value"},"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"threshold":{"$ref":"#/components/schemas/DurationThreshold"}},"type":"object","required":["type","value","scheduled_at","collected_at","completed_at","threshold"],"title":"FreshnessDateTimeMetric"},"DurationThreshold":{"properties":{"type":{"type":"string","const":"duration","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":1,"title":"Value","description":"Duration value"},"unit":{"type":"string","enum":["minutes","hours","days"],"title":"Unit","description":"Duration unit"}},"type":"object","required":["type","value","unit"],"title":"DurationThreshold"},"FreshnessDateMetric":{"properties":{"type":{"type":"string","const":"last_observed_write_date","title":"Type"},"value":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Value"},"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"threshold":{"$ref":"#/components/schemas/DurationThreshold"}},"type":"object","required":["type","value","scheduled_at","collected_at","completed_at","threshold"],"title":"FreshnessDateMetric"},"VolumeEvidence":{"oneOf":[{"$ref":"#/components/schemas/VolumeIncrementalEvidence"},{"$ref":"#/components/schemas/VolumeFullCountEvidence"}],"title":"VolumeEvidence","discriminator":{"propertyName":"detection_method","mapping":{"column":"#/components/schemas/VolumeIncrementalEvidence","full_table_count":"#/components/schemas/VolumeFullCountEvidence","metadata":"#/components/schemas/VolumeFullCountEvidence"}}},"VolumeIncrementalEvidence":{"properties":{"type":{"type":"string","const":"volume","title":"Type"},"detection_method":{"type":"string","const":"column","title":"Detection Method"},"metric":{"$ref":"#/components/schemas/VolumeIncrementalMetric"}},"type":"object","required":["type","detection_method","metric"],"title":"VolumeIncrementalEvidence"},"VolumeIncrementalMetric":{"properties":{"type":{"type":"string","const":"incremental_row_count","title":"Type"},"value":{"type":"integer","title":"Value"},"scan_window":{"$ref":"#/components/schemas/ScannedIncremental"},"threshold":{"$ref":"#/components/schemas/CountDeltaThreshold"},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","value","scan_window","threshold","collected_at","completed_at"],"title":"VolumeIncrementalMetric"},"ScannedIncremental":{"properties":{"type":{"type":"string","const":"incremental_scan","title":"Type"},"scan_window_start":{"type":"string","format":"date-time","title":"Scan Window Start"},"scan_window_end":{"type":"string","format":"date-time","title":"Scan Window End"}},"type":"object","required":["type","scan_window_start","scan_window_end"],"title":"ScannedIncremental"},"CountDeltaThreshold":{"properties":{"type":{"type":"string","const":"count_delta","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"CountDeltaThreshold"},"VolumeFullCountEvidence":{"properties":{"type":{"type":"string","const":"volume","title":"Type"},"detection_method":{"type":"string","enum":["metadata","full_table_count"],"title":"Detection Method"},"previous_metric":{"$ref":"#/components/schemas/VolumeFullCountMetric"},"metric":{"$ref":"#/components/schemas/VolumeFullCountMetric"}},"type":"object","required":["type","detection_method","previous_metric","metric"],"title":"VolumeFullCountEvidence"},"VolumeFullCountMetric":{"properties":{"type":{"type":"string","const":"total_row_count","title":"Type"},"value":{"type":"integer","title":"Value"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Output"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","value","threshold","collected_at","completed_at"],"title":"VolumeFullCountMetric"},"PercentageDeltaThreshold-Output":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateEvidence":{"properties":{"type":{"type":"string","enum":["average","minimum","maximum","sum"],"title":"Type"},"metric":{"$ref":"#/components/schemas/AggregateMetric"}},"type":"object","required":["type","metric"],"title":"AggregateEvidence"},"AggregateMetric":{"properties":{"type":{"type":"string","enum":["average","minimum","maximum","sum"],"title":"Type"},"value":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Value"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","value","total_rows_scanned","scan_window","threshold","collected_at","completed_at"],"title":"AggregateMetric"},"ScannedFullTable":{"properties":{"type":{"type":"string","const":"full_table_scan","title":"Type"}},"type":"object","required":["type"],"title":"ScannedFullTable"},"NumericRangeThreshold-Output":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"RangeEvidence":{"properties":{"type":{"type":"string","const":"range","title":"Type"},"metric":{"$ref":"#/components/schemas/RangeMetric"}},"type":"object","required":["type","metric"],"title":"RangeEvidence"},"RangeMetric":{"properties":{"type":{"type":"string","const":"range","title":"Type"},"max_value":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max Value"},"min_value":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min Value"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"threshold":{"$ref":"#/components/schemas/NumericRangeThreshold-Output"},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","max_value","min_value","failing_rows_count","total_rows_scanned","scan_window","threshold","tolerance","collected_at","completed_at"],"title":"RangeMetric"},"AbsoluteTolerance":{"properties":{"type":{"type":"string","const":"absolute","title":"Type"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","value"],"title":"AbsoluteTolerance"},"PercentageTolerance-Output":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"CountEvidence":{"properties":{"type":{"type":"string","enum":["null","zero","unique"],"title":"Type"},"metric":{"$ref":"#/components/schemas/CountMetric"}},"type":"object","required":["type","metric"],"title":"CountEvidence"},"CountMetric":{"properties":{"type":{"type":"string","enum":["null_count","zero_count","unique_count"],"title":"Type"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","failing_rows_count","total_rows_scanned","scan_window","tolerance","collected_at","completed_at"],"title":"CountMetric"},"TemporalEvidence":{"properties":{"type":{"type":"string","enum":["is_before","is_after"],"title":"Type"},"metric":{"oneOf":[{"$ref":"#/components/schemas/DateTimeRangeMetric"},{"$ref":"#/components/schemas/DateRangeMetric"}],"title":"Metric","discriminator":{"propertyName":"type","mapping":{"date_range":"#/components/schemas/DateRangeMetric","datetime_range":"#/components/schemas/DateTimeRangeMetric"}}}},"type":"object","required":["type","metric"],"title":"TemporalEvidence"},"DateTimeRangeMetric":{"properties":{"type":{"type":"string","const":"datetime_range","title":"Type"},"max_value":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Max Value"},"min_value":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Min Value"},"computed_point_in_time":{"type":"string","format":"date-time","title":"Computed Point In Time"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"point_in_time":{"oneOf":[{"$ref":"#/components/schemas/Now"},{"$ref":"#/components/schemas/FixedDate"},{"$ref":"#/components/schemas/FixedDateTime"},{"$ref":"#/components/schemas/OffsetFromNow"}],"title":"Point In Time","discriminator":{"propertyName":"type","mapping":{"fixed_date":"#/components/schemas/FixedDate","fixed_datetime":"#/components/schemas/FixedDateTime","now":"#/components/schemas/Now","offset_from_now":"#/components/schemas/OffsetFromNow"}}},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","max_value","min_value","computed_point_in_time","failing_rows_count","total_rows_scanned","scan_window","point_in_time","tolerance","collected_at","completed_at"],"title":"DateTimeRangeMetric"},"Now":{"properties":{"type":{"type":"string","const":"now","title":"Type"}},"type":"object","required":["type"],"title":"Now"},"FixedDate":{"properties":{"type":{"type":"string","const":"fixed_date","title":"Type"},"date":{"type":"string","format":"date","title":"Date"}},"type":"object","required":["type","date"],"title":"FixedDate"},"FixedDateTime":{"properties":{"type":{"type":"string","const":"fixed_datetime","title":"Type"},"datetime":{"type":"string","format":"date-time","title":"Datetime"},"timezone":{"oneOf":[{"$ref":"#/components/schemas/NamedTimezone"},{"$ref":"#/components/schemas/FixedOffsetTimezone"}],"title":"Timezone","discriminator":{"propertyName":"type","mapping":{"offset":"#/components/schemas/FixedOffsetTimezone","zone":"#/components/schemas/NamedTimezone"}}}},"type":"object","required":["type","datetime","timezone"],"title":"FixedDateTime"},"NamedTimezone":{"properties":{"type":{"type":"string","const":"zone","title":"Type"},"name":{"type":"string","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Coyhaique","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap"],"title":"Name","description":"IANA name, for example Asia/Singapore"}},"type":"object","required":["type","name"],"title":"NamedTimezone"},"FixedOffsetTimezone":{"properties":{"type":{"type":"string","const":"offset","title":"Type"},"offset":{"type":"string","pattern":"^[+-]\\d{2}:(00|30)$","title":"Offset","description":"UTC offset, for example +08:00 or -03:30"}},"type":"object","required":["type","offset"],"title":"FixedOffsetTimezone"},"OffsetFromNow":{"properties":{"type":{"type":"string","const":"offset_from_now","title":"Type"},"unit":{"type":"string","enum":["days","hours","minutes"],"title":"Unit"},"value":{"type":"integer","maximum":9007199254740991,"minimum":0,"title":"Value"}},"type":"object","required":["type","unit","value"],"title":"OffsetFromNow"},"DateRangeMetric":{"properties":{"type":{"type":"string","const":"date_range","title":"Type"},"max_value":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Max Value"},"min_value":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Min Value"},"computed_point_in_time":{"type":"string","format":"date","title":"Computed Point In Time"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"point_in_time":{"oneOf":[{"$ref":"#/components/schemas/Now"},{"$ref":"#/components/schemas/FixedDate"},{"$ref":"#/components/schemas/FixedDateTime"},{"$ref":"#/components/schemas/OffsetFromNow"}],"title":"Point In Time","discriminator":{"propertyName":"type","mapping":{"fixed_date":"#/components/schemas/FixedDate","fixed_datetime":"#/components/schemas/FixedDateTime","now":"#/components/schemas/Now","offset_from_now":"#/components/schemas/OffsetFromNow"}}},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","max_value","min_value","computed_point_in_time","failing_rows_count","total_rows_scanned","scan_window","point_in_time","tolerance","collected_at","completed_at"],"title":"DateRangeMetric"},"StringLengthEvidence":{"properties":{"type":{"type":"string","const":"string_length","title":"Type"},"metric":{"$ref":"#/components/schemas/StringLengthMetric"}},"type":"object","required":["type","metric"],"title":"StringLengthEvidence"},"StringLengthMetric":{"properties":{"type":{"type":"string","const":"string_length","title":"Type"},"max_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Value"},"min_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Value"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"threshold":{"$ref":"#/components/schemas/IntegerRangeThreshold"},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","max_value","min_value","failing_rows_count","total_rows_scanned","scan_window","threshold","tolerance","collected_at","completed_at"],"title":"StringLengthMetric"},"IntegerRangeThreshold":{"properties":{"type":{"type":"string","const":"integer_range","title":"Type"},"min":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}],"title":"Max"}},"type":"object","required":["type"],"title":"IntegerRangeThreshold"},"RegexEvidence":{"properties":{"type":{"type":"string","enum":["regex_match","regex_not_match"],"title":"Type"},"metric":{"$ref":"#/components/schemas/RegexMetric"}},"type":"object","required":["type","metric"],"title":"RegexEvidence"},"RegexMetric":{"properties":{"type":{"type":"string","enum":["regex_match","regex_not_match"],"title":"Type"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"pattern":{"type":"string","title":"Pattern"},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","failing_rows_count","total_rows_scanned","scan_window","pattern","tolerance","collected_at","completed_at"],"title":"RegexMetric"},"ValueSetEvidence":{"properties":{"type":{"type":"string","enum":["value_in","value_not_in"],"title":"Type"},"metric":{"$ref":"#/components/schemas/ValueSetMetric"}},"type":"object","required":["type","metric"],"title":"ValueSetEvidence"},"ValueSetMetric":{"properties":{"type":{"type":"string","enum":["value_in","value_not_in"],"title":"Type"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"scan_window":{"oneOf":[{"$ref":"#/components/schemas/ScannedFullTable"},{"$ref":"#/components/schemas/ScannedIncremental"}],"title":"Scan Window","discriminator":{"propertyName":"type","mapping":{"full_table_scan":"#/components/schemas/ScannedFullTable","incremental_scan":"#/components/schemas/ScannedIncremental"}}},"set_of_values":{"items":{"type":"string"},"type":"array","title":"Set Of Values"},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","failing_rows_count","total_rows_scanned","scan_window","set_of_values","tolerance","collected_at","completed_at"],"title":"ValueSetMetric"},"CustomSqlEvidence":{"properties":{"type":{"type":"string","const":"custom_sql","title":"Type"},"metric":{"oneOf":[{"$ref":"#/components/schemas/CustomSqlMetric"},{"$ref":"#/components/schemas/CustomSqlSearchSpaceMetric"}],"title":"Metric","discriminator":{"propertyName":"type","mapping":{"custom_sql_search_space":"#/components/schemas/CustomSqlSearchSpaceMetric","custom_sql_simple":"#/components/schemas/CustomSqlMetric"}}}},"type":"object","required":["type","metric"],"title":"CustomSqlEvidence"},"CustomSqlMetric":{"properties":{"type":{"type":"string","const":"custom_sql_simple","title":"Type"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"tolerance":{"$ref":"#/components/schemas/AbsoluteTolerance"},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","failing_rows_count","tolerance","collected_at","completed_at"],"title":"CustomSqlMetric"},"CustomSqlSearchSpaceMetric":{"properties":{"type":{"type":"string","const":"custom_sql_search_space","title":"Type"},"failing_rows_count":{"type":"integer","title":"Failing Rows Count"},"total_rows_scanned":{"type":"integer","title":"Total Rows Scanned"},"tolerance":{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Output"}],"title":"Tolerance","discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Output"}}},"collected_at":{"type":"string","format":"date-time","title":"Collected At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["type","failing_rows_count","total_rows_scanned","tolerance","collected_at","completed_at"],"title":"CustomSqlSearchSpaceMetric"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

Returns one incident in full:

* **`case_id`** and **`run_id`** — the case the incident belongs to and the run that raised it. Pass `run_id` to [Check a run](https://docs.decube.io/public-api/overview/index/data-quality-v2/monitor-runs.md#check-a-run) for the run's timing.
* **`evidence`** — what Decube measured and why the check failed. Its fields depend on the monitor type, matching the [Evidence](https://docs.decube.io/data-quality-v2/cases/case-details.md#evidence) panel in the UI.
* **`debug_query`** — a SQL query you can run on your source to inspect the failing rows. `null` for monitor types that don't produce one.

## Frequently Asked Questions

#### Can I reopen a closed case?

No. Closing a case ends its grouping window. If the monitor fails again, Decube opens a new case, and the earlier case stays in the record.

#### Does muting a case stop the monitor?

No. Muting stops alerts only. The monitor keeps running on its schedule, and failures still join the case as incidents. To stop the monitor itself, [disable it](https://docs.decube.io/public-api/overview/index/data-quality-v2/monitors.md#enable-or-disable-a-monitor).

#### Why doesn't my case show the monitor's current settings?

A case belongs to the configuration version that raised it. If someone made a destructive change to the monitor since then, the case shows the earlier version. Failures under the new version open their own cases.
