{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/users":{"get":{"summary":"Get Users","operationId":"get_users_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"FronteggHTTPAuthentication":[]}]},"post":{"summary":"Add User","operationId":"add_user_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/versions":{"post":{"summary":"Create Version","operationId":"create_version_versions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/version/{guid}/clone":{"post":{"summary":"Clone Verions","operationId":"clone_verions_version__guid__clone_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/version/{guid}":{"get":{"summary":"Get Version","operationId":"get_version_version__guid__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/version":{"put":{"summary":"Update Version","operationId":"update_version_version_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/versions/hide":{"put":{"summary":"Hide","operationId":"hide_versions_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/versions/pin-version":{"put":{"summary":"Pin","operationId":"pin_versions_pin_version_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/versions/archive-version":{"put":{"summary":"Archive","operationId":"archive_versions_archive_version_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/version/{guid}/solve":{"post":{"summary":"Solve","operationId":"solve_version__guid__solve_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/version/{guid}/export":{"get":{"summary":"Export","operationId":"export_version__guid__export_get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/versions/optimization_callback/{guid}":{"post":{"summary":"Callback","operationId":"callback_versions_optimization_callback__guid__post","parameters":[{"name":"guid","in":"path","required":true,"schema":{"title":"Guid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/version/{guid}/order":{"get":{"summary":"Get Order","operationId":"get_order_version__guid__order_get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/migrate-daypart":{"get":{"summary":"Migrate Daypart","operationId":"migrate_daypart_migrate_daypart_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/campaigns":{"post":{"summary":"Get Campaigns","operationId":"get_campaigns_campaigns_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/CampaignFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_CampaignSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/campaign":{"put":{"summary":"Update Campaign","operationId":"update_campaign_campaign_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]},"post":{"summary":"Create Campaigns","operationId":"create_campaigns_campaign_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/campaign/{guid}/versions":{"post":{"summary":"Get Campaign Version","operationId":"get_campaign_version_campaign__guid__versions_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VersionFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_VersionSchema_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/campaign/{guid}":{"get":{"summary":"Get Campaign","operationId":"get_campaign_campaign__guid__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/campaigns/hide":{"put":{"summary":"Hide","operationId":"hide_campaigns_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/constraints/{type}/{guid}":{"delete":{"summary":"Delete Constraint","operationId":"delete_constraint_constraints__type___guid__delete","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"type","in":"path","required":true,"schema":{"title":"Type"}},{"name":"guid","in":"path","required":true,"schema":{"title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/constraints/{type}":{"post":{"summary":"Create Constraint","operationId":"create_constraint_constraints__type__post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"type","in":"path","required":true,"schema":{"title":"Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CampaignConstraintSchema"},{"$ref":"#/components/schemas/NetworkConstraintSchema"},{"$ref":"#/components/schemas/SellingTitleConstraintSchema"},{"$ref":"#/components/schemas/PricingConstraintSchema"},{"$ref":"#/components/schemas/DaypartConstraintSchema"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/constraints/{type}/version/{guid}":{"get":{"summary":"Get Constraints","operationId":"get_constraints_constraints__type__version__guid__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"type","in":"path","required":true,"schema":{"title":"Type"}},{"name":"guid","in":"path","required":true,"schema":{"title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/resources/{type}":{"get":{"summary":"Get Resources","operationId":"get_resources_resources__type__get","parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","title":"Type"}},{"name":"ratecard_type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ratecard Type"}},{"name":"channel_ids[]","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Channel Ids[]"}},{"name":"broadcast_quarters[]","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Broadcast Quarters[]"}},{"name":"year","in":"query","required":false,"schema":{"type":"string","default":"","title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/schedule/{guid}/reads":{"post":{"summary":"Schedule Reads","operationId":"schedule_reads_schedule_scorer_schedule__guid__reads_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ReadFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Read_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/schedule":{"post":{"summary":"Create Schedule","operationId":"create_schedule_schedule_scorer_schedule_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/schedule/{guid}":{"get":{"summary":"Get Schedule","operationId":"get_schedule_schedule_scorer_schedule__guid__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Schedule","operationId":"update_schedule_schedule_scorer_schedule__guid__put","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/read/{guid}":{"get":{"summary":"Get Read","operationId":"get_read_schedule_scorer_read__guid__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Read","operationId":"update_read_schedule_scorer_read__guid__put","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Read"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/read":{"post":{"summary":"Create Read","operationId":"create_read_schedule_scorer_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Read"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/read/{guid}/solve":{"post":{"summary":"Solve Read","operationId":"solve_read_schedule_scorer_read__guid__solve_post","parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/read/{guid}/export":{"get":{"summary":"Export Read","operationId":"export_read_schedule_scorer_read__guid__export_get","parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/read/{guid}/pinarchive":{"put":{"summary":"Pinarchive Read","operationId":"pinarchive_read_schedule_scorer_read__guid__pinarchive_put","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"guid","in":"path","required":true,"schema":{"type":"string","title":"Guid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/schedules/hide":{"put":{"summary":"Hide","operationId":"hide_schedule_scorer_schedules_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/schedules":{"post":{"summary":"Schedules","operationId":"schedules_schedule_scorer_schedules_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ScheduleFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Schedule_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/resources/{type}":{"get":{"summary":"Deals Resources","operationId":"deals_resources_schedule_scorer_resources__type__get","parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","title":"Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/deals":{"post":{"summary":"Deals","operationId":"deals_schedule_scorer_deals_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Size"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/DealFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/upload-deals":{"post":{"summary":"Upload Deals","operationId":"upload_deals_schedule_scorer_upload_deals_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_deals_schedule_scorer_upload_deals_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/migrate-reads-estimates":{"get":{"summary":"Migrate Daypart","operationId":"migrate_daypart_migrate_reads_estimates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/schedule_scorer/reads/hide":{"put":{"summary":"Hide Read","operationId":"hide_read_schedule_scorer_reads_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/read/{id}/clone":{"post":{"summary":"Clone Verions","operationId":"clone_verions_schedule_scorer_read__id__clone_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications":{"get":{"summary":"Get Notifications","operationId":"get_notifications_notifications_get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Notification_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Notifications","operationId":"update_notifications_notifications_put","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Notification_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/archive":{"put":{"summary":"Archive All Notifications","operationId":"archive_all_notifications_notifications_archive_put","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Notification_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/rankers":{"post":{"summary":"Rankers","operationId":"rankers_schedule_scorer_rankers_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RankerFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Ranker_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker":{"put":{"summary":"Update Ranker","operationId":"update_ranker_schedule_scorer_ranker_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ranker"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]},"post":{"summary":"Create Ranker","operationId":"create_ranker_schedule_scorer_ranker_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ranker"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/ranker/{id}/ranker_reads":{"post":{"summary":"Ranker Reads","operationId":"ranker_reads_schedule_scorer_ranker__id__ranker_reads_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","title":"Search"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RankerReadFilters"}],"title":"Filters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_RankerRead_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker_read":{"put":{"summary":"Update Ranker Read","operationId":"update_ranker_read_schedule_scorer_ranker_read_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankerRead"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]},"post":{"summary":"Create Ranker Read","operationId":"create_ranker_read_schedule_scorer_ranker_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankerRead"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/ranker/{id}":{"get":{"summary":"Ranker","operationId":"ranker_schedule_scorer_ranker__id__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker_read/{id}":{"get":{"summary":"Ranker Read","operationId":"ranker_read_schedule_scorer_ranker_read__id__get","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker_read/{id}/solve":{"post":{"summary":"Solve Read","operationId":"solve_read_schedule_scorer_ranker_read__id__solve_post","parameters":[{"name":"id","in":"path","required":true,"schema":{"title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker_read/{id}/export":{"get":{"summary":"Export Read","operationId":"export_read_schedule_scorer_ranker_read__id__export_get","parameters":[{"name":"id","in":"path","required":true,"schema":{"title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/schedule_scorer/ranker_read/pinarchive":{"put":{"summary":"Pinarchive Read","operationId":"pinarchive_read_schedule_scorer_ranker_read_pinarchive_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/ranker/hide":{"put":{"summary":"Hide Ranker","operationId":"hide_ranker_schedule_scorer_ranker_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/ranker_read/hide":{"put":{"summary":"Hide Ranker Read","operationId":"hide_ranker_read_schedule_scorer_ranker_read_hide_put","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"FronteggHTTPAuthentication":[]}]}},"/schedule_scorer/ranker_read/{id}/clone":{"post":{"summary":"Clone Read","operationId":"clone_read_schedule_scorer_ranker_read__id__clone_post","security":[{"FronteggHTTPAuthentication":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_upload_deals_schedule_scorer_upload_deals_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"metadata":{"$ref":"#/components/schemas/DealMetadata"}},"type":"object","required":["file","metadata"],"title":"Body_upload_deals_schedule_scorer_upload_deals_post"},"CampaignConstraintSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"constraints":{"anyOf":[{},{"type":"null"}],"title":"Constraints"}},"type":"object","title":"CampaignConstraintSchema"},"CampaignFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"},"sort_by":{"anyOf":[{"$ref":"#/components/schemas/Sort"},{"type":"null"}]}},"type":"object","title":"CampaignFilters"},"CampaignSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version":{"type":"string","title":"Version"},"campaign_name":{"type":"string","title":"Campaign Name"},"campaign_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Guid"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"created_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Timestamp"},"campaign_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Campaign Status"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden","default":false}},"type":"object","required":["campaign_name"],"title":"CampaignSchema"},"DaypartConstraintSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"constraints":{"anyOf":[{},{"type":"null"}],"title":"Constraints"}},"type":"object","title":"DaypartConstraintSchema"},"DealFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"}},"type":"object","title":"DealFilters"},"DealMetadata":{"properties":{"advertiser":{"type":"string","title":"Advertiser"},"agency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"ratecard":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratecard"}},"type":"object","required":["advertiser"],"title":"DealMetadata"},"Filter":{"properties":{"name":{"type":"string","title":"Name"},"values":{"items":{},"type":"array","title":"Values"}},"type":"object","required":["name","values"],"title":"Filter"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"NetworkConstraintSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"constraints":{"anyOf":[{},{"type":"null"}],"title":"Constraints"}},"type":"object","title":"NetworkConstraintSchema"},"Notification":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"message":{"type":"string","title":"Message"},"severity":{"type":"string","title":"Severity"},"type":{"type":"string","title":"Type"},"archived":{"type":"boolean","title":"Archived"},"send_at":{"anyOf":[{},{"type":"null"}],"title":"Send At"},"user_id":{"type":"string","title":"User Id"},"record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Id"}},"type":"object","required":["message","severity","type","archived","user_id"],"title":"Notification"},"Page_CampaignSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CampaignSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[CampaignSchema]"},"Page_Notification_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Notification"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[Notification]"},"Page_RankerRead_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RankerRead"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[RankerRead]"},"Page_Ranker_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Ranker"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[Ranker]"},"Page_Read_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Read"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[Read]"},"Page_Schedule_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Schedule"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[Schedule]"},"Page_VersionSchema_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VersionSchema"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"},"size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Size"},"pages":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pages"}},"type":"object","required":["items","total","page","size"],"title":"Page[VersionSchema]"},"PricingConstraintSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"constraints":{"anyOf":[{},{"type":"null"}],"title":"Constraints"}},"type":"object","title":"PricingConstraintSchema"},"Ranker":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"created_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Timestamp"},"last_updated_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Updated Timestamp"},"last_updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated By"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden"}},"type":"object","required":["name"],"title":"Ranker"},"RankerFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"}},"type":"object","title":"RankerFilters"},"RankerRead":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"name":{"type":"string","title":"Name"},"agency":{"type":"string","title":"Agency"},"advertiser":{"type":"string","title":"Advertiser"},"brand":{"type":"string","title":"Brand"},"ratecard":{"type":"string","title":"Ratecard"},"version_number":{"anyOf":[{},{"type":"null"}],"title":"Version Number"},"ranker_id":{"type":"integer","title":"Ranker Id"},"demo":{"anyOf":[{},{"type":"null"}],"title":"Demo"},"audience":{"anyOf":[{},{"type":"null"}],"title":"Audience"},"demo_adjustment":{"anyOf":[{},{"type":"null"}],"title":"Demo Adjustment"},"audience_adjustment":{"anyOf":[{},{"type":"null"}],"title":"Audience Adjustment"},"viewership_source":{"anyOf":[{},{"type":"null"}],"title":"Viewership Source"},"quarter":{"anyOf":[{},{"type":"null"}],"title":"Quarter"},"viewing_period":{"anyOf":[{},{"type":"null"}],"title":"Viewing Period"},"estimate":{"anyOf":[{},{"type":"null"}],"title":"Estimate"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned","default":false},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived","default":false},"status":{"anyOf":[{},{"type":"null"}],"title":"Status"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"created_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Timestamp"},"last_updated_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Updated Timestamp"},"last_updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated By"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden"},"network_weeks":{"anyOf":[{},{"type":"null"}],"title":"Network Weeks"},"ratecard_date":{"anyOf":[{},{"type":"null"}],"title":"Ratecard Date"}},"type":"object","required":["name","agency","advertiser","brand","ratecard","ranker_id"],"title":"RankerRead"},"RankerReadFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"}},"type":"object","title":"RankerReadFilters"},"Read":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"schedule_id":{"type":"integer","title":"Schedule Id"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Number","default":0},"name":{"type":"string","title":"Name"},"viewership_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viewership Source"},"advertiser":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advertiser"},"agency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"demo":{"anyOf":[{},{"type":"null"}],"title":"Demo"},"target_audience":{"anyOf":[{},{"type":"null"}],"title":"Target Audience"},"deals":{"anyOf":[{},{"type":"null"}],"title":"Deals"},"viewing_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viewing Period"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived"},"created_timestamp":{"anyOf":[{},{"type":"null"}],"title":"Created Timestamp"},"last_updated_timestamp":{"anyOf":[{},{"type":"null"}],"title":"Last Updated Timestamp"},"last_updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated By"},"finished_at":{"anyOf":[{},{"type":"null"}],"title":"Finished At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"demo_adjustment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Demo Adjustment"},"audience_adjustment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Adjustment"},"ratecard_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratecard Type"},"ratecard_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratecard Date"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden"}},"type":"object","required":["schedule_id","name"],"title":"Read"},"ReadFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"},"sort_by":{"anyOf":[{"$ref":"#/components/schemas/Sort"},{"type":"null"}]}},"type":"object","title":"ReadFilters"},"Schedule":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"name":{"type":"string","title":"Name"},"created_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Timestamp"},"last_updated_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Updated Timestamp"},"last_updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated By"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden","default":false}},"type":"object","required":["name"],"title":"Schedule"},"ScheduleFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"},"sort_by":{"anyOf":[{"$ref":"#/components/schemas/Sort"},{"type":"null"}]}},"type":"object","title":"ScheduleFilters"},"SellingTitleConstraintSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"constraints":{"anyOf":[{},{"type":"null"}],"title":"Constraints"}},"type":"object","title":"SellingTitleConstraintSchema"},"SolutionStatusSchema":{"properties":{"version_guid":{"type":"string","title":"Version Guid"},"status":{"type":"string","title":"Status"},"solution_data":{"anyOf":[{},{"type":"null"}],"title":"Solution Data"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["version_guid","status"],"title":"SolutionStatusSchema"},"Sort":{"properties":{"column":{"type":"string","title":"Column"},"order":{"type":"string","title":"Order"}},"type":"object","title":"Sort"},"UserSchema":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"email":{"type":"string","title":"Email"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"roles":{"anyOf":[{},{"type":"null"}],"title":"Roles"}},"type":"object","required":["email"],"title":"UserSchema"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VersionFilters":{"properties":{"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Filter"},"type":"array"},{"type":"null"}],"title":"Filters"},"sort_by":{"anyOf":[{"$ref":"#/components/schemas/Sort"},{"type":"null"}]}},"type":"object","title":"VersionFilters"},"VersionSchema":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"version_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Guid","default":""},"version_name":{"type":"string","title":"Version Name"},"version_budget":{"type":"number","title":"Version Budget"},"broadcast_quarters":{"anyOf":[{},{"type":"null"}],"title":"Broadcast Quarters"},"demo":{"anyOf":[{},{"type":"null"}],"title":"Demo"},"daypart":{"title":"Daypart"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Number"},"unit_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Size"},"viewing_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viewing Period"},"separation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Separation"},"target_audience":{"anyOf":[{},{"type":"null"}],"title":"Target Audience"},"viewership_source":{"type":"string","title":"Viewership Source","min_lenght":2},"network_weeks":{"anyOf":[{},{"type":"null"}],"title":"Network Weeks"},"primary_optimization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Optimization"},"secondary_optimization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Optimization"},"is_optimized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Optimized"},"last_updated_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Updated Timestamp"},"last_updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated By"},"campaign_guid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Guid"},"advertiser":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advertiser"},"agency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"version_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Status"},"version_optimizer_user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Optimizer User"},"version_optimizer_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Optimizer Date"},"ratecard_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratecard Type"},"isEditable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Iseditable","default":true},"allowable_start_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowable Start Time"},"allowable_end_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowable End Time"},"demo_adjustment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Demo Adjustment"},"audience_adjustment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Adjustment"},"ratecard_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ratecard Date"},"canExportScx":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canexportscx","default":false},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned","default":false},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived","default":false},"campaign_constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/CampaignConstraintSchema"},"type":"array"},{"type":"null"}],"title":"Campaign Constraints"},"daypart_constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/DaypartConstraintSchema"},"type":"array"},{"type":"null"}],"title":"Daypart Constraints"},"network_constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/NetworkConstraintSchema"},"type":"array"},{"type":"null"}],"title":"Network Constraints"},"pricing_constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/PricingConstraintSchema"},"type":"array"},{"type":"null"}],"title":"Pricing Constraints"},"selling_title_constraints":{"anyOf":[{"items":{"$ref":"#/components/schemas/SellingTitleConstraintSchema"},"type":"array"},{"type":"null"}],"title":"Selling Title Constraints"},"status":{"anyOf":[{"$ref":"#/components/schemas/SolutionStatusSchema"},{"type":"null"}]},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSchema"},{"type":"null"}]},"deleted_constraints":{"anyOf":[{},{"type":"null"}],"title":"Deleted Constraints"},"is_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hidden","default":false}},"type":"object","required":["version_name","version_budget","daypart","viewership_source"],"title":"VersionSchema"}},"securitySchemes":{"FronteggHTTPAuthentication":{"type":"http","scheme":"bearer"}}}}