{"openapi":"3.1.0","info":{"title":"logic-sound-recipes","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","description":"Public, for Render's health check and deploy.sh: the commit, and whether the\ndatabase answers. Never an error's text -- that can carry hosts and credentials.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/recordings/resolve":{"post":{"summary":"Resolve Recording","operationId":"resolve_recording_recordings_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolve"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recordings/correct":{"post":{"summary":"Correct Recording","description":"\"Wrong video?\": one of the lookup's own candidates becomes the recording's copy,\nfor every lookup after this one (D87).","operationId":"correct_recording_recordings_correct_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Correct"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tags":{"get":{"summary":"Tags","description":"The questions and answers cookbook.TAGS knows -- the only tags the compile reads,\nso the client never offers one it would ignore.","operationId":"tags_tags_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"title":"Response Tags Tags Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks":{"post":{"summary":"New Unpack","operationId":"new_unpack_unpacks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUnpack"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpackView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Recent","operationId":"recent_unpacks_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RecentItem"},"title":"Response Recent Unpacks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}":{"get":{"summary":"Get Unpack","description":"The user's own unpack, or anyone's finished rack (Explore) -- read-only: every\nroute that changes an unpack still finds only the user's own. Without a user, only a\nfree song's finished rack (D108).","operationId":"get_unpack_unpacks__unpack_id__get","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpackView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/explore":{"get":{"summary":"Explore","operationId":"explore_explore_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SongItem"},"title":"Response Explore Explore Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/home":{"get":{"summary":"Home","operationId":"home_home_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Home"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library":{"get":{"summary":"Library","operationId":"library_library_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SongItem"},"title":"Response Library Library Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/songs/{youtube_id}":{"get":{"summary":"Song","operationId":"song_songs__youtube_id__get","parameters":[{"name":"youtube_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{11}$","title":"Youtube Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SongView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rigs":{"get":{"summary":"Rigs","operationId":"rigs_rigs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Rig"},"title":"Response Rigs Rigs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"New Rig","operationId":"new_rig_rigs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RigNew"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rig"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rigs/{rig_id}":{"patch":{"summary":"Change Rig","operationId":"change_rig_rigs__rig_id__patch","parameters":[{"name":"rig_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rig Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RigChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rig"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}/part":{"post":{"summary":"Pick Part","operationId":"pick_part_unpacks__unpack_id__part_post","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartPick"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpackView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}/compile":{"post":{"summary":"Compile ","operationId":"compile__unpacks__unpack_id__compile_post","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Compile"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpackView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}/verdict":{"post":{"summary":"Verdict","operationId":"verdict_unpacks__unpack_id__verdict_post","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verdict"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpackView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}/patch.zip":{"get":{"summary":"Patch Zip","description":"The rack as a zipped Logic patch to drag onto the track list (D99): anyone's\nfinished rack, as it reads; without a user, only a free song's (D108).","operationId":"patch_zip_unpacks__unpack_id__patch_zip_get","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application/zip":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unpacks/{unpack_id}/sheet.html":{"get":{"summary":"Sheet Html","operationId":"sheet_html_unpacks__unpack_id__sheet_html_get","parameters":[{"name":"unpack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Unpack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-dev-user","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Dev-User"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Collection":{"properties":{"name":{"type":"string","title":"Name"},"songs":{"items":{"$ref":"#/components/schemas/SongItem"},"type":"array","title":"Songs"}},"type":"object","required":["name","songs"],"title":"Collection","description":"A genre shelf on the home page."},"Compile":{"properties":{"tags":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Tags"},"words":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Words"}},"additionalProperties":false,"type":"object","title":"Compile"},"Control":{"properties":{"control":{"type":"string","title":"Control"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}],"title":"Value"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"hear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hear"},"carries_trait":{"type":"boolean","title":"Carries Trait","default":false}},"additionalProperties":true,"type":"object","required":["control"],"title":"Control"},"Correct":{"properties":{"title":{"type":"string","maxLength":300,"title":"Title"},"artist":{"type":"string","maxLength":300,"title":"Artist"},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms","default":0},"youtube_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{11}$","title":"Youtube Id"}},"additionalProperties":false,"type":"object","required":["title","artist","youtube_id"],"title":"Correct"},"Described":{"properties":{"words":{"type":"string","maxLength":300,"minLength":3,"title":"Words"},"at_s":{"type":"number","minimum":0.0,"title":"At S"}},"additionalProperties":false,"type":"object","required":["words","at_s"],"title":"Described","description":"A sound the map missed (D25): what it is, in the user's words, and where it plays."},"FeedItem":{"properties":{"seq":{"type":"integer","title":"Seq"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"attempt":{"type":"integer","title":"Attempt"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"kind":{"type":"string","enum":["stage","search","source","session","thought","result","line","retry","error"],"title":"Kind"},"status":{"anyOf":[{"type":"string","enum":["started","done"]},{"type":"null"}],"title":"Status"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"what":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"What"},"n":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"N"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","required":["seq","attempt","kind"],"title":"FeedItem","description":"One line of the live feed (feed.visible)."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","required":["detail"],"properties":{"detail":{"type":"string","title":"Detail"}}},"Home":{"properties":{"free":{"items":{"$ref":"#/components/schemas/SongItem"},"type":"array","title":"Free"},"picks":{"items":{"$ref":"#/components/schemas/SongItem"},"type":"array","title":"Picks"},"collections":{"items":{"$ref":"#/components/schemas/Collection"},"type":"array","title":"Collections"}},"type":"object","required":["free","picks","collections"],"title":"Home","description":"Explore's home page: the free songs (D108), the picks, then the shelves."},"JobView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","enum":["map","part"],"title":"Kind"},"status":{"type":"string","enum":["queued","running","retrying","succeeded","declined","failed"],"title":"Status"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"attempt":{"type":"integer","title":"Attempt"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["id","kind","status","attempt"],"title":"JobView"},"Move":{"properties":{"n":{"type":"integer","title":"N"},"act":{"type":"integer","title":"Act"},"act_title":{"type":"string","title":"Act Title"},"plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin"},"kind":{"anyOf":[{"type":"string","enum":["load","set","play","insert","listen","decide"]},{"type":"string"}],"title":"Kind"},"title":{"type":"string","title":"Title"},"hear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hear"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"preset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset"},"controls":{"items":{"$ref":"#/components/schemas/Control"},"type":"array","title":"Controls","default":[]},"items":{"items":{"type":"string"},"type":"array","title":"Items","default":[]}},"additionalProperties":true,"type":"object","required":["n","act","act_title","kind","title"],"title":"Move","description":"One step of the sheet (ENGINE E9): load a patch, set controls, play, insert a\nplug-in, listen with it in and bypassed, or decide between conflicts."},"NewUnpack":{"properties":{"url":{"type":"string","maxLength":500,"title":"Url"},"title":{"type":"string","maxLength":300,"title":"Title","default":""},"artist":{"type":"string","maxLength":300,"title":"Artist","default":""},"artwork":{"type":"string","maxLength":500,"pattern":"^(https://[^\\s\\\"'<>]+)?$","title":"Artwork","default":""},"fresh":{"type":"boolean","title":"Fresh","default":false},"redraw":{"items":{"type":"string","maxLength":40},"type":"array","maxItems":20,"title":"Redraw"},"seed":{"type":"boolean","title":"Seed","default":false}},"additionalProperties":false,"type":"object","required":["url"],"title":"NewUnpack"},"Part":{"properties":{"plain_label":{"type":"string","title":"Plain Label"},"descriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Descriptor"},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span"},"type":"array"},{"type":"null"}],"title":"Spans"},"technical_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"first_entry_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"First Entry S"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"buildable":{"type":"boolean","title":"Buildable","default":true}},"additionalProperties":true,"type":"object","required":["plain_label"],"title":"Part","description":"A sound the map heard. The user picks one by `plain_label` (D25)."},"PartPick":{"properties":{"pick":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Pick"},"described":{"anyOf":[{"$ref":"#/components/schemas/Described"},{"type":"null"}]},"tags":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Tags"},"words":{"type":"string","maxLength":1000,"title":"Words","default":""},"redraw":{"items":{"type":"string","maxLength":40},"type":"array","maxItems":20,"title":"Redraw"}},"additionalProperties":false,"type":"object","title":"PartPick","description":"One of the map's parts by its label, or a sound the user describes -- exactly one."},"PatternRow":{"properties":{"control":{"type":"string","title":"Control"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Value"},"where":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Where"},"hear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hear"}},"additionalProperties":true,"type":"object","required":["control"],"title":"PatternRow"},"RecentItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"step":{"type":"string","enum":["working","part","shaping","ready","finished","abandoned","failed","declined"],"title":"Step"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"artist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artist"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"pick":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pick"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","step","created_at","updated_at"],"title":"RecentItem"},"Resolve":{"properties":{"title":{"type":"string","maxLength":300,"title":"Title"},"artist":{"type":"string","maxLength":300,"title":"Artist"},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms","default":0}},"additionalProperties":false,"type":"object","required":["title","artist"],"title":"Resolve"},"Resolved":{"properties":{"found":{"anyOf":[{"$ref":"#/components/schemas/Video"},{"type":"null"}]},"candidates":{"items":{"$ref":"#/components/schemas/Video"},"type":"array","title":"Candidates","default":[]}},"type":"object","title":"Resolved","description":"A recording's YouTube lookup: the copy the API picked (none only when no video\ncarries the song's title), and the search's embeddable videos, most likely first,\nfor a run stepped through by hand (D87)."},"Rig":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"daw":{"type":"string","title":"Daw"},"plugins":{"items":{"type":"string"},"type":"array","title":"Plugins"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","daw","plugins","is_default","created_at","updated_at"],"title":"Rig","description":"What a user has in front of them. Logic's own instruments and effects are always in;\n`plugins` are the third-party ones they own, which the engine does not write for yet."},"RigChange":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"},"daw":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Daw"},"plugins":{"anyOf":[{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","maxItems":200},{"type":"null"}],"title":"Plugins"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"additionalProperties":false,"type":"object","title":"RigChange","description":"Any of a rig's fields; one left out stays as it is."},"RigNew":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"daw":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Daw"},"plugins":{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","maxItems":200,"title":"Plugins"},"is_default":{"type":"boolean","title":"Is Default","default":false}},"additionalProperties":false,"type":"object","required":["name"],"title":"RigNew"},"Sheet":{"properties":{"sound":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sound"},"defining_trait":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defining Trait"},"win":{"anyOf":[{"$ref":"#/components/schemas/Win"},{"type":"null"}]},"moves":{"items":{"$ref":"#/components/schemas/Move"},"type":"array","title":"Moves","default":[]},"pattern":{"items":{"$ref":"#/components/schemas/PatternRow"},"type":"array","title":"Pattern","default":[]},"n_settings":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Settings"},"n_acts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Acts"},"first_listen":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First Listen"},"silent_settings":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Silent Settings"},"unresolved":{"items":{},"type":"array","title":"Unresolved","default":[]}},"additionalProperties":true,"type":"object","title":"Sheet"},"SongItem":{"properties":{"youtube_id":{"type":"string","title":"Youtube Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"artist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artist"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"racks":{"type":"integer","title":"Racks","default":0},"people":{"type":"integer","title":"People","default":0},"sounds":{"type":"integer","title":"Sounds","default":0},"free":{"type":"boolean","title":"Free","default":false},"latest_step":{"anyOf":[{"type":"string","enum":["working","part","shaping","ready","finished","abandoned","failed","declined"]},{"type":"null"}],"title":"Latest Step"},"latest_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Latest Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["youtube_id","updated_at"],"title":"SongItem","description":"A song in a list. Explore fills racks/people/sounds; the Library fills racks and\nthe user's latest unpack of it."},"SongPart":{"properties":{"plain_label":{"type":"string","title":"Plain Label"},"descriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Descriptor"},"spans":{"anyOf":[{"items":{"$ref":"#/components/schemas/Span"},"type":"array"},{"type":"null"}],"title":"Spans"},"technical_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"first_entry_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"First Entry S"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"buildable":{"type":"boolean","title":"Buildable","default":true},"racks":{"type":"integer","title":"Racks","default":0},"latest":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Latest"},"mine":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Mine"}},"additionalProperties":true,"type":"object","required":["plain_label"],"title":"SongPart","description":"One of a song's fixed parts, with the racks built of it."},"SongView":{"properties":{"youtube_id":{"type":"string","title":"Youtube Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"artist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artist"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"url":{"type":"string","title":"Url"},"free":{"type":"boolean","title":"Free","default":false},"parts":{"items":{"$ref":"#/components/schemas/SongPart"},"type":"array","title":"Parts"}},"type":"object","required":["youtube_id","url","parts"],"title":"SongView"},"Span":{"properties":{"start_s":{"type":"number","title":"Start S"},"end_s":{"type":"number","title":"End S"}},"additionalProperties":true,"type":"object","required":["start_s","end_s"],"title":"Span"},"StripReady":{"properties":{"kind":{"type":"string","const":"ready","title":"Kind"},"name":{"type":"string","title":"Name"},"file":{"type":"string","title":"File"}},"type":"object","required":["kind","name","file"],"title":"StripReady","description":"The whole rack as a Logic patch (D99): its name and download file name."},"StripUnavailable":{"properties":{"kind":{"type":"string","const":"unavailable","title":"Kind"},"reason":{"type":"string","enum":["no_instrument","too_long","plugin","start","incomplete","error"],"title":"Reason"},"plugins":{"items":{"type":"string"},"type":"array","title":"Plugins","default":[]}},"type":"object","required":["kind","reason"],"title":"StripUnavailable","description":"A rack with a sheet that will not get a strip, and why (cst.Unwritable's reasons, or\n`error` for a writer that failed): the client says so rather than showing nothing."},"UnpackView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"step":{"type":"string","enum":["working","part","shaping","ready","finished","abandoned","failed","declined"],"title":"Step"},"url":{"type":"string","title":"Url"},"youtube_id":{"type":"string","title":"Youtube Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"artist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artist"},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artwork"},"pick":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pick"},"tags":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Tags"},"words":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Words"},"decline_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decline Reason"},"verdict":{"anyOf":[{"type":"string","enum":["nailed","not_quite"]},{"type":"null"}],"title":"Verdict"},"free":{"type":"boolean","title":"Free","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"parts":{"anyOf":[{"items":{"$ref":"#/components/schemas/Part"},"type":"array"},{"type":"null"}],"title":"Parts"},"sheet":{"anyOf":[{"$ref":"#/components/schemas/Sheet"},{"type":"null"}]},"strip":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/StripReady"},{"$ref":"#/components/schemas/StripUnavailable"}],"discriminator":{"propertyName":"kind","mapping":{"ready":"#/components/schemas/StripReady","unavailable":"#/components/schemas/StripUnavailable"}}},{"type":"null"}],"title":"Strip"},"job":{"anyOf":[{"$ref":"#/components/schemas/JobView"},{"type":"null"}]},"feed":{"items":{"$ref":"#/components/schemas/FeedItem"},"type":"array","title":"Feed","default":[]},"mine":{"type":"boolean","title":"Mine","default":true}},"type":"object","required":["id","step","url","youtube_id","created_at","updated_at"],"title":"UnpackView"},"Verdict":{"properties":{"verdict":{"type":"string","pattern":"^(nailed|not_quite)$","title":"Verdict"},"reasons":{"items":{"type":"string","maxLength":200},"type":"array","maxItems":20,"title":"Reasons"}},"additionalProperties":false,"type":"object","required":["verdict"],"title":"Verdict"},"Video":{"properties":{"youtube_id":{"type":"string","title":"Youtube Id"},"url":{"type":"string","title":"Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration S"}},"type":"object","required":["youtube_id","url"],"title":"Video","description":"One YouTube video: the chosen copy, or a candidate to pick from."},"Win":{"properties":{"listen_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listen For"},"tell_by":{"items":{"type":"string"},"type":"array","title":"Tell By","default":[]},"caveat":{"items":{"type":"string"},"type":"array","title":"Caveat","default":[]}},"additionalProperties":true,"type":"object","title":"Win"}}}}