> 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/monitors.md).

# Monitors

Search, create, update, enable, disable, and delete Data Quality V2 monitors through the Public API

The Monitors endpoints let you manage Data Quality V2 monitors as code. You can keep monitor definitions in version control, roll out the same checks across many tables, and audit your monitor inventory from outside Decube. Each endpoint mirrors an action in the [Monitors tab](https://docs.decube.io/data-quality-v2/monitors/monitors-tab.md), so a monitor you create through the API looks and behaves exactly like one created in the UI.

{% hint style="info" %}
New to the monitor settings? [Building Blocks](https://docs.decube.io/data-quality-v2/monitors/building-blocks.md) explains schedules, detection and scan methods, thresholds, and tolerances. This page covers how to express them in a request.
{% endhint %}

## Search monitors

Search returns monitors that match a name query and any combination of filters. Every field in the body is optional — an empty body `{}` returns all the monitors you can view.

## Search Monitors

> Search monitors by name and 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/monitors/search":{"post":{"tags":["Data Quality"],"summary":"Search Monitors","description":"Search monitors by name and filters.","operationId":"search_monitors_data_quality_monitors_search_post","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"MonitorSearchRequest":{"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/MonitorSearchFilters","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":"MonitorSearchRequest"},"MonitorSearchFilters":{"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 monitors on the given assets or the assets under them. All entries must be of the same asset type."},"monitor_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/MonitorType"},"type":"array"},{"type":"null"}],"title":"Monitor Types","description":"Filter monitors by monitor type"},"schedules":{"anyOf":[{"items":{"type":"string","enum":["manual","every_30_minutes","every_hour","every_3_hours","every_6_hours","every_12_hours","daily","weekly","monthly"]},"type":"array"},{"type":"null"}],"title":"Schedules","description":"Filter monitors by schedule frequency. `monthly` also matches `first_day_of_month` and `last_day_of_month`."},"statuses":{"anyOf":[{"items":{"$ref":"#/components/schemas/MonitorStatus"},"type":"array"},{"type":"null"}],"title":"Statuses","description":"Filter monitors by status"},"last_run_states":{"anyOf":[{"items":{"$ref":"#/components/schemas/LastRunStateFilter"},"type":"array"},{"type":"null"}],"title":"Last Run States","description":"Filter monitors by the state of their last run. `not_evaluated` matches monitors that have never run."},"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","maxItems":25},{"type":"null"}],"title":"Custom Attributes","description":"Filter monitors by custom attribute values"}},"type":"object","title":"MonitorSearchFilters"},"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"},"MonitorStatus":{"type":"string","enum":["active","inactive","invalid"],"title":"MonitorStatus"},"LastRunStateFilter":{"type":"string","enum":["not_evaluated","passed","failed","errored","skipped","queued","running"],"title":"LastRunStateFilter"},"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"},"MonitorSearchResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MonitorItem"},"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":"MonitorSearchResponse"},"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"}}}}
```

### Filtering by asset

Each entry in `filters.assets` is an asset `type` and `id`, where `type` is `source`, `collection`, `dataset`, or `property`. Two rules apply:

* **One asset type per request.** You can list several tables, or several schemas, but not a mix of both.
* **An asset selects what's under it.** A table selects the monitors on that table and on its columns. A schema or table also selects the Custom SQL monitors linked to it or to an asset under it.

## Get a monitor

Returns one monitor with its active configuration, plus a list of every version of that monitor, newest first.

## Get Monitor Details

> Get monitor details. Exclude configuration\_id to get the monitor active version.

```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/monitors/details":{"get":{"tags":["Data Quality"],"summary":"Get Monitor Details","description":"Get monitor details. Exclude configuration_id to get the monitor active version.","operationId":"get_monitor_details_data_quality_monitors_details_get","parameters":[{"name":"monitor_id","in":"query","required":true,"schema":{"type":"integer","title":"Monitor Id"}},{"name":"configuration_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Configuration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"MonitorDetailResponse":{"properties":{"monitor":{"$ref":"#/components/schemas/MonitorItem"},"versions":{"items":{"$ref":"#/components/schemas/MonitorVersionItem"},"type":"array","title":"Versions"}},"type":"object","required":["monitor","versions"],"title":"MonitorDetailResponse"},"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"},"MonitorVersionItem":{"properties":{"id":{"type":"integer","title":"Id"},"version_number":{"type":"integer","title":"Version Number"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","version_number","created_at"],"title":"MonitorVersionItem"},"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"}}}}
```

Each entry in `versions` carries the version's `id` — this is the `configuration_id` you pass to read that version, its runs, or its cases.

| Parameter          | Notes                                          |
| ------------------ | ---------------------------------------------- |
| `configuration_id` | Returns this version instead of the active one |

A few fields in the response help you decide what to do next:

* **`enabled`** — whether the monitor is scheduled to run.
* **`invalid_reason`** — why a monitor has the `invalid` status. An invalid monitor doesn't run and can't be triggered. See [Invalid reasons](#invalid-reasons).
* **`configuration.last_run_state`** and **`configuration.next_scheduled_at`** — the latest outcome and the next scheduled run for this version.
* **`has_edit_permission`** — whether your API key can change this monitor.

### Invalid reasons

| `invalid_reason`                            | What changed                                                         |
| ------------------------------------------- | -------------------------------------------------------------------- |
| `primary_asset_not_found`                   | The table, column, or source the monitor checks no longer exists     |
| `primary_asset_incompatible_type`           | The monitored column's data type no longer suits the monitor type    |
| `timestamp_column_not_found`                | The timestamp column used for detection or scanning no longer exists |
| `timestamp_incompatible_type`               | The timestamp column's data type is no longer a date or timestamp    |
| `source_incompatible_with_detection_method` | The source doesn't support the monitor's detection method            |

To fix an invalid monitor, [update its configuration](#update-a-monitor) to point at a valid column, or create a new monitor if the asset itself is gone.

## Create a monitor

A create request has two parts: the monitor's properties at the top level, and its `configuration`. The `configuration.type` sets the monitor type and decides which fields the rest of the configuration needs.

## Create Monitor

> Create a monitor.

```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/monitors":{"post":{"tags":["Data Quality"],"summary":"Create Monitor","description":"Create a monitor.","operationId":"create_monitor_data_quality_monitors_post","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMonitorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CreateMonitorRequest":{"properties":{"name":{"type":"string","maxLength":500,"title":"Name","description":"Name of the monitor"},"description":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Description","description":"Description of the monitor"},"dq_dimension":{"$ref":"#/components/schemas/DQDimension","description":"Data quality dimension the monitor measures"},"configuration":{"oneOf":[{"$ref":"#/components/schemas/FreshnessSLACreate"},{"$ref":"#/components/schemas/FreshnessStalenessCreate"},{"$ref":"#/components/schemas/VolumeCreate"},{"$ref":"#/components/schemas/AggregateCreate"},{"$ref":"#/components/schemas/NumericRangeCreate"},{"$ref":"#/components/schemas/StringLengthCreate"},{"$ref":"#/components/schemas/ConditionCreate"},{"$ref":"#/components/schemas/TemporalCreate"},{"$ref":"#/components/schemas/PatternCreate"},{"$ref":"#/components/schemas/ValueSetCreate"},{"$ref":"#/components/schemas/CustomSqlCreate"}],"title":"Configuration","description":"Configuration of the monitor. The `type` field selects the monitor type and the fields it requires.","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateCreate","custom_sql":"#/components/schemas/CustomSqlCreate","freshness_sla":"#/components/schemas/FreshnessSLACreate","freshness_staleness":"#/components/schemas/FreshnessStalenessCreate","is_after":"#/components/schemas/TemporalCreate","is_before":"#/components/schemas/TemporalCreate","maximum":"#/components/schemas/AggregateCreate","minimum":"#/components/schemas/AggregateCreate","null":"#/components/schemas/ConditionCreate","range":"#/components/schemas/NumericRangeCreate","regex_match":"#/components/schemas/PatternCreate","regex_not_match":"#/components/schemas/PatternCreate","string_length":"#/components/schemas/StringLengthCreate","sum":"#/components/schemas/AggregateCreate","unique":"#/components/schemas/ConditionCreate","value_in":"#/components/schemas/ValueSetCreate","value_not_in":"#/components/schemas/ValueSetCreate","volume":"#/components/schemas/VolumeCreate","zero":"#/components/schemas/ConditionCreate"}}},"custom_attributes":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/TextAttributeWrite"},{"$ref":"#/components/schemas/EnumAttributeWrite"},{"$ref":"#/components/schemas/IntegerAttributeWrite"},{"$ref":"#/components/schemas/BooleanAttributeWrite"},{"$ref":"#/components/schemas/app__models__custom_attr_change__UserAttributeWrite"}]},"type":"array","maxItems":25},{"type":"null"}],"title":"Custom Attributes","description":"Custom attributes to set on the monitor"}},"type":"object","required":["name","dq_dimension","configuration"],"title":"CreateMonitorRequest"},"DQDimension":{"type":"string","enum":["accuracy","completeness","uniqueness","validity","timeliness","consistency","granularity","others"],"title":"DQDimension"},"FreshnessSLACreate":{"properties":{"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/DatasetIdentifier"}},"type":"object","required":["type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessSLACreate"},"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"},"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"},"FreshnessStalenessCreate":{"properties":{"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/DatasetIdentifier"}},"type":"object","required":["type","schedule","threshold","detection_method","primary_asset"],"title":"FreshnessStalenessCreate"},"ManualSchedule":{"properties":{"frequency":{"type":"string","const":"manual","title":"Frequency"}},"type":"object","required":["frequency"],"title":"ManualSchedule"},"VolumeCreate":{"properties":{"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-Input"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/VolumeColumnDetection","full_table_count":"#/components/schemas/VolumeCountDetection-Input","metadata":"#/components/schemas/VolumeCountDetection-Input"}}},"primary_asset":{"$ref":"#/components/schemas/DatasetIdentifier"}},"type":"object","required":["type","schedule","detection_method","primary_asset"],"title":"VolumeCreate"},"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-Input":{"properties":{"type":{"type":"string","enum":["metadata","full_table_count"],"title":"Type"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Input"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Input"}}}},"type":"object","required":["type","threshold"],"title":"VolumeCountDetection"},"PercentageDeltaThreshold-Input":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateCreate":{"properties":{"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-Input"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","threshold","primary_asset"],"title":"AggregateCreate"},"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-Input":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"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"},"NumericRangeCreate":{"properties":{"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-Input"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"NumericRangeCreate"},"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-Input":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"StringLengthCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","threshold","tolerance","primary_asset"],"title":"StringLengthCreate"},"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"},"ConditionCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","tolerance","primary_asset"],"title":"ConditionCreate"},"TemporalCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","point_in_time","tolerance","primary_asset"],"title":"TemporalCreate"},"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"},"PatternCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","pattern","tolerance","primary_asset"],"title":"PatternCreate"},"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"},"ValueSetCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/PropertyIdentifier"}},"type":"object","required":["schedule","scan_method","type","values","tolerance","primary_asset"],"title":"ValueSetCreate"},"CustomSqlCreate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"primary_asset":{"$ref":"#/components/schemas/SourceIdentifier"},"attribution_assets":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/DatasetIdentifier"},{"$ref":"#/components/schemas/PropertyIdentifier"}],"discriminator":{"propertyName":"type","mapping":{"dataset":"#/components/schemas/DatasetIdentifier","property":"#/components/schemas/PropertyIdentifier"}}},"type":"array","maxItems":10},{"type":"null"}],"title":"Attribution Assets"}},"type":"object","required":["type","schedule","sql_query","search_space_query","tolerance","primary_asset","attribution_assets"],"title":"CustomSqlCreate"},"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"},"TextAttributeWrite":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"string","title":"Value","description":"Text value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"TextAttributeWrite"},"EnumAttributeWrite":{"properties":{"type":{"type":"string","const":"enum","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"items":{"type":"integer"},"type":"array","title":"Value","description":"List of enum option IDs associated with the custom attribute"}},"type":"object","required":["type","id","value"],"title":"EnumAttributeWrite"},"IntegerAttributeWrite":{"properties":{"type":{"type":"string","const":"integer","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"integer","title":"Value","description":"Integer value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"IntegerAttributeWrite"},"BooleanAttributeWrite":{"properties":{"type":{"type":"string","const":"boolean","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"boolean","title":"Value","description":"Boolean value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"BooleanAttributeWrite"},"app__models__custom_attr_change__UserAttributeWrite":{"properties":{"type":{"type":"string","const":"user","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Value","description":"List of user emails associated with the custom attribute. If the attribute is multi-select, this must be a list, otherwise it must be a single UserByEmail."}},"type":"object","required":["type","id","value"],"title":"UserAttributeWrite"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}}}}
```

### Choose a monitor type and asset

Each monitor type runs on one kind of asset, set in `configuration.primary_asset`. Follow the link for each type to see what it checks and how its settings behave.

| configuration.type                                | primary\_asset.type | Manual schedule availability | Guide                                                                                                     |
| ------------------------------------------------- | ------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------- |
| `freshness_sla`                                   | `dataset`           | No                           | [Freshness](https://docs.decube.io/data-quality-v2/monitor-types/freshness-sla-and-staleness.md)          |
| `freshness_staleness`                             | `dataset`           | Yes                          | [Freshness](https://docs.decube.io/data-quality-v2/monitor-types/freshness-sla-and-staleness.md)          |
| `volume`                                          | `dataset`           | No                           | [Volume](https://docs.decube.io/data-quality-v2/monitor-types/volume.md)                                  |
| `average`, `minimum`, `maximum`, `sum`            | `property`          | Yes, with full table scan    | [Numeric Checks](https://docs.decube.io/data-quality-v2/monitor-types/field-health/numeric-checks.md)     |
| `range`                                           | `property`          | Yes, with full table scan    | [Numerical Range](https://docs.decube.io/data-quality-v2/monitor-types/field-health/numerical-range.md)   |
| `string_length`, `regex_match`, `regex_not_match` | `property`          | Yes, with full table scan    | [String Checks](https://docs.decube.io/data-quality-v2/monitor-types/field-health/string-checks.md)       |
| `value_in`, `value_not_in`                        | `property`          | Yes, with full table scan    | [Value Set Checks](https://docs.decube.io/data-quality-v2/monitor-types/field-health/value-set-checks.md) |
| `null`, `unique`, `zero`                          | `property`          | Yes, with full table scan    | [Condition Checks](https://docs.decube.io/data-quality-v2/monitor-types/field-health/condition-checks.md) |
| `is_before`, `is_after`                           | `property`          | Yes, with full table scan    | [Temporal Checks](https://docs.decube.io/data-quality-v2/monitor-types/field-health/temporal-checks.md)   |
| `custom_sql`                                      | `source`            | Yes                          | [Custom SQL](https://docs.decube.io/data-quality-v2/monitor-types/custom-sql.md)                          |

A Custom SQL monitor runs against a source. To tie its results to specific tables or columns, add up to 10 `attribution_assets` (`dataset` or `property`) from that same source. Send `null` or an empty list to attribute the monitor to the source.

### Configuration settings

Each type uses a subset of these settings. The API reference below lists the exact fields per type.

**`schedule`** — how often the monitor runs. Frequencies that run at a set time also need `start_time` and `timezone`.

| frequency                                                   | Also requires                                           |
| ----------------------------------------------------------- | ------------------------------------------------------- |
| `manual`                                                    | Nothing. The monitor runs only when you trigger it.     |
| `every_30_minutes`, `every_hour`                            | Nothing                                                 |
| `every_3_hours`, `every_6_hours`, `every_12_hours`, `daily` | `start_time`, `timezone`                                |
| `weekly`                                                    | `day_of_week` (`0` is Monday), `start_time`, `timezone` |
| `first_day_of_month`, `last_day_of_month`                   | `start_time`, `timezone`                                |
| `monthly`                                                   | `day_of_month` (`1`–`28`), `start_time`, `timezone`     |

* Set `timezone` as a named zone, `{ "type": "zone", "name": "Asia/Singapore" }`, to follow local time through daylight saving changes.
* Set it as a fixed offset, `{ "type": "offset", "offset": "+08:00" }`, to stay on the same UTC time all year. Decube schedules runs on 30-minute boundaries, so offsets and zones must fall on the hour or half hour. [Schedule](https://docs.decube.io/data-quality-v2/monitors/building-blocks.md#schedule) covers the difference in more detail.

**`threshold`** — the bounds a measured value must stay within. Set at least one of `min` or `max`. Both bounds are inclusive: a value fails when it falls below `min` or above `max`.

| Monitor types                                   | Threshold type                                                                                                             |
| ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `freshness_sla`, `freshness_staleness`          | `duration`, with `value` and a `unit` of `minutes`, `hours`, or `days`                                                     |
| `volume`                                        | `count_delta` or `percentage_delta`, set inside `detection_method.threshold`. Column detection accepts `count_delta` only. |
| `average`, `minimum`, `maximum`, `sum`, `range` | `numeric_range`                                                                                                            |
| `string_length`                                 | `integer_range`                                                                                                            |

**`tolerance`** — how many failing rows a row-level check accepts before it fails.

* Use `{ "type": "absolute", "value": 10 }` for a row count,
* or `{ "type": "percentage", "value": 0.01 }` for a share of rows.

The check fails when the failing rows exceed the tolerance. Send `null` for a tolerance of zero. A Custom SQL monitor needs a `search_space_query` to use a percentage tolerance.

**`scan_method`** — which rows a Field Health monitor checks.

* Use `{ "type": "full_table_scan" }` to check every row,
* or `incremental_scan` with either a timestamp column or a SQL expression to check only new rows.

See [Scan method](https://docs.decube.io/data-quality-v2/monitors/building-blocks.md#scan-method).

**`detection_method`** — how a Freshness or Volume monitor measures the table: from table `metadata`, from a timestamp `column`, or, for Volume, a `full_table_count`. See [Detection Method](https://docs.decube.io/data-quality-v2/monitors/building-blocks.md#detection-method).

### Example: create a Null check

This request creates a Null check on column `4521` that runs daily at 06:00 Singapore time and fails when any row is null.

```json
{
  "name": "orders.customer_id is never null",
  "description": "Every order must be linked to a customer.",
  "dq_dimension": "completeness",
  "configuration": {
    "type": "null",
    "primary_asset": { "type": "property", "id": 4521 },
    "schedule": {
      "frequency": "daily",
      "start_time": "06:00:00",
      "timezone": { "type": "zone", "name": "Asia/Singapore" }
    },
    "tolerance": { "type": "absolute", "value": 0 },
    "scan_method": { "type": "full_table_scan" }
  }
}
```

The response is the new monitor, including its `id` and the `configuration.id` of its first version. [Examples](https://docs.decube.io/public-api/overview/index/data-quality-v2/examples.md) has more complete requests, including Freshness, Volume, and Custom SQL.

## Update a monitor

A monitor has two update endpoints, one for its properties and one for its configuration. Pick the endpoint by what you're changing:

| You're changing                                                                | Endpoint                                   | Creates a new version?                                 |
| ------------------------------------------------------------------------------ | ------------------------------------------ | ------------------------------------------------------ |
| Name, description, DQ dimension, custom attributes                             | `PUT /data_quality/monitors/properties`    | Never                                                  |
| Schedule, threshold, tolerance, scan or detection method, SQL, values, pattern | `PUT /data_quality/monitors/configuration` | Yes, unless you change only the threshold or tolerance |

## Update Monitor Properties

> Update the name, description, DQ dimension, and custom attributes of a monitor.

```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/monitors/properties":{"put":{"tags":["Data Quality"],"summary":"Update Monitor Properties","description":"Update the name, description, DQ dimension, and custom attributes of a monitor.","operationId":"update_monitor_properties_data_quality_monitors_properties_put","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorPropertiesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"MonitorPropertiesRequest":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id"},"name":{"type":"string","maxLength":500,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Description"},"dq_dimension":{"$ref":"#/components/schemas/DQDimension"},"custom_attributes":{"items":{"anyOf":[{"$ref":"#/components/schemas/TextAttributeWrite"},{"$ref":"#/components/schemas/EnumAttributeWrite"},{"$ref":"#/components/schemas/IntegerAttributeWrite"},{"$ref":"#/components/schemas/BooleanAttributeWrite"},{"$ref":"#/components/schemas/app__models__custom_attr_change__UserAttributeWrite"}]},"type":"array","maxItems":25,"title":"Custom Attributes"}},"type":"object","required":["monitor_id","name","description","dq_dimension","custom_attributes"],"title":"MonitorPropertiesRequest"},"DQDimension":{"type":"string","enum":["accuracy","completeness","uniqueness","validity","timeliness","consistency","granularity","others"],"title":"DQDimension"},"TextAttributeWrite":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"string","title":"Value","description":"Text value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"TextAttributeWrite"},"EnumAttributeWrite":{"properties":{"type":{"type":"string","const":"enum","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"items":{"type":"integer"},"type":"array","title":"Value","description":"List of enum option IDs associated with the custom attribute"}},"type":"object","required":["type","id","value"],"title":"EnumAttributeWrite"},"IntegerAttributeWrite":{"properties":{"type":{"type":"string","const":"integer","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"integer","title":"Value","description":"Integer value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"IntegerAttributeWrite"},"BooleanAttributeWrite":{"properties":{"type":{"type":"string","const":"boolean","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"type":"boolean","title":"Value","description":"Boolean value of the custom attribute"}},"type":"object","required":["type","id","value"],"title":"BooleanAttributeWrite"},"app__models__custom_attr_change__UserAttributeWrite":{"properties":{"type":{"type":"string","const":"user","title":"Type"},"id":{"type":"integer","title":"Id","description":"Unique identifier for the custom attribute"},"value":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Value","description":"List of user emails associated with the custom attribute. If the attribute is multi-select, this must be a list, otherwise it must be a single UserByEmail."}},"type":"object","required":["type","id","value"],"title":"UserAttributeWrite"},"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"},"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"}}}}
```

## Update Monitor Configuration

> Update the configuration of a monitor.

```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/monitors/configuration":{"put":{"tags":["Data Quality"],"summary":"Update Monitor Configuration","description":"Update the configuration of a monitor.","operationId":"update_monitor_configuration_data_quality_monitors_configuration_put","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorConfigurationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"MonitorConfigurationRequest":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id"},"configuration":{"oneOf":[{"$ref":"#/components/schemas/FreshnessSLAConfiguration"},{"$ref":"#/components/schemas/FreshnessStalenessConfiguration"},{"$ref":"#/components/schemas/VolumeConfiguration"},{"$ref":"#/components/schemas/AggregateConfiguration"},{"$ref":"#/components/schemas/NumericRangeConfiguration"},{"$ref":"#/components/schemas/StringLengthConfiguration"},{"$ref":"#/components/schemas/ConditionConfiguration"},{"$ref":"#/components/schemas/TemporalConfiguration"},{"$ref":"#/components/schemas/PatternConfiguration"},{"$ref":"#/components/schemas/ValueSetConfiguration"},{"$ref":"#/components/schemas/CustomSqlUpdate"}],"title":"Configuration","discriminator":{"propertyName":"type","mapping":{"average":"#/components/schemas/AggregateConfiguration","custom_sql":"#/components/schemas/CustomSqlUpdate","freshness_sla":"#/components/schemas/FreshnessSLAConfiguration","freshness_staleness":"#/components/schemas/FreshnessStalenessConfiguration","is_after":"#/components/schemas/TemporalConfiguration","is_before":"#/components/schemas/TemporalConfiguration","maximum":"#/components/schemas/AggregateConfiguration","minimum":"#/components/schemas/AggregateConfiguration","null":"#/components/schemas/ConditionConfiguration","range":"#/components/schemas/NumericRangeConfiguration","regex_match":"#/components/schemas/PatternConfiguration","regex_not_match":"#/components/schemas/PatternConfiguration","string_length":"#/components/schemas/StringLengthConfiguration","sum":"#/components/schemas/AggregateConfiguration","unique":"#/components/schemas/ConditionConfiguration","value_in":"#/components/schemas/ValueSetConfiguration","value_not_in":"#/components/schemas/ValueSetConfiguration","volume":"#/components/schemas/VolumeConfiguration","zero":"#/components/schemas/ConditionConfiguration"}}}},"type":"object","required":["monitor_id","configuration"],"title":"MonitorConfigurationRequest"},"FreshnessSLAConfiguration":{"properties":{"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"}}}},"type":"object","required":["type","schedule","threshold","detection_method"],"title":"FreshnessSLAConfiguration"},"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"},"FreshnessStalenessConfiguration":{"properties":{"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"}}}},"type":"object","required":["type","schedule","threshold","detection_method"],"title":"FreshnessStalenessConfiguration"},"ManualSchedule":{"properties":{"frequency":{"type":"string","const":"manual","title":"Frequency"}},"type":"object","required":["frequency"],"title":"ManualSchedule"},"VolumeConfiguration":{"properties":{"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-Input"}],"title":"Detection Method","discriminator":{"propertyName":"type","mapping":{"column":"#/components/schemas/VolumeColumnDetection","full_table_count":"#/components/schemas/VolumeCountDetection-Input","metadata":"#/components/schemas/VolumeCountDetection-Input"}}}},"type":"object","required":["type","schedule","detection_method"],"title":"VolumeConfiguration"},"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-Input":{"properties":{"type":{"type":"string","enum":["metadata","full_table_count"],"title":"Type"},"threshold":{"oneOf":[{"$ref":"#/components/schemas/CountDeltaThreshold"},{"$ref":"#/components/schemas/PercentageDeltaThreshold-Input"}],"title":"Threshold","discriminator":{"propertyName":"type","mapping":{"count_delta":"#/components/schemas/CountDeltaThreshold","percentage_delta":"#/components/schemas/PercentageDeltaThreshold-Input"}}}},"type":"object","required":["type","threshold"],"title":"VolumeCountDetection"},"PercentageDeltaThreshold-Input":{"properties":{"type":{"type":"string","const":"percentage_delta","title":"Type"},"min":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","max"],"title":"PercentageDeltaThreshold"},"AggregateConfiguration":{"properties":{"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-Input"}},"type":"object","required":["schedule","scan_method","type","threshold"],"title":"AggregateConfiguration"},"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-Input":{"properties":{"type":{"type":"string","const":"numeric_range","title":"Type"},"min":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number","maximum":1.7976931348623157e+308,"minimum":-1.7976931348623157e+308},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max"}},"type":"object","required":["type","min","max"],"title":"NumericRangeThreshold"},"NumericRangeConfiguration":{"properties":{"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-Input"},"tolerance":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AbsoluteTolerance"},{"$ref":"#/components/schemas/PercentageTolerance-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","threshold","tolerance"],"title":"NumericRangeConfiguration"},"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-Input":{"properties":{"type":{"type":"string","const":"percentage","title":"Type"},"value":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Value"}},"type":"object","required":["type","value"],"title":"PercentageTolerance"},"StringLengthConfiguration":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","threshold","tolerance"],"title":"StringLengthConfiguration"},"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"},"ConditionConfiguration":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","tolerance"],"title":"ConditionConfiguration"},"TemporalConfiguration":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","point_in_time","tolerance"],"title":"TemporalConfiguration"},"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"},"PatternConfiguration":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","pattern","tolerance"],"title":"PatternConfiguration"},"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"},"ValueSetConfiguration":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"}},"type":"object","required":["schedule","scan_method","type","values","tolerance"],"title":"ValueSetConfiguration"},"CustomSqlUpdate":{"properties":{"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-Input"}],"discriminator":{"propertyName":"type","mapping":{"absolute":"#/components/schemas/AbsoluteTolerance","percentage":"#/components/schemas/PercentageTolerance-Input"}}},{"type":"null"}],"title":"Tolerance"},"attribution_assets":{"items":{"oneOf":[{"$ref":"#/components/schemas/DatasetIdentifier"},{"$ref":"#/components/schemas/PropertyIdentifier"}],"discriminator":{"propertyName":"type","mapping":{"dataset":"#/components/schemas/DatasetIdentifier","property":"#/components/schemas/PropertyIdentifier"}}},"type":"array","maxItems":10,"title":"Attribution Assets"}},"type":"object","required":["type","schedule","sql_query","search_space_query","tolerance","attribution_assets"],"title":"CustomSqlUpdate"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}}}}
```

Both endpoints replace what they update, so send the complete object each time:

* **Properties** — send `name`, `description`, `dq_dimension`, and `custom_attributes`. Send `"description": null` to clear the description and `"custom_attributes": []` to remove all attributes.
* **Configuration** — send the full `configuration` for the monitor's type. `configuration.type` must match the monitor's current type. The primary asset isn't part of the update. For Custom SQL monitors, `attribution_assets` is required — send `[]` to attribute the monitor to its source.

Most configuration changes are [destructive](https://docs.decube.io/data-quality-v2/monitors/building-blocks.md#destructive-changes-and-monitor-versions): Decube archives the current version and makes the new one active. Changing only `threshold`, `tolerance`, or a Volume monitor's `detection_method.threshold` updates the current version in place. Changing the pattern of a Regex monitor or the values of a Value Set monitor is destructive.

{% hint style="warning" %}
A new version starts with an empty run history and no cases. Runs and cases from earlier versions stay available when you pass their `configuration_id`.
{% endhint %}

## Enable or disable a monitor

Disabling a monitor stops its scheduled runs without changing its configuration, so you can resume it later exactly as it was. Enabling it again recalculates its next scheduled run.

## Update Monitor

> Enable or disable a monitor.

```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/monitors":{"patch":{"tags":["Data Quality"],"summary":"Update Monitor","description":"Enable or disable a monitor.","operationId":"update_monitor_data_quality_monitors_patch","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"MonitorUpdateRequest":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id","description":"Unique identifier of the monitor"},"action":{"oneOf":[{"$ref":"#/components/schemas/EnableMonitor"},{"$ref":"#/components/schemas/DisableMonitor"}],"title":"Action","description":"Action to apply, `enable` or `disable` a monitor","discriminator":{"propertyName":"type","mapping":{"disable":"#/components/schemas/DisableMonitor","enable":"#/components/schemas/EnableMonitor"}}}},"type":"object","required":["monitor_id","action"],"title":"MonitorUpdateRequest"},"EnableMonitor":{"properties":{"type":{"type":"string","const":"enable","title":"Type"}},"type":"object","required":["type"],"title":"EnableMonitor"},"DisableMonitor":{"properties":{"type":{"type":"string","const":"disable","title":"Type"}},"type":"object","required":["type"],"title":"DisableMonitor"},"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"}}}}
```

## Delete a monitor

{% hint style="danger" %}
Deleting removes the monitor from Decube and its data. To pause a monitor during maintenance or while you investigate noisy results, [disable it](#enable-or-disable-a-monitor) instead.
{% endhint %}

## Delete Monitor

> Delete a monitor.

```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/monitors":{"delete":{"tags":["Data Quality"],"summary":"Delete Monitor","description":"Delete a monitor.","operationId":"delete_monitor_data_quality_monitors_delete","parameters":[{"name":"monitor_id","in":"query","required":true,"schema":{"type":"integer","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"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"}}}}
```

## Frequently Asked Questions

#### Can I change a monitor's type or asset?

No. The monitor type and primary asset are fixed when you create the monitor. To check a different asset or use a different type, create a new monitor and delete or disable the old one.

#### Why did my update create a new version?

The change was destructive — it changed what the monitor checks, so Decube keeps the old results separate. Only `threshold`, `tolerance`, and a Volume monitor's `detection_method.threshold` update the current version in place.

To see every version, call [Get a monitor](#get-a-monitor) and read `versions`.

#### Why does search return monitors in a different order than the Monitors tab?

The API sorts by monitor `id` so that pagination stays stable. The Monitors tab sorts by the time of the latest run.

#### Which monitor types can I create through the API?

Every type in [Choose a monitor type and asset](#choose-a-monitor-type-and-asset). These are the same types you can create in the Data Quality V2 module.
