{"openapi":"3.1.0","info":{"title":"Release Shelf API","summary":"Your releases, submissions and pitches, for your own scripts and apps (Pro).","description":"Guide and examples: https://releaseshelf.com/developers","version":"1.0"},"servers":[{"url":"https://app.releaseshelf.com"}],"paths":{"/api/v1/workspace":{"get":{"tags":["v1"],"summary":"The key's workspace","operationId":"workspace_api_v1_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}}}}},"/api/v1/releases":{"get":{"tags":["v1"],"summary":"List releases","operationId":"list_releases_api_v1_releases_get","parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"description":"next_after from the last page","title":"After"},"description":"next_after from the last page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ReleaseStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1"],"summary":"Add a release","operationId":"add_release_api_v1_releases_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/releases/{release_id}":{"get":{"tags":["v1"],"summary":"One release","operationId":"get_release_api_v1_releases__release_id__get","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Change a release","operationId":"change_release_api_v1_releases__release_id__patch","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/releases/{release_id}/plan/{key}":{"patch":{"tags":["v1"],"summary":"Tick a plan step done, or not","operationId":"tick_step_api_v1_releases__release_id__plan__key__patch","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepDone"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/submissions":{"get":{"tags":["v1"],"summary":"List label submissions","operationId":"list_submissions_api_v1_submissions_get","parameters":[{"name":"release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"title":"Release Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SubmissionStatus"},{"type":"null"}],"title":"Status"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"description":"next_after from the last page","title":"After"},"description":"next_after from the last page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1"],"summary":"Add a submission","operationId":"add_submission_api_v1_submissions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/submissions/{sub_id}":{"get":{"tags":["v1"],"summary":"One submission","operationId":"get_submission_api_v1_submissions__sub_id__get","parameters":[{"name":"sub_id","in":"path","required":true,"schema":{"type":"string","title":"Sub Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Change a submission","operationId":"change_submission_api_v1_submissions__sub_id__patch","parameters":[{"name":"sub_id","in":"path","required":true,"schema":{"type":"string","title":"Sub Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/labels":{"get":{"tags":["v1"],"summary":"Your labels","operationId":"list_labels_api_v1_labels_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Labels"}}}}}}},"/api/v1/outlets":{"get":{"tags":["v1"],"summary":"Playlists and curators","operationId":"list_outlets_api_v1_outlets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Outlets"}}}}}}},"/api/v1/pitches":{"get":{"tags":["v1"],"summary":"Playlist pitches","operationId":"list_pitches_api_v1_pitches_get","parameters":[{"name":"release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"title":"Release Id"}},{"name":"outlet_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"title":"Outlet Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$"},{"type":"null"}],"description":"next_after from the last page","title":"After"},"description":"next_after from the last page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PitchPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Credit":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"role":{"type":"string","enum":["performer","producer","co_producer","recording","mixing","mastering","composer","lyricist"],"title":"Role"},"detail":{"type":"string","maxLength":80,"title":"Detail","default":""}},"additionalProperties":false,"type":"object","required":["name","role"],"title":"Credit"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HistoryEntry":{"properties":{"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"kind":{"type":"string","title":"Kind"},"text":{"type":"string","title":"Text"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["kind","text"],"title":"HistoryEntry"},"Idea":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$","title":"Id"},"text":{"type":"string","maxLength":300,"minLength":1,"title":"Text"},"done":{"type":"boolean","title":"Done","default":false},"at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"At"}},"additionalProperties":false,"type":"object","required":["id","text"],"title":"Idea"},"Label":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"splitscout_url":{"type":"string","title":"Splitscout Url"},"how_to_send":{"type":"string","title":"How To Send"},"notes":{"type":"string","title":"Notes"},"favorite":{"type":"boolean","title":"Favorite"},"source":{"type":"string","title":"Source"},"history":{"items":{"$ref":"#/components/schemas/HistoryEntry"},"type":"array","title":"History","default":[]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","splitscout_url","how_to_send","notes","favorite","source"],"title":"Label"},"Labels":{"properties":{"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array","title":"Labels"}},"type":"object","required":["labels"],"title":"Labels"},"LatestBounce":{"properties":{"label":{"type":"string","title":"Label"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["label"],"title":"LatestBounce"},"Outlet":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"country":{"type":"string","title":"Country"},"url":{"type":"string","title":"Url"},"vibe":{"type":"string","title":"Vibe"},"submission_services":{"items":{"type":"string"},"type":"array","title":"Submission Services"},"preferred_submission":{"type":"string","title":"Preferred Submission"},"submission_link":{"type":"string","title":"Submission Link"},"source":{"type":"string","title":"Source"},"submithub_history":{"anyOf":[{"$ref":"#/components/schemas/SubmitHubHistory"},{"type":"null"}]},"taste":{"anyOf":[{"$ref":"#/components/schemas/Taste"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","type","country","url","vibe","submission_services","preferred_submission","submission_link","source"],"title":"Outlet"},"Outlets":{"properties":{"outlets":{"items":{"$ref":"#/components/schemas/Outlet"},"type":"array","title":"Outlets"}},"type":"object","required":["outlets"],"title":"Outlets"},"Pitch":{"properties":{"id":{"type":"string","title":"Id"},"release_id":{"type":"string","title":"Release Id"},"release_name":{"type":"string","title":"Release Name"},"outlet_id":{"type":"string","title":"Outlet Id"},"outlet_name":{"type":"string","title":"Outlet Name"},"outlet_type":{"type":"string","title":"Outlet Type"},"campaign_url":{"type":"string","title":"Campaign Url"},"sent_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent Date"},"reply_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply Date"},"result":{"type":"string","title":"Result"},"shared":{"type":"boolean","title":"Shared"},"saved":{"type":"boolean","title":"Saved"},"reported":{"type":"boolean","title":"Reported"},"listen_time_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Listen Time S"},"playlist_links":{"items":{"type":"string"},"type":"array","title":"Playlist Links"},"feedback":{"type":"string","title":"Feedback"},"placement":{"type":"string","title":"Placement"},"credits_spent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Credits Spent"},"source":{"type":"string","title":"Source"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","release_id","release_name","outlet_id","outlet_name","outlet_type","campaign_url","sent_date","reply_date","result","shared","saved","reported","listen_time_s","playlist_links","feedback","placement","credits_spent","source"],"title":"Pitch"},"PitchPage":{"properties":{"pitches":{"items":{"$ref":"#/components/schemas/Pitch"},"type":"array","title":"Pitches"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"}},"type":"object","required":["pitches","next_after"],"title":"PitchPage"},"PlanStep":{"properties":{"key":{"type":"string","title":"Key"},"title":{"type":"string","title":"Title"},"detail":{"type":"string","title":"Detail"},"due":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due"},"offset_days":{"type":"integer","title":"Offset Days"},"done":{"type":"boolean","title":"Done"},"custom":{"type":"boolean","title":"Custom"},"kind":{"type":"string","title":"Kind","default":"other"}},"type":"object","required":["key","title","detail","due","offset_days","done","custom"],"title":"PlanStep"},"Release":{"properties":{"id":{"type":"string","title":"Id"},"latest_bounce":{"anyOf":[{"$ref":"#/components/schemas/LatestBounce"},{"type":"null"}]},"bounce_count":{"type":"integer","title":"Bounce Count","default":0},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"release_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Date"},"released_on_label_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Released On Label Id"},"released_on_name":{"type":"string","title":"Released On Name"},"self_released":{"type":"boolean","title":"Self Released","default":false},"plan_variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Variant"},"plan_follows":{"type":"string","title":"Plan Follows","default":"self"},"plan_on":{"type":"boolean","title":"Plan On","default":true},"potential_label_ids":{"items":{"type":"string"},"type":"array","title":"Potential Label Ids"},"potential_label_names":{"items":{"type":"string"},"type":"array","title":"Potential Label Names"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"shelved":{"type":"boolean","title":"Shelved","default":false},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","default":[]},"moods":{"items":{"type":"string"},"type":"array","title":"Moods","default":[]},"instruments":{"items":{"type":"string"},"type":"array","title":"Instruments","default":[]},"credits":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Credits","default":[]},"collaborators":{"items":{"type":"string"},"type":"array","title":"Collaborators","default":[]},"kind":{"type":"string","title":"Kind","default":"single"},"upc":{"type":"string","title":"Upc","default":""},"tracks":{"items":{"$ref":"#/components/schemas/Track"},"type":"array","title":"Tracks","default":[]},"collab_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collab Id"},"label_artists":{"items":{"type":"string"},"type":"array","title":"Label Artists","default":[]},"label_release":{"type":"boolean","title":"Label Release","default":false},"plan_source":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Plan Source"},"drive":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Drive"},"apple_music":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Apple Music"},"history":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"History","default":[]},"notes":{"type":"string","title":"Notes"},"song":{"additionalProperties":true,"type":"object","title":"Song","default":{}},"sample":{"type":"boolean","title":"Sample","default":false},"media":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Media","default":{}},"waiting_on":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Waiting On","default":[]},"plan":{"items":{"$ref":"#/components/schemas/PlanStep"},"type":"array","title":"Plan","default":[]},"plan_done":{"type":"integer","title":"Plan Done","default":0},"plan_total":{"type":"integer","title":"Plan Total","default":0},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","status","release_date","released_on_label_id","released_on_name","potential_label_ids","potential_label_names","tags","collab_id","notes"],"title":"Release"},"ReleaseCreate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ReleaseStatus"},{"type":"null"}]},"release_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Release Date"},"released_on_label_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},{"type":"null"}],"title":"Released On Label Id"},"released_on_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Released On Name"},"self_released":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Self Released"},"plan_variant":{"anyOf":[{"type":"string","enum":["self","label"]},{"type":"null"}],"title":"Plan Variant"},"potential_label_ids":{"anyOf":[{"items":{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},"type":"array","maxItems":50},{"type":"null"}],"title":"Potential Label Ids"},"tags":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Tags"},"shelved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Shelved"},"plan_on":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plan On"},"genres":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Genres"},"moods":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Moods"},"instruments":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":30},{"type":"null"}],"title":"Instruments"},"credits":{"anyOf":[{"items":{"$ref":"#/components/schemas/Credit"},"type":"array","maxItems":50},{"type":"null"}],"title":"Credits"},"collaborators":{"anyOf":[{"items":{"type":"string","maxLength":80,"minLength":1},"type":"array","maxItems":10},{"type":"null"}],"title":"Collaborators"},"kind":{"anyOf":[{"type":"string","enum":["single","ep","album"]},{"type":"null"}],"title":"Kind"},"upc":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Upc"},"tracks":{"anyOf":[{"items":{"$ref":"#/components/schemas/TrackIn"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tracks"},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Notes"},"song":{"anyOf":[{"$ref":"#/components/schemas/Song"},{"type":"null"}]},"label_release":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Label Release"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"ReleaseCreate"},"ReleasePage":{"properties":{"releases":{"items":{"$ref":"#/components/schemas/Release"},"type":"array","title":"Releases"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"}},"type":"object","required":["releases","next_after"],"title":"ReleasePage"},"ReleasePatch":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ReleaseStatus"},{"type":"null"}]},"release_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Release Date"},"released_on_label_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},{"type":"null"}],"title":"Released On Label Id"},"released_on_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Released On Name"},"self_released":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Self Released"},"plan_variant":{"anyOf":[{"type":"string","enum":["self","label"]},{"type":"null"}],"title":"Plan Variant"},"potential_label_ids":{"anyOf":[{"items":{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},"type":"array","maxItems":50},{"type":"null"}],"title":"Potential Label Ids"},"tags":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Tags"},"shelved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Shelved"},"plan_on":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plan On"},"genres":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Genres"},"moods":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Moods"},"instruments":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":30},{"type":"null"}],"title":"Instruments"},"credits":{"anyOf":[{"items":{"$ref":"#/components/schemas/Credit"},"type":"array","maxItems":50},{"type":"null"}],"title":"Credits"},"collaborators":{"anyOf":[{"items":{"type":"string","maxLength":80,"minLength":1},"type":"array","maxItems":10},{"type":"null"}],"title":"Collaborators"},"kind":{"anyOf":[{"type":"string","enum":["single","ep","album"]},{"type":"null"}],"title":"Kind"},"upc":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Upc"},"tracks":{"anyOf":[{"items":{"$ref":"#/components/schemas/TrackIn"},"type":"array","maxItems":50},{"type":"null"}],"title":"Tracks"},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Notes"},"song":{"anyOf":[{"$ref":"#/components/schemas/Song"},{"type":"null"}]},"label_release":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Label Release"},"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","title":"ReleasePatch"},"ReleaseStatus":{"type":"string","enum":["Idea","In Production","Not Submitted","On Hold","Waiting on Labels","Releasing","Released"],"title":"ReleaseStatus"},"Song":{"properties":{"bpm":{"anyOf":[{"type":"number","maximum":400.0,"minimum":20.0},{"type":"null"}],"title":"Bpm"},"key":{"type":"string","maxLength":8,"title":"Key","default":""},"mode":{"type":"string","enum":["","major","minor"],"title":"Mode","default":""},"time_sig":{"type":"string","pattern":"^(\\d{1,2}/\\d{1,2})?$","title":"Time Sig","default":""},"length":{"type":"string","pattern":"^(\\d{1,2}:[0-5]\\d)?$","title":"Length","default":""},"chords":{"type":"string","maxLength":5000,"title":"Chords","default":""},"lyrics":{"type":"string","maxLength":20000,"title":"Lyrics","default":""},"notes":{"type":"string","maxLength":10000,"title":"Notes","default":""},"ideas":{"items":{"$ref":"#/components/schemas/Idea"},"type":"array","maxItems":100,"title":"Ideas","default":[]}},"additionalProperties":false,"type":"object","title":"Song","description":"The song while it's being written. Sent whole each time it changes."},"StepDone":{"properties":{"done":{"type":"boolean","title":"Done"}},"additionalProperties":false,"type":"object","required":["done"],"title":"StepDone"},"Submission":{"properties":{"id":{"type":"string","title":"Id"},"release_id":{"type":"string","title":"Release Id"},"release_name":{"type":"string","title":"Release Name"},"label_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label Id"},"label_name":{"type":"string","title":"Label Name"},"sent_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent Date"},"method":{"type":"string","title":"Method"},"status":{"type":"string","title":"Status"},"reply_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply Date"},"notes":{"type":"string","title":"Notes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","release_id","release_name","label_id","label_name","sent_date","method","status","reply_date","notes"],"title":"Submission"},"SubmissionCreate":{"properties":{"label_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},{"type":"null"}],"title":"Label Id"},"label_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label Name"},"sent_date":{"type":"string","format":"date","title":"Sent Date"},"method":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Method"},"status":{"anyOf":[{"$ref":"#/components/schemas/SubmissionStatus"},{"type":"null"}]},"reply_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reply Date"},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Notes"},"release_id":{"type":"string","pattern":"^[A-Za-z0-9]{1,64}$","title":"Release Id"}},"additionalProperties":false,"type":"object","required":["sent_date","release_id"],"title":"SubmissionCreate"},"SubmissionPage":{"properties":{"submissions":{"items":{"$ref":"#/components/schemas/Submission"},"type":"array","title":"Submissions"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"}},"type":"object","required":["submissions","next_after"],"title":"SubmissionPage"},"SubmissionPatch":{"properties":{"label_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9-]{1,80}$"},{"type":"null"}],"title":"Label Id"},"label_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label Name"},"sent_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sent Date"},"method":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Method"},"status":{"anyOf":[{"$ref":"#/components/schemas/SubmissionStatus"},{"type":"null"}]},"reply_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reply Date"},"notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Notes"}},"additionalProperties":false,"type":"object","title":"SubmissionPatch"},"SubmissionStatus":{"type":"string","enum":["Waiting","Accepted","Passed","No reply","Withdrawn"],"title":"SubmissionStatus"},"SubmitHubHistory":{"properties":{"pitches":{"type":"integer","title":"Pitches"},"counted":{"type":"integer","title":"Counted"},"approved":{"type":"integer","title":"Approved"},"shared":{"type":"integer","title":"Shared"},"listens":{"type":"integer","title":"Listens"},"listen_sum_s":{"type":"integer","title":"Listen Sum S"},"playlists":{"items":{"type":"string"},"type":"array","title":"Playlists","default":[]},"first_sent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Sent"},"last_sent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sent"},"feedback":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Feedback","default":[]},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["pitches","counted","approved","shared","listens","listen_sum_s"],"title":"SubmitHubHistory","description":"How this curator answered every pitch in your last SubmitHub import, whoever's song."},"Taste":{"properties":{"likes":{"items":{"type":"string"},"type":"array","title":"Likes","default":[]},"dislikes":{"items":{"type":"string"},"type":"array","title":"Dislikes","default":[]},"summary":{"type":"string","title":"Summary","default":""},"source":{"type":"string","title":"Source","default":"you"},"notes_read":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notes Read"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"Taste"},"Track":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"isrc":{"type":"string","title":"Isrc"}},"type":"object","required":["id","title","isrc"],"title":"Track"},"TrackIn":{"properties":{"id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,40}$"},{"type":"null"}],"title":"Id"},"title":{"type":"string","maxLength":400,"title":"Title","default":""},"isrc":{"type":"string","maxLength":20,"title":"Isrc","default":""}},"additionalProperties":false,"type":"object","title":"TrackIn"},"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"},"Workspace":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"plan":{"type":"string","title":"Plan"},"role":{"type":"string","title":"Role"},"access":{"type":"string","title":"Access"}},"type":"object","required":["id","name","kind","plan","role","access"],"title":"Workspace"}},"securitySchemes":{"key":{"type":"http","scheme":"bearer","description":"Your API key, rs_…"}}},"security":[{"key":[]}]}