{"catalog_version":"1.8","card_version":"1.7","verbs_hash":"sha256:1d793917e1731a68","step_specs_hash":"sha256:8b715bc5552aef7f","verbs":[{"name":"get_entity_intelligence","of":"entity","summary":"one item with everything the capsule knows about it","description":"Return one item and everything the capsule has learned about it: each analysis attribute with where it came from and when it was established. Only items your access reaches.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity to read."}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"entity_type":{"type":"string"},"source_uri":{"type":["string","null"]},"content_hash":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}}},"attributes":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"description":"typed attribute payload"},"provenance":{"type":"object"},"valid_from":{"type":"string","format":"date-time"}}}}},"required":["entity","attributes"]},"mcp_tool":true,"discovery":true},{"name":"search_entities","of":"capsule","summary":"the items closest in meaning to your query","description":"Search by meaning: the top `limit` items closest to your query, nearest first. Only items your access reaches; pass `capsule_id` to confine the ranking to ONE capsule - the confinement is applied before the limit, so the result is that capsule's own top-k. This is a SHORTLIST, never every match: read `scope.candidate_limit` and `scope.exhaustive` (always false here) before saying anything was searched exhaustively.","args_schema":{"type":"object","properties":{"query":{"type":"string","description":"natural-language search text"},"limit":{"type":"integer","default":10,"description":"max results"},"capsule_id":{"type":"string","default":"","description":"confine the ranking to this capsule (empty = every capsule you can reach)"}},"required":["query"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"query":{"type":"string"},"model":{"type":"string","description":"the model that ranked the hits"},"hits":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"distance":{"type":"number","description":"how far in meaning; lower is closer"}}}},"scope":{"type":"object","description":"what was searched: capsule, candidate ceiling, exhaustive","properties":{"capsule_id":{"type":["string","null"],"format":"uuid"},"persona_id":{"type":["string","null"],"format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"candidate_limit":{"type":"integer"},"exhaustive":{"type":"boolean"},"method":{"type":"string"}}}},"required":["query","model","hits","scope"]},"mcp_tool":true,"discovery":true},{"name":"browse_capsule","of":"capsule","summary":"one page of the whole collection, in a stated order, with its total","description":"Walk every item in a capsule, page by page: the same list, in the same order and under the same filters, that the capsule's owner browses. Returns one page of items in a stated, stable order (every sort ends on id, so paging never skips or repeats a row), the `total` under exactly the filters given, and `next_cursor` (null = you have reached the end). Unlike search_entities this is exhaustive by construction: call once, then pass each page's `next_cursor` back as `cursor` until it is null and you have seen every item - even while rows are being added or removed. `offset` remains for random access and is exact only while the collection holds still. `sort` is one of relevance | ingested_new | ingested_old | dated_new | dated_old | name_asc | name_desc | size_desc | size_asc, or `metric:<key>[:asc]` for any gauge the capsule records. Each filter takes the values listed on its argument; an unknown value is an error, never a silent ignore.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to walk."},"sort":{"type":"string","default":"relevance","description":"order key (see description); relevance = ingest order"},"limit":{"type":"integer","default":100,"description":"page size (clamped to the platform ceiling, 1000)"},"offset":{"type":"integer","default":0,"description":"rows to skip (random access; ignored when cursor is given)"},"cursor":{"type":"string","default":"","description":"the previous page's next_cursor; the exact walk"},"media":{"type":"string","default":"","description":"audio | video | image | document | other (empty = all)"},"channel":{"type":"string","default":"","description":"acquisition channel, e.g. feed, upload, http_fetch"},"source":{"type":"string","default":"","description":"one concrete source (a feed URL, a profile id)"},"analysis_state":{"type":"string","default":"","description":"complete | partial | unanalyzed"},"storage":{"type":"string","default":"","description":"hosted | linked | edge | released | catalog | byteless"},"content":{"type":"string","default":"","description":"captured | metadata_only | unanalyzed"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"items":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"title":{"type":["string","null"]},"media_category":{"type":["string","null"]},"analysis_state":{"type":["string","null"]},"content_state":{"type":["string","null"]},"content_type":{"type":["string","null"]},"size_bytes":{"type":["integer","null"]},"event_time":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"metric_value":{"type":["number","null"]}}}},"total":{"type":"integer","description":"rows in the collection under exactly these filters"},"limit":{"type":"integer"},"offset":{"type":"integer"},"next_offset":{"type":["integer","null"],"description":"position of the next page; null = the walk is complete"},"next_cursor":{"type":["string","null"],"description":"pass back as `cursor` for the next page; null = complete"},"order":{"type":"object","description":"the order applied: sort key, column, direction, id tiebreak","properties":{"sort":{"type":"string"},"by":{"type":"string"},"direction":{"type":"string"},"tiebreak":{"type":"string"},"label":{"type":"string"}}},"filters":{"type":"object","description":"the filters that were applied (echoed)"}},"required":["capsule_id","persona_id","items","total","limit","offset","next_offset","next_cursor","order"]},"mcp_tool":true,"discovery":true},{"name":"get_related","of":"entity","summary":"the items, capsules and collections related to one item","description":"What one item is connected to: the related items, capsules and collections, each with the kind of relationship, how confident it is, its direction, and whether a person stated it or the platform worked it out. Only what your access reaches.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity whose neighbors to list."}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"neighbors":{"type":"array","items":{"type":"object","description":"edge + node projection"}}},"required":["entity_id","neighbors"]},"mcp_tool":true,"discovery":true},{"name":"get_kin","of":"entity","summary":"media kinship: copies, twins, excerpts, parents, siblings + role","description":"Media kinship for one item — how it relates to the other media files in the capsule: every copy_of / rendition_of / version_of / excerpt_of / derived_from / sibling_of edge with the class it means (copy | twin | excerpt | parent | sibling), the variant (remux, re_encode, captions_burned_in, ad_variant, review_draft, short_form, iso_track, angle), the recovered time offset, alignment gaps, and the signals that decided it; the entity's generation role (elder | parent | step-parent | step-child | child | orphan) computed live from the edges; and the pending kinship reviews that name it. Only what your access reaches.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity whose kin to read."}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"role":{"type":"object","properties":{"role":{"type":"string"},"basis":{"type":"array","items":{"type":"string"}},"released":{"type":"boolean"},"candidate":{"type":"boolean"}}},"kin":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"relation":{"type":"string"},"link_type":{"type":"string"},"direction":{"type":"string"},"variant":{"type":["string","null"]},"confidence":{"type":"number"},"offset_s":{"type":["number","null"]},"gaps":{"type":"array"},"signals":{"type":"array"}}}},"pending_reviews":{"type":"array","items":{"type":"object"}},"has_features":{"type":"boolean"},"indexed":{"type":"boolean"}},"required":["entity_id","role","kin","pending_reviews"]},"mcp_tool":true,"discovery":true},{"name":"list_collection","of":"collection","summary":"the items in a collection","description":"List the items in a collection (an event, project, client, import, …). Only what your access reaches.","args_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","description":"The collection to list."}},"required":["collection_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid"},"members":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"confidence":{"type":["number","null"]}}}}},"required":["collection_id","members"]},"mcp_tool":true,"discovery":true},{"name":"get_collection_intelligence","of":"collection","summary":"the items in a collection together with their analysis","description":"One call returns a collection's items together with their analysis (default: each item's summary) — the one-call grounding read for a curated set. Use this to ground a workflow llm step or an agent answer on a curated collection instead of calling get_entity_intelligence per item. Long values are clipped and marked 'shown N of M characters'; read_item_text returns one item's whole text. Errors when the collection is missing or empty (a scope never silently widens). Discover ids via list_collections.","args_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","description":"The collection to read."},"attribute_keys":{"type":"array","items":{"type":"string"},"default":["summary"],"description":"which analysis attributes to include per member (max 8)"},"limit":{"type":"integer","default":50,"minimum":1,"maximum":200,"description":"max members returned (member_count reports the true size)"}},"required":["collection_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid"},"member_count":{"type":"integer"},"returned":{"type":"integer"},"attribute_keys":{"type":"array","items":{"type":"string"}},"members":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"title":{"type":["string","null"]},"attributes":{"type":"array"}}}}}},"mcp_tool":true,"discovery":true},{"name":"get_timeline","of":"capsule","summary":"the capsule's items in time order","description":"The capsule's timeline: its items in time order (by when each happened, else when it arrived). Only what your access reaches.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose timeline to read."},"limit":{"type":"integer","default":100,"description":"max items"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"items":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"when":{"type":"string","format":"date-time"},"event_time_known":{"type":"boolean"}}}}},"required":["capsule_id","persona_id","items"]},"mcp_tool":true,"discovery":true},{"name":"get_metric","of":"entity","summary":"a metric's current value and its full history","description":"The current value and the full history of one metric (views, revenue, …) recorded on an item. The current value is the latest reading, never a sum.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity the metric is observed on."},"metric_key":{"type":"string","description":"metric name, e.g. views / revenue"}},"required":["entity_id","metric_key"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"metric_key":{"type":"string"},"current":{"type":["string","null"],"description":"latest observed value (decimal as string)"},"points":{"type":"array","items":{"type":"object","properties":{"observed_at":{"type":"string","format":"date-time"},"value":{"type":"string"}}}}},"required":["entity_id","metric_key","current","points"]},"mcp_tool":true,"discovery":true},{"name":"finance_rollup","of":"capsule","summary":"the total of every line item in the capsule, added up by code","description":"The financial total across every line item extracted in a capsule (the shoebox answer). Added up by code, never estimated by a model.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to add up."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"currency":{"type":"string"},"total":{"type":"string","description":"decimal as string"},"counted":{"type":"integer"},"skipped":{"type":"integer"},"by_category":{"type":"object","additionalProperties":{"type":"string"}},"line_count":{"type":"integer"}},"required":["currency","total","counted","skipped","by_category","line_count"]},"mcp_tool":true,"discovery":true},{"name":"describe_capsule","of":"capsule","summary":"the Capsule Card (this self-description)","description":"The Capsule Card — a catalog, not the contents. Read it to learn how to use a capsule: identity + scope (entity-type counts, modalities), coverage (time range), the attribute-key catalog (what keys exist), a trust summary (human-verified vs inferred vs asserted), canonical referents, and the available query verbs. For the compiled essence of what the capsule contains, call get_capsule_voice — do not walk every entity. Only what your access reaches.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to describe."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","description":"The Capsule Card (versioned artifact — see card_version).","properties":{"card_version":{"type":"string"},"verbs_hash":{"type":"string"},"capsule":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"tenant_id":{"type":"string","format":"uuid","description":"the account that holds the capsule"},"display_name":{"type":"string"}}},"scope":{"type":"object"},"coverage":{"type":"object"},"attribute_catalog":{"type":"array"},"trust":{"type":"object"},"distinct_referents":{"type":"integer"},"referents":{"type":"array","items":{"type":"string"}},"query_verbs":{"type":"array"},"voice":{"type":["string","null"]},"voice_generation":{"type":["integer","null"]},"essence":{"type":["object","null"]},"ai_rule":{"type":"string","enum":["platform_models","own_key_only","sovereign"],"description":"Which AI may read this capsule's material: the platform's models, outside models only through the owner's own key, or none outside the platform."}},"required":["card_version","verbs_hash","capsule","query_verbs"]},"mcp_tool":true,"discovery":true},{"name":"get_capsule_learned","of":"capsule","summary":"observations, relations and canonical items, in one read","description":"What the capsule has learned so far, in one read: measured values over time (each measure with its count and range, then the newest readings), the relations analysis drew between items (counts by kind, then the newest), and the canonical items several items were found to be. Counts are exact; the lists are capped at `limit`. Only what your access reaches.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to read."},"limit":{"type":"integer","minimum":1,"maximum":200,"description":"How many of each list to return (default 50)."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"learned_through":{"type":["string","null"]},"limit":{"type":"integer"},"observations":{"type":"object"},"relations":{"type":"object"},"canonical":{"type":"object"}},"required":["capsule_id","persona_id","observations","relations","canonical"]},"mcp_tool":true,"discovery":false},{"name":"check_quality","of":"grant","summary":"one pass-or-fail check of a brief, tied to that brief","description":"Check a brief (a prompt, a shot description, a script page) before anything is spent on it. Returns verdict pass or fail, one sentence per rule that failed, and the sha256 of the brief it saw. By default it fails a brief that still carries an unfilled placeholder, a bracketed gap, a note left for later or filler text; add min_chars, max_chars, must_include and must_not_include. Free: no model is asked. An image or video step given this verdict as its `quality` param runs only on a pass for its own prompt.","args_schema":{"type":"object","properties":{"brief":{"type":"string","description":"The exact text to check."},"criteria":{"type":"object","properties":{"min_chars":{"type":"integer","minimum":0},"max_chars":{"type":"integer","minimum":0},"must_include":{"type":"array","items":{"type":"string"}},"must_not_include":{"type":"array","items":{"type":"string"}},"allow_placeholders":{"type":"boolean"}},"additionalProperties":false}},"required":["brief"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"verdict":{"type":"string","enum":["pass","fail"]},"failures":{"type":"array"},"brief_sha256":{"type":"string"},"checked_chars":{"type":"integer"},"criteria":{"type":"object"}},"required":["verdict","failures","brief_sha256"]},"mcp_tool":true,"discovery":true},{"name":"get_referents","of":"entity","summary":"the people, places and things an item is about","description":"The people, places and things this item is about, each resolved to the one name the capsule uses for it (no face or voice recognition involved).","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity whose referents to read."}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"referents":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"kind":{"type":"string"},"canonical_id":{"type":["string","null"]}}}}},"required":["entity_id","referents"]},"mcp_tool":true,"discovery":true},{"name":"get_kin_clues","of":"entity","summary":"the context clues suggesting which media files belong with this one","description":"The context clues that nominate related-media candidates for one media item: folder-tree labels, filename-stem grammar, same-name collisions, transcript bridge, device clock offsets, the release chain and container metadata - each returned as a signal with agree/weight/detail against the entity's top candidates. Clues NOMINATE; content signals decide (a stem match is never a verdict). Folder segment labels only - never a filesystem path.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The media entity whose clue candidates to read."},"limit":{"type":"integer","default":20,"minimum":1,"maximum":200,"description":"max candidates (clamped to 200)"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"entity":{"type":"object","description":"labels of the entity itself (segments, roles, stem_norm, platform, device)"},"candidates":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"object"},"score":{"type":"number"},"signals":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"agree":{"type":["boolean","null"]},"weight":{"type":"number"},"detail":{"type":"object"}}}}}}},"count":{"type":"integer"},"scanned":{"type":"integer"},"weight_cap":{"type":"number"}},"required":["capsule_id","persona_id","entity","candidates","count"]},"mcp_tool":true,"discovery":true},{"name":"get_capsule_voice","of":"capsule","summary":"the capsule voice — essence + style; the required first read","description":"THE contents transfer for this capsule. Returns the owner-curated voice (how it speaks: diction, tone, cadence, hard 'never does' rules) plus a compiled essence (what it contains): thesis, themes, coverage counts, cited items, and a generation number. HONOR the voice in anything you generate on the capsule's behalf. Treat the essence as what you have read — do not invent facts outside it, and do not walk every entity. Retrieve a cited item only when you need that source. If a fact is not in the essence and not in a later targeted read, say you do not have it. Also lists the capsule's named voice profiles (id + name) when several exist. Empty voice means style is not curated yet; empty thesis means no text has been compiled yet.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose voice to read."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"voice":{"type":"string"},"voice_present":{"type":"boolean"},"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}},"generation":{"type":"integer"},"stale":{"type":"boolean"},"essence":{"type":"object"},"read_contract":{"type":"object"}},"required":["capsule_id","persona_id","voice","voice_present","profiles","essence","read_contract"]},"mcp_tool":true,"discovery":true},{"name":"get_capsule_coverage","of":"capsule","summary":"the most mentioned topics and themes, with how many items name each","description":"The topics and themes analysis already stored for this capsule, ranked by how many items mention each name. You choose how many of each to return. Each limit is required, at least 1, and at most 100. A name counts once per item. The lists are shorter when the capsule has fewer names, and a list is empty when analysis has not written that kind of name. Each entry is the name and the number of items. The two totals say how many names exist, so you can see when a list was cut.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to read."},"topic_limit":{"type":"integer","minimum":1,"maximum":100,"description":"How many topics to return. At least 1, at most 100."},"theme_limit":{"type":"integer","minimum":1,"maximum":100,"description":"How many themes to return. At least 1, at most 100."}},"required":["capsule_id","topic_limit","theme_limit"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"topics":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer"}},"required":["name","count"]}},"themes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer"}},"required":["name","count"]}},"topic_total":{"type":"integer"},"theme_total":{"type":"integer"}},"required":["capsule_id","persona_id","topics","themes","topic_total","theme_total"]},"mcp_tool":true,"discovery":true},{"name":"get_grant_status","of":"grant","summary":"your grant terms + quota usage","description":"Your own access grant: the economic terms (unit, price, quota, rolling window) and your current usage — used, remaining, and when the window next frees a unit. Read this to monitor your metered access; the per-response X-CIP-Quota-* headers (REST) and the 429 body carry the same figures on every call. A key reading someone else's capsules also gets `originals`: per capsule, whether you may download the original files (`shared`) or read the analysis only (`withheld`). An item the owner keeps, one whose analysis holds something sensitive, or one made from a file the owner keeps (an edit, a render, a proxy, a copy), stays with the owner either way. Takes no arguments — it reports the calling key's grant.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"metered":{"type":"boolean"},"unit":{"type":["string","null"]},"price_minor_units":{"type":["integer","null"]},"currency":{"type":["string","null"]},"quota":{"type":["integer","null"]},"period_days":{"type":["integer","null"]},"used":{"type":["integer","null"]},"remaining":{"type":["integer","null"]},"window_start":{"type":["string","null"],"format":"date-time"},"resets_at":{"type":["string","null"],"format":"date-time"},"originals":{"type":"object","additionalProperties":{"type":"string","enum":["shared","withheld"]}}},"required":["metered"]},"mcp_tool":true,"discovery":true},{"name":"list_personas","of":"grant","summary":"capsules this key can see","description":"The capsules this calling key can already reach. An account-wide owner key (no grants) lists every working capsule in the account. A grant-confined key lists only its granted capsules. Takes no arguments. Pass a returned id as capsule_id to describe_capsule. The same list the account's REST API gives, for a client that only calls tools.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"count":{"type":"integer"},"capsules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"display_name":{"type":"string"}},"required":["id","display_name"]}},"personas":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"display_name":{"type":"string"}},"required":["id","display_name"]},"description":"The same value as capsules, kept for callers written before it."}},"required":["count","capsules","personas"]},"mcp_tool":true,"discovery":true},{"name":"list_collections","of":"capsule","summary":"the capsule's collections","description":"List the capsule's collections (event/project/client/import/…) with their kind and member counts. Call this to discover the collection_id that list_collection needs — without it, a collection's members are unreachable.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose collections to list."},"kind":{"type":"string","default":"","description":"filter to one collection kind (empty = all)"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"collections":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":["string","null"]},"member_count":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}}}},"count":{"type":"integer"}},"required":["capsule_id","persona_id","collections","count"]},"mcp_tool":true,"discovery":true},{"name":"list_metrics","of":"entity","summary":"the metric keys observed on an entity","description":"The gauge metric keys recorded on an entity (views/revenue/…), each with its latest observed value and observation count. Call this to discover the metric_key that get_metric needs; get_metric then returns the full series.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity whose metric keys to list."}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"metrics":{"type":"array","items":{"type":"object","properties":{"metric_key":{"type":"string"},"current":{"type":["string","null"],"description":"latest observed value (decimal as string)"},"observed_at":{"type":["string","null"],"format":"date-time"},"point_count":{"type":"integer"}}}},"count":{"type":"integer"}},"required":["entity_id","metrics","count"]},"mcp_tool":true,"discovery":true},{"name":"get_compounding","of":"capsule","summary":"the capsule's compounding index","description":"The compounding index: how connected and cross-referenced this capsule has become at its current size — how densely its items link to each other (split by stated vs worked-out), how often the same people, places and things recur, and how much of it has been analysed. This is the evidence that a capsule is appreciating rather than static; read it to judge whether a capsule's intelligence is worth querying. Small-n figures are reported honestly and are not a trend.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to measure."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","description":"The compounding snapshot: one figure per connectedness signal.","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"n_entities":{"type":"integer"},"connectivity":{"type":"object","properties":{"entity_edges_total":{"type":"integer"},"asserted":{"type":"integer"},"inferred":{"type":"integer"},"edges_per_entity":{"type":["number","null"],"description":"the primary signal; rising with n = compounding"}}},"referents":{"type":"object","properties":{"mentions_total":{"type":"integer"},"distinct_referents":{"type":"integer"},"cross_item_referents":{"type":"integer","description":"referents recurring across 2+ items"},"mentions_per_referent":{"type":["number","null"]}}},"note":{"type":"string","description":"the honesty caveat: a snapshot is not a trend"}},"required":["capsule_id","persona_id","n_entities","connectivity","referents"]},"mcp_tool":true,"discovery":true},{"name":"get_semantic_map","of":"capsule","summary":"a 2-D or 3-D map of the capsule's items, placed by meaning","description":"A map of the capsule's items placed by meaning, in ONE space — 'text' or 'visual', never mixed, because axes over two different models mean nothing. Items that mean similar things sit close together, so this returns the SHAPE of the whole collection in a single call instead of requiring a series of search_entities probes to infer it. Bounded by `limit`; items not yet analysed in the chosen space are absent.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to map."},"space":{"type":"string","enum":["text","visual"],"default":"text","description":"which space to map: by text meaning or by visual likeness"},"dims":{"type":"integer","default":2,"minimum":2,"maximum":3,"description":"number of principal axes"},"limit":{"type":"integer","default":500,"minimum":1,"maximum":2000,"description":"max points (oldest first)"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"space":{"type":"string"},"model":{"type":"string","description":"the model whose space was mapped"},"points":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"title":{"type":["string","null"]},"x":{"type":"number"},"y":{"type":"number"},"z":{"type":["number","null"]}}}}},"required":["space","model","points"]},"mcp_tool":true,"discovery":true},{"name":"get_persona_graph","of":"capsule","summary":"the capsule's relationship graph","description":"The capsule's entity-to-entity relationship graph in one call: nodes plus active typed edges, each with confidence and flagged asserted vs inferred. get_related answers this for ONE entity; walking a capsule with it costs a metered call per node. Edges are included only when both ends are in this capsule. Bounded by `limit`.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose graph to read."},"limit":{"type":"integer","default":500,"minimum":1,"maximum":2000,"description":"max nodes (oldest first); edges are confined to them"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"title":{"type":["string","null"]}}}},"edges":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","format":"uuid"},"target":{"type":"string","format":"uuid"},"link_type":{"type":"string"},"confidence":{"type":"number"},"inferred":{"type":"boolean"}}}}},"required":["nodes","edges"]},"mcp_tool":true,"discovery":true},{"name":"get_visual_neighbors","of":"entity","summary":"the items that look most like this one","description":"Image-to-image similarity: the items that look most like this one, nearest first. The item itself is excluded. search_entities covers text; this is its visual counterpart. Errors if the item has not had its visual analysis yet.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity to find visual neighbours of."},"limit":{"type":"integer","default":10,"minimum":1,"maximum":50,"description":"max neighbours"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"model":{"type":"string","description":"the model that ranked the hits"},"hits":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"distance":{"type":"number","description":"how far apart visually; lower is closer"}}}}},"required":["entity_id","model","hits"]},"mcp_tool":true,"discovery":true},{"name":"get_step_vocabulary","of":"workflow","summary":"the workflow-authoring vocabulary (schemas)","description":"Read this FIRST when authoring workflows: the machine-readable workflow vocabulary — the definition envelope schema, every step type with its params_schema (verb/llm/artifact/transform/map/subworkflow/http_request/mcp_tool/...), the callable verbs with their args_schema, and the artifact template content schemas. Compose a definition from these schemas, then save_workflow validates it against the same contract. Same content as the public GET /api/v1/schemas catalog.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"workflow":{"type":"object","description":"definition_schema + step_types[] with params_schema"},"verbs":{"type":"array","description":"callable verbs + args_schema"},"artifact_templates":{"type":"array"},"catalog_hash":{"type":"string"}},"required":["workflow","verbs","catalog_hash"]},"mcp_tool":true,"discovery":false},{"name":"list_workflows","of":"workflow","summary":"your account's workflows and their versions","description":"List the account's workflows (every immutable version, newest first), optionally filtered to one name. Authoring surface: requires the write scope on the calling key.","args_schema":{"type":"object","properties":{"name":{"type":"string","default":"","description":"filter to one workflow name (empty = all)"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"workflows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"version":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}}}},"count":{"type":"integer"}},"required":["workflows","count"]},"mcp_tool":true,"discovery":false},{"name":"get_workflow","of":"workflow","summary":"one workflow version incl. definition","description":"Read one workflow version, including its full step-DAG definition. Authoring surface: requires the write scope on the calling key.","args_schema":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","description":"The workflow version to read."}},"required":["workflow_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"version":{"type":"integer"},"definition":{"type":"object"},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","version","definition"]},"mcp_tool":true,"discovery":false},{"name":"save_workflow","of":"workflow","summary":"create a workflow (or its next version)","description":"Save a workflow definition: creates the workflow, or — if the name already exists in the account — its NEXT immutable version (editing versions, never mutates). The definition is validated against the engine contract first (see get_step_vocabulary); validation failures come back as an error listing every problem. Secrets never belong in a definition — http_request/mcp_tool auth is a credential-vault NAME. Requires the write scope.","args_schema":{"type":"object","properties":{"name":{"type":"string","description":"workflow name (1–128 chars)"},"definition":{"type":"object","description":"the step DAG: {\"steps\": [...]} per definition_schema"},"kind":{"type":"string","default":"general"}},"required":["name","definition"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"version":{"type":"integer"},"definition":{"type":"object"},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","version"]},"mcp_tool":true,"discovery":false},{"name":"run_workflow","of":"workflow","summary":"trigger a run (async; poll the receipt)","description":"Trigger a run of a workflow version. Returns immediately with the run id and its initial receipt (202 semantics — steps execute on the durable queue); poll get_workflow_run for progress and results. Analyze steps count against the account's compute quota — no bypass. Requires the write scope.","args_schema":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","description":"The workflow version to run."}},"required":["workflow_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workflow_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"trigger":{"type":"string"},"receipt":{"type":"object"},"error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"}},"required":["id","workflow_id","status","receipt"]},"mcp_tool":true,"discovery":false},{"name":"get_workflow_run","of":"workflow","summary":"a run's status + per-step receipt","description":"Read a workflow run: overall status (running/completed/partial/failed) and the per-step receipt — each step's status, result, and honest failure reason. This is the authoring loop's test feedback: run, read, fix, save the next version. Requires the write scope.","args_schema":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid","description":"The run to read."}},"required":["run_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workflow_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"trigger":{"type":"string"},"receipt":{"type":"object"},"error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"}},"required":["id","workflow_id","status","receipt"]},"mcp_tool":true,"discovery":false},{"name":"create_collection","of":"collection","summary":"create a curated collection in a capsule","description":"Create a named collection inside a capsule — the curation primitive that get_collection_intelligence and collection-scoped Writer/consult material read from. Requires write authority (a write-scoped key, or one of the account's own workflows or agents); the capsule must be one the calling key can reach.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule the collection belongs to."},"name":{"type":"string","description":"collection name (1-512 chars)"},"kind":{"type":"string","default":"curated","description":"collection kind (default 'curated')"}},"required":["capsule_id","name"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"name":{"type":"string"},"kind":{"type":"string"}},"required":["collection_id","capsule_id","persona_id","name","kind"]},"mcp_tool":true,"discovery":false},{"name":"add_to_collection","of":"collection","summary":"add an entity to a collection","description":"Add one entity to a collection (an active member_of edge; idempotent at the graph layer). Both the entity and the collection must be visible under the caller's scope — an out-of-scope id reads as not found, never as a widened write. Requires write authority.","args_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","description":"The collection to add to."},"entity_id":{"type":"string","format":"uuid","description":"The entity to add."}},"required":["collection_id","entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid"},"link_id":{"type":"string","format":"uuid"},"added":{"type":"boolean"}},"required":["collection_id","entity_id","added"]},"mcp_tool":true,"discovery":false},{"name":"remember","of":"memory","summary":"save a durable memory (account vault or a named capsule)","description":"Write ONE durable memory and embed it for semantic recall. With no `capsule_id` it lands in the account's private Agent Memory vault (a context capsule — never listable, never sellable; the account owner's own keys only). With a `capsule_id` it lands in that capsule, where a granted agent may write only when the owner has opened the capsule's memory verbs. Persists across runs, agents, and sessions. Requires the write scope; optionally attaches the note to an existing item (`entity_id`).","args_schema":{"type":"object","properties":{"content":{"type":"string","description":"the memory text (<=4000 chars)"},"tags":{"type":"array","items":{"type":"string"},"default":[],"description":"short tags for later filtering (<=12)"},"category":{"type":"string","default":"note","description":"e.g. finding | decision | preference | note"},"source":{"type":"string","default":"","description":"where this came from (a URL, a run id, a citation)"},"entity_id":{"type":"string","default":"","description":"attach the memory to this existing item (empty = none)"},"capsule_id":{"type":"string","default":"","description":"the capsule to remember into (empty = the account's private vault)"}},"required":["content"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"memory_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"embedded":{"type":"boolean"},"category":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}},"required":["memory_id","capsule_id","persona_id","embedded","category"]},"mcp_tool":true,"discovery":false},{"name":"recall","of":"memory","summary":"search memories by meaning (account vault or a named capsule)","description":"Search memories by meaning — the account's private vault (no `capsule_id`; the account owner's own keys only) or one capsule's notes (`capsule_id`; a granted agent reads only when the owner opened the capsule's memory verbs). Returns ranked memories with ids, timestamps, tags, source and a relevance score; filter by `tags` (any match) and `since`. Degrades honestly to a word match, then most-recent-first, when search by meaning is unavailable — `mode` names which ranking ran.","args_schema":{"type":"object","properties":{"query":{"type":"string","description":"what to look for"},"tags":{"type":"array","items":{"type":"string"},"default":[],"description":"keep only memories carrying any of these tags"},"limit":{"type":"integer","default":6,"minimum":1,"maximum":12,"description":"how many memories to return"},"since":{"type":"string","default":"","description":"ISO-8601 date/time; only memories saved at or after it"},"capsule_id":{"type":"string","default":"","description":"the capsule to recall from (empty = the account's private vault)"}},"required":["query"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"mode":{"type":"string","description":"semantic | lexical | recent — how the ranking was produced"},"capsule_id":{"type":["string","null"],"format":"uuid","description":"the capsule the memories came from; null when this account has not remembered anything yet (a recall never makes the vault)"},"persona_id":{"type":["string","null"],"format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"memories":{"type":"array","items":{"type":"object","properties":{"memory_id":{"type":"string","format":"uuid"},"content":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"source":{"type":"string"},"attached_to":{"type":["string","null"],"format":"uuid"},"created_at":{"type":["string","null"],"format":"date-time"},"method":{"type":["string","null"],"description":"who saved it: human | agent:<name>"},"score":{"type":"number"}}}}},"required":["mode","capsule_id","persona_id","memories"]},"mcp_tool":true,"discovery":false},{"name":"get_capsule_dossier","of":"capsule","summary":"the capsule's consensus dossier: what its material agrees on, facet by facet","description":"The capsule's durable consensus dossier — seven facet consultations (subject, findings, highlights, people, arc, aesthetic, value) run against the capsule's real analyzed material and merged by a consensus pass. THE standing grounding for decks, reports, and generative prompt-drafting: richer than one consult pass, cheaper than re-running the battery. Returns availability + freshness honestly (`available`, `stale`) — build or refresh it with POST /api/v1/consult/dossier/{capsule_id}. Only the account owner's own keys may read it; any other key is refused.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"the capsule whose dossier to read"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"available":{"type":"boolean"},"stale":{"type":"boolean"},"generated_at":{"type":"string"},"dossier":{"type":"object"},"facets":{"type":"object"}},"required":["available"]},"mcp_tool":true,"discovery":false},{"name":"get_platform_guide","of":"platform","summary":"the platform welcome guide (capabilities + usage recipes)","description":"START HERE. The platform welcome guide: what A2Vault is, the mental model (account -> capsule -> items -> attributes), how access and quotas work, a recipe book of creative usage patterns, and a live inventory of every verb, workflow step type, and public-data source — generated from the platform's own registries at request time, so it is always current. Also served unauthenticated at GET /api/v1/welcome.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"platform":{"type":"string"},"welcome_version":{"type":"string"},"sections":{"type":"array","items":{"type":"object"}},"recipes":{"type":"array","items":{"type":"object"}},"capabilities":{"type":"object"},"endpoints":{"type":"object"},"support":{"type":"object"},"guide_hash":{"type":"string"}},"required":["platform","sections","recipes","capabilities","guide_hash"]},"mcp_tool":true,"discovery":true},{"name":"file_ticket","of":"platform","summary":"file a bug / question / feedback ticket (25 per day)","description":"File a support ticket with the platform: kind 'bug' for defects, 'question' when you are stuck, 'feedback' for requests and ideas. Include what you called, what you expected, and what came back; pass contact_email if a human should follow up. A key that reads a capsule through a grant files with A2Vault's support desk, not the capsule owner's account; an account's own keys file into its support list, where bugs and questions also get an automated first answer. An operator triages everything. Limited to 25 tickets per key per rolling day.","args_schema":{"type":"object","properties":{"kind":{"type":"string","enum":["bug","question","feedback"],"description":"what kind of ticket this is"},"subject":{"type":"string","description":"one-line summary (<=300 chars)"},"body":{"type":"string","default":"","description":"full detail: call made, expected, observed"},"contact_email":{"type":"string","default":"","description":"optional email for human follow-up"}},"required":["kind","subject"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"ticket_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"status":{"type":"string"},"daily_used":{"type":"integer"},"daily_limit":{"type":"integer"}},"required":["ticket_id","kind","status","daily_used","daily_limit"]},"mcp_tool":true,"discovery":true},{"name":"request_brick","of":"kit","summary":"ask for a workflow step that does not exist yet (instead of improvising one)","description":"When a workflow needs a step the vocabulary does not offer, ask for it here instead of composing a free-form step that writes, spends, shares or reaches outside. Say in one sentence what the step should do, what it takes in and what it hands back, and which workflow is waiting. Asking again for the same thing returns the first request. The account gets a message when the step is ready to place. Limited to 25 requests per account per rolling day.","args_schema":{"type":"object","properties":{"sentence":{"type":"string","description":"what the step should do, in one sentence (<=300 chars)"},"takes":{"type":"string","default":"","description":"what it takes in, in plain words"},"gives":{"type":"string","default":"","description":"what it hands back, in plain words"},"workflow":{"type":"string","default":"","description":"the name of the workflow that is waiting for it"}},"required":["sentence"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["waiting","ready"]},"line":{"type":"string"},"already_asked":{"type":"boolean"}},"required":["id","state","line","already_asked"]},"mcp_tool":true,"discovery":false},{"name":"run_brick","of":"kit","summary":"run one step from the platform's catalogue by its id","description":"Run one step from the platform's step catalogue (the bricks in the public schema catalog) by its id, with the details it takes. A step that only reads runs at once and returns its answer. A step that changes, spends, erases or shares something waits for the account owner's OK: an agent's call comes back as waiting with a request id, and the owner approves or declines it in Needs you. A person confirms with confirm=true. A step that is not built yet is refused and noted as a request.","args_schema":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":120,"description":"the step's id in the catalogue, e.g. collection.list.read"},"args":{"type":"object","default":{},"description":"the details the step takes (its input schema)"},"confirm":{"type":"boolean","default":false,"description":"a person's go-ahead for a step that changes something"}},"required":["brick"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"brick":{"type":"string"},"status":{"type":"string","enum":["done","waiting_for_owner","needs_confirmation"]},"result":{},"ask_id":{"type":"string","format":"uuid"},"message":{"type":"string"}},"required":["brick","status"]},"mcp_tool":true,"discovery":false},{"name":"list_brick_requests","of":"kit","summary":"the steps this account asked for and whether each is ready","description":"Every step this account asked for (by a person, an agent or the workflow composer), newest first, each marked waiting or ready. A ready request names the step that can now be placed.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object"}},"waiting":{"type":"integer"},"ready":{"type":"integer"}},"required":["requests","waiting","ready"]},"mcp_tool":true,"discovery":false},{"name":"list_bricks","of":"kit","summary":"the steps this key may run, one page at a time","description":"The steps this key may run. Each one has its name, one sentence, the part of the product it belongs to, and the details it takes and gives back. Ask for one part with organ, or for a word in the name or the sentence. The answer is one page and says how many steps remain.","args_schema":{"type":"object","properties":{"organ":{"type":"string","default":"","maxLength":40,"description":"one part of the product, or empty for every part"},"word":{"type":"string","default":"","maxLength":80,"description":"a word in the step's name or its sentence"},"offset":{"type":"integer","default":0,"minimum":0,"description":"how many matching steps to skip"},"limit":{"type":"integer","default":25,"minimum":1,"maximum":50,"description":"how many steps to return, at most 50"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"bricks":{"type":"array","items":{"type":"object"}},"total":{"type":"integer"},"offset":{"type":"integer"},"limit":{"type":"integer"},"remaining":{"type":"integer"}},"required":["bricks","total","offset","limit","remaining"]},"mcp_tool":true,"discovery":false},{"name":"get_creation","of":"creation","summary":"a writing project's picture pack: documents, shot list, sequence, progress","description":"The creation behind a writing project: its documents (each with a revision token), the script and storyboard candidates, the shot list (scenes + shots with stable ids and tick durations), the sequence (ordered shot instances) and a progress summary. `shot_list` / `sequence` are null until the pack has been derived. Read-only; nothing is generated or spent.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","description":"the writing project (collection) id"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"project":{"type":"object"},"documents":{"type":"array","items":{"type":"object"}},"script":{"type":["object","null"]},"storyboard":{"type":["object","null"]},"shot_list":{"type":["object","null"]},"sequence":{"type":["object","null"]},"element_count":{"type":"integer"},"progress":{"type":"object"}},"required":["project","documents","shot_list","sequence","progress"]},"mcp_tool":true,"discovery":false},{"name":"get_creation_playback","of":"creation","summary":"the paper edit: ordered shot instances with ticks, frames or placeholders","description":"The creation's current cut as the player renders it: `instances` in order, each with start/duration ticks (timebase 1/1000), its shot and scene, and what it shows — the selected take (`take`, `media_entity_id`), else the storyboard frame entity, else a labelled placeholder. `mode` is honest: `paper_edit` (no take selected anywhere), `working_preview` (a selected take is unapproved or erased), `current_cut` (every selected take approved). `take_missing: true` marks an instance whose take was erased. Treat nothing here as a finished film. `coverage.scenes_without_shots` lists the gaps.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","description":"the writing project (collection) id"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"mode":{"type":"string","enum":["paper_edit","working_preview","current_cut"]},"ready":{"type":"boolean"},"timebase":{"type":"object"},"total_ticks":{"type":"integer"},"sequence_revision":{"type":"string"},"instances":{"type":"array","items":{"type":"object"}},"selection":{"type":"object"},"coverage":{"type":"object"}},"required":["mode","ready","instances","total_ticks","timebase"]},"mcp_tool":true,"discovery":false},{"name":"list_creation_takes","of":"creation","summary":"a creation's takes (optionally one shot's) with review trail and selection","description":"Every take registered for the creation — or for one shot when `shot_id` is given — oldest first. Each carries `review_state` (approved / rejected / unreviewed, derived from its append-only `reviews` trail), `selected` and `selected_in` (the current cut's instance ids that use it), `media_kind` and `entity_id`. Ordering is age, never preference: the newest take is not the chosen one. Read-only.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","default":"","description":"restrict to one shot's takes (a shot-list shot id)"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":["string","null"]},"sequence_revision":{"type":["string","null"]},"takes":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"}},"required":["project_id","takes","count"]},"mcp_tool":true,"discovery":false},{"name":"review_creation_take","of":"creation","summary":"append one review verdict (approved / rejected / withdrawn / note) to a take","description":"Record a named reviewer's verdict on one take. Append-only: withdrawing an approval adds a `withdrawn` event, the historical approval stays in the trail. A verdict never changes the cut — use `select_creation_take` for that. `reviewer_name` is required: a verdict is given under a name.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"take_id":{"type":"string","format":"uuid"},"result":{"type":"string","enum":["approved","rejected","withdrawn","note"]},"notes":{"type":"string","default":"","maxLength":20000},"reviewer_name":{"type":"string","maxLength":200}},"required":["project_id","take_id","result","reviewer_name"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"select_creation_take","of":"creation","summary":"use a take in the cut (or return an instance to the paper edit) as a new revision","description":"Point one sequence instance at a take — an empty `take_id` returns it to the storyboard frame / placeholder — writing a NEW sequence revision. `expected_revision` must be the sequence revision you last read: when another reviewer moved first the call fails with `revision_conflict` and the current revision, and nothing is written. A take registered for a different shot is refused (`take_shot_mismatch`), never inherited. `approve: true` also appends the approval event atomically (`reviewer_name` then required). Returns the creation with the new revision.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"instance_id":{"type":"string","format":"uuid"},"take_id":{"type":"string","default":""},"expected_revision":{"type":"string","maxLength":64},"approve":{"type":"boolean","default":false},"reviewer_name":{"type":"string","default":"","maxLength":200}},"required":["project_id","instance_id","expected_revision"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"project":{"type":"object"},"sequence":{"type":["object","null"]},"shot_list":{"type":["object","null"]}},"required":["project","sequence"]},"mcp_tool":true,"discovery":false},{"name":"get_creation_timeline","of":"creation","summary":"read the cut as tracks, clips and markers in frames, with the source shots","description":"The Edit room's read: the frame rate, every track (target, sync, lock, off, solo), every clip (track, start, duration, source in/out in frames, what it shows, how far a linked partner has drifted), the markers, and the shots of the list with their takes. `revision` is the sequence revision every timeline write must echo as `expected_revision`.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"revision":{"type":"string"},"rate":{"type":"object"},"tracks":{"type":"array"},"clips":{"type":"array"},"markers":{"type":"array"}},"required":["revision","rate","tracks","clips","markers"]},"mcp_tool":true,"discovery":false},{"name":"edit_creation_timeline","of":"creation","summary":"one editing tool on the cut: lift, extract, ripple delete, roll, slip, razor ...","description":"Apply one tool and write the result as a NEW sequence revision. `op.op` is one of lift, extract, delete, ripple_delete, razor, ripple_trim, roll, slip, slide, nudge, move, trim_to_playhead, extend, rate_stretch, enable, transition, link, unlink, hold (the frame at `at` to the clip's end), reverse, combine (the `clip_ids` into one clip) or uncombine; its fields are frames (`record_in`/`record_out`/`at`/`frames`), `clip_ids` or `clip_id`, `edge` (in/out), `tracks`. Nothing moves unless the tool says so: only extract, ripple trim and ripple delete move later clips, and only on the edit's tracks and unlocked tracks with sync on. Returns `said` (what moved, in one sentence), the timeline and the creation. A stale `expected_revision` fails with `revision_conflict`; an edit that cannot be made fails with `edit_refused` and the reason, and nothing is written.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"}},"required":["said","timeline"]},"mcp_tool":true,"discovery":false},{"name":"place_on_creation_timeline","of":"creation","summary":"put a source's marked range in the cut: overwrite, insert, replace, fit to fill","description":"`op.source` is `{kind: shot, shot_id, take_id?}` or `{kind: media, entity_id}` (a picture, video or sound of this creation's capsule). `op.source_in` / `op.source_out` are the source marks and `op.record_in` the playhead, in frames; `op.mode` is overwrite (default), insert, replace, fit_to_fill (needs `record_out`), place_on_top or add_at_end; `op.video_track` / `op.audio_track` are the targets. Insert moves later clips on the target tracks and on unlocked tracks with sync on; every other mode moves nothing else. Returns `said`, the timeline and the creation.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"}},"required":["said","timeline"]},"mcp_tool":true,"discovery":false},{"name":"start_creation_cut","of":"creation","summary":"open the Edit room before any shot is made: an empty cut to fill from the Library","description":"With no shot list yet, one is derived from what the project has (nothing is generated or spent) and the cut opens as an empty six-track timeline the owner fills from the capsule's Library. A creation that already has a cut keeps it untouched. Returns the creation.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"project":{"type":"object"},"sequence":{"type":"object"}},"required":["project","sequence"]},"mcp_tool":true,"discovery":false},{"name":"list_creation_media_bin","of":"creation","summary":"this capsule's pictures, videos or sounds for the cut, with length and play state","description":"The Edit room's media bin: files of this creation's capsule only, newest first (or the `ids` a Library search found), each with its label, `media_kind`, `seconds` it runs, whether a poster exists, and whether the stage can play it now (`plays`; when false, `away` says where the original is). Every file can be placed with `place_on_creation_timeline` as `{kind: media, entity_id}`.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["video","image","audio"]},"ids":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"items":{"type":"array"},"more":{"type":"boolean"}},"required":["items","more"]},"mcp_tool":true,"discovery":false},{"name":"set_creation_tracks","of":"creation","summary":"add a track, set its target, sync, lock, hide or mute, solo; remove an empty one","description":"`op.action` is add (`op.kind` video or audio), update (`op.track_id` and any of name, target, sync, lock, off, solo) or remove (an empty track; a cut keeps one of each kind). Never moves a clip. Returns `said`, the timeline and the creation.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"}}},"mcp_tool":true,"discovery":false},{"name":"mark_creation_timeline","of":"creation","summary":"put a marker on the cut at a frame, change one, or take one off","description":"`op.action` is add (`op.at` frame, `op.name`, `op.colour`, `op.note`), update (`op.marker_id` and the fields to change) or remove (`op.marker_id`). Markers never move clips. Returns `said`, the timeline and the creation.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"}}},"mcp_tool":true,"discovery":false},{"name":"lay_out_creation_timeline","of":"creation","summary":"lay V1 out as one slot per shot at its expected length, before the media exists","description":"V1 becomes the shot list in order, each shot a slot at its expected length (`handles` frames of head room in the source), keeping the take each shot uses; a take selected later fills its slot without moving the cut. The other tracks are left as they were and the cut before is in History.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"handles":{"type":"integer","minimum":0,"maximum":600,"default":0}},"required":["project_id","expected_revision"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"}}},"mcp_tool":true,"discovery":false},{"name":"build_creation_timeline","of":"creation","summary":"build the cut from the shots with a cut, dissolve, fade or the planned transition","description":"Like `lay_out_creation_timeline`, with `transition` (cut, dissolve, fade, planned) at every edit for `transition_frames`, and with `dialogue` each slot grows to cover the lines planned in it.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"handles":{"type":"integer","minimum":0,"maximum":600,"default":0},"transition":{"type":"string","enum":["cut","dissolve","fade","planned"],"default":"cut"},"transition_frames":{"type":"integer","minimum":0,"maximum":600,"default":0},"dialogue":{"type":"boolean","default":true}},"required":["project_id","expected_revision"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"}}},"mcp_tool":true,"discovery":false},{"name":"get_creation_script_follow","of":"creation","summary":"read which script lines each shot in the cut stands for, and the lines left out","description":"The script pane's read: the draft the cut is made from (the locked draft at its locked text when there is one), its elements, which element ranges each shot stands for and where its planned lines fall in its own frames, `spans` (which shot the picture shows over each frame range of the cut, from which source frame and at what speed), `not_in_cut` (lines no shot in the cut stands for, with the shot in the list that does), `older_draft` (shots made from an earlier text, and what changed), and how each shot's picture was made.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"sequence_revision":{"type":"string"},"draft":{"type":"object"},"elements":{"type":"array"},"spans":{"type":"array"},"shots":{"type":"object"},"not_in_cut":{"type":"array"},"older_draft":{"type":"array"}},"required":["sequence_revision","draft","elements","spans","shots"]},"mcp_tool":true,"discovery":false},{"name":"put_in_creation_script","of":"creation","summary":"put script lines that are not in the cut in at the playhead","description":"`element_start`/`element_end` are a range of the followed draft's elements, `at` the playhead frame. The shot in the list that stands for most of those lines is inserted; when none does, a planned shot of exactly those lines is made (added to the list in its scene, its dialogue planned) and inserted. Insert moves later clips on the target picture track (`video_track`, else the targeted one) and on unlocked tracks with sync on. Returns `said`, the timeline, the creation, `shot_id` and `made_shot`. A stale `expected_revision` fails with `revision_conflict`; lines that cannot go in fail with `edit_refused` and the reason.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"element_start":{"type":"integer","minimum":0},"element_end":{"type":"integer","minimum":1},"at":{"type":"integer","minimum":0},"video_track":{"type":"string","default":"","maxLength":8}},"required":["project_id","expected_revision","element_start","element_end","at"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"},"shot_id":{"type":"string"},"made_shot":{"type":"boolean"}},"required":["said","timeline","shot_id","made_shot"]},"mcp_tool":true,"discovery":false},{"name":"list_creation_notes","of":"creation","summary":"read the cut's timecoded notes, each where its clip is now","description":"Every note on the cut: the frame it is at now (`at`; a note left on a clip follows that clip through later edits, `follows` says how), the note, who left it, the editor's answer and who gave it, and whether it is open, answered or resolved, with `counts`.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"notes":{"type":"array"},"counts":{"type":"object"}},"required":["notes","counts"]},"mcp_tool":true,"discovery":false},{"name":"add_creation_note","of":"creation","summary":"leave a timecoded note on the cut, under a person's name","description":"`at` is the frame; `clip_id` pins the note to that clip (else to the picture showing at that frame). A note is left under a name: a member's own; an agent MUST pass `author_name`. Refusals fail with `note_refused` and the reason.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"at":{"type":"integer","minimum":0},"body":{"type":"string","maxLength":4000},"author_name":{"type":"string","default":"","maxLength":200},"clip_id":{"type":"string","default":"","maxLength":64}},"required":["project_id","at","body"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string"}}},"mcp_tool":true,"discovery":false},{"name":"act_on_creation_note","of":"creation","summary":"answer, resolve, reopen or take off a note on the cut","description":"`action` is answer (with `answer`), resolve, reopen or remove. Under a name: a member's own; an agent MUST pass `by_name`. Returns the note, or `{removed}`.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"note_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["answer","resolve","reopen","remove"]},"by_name":{"type":"string","default":"","maxLength":200},"answer":{"type":"string","default":"","maxLength":4000}},"required":["project_id","note_id","action"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"get_creation_readiness","of":"creation","summary":"the creation's two readiness gates as actionable blockers","description":"A creation's two readiness gates under `gates`: `draft` (ready to draft) and `production` (ready for production generation), each as a list of blockers `{code, element_ref, field, message}` in plain operational language — 'Add a visual description for MARISOL'. Computed from fields, scene references and shot-list coverage, never from record counts; a gate is ready when its list is empty. `next_action` names the first blocker to clear.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"get_creation_grounding","of":"creation","summary":"how one of the creation's drafts used its research","description":"Read a document filed under the creation against the research notes it was generated with: `citations` (the `[R-…]` tags it cites), `disagreements` (notes answering the same question differently, each `left_open`, `creative_decision` with the decision, `cited_without_decision` or `not_addressed`), `invented` (details the draft labels as its own), `notes_changed` since it was written, and `needs_input` — `complete` is true only when that list is empty. Deterministic; nothing is generated or spent.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid"}},"required":["project_id","document_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"select_creation_draft","of":"creation","summary":"make one screenplay draft the creation's script","description":"Choose which screenplay draft is the creation's script — the one the Script tab shows and edits and the shot list derives from. Only a `screenplay`-format document filed under the project can be selected; a treatment, outline or beat sheet is refused (`not_a_screenplay`). While the production draft is locked the selection cannot change (`production_locked`) — unlock first. Returns the creation with `selection` and `drafts` (each draft carries its `authority`: author_provided / imported / ai_proposed).","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid"}},"required":["project_id","document_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"lock_creation_draft","of":"creation","summary":"lock the production draft at its current revision, under a name","description":"Pin the selected screenplay draft (or `document_id`, which then becomes the selection) at its CURRENT revision as the production draft. Generation against the creation reads this draft and only this revision; an edit after the lock makes it stale and generation is refused until it is unlocked and locked again. `reviewer_name` is required — a lock is a decision taken under a name. Refused when already locked (`production_locked`).","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"reviewer_name":{"type":"string","maxLength":200},"document_id":{"type":"string","default":""}},"required":["project_id","reviewer_name"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"unlock_creation_draft","of":"creation","summary":"release the production lock (who / when / why recorded)","description":"Release the creation's production lock so the selection can change or a revised draft can be locked. Recorded under `reviewer_name` with the `reason`; the selection stays. Refused when nothing is locked.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"reviewer_name":{"type":"string","maxLength":200},"reason":{"type":"string","default":"","maxLength":2000}},"required":["project_id","reviewer_name"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"get_creation_breakdown","of":"creation","summary":"the production breakdown: every scene requirement by department","description":"Read the creation's breakdown: each requirement (character, location, wardrobe, hair & makeup, prop, vehicle, set, set dressing, practical or visual effect, dialogue, ambience, music, theme, production design, art direction) with the scenes it appears in, the script passages that show it, the element it is linked to, the owner's decision (proposed / accepted / rejected) and what is still uncertain. `breakdown` is null before the first derive.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"derive_creation_breakdown","of":"creation","summary":"(re)derive the breakdown from the selected screenplay draft","description":"Read the selected screenplay draft into the breakdown: every speaking character, every scene's place and time of day, every dialogue block and labelled cue, linked to the scenes and passages that state them. Earlier decisions are kept. Once a breakdown exists, pass the `expected_revision` you read (a stale one is refused with the current revision). `judgment` also asks for the department read — wardrobe, props, sets and the rest — which arrives as proposals for the owner to accept or reject.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","default":""},"judgment":{"type":"boolean","default":false}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"decide_creation_breakdown","of":"creation","summary":"accept, reject or reopen one breakdown requirement, under a name","description":"Decide one requirement of the breakdown (`decision`: accept / reject / reopen) at the `expected_revision` you read. Accepting links it to its element — the exact match, the existing element you name in `element_id`, or a new element — so it appears in the shots that need it. A similar but not identical name is never merged for you: name the existing element in `element_id`, or set `new_element` to keep it as an element of its own. `reviewer_name` is required.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"requirement_id":{"type":"string","format":"uuid"},"decision":{"type":"string","enum":["accept","reject","reopen"]},"expected_revision":{"type":"string"},"reviewer_name":{"type":"string","maxLength":200},"element_id":{"type":"string","default":""},"new_element":{"type":"boolean","default":false}},"required":["project_id","requirement_id","decision","expected_revision","reviewer_name"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"decide_creation_breakdown_batch","of":"creation","summary":"decide many breakdown requirements in one call, each with its own result","description":"Decide several requirements of the breakdown in order, starting at the `expected_revision` you read. Each item is `requirement_id` and `decision` (accept / reject / reopen), with `element_id` or `new_element` as in decide_creation_breakdown. Every item comes back with its own result: a refused item says why and the rest still go ahead. `revision` is the breakdown's revision after the last item that went ahead. `reviewer_name` is required.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string"},"reviewer_name":{"type":"string","maxLength":200},"decisions":{"type":"array","minItems":1,"maxItems":200,"items":{"type":"object","properties":{"requirement_id":{"type":"string"},"decision":{"type":"string","enum":["accept","reject","reopen"]},"element_id":{"type":"string","default":""},"new_element":{"type":"boolean","default":false}},"required":["requirement_id","decision"]}}},"required":["project_id","expected_revision","reviewer_name","decisions"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"derive_creation_shot_specs","of":"creation","summary":"fill every shot's specification from the breakdown and the script","description":"Fill each shot's specification: the script passages it covers, its action, the accepted elements pinned as they read now, location state, dialogue and sound cues with planned timing, transitions, and an inclusion report of what was used, left out, or still awaits a decision. Fields already set stay unless `overwrite`. `expected_revision` is the shot list's revision. Nothing is generated.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string"},"overwrite":{"type":"boolean","default":false}},"required":["project_id","expected_revision"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"edit_creation_shot_spec","of":"creation","summary":"edit one shot's specification as a new shot-list revision","description":"Change one shot's specification fields (`patch`: framing, camera movement, lighting, look references, aspect, transitions, output type, prerequisites, exceptions, the advanced fields, …) at the shot list's `expected_revision`. `repin` re-reads every element the shot uses at its current sheet — the owner's \"reviewed, use the new version\".","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string"},"patch":{"type":"object","default":{}},"repin":{"type":"boolean","default":false}},"required":["project_id","shot_id","expected_revision"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"get_creation_staleness","of":"creation","summary":"which shots need review because an element or the script changed","description":"List every shot with whether it is stale and why: an element it uses changed or left the creation, or the script it was specified from was revised — plus, per element, which shots use it. Changing one element marks only the shots that use it. A read; nothing is regenerated.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object"},"mcp_tool":true,"discovery":false},{"name":"get_creation_shot_package","of":"creation","summary":"one shot's prompt, reference pictures and the check before anything is sent","description":"Read one shot's prompt package: the prompt compiled from the shot and the elements at the versions it pinned (and the owner's own wording, with a conflict flag when the shot changed under it), the reference set with the role each plays, every way to make the shot with how many pictures it takes and how long a prompt it reads, the check that runs before submission with one sentence per problem, and exactly what would be sent. `route` previews `auto`, `made_here` or `own_key`; omitted, the shot's own. Edit the prompt, the references left out or the route with `edit_creation_shot_spec` (`prompt`, `references_left_out`, `route`). A read; nothing is generated or spent.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","format":"uuid"},"route":{"type":"string","enum":["auto","made_here","own_key"]}},"required":["project_id","shot_id"],"additionalProperties":false},"returns_schema":{"$defs":{"Excluded":{"additionalProperties":true,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"reason_code":{"title":"Reason Code","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["id","name","reason_code","reason"],"title":"Excluded","type":"object"},"Notice":{"additionalProperties":true,"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"Notice","type":"object"},"PayloadPreview":{"additionalProperties":true,"properties":{"makes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Makes"},"prompt":{"title":"Prompt","type":"string"},"pictures":{"items":{"$ref":"#/$defs/PreviewPicture"},"title":"Pictures","type":"array"},"words_only":{"items":{},"title":"Words Only","type":"array"},"aspect":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect"},"seconds":{"title":"Seconds","type":"number"}},"required":["makes","prompt","pictures","words_only","aspect","seconds"],"title":"PayloadPreview","type":"object"},"Preflight":{"additionalProperties":true,"properties":{"ok":{"title":"Ok","type":"boolean"},"refusals":{"items":{"$ref":"#/$defs/Refusal"},"title":"Refusals","type":"array"},"counts":{"$ref":"#/$defs/PreflightCounts"}},"required":["ok","refusals","counts"],"title":"Preflight","type":"object"},"PreflightCounts":{"additionalProperties":true,"properties":{"pictures":{"title":"Pictures","type":"integer"},"takes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Takes"},"prompt_chars":{"title":"Prompt Chars","type":"integer"},"reads":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reads"}},"required":["pictures","takes","prompt_chars","reads"],"title":"PreflightCounts","type":"object"},"PreviewPicture":{"additionalProperties":true,"properties":{"name":{"title":"Name","type":"string"},"role":{"title":"Role","type":"string"},"role_label":{"title":"Role Label","type":"string"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture"}},"required":["name","role","role_label","picture"],"title":"PreviewPicture","type":"object"},"Prompt":{"additionalProperties":true,"properties":{"text":{"title":"Text","type":"string"},"compiled":{"title":"Compiled","type":"string"},"compiled_hash":{"title":"Compiled Hash","type":"string"},"edited":{"title":"Edited","type":"boolean"},"conflict":{"title":"Conflict","type":"boolean"},"left_out":{"items":{},"title":"Left Out","type":"array"}},"required":["text","compiled","compiled_hash","edited","conflict","left_out"],"title":"Prompt","type":"object"},"Reference":{"additionalProperties":true,"properties":{"id":{"title":"Id","type":"string"},"source":{"title":"Source","type":"string"},"name":{"title":"Name","type":"string"},"kind":{"title":"Kind","type":"string"},"role":{"title":"Role","type":"string"},"role_label":{"title":"Role Label","type":"string"},"element_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Element Version"},"state":{"title":"State","type":"string"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture"},"left_out":{"title":"Left Out","type":"boolean"},"sends_picture":{"title":"Sends Picture","type":"boolean"}},"required":["id","source","name","kind","role","role_label","element_version","state","picture","left_out","sends_picture"],"title":"Reference","type":"object"},"Refusal":{"additionalProperties":true,"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"}},"required":["code","message"],"title":"Refusal","type":"object"},"RouteView":{"additionalProperties":true,"properties":{"route":{"title":"Route","type":"string"},"label":{"title":"Label","type":"string"},"available":{"title":"Available","type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"takes_pictures":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Takes Pictures"},"takes_roles":{"items":{},"title":"Takes Roles","type":"array"},"max_prompt_chars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Prompt Chars"}},"required":["route","label","available","reason","reason_code","takes_pictures","takes_roles","max_prompt_chars"],"title":"RouteView","type":"object"}},"additionalProperties":true,"properties":{"project_id":{"title":"Project Id","type":"string"},"shot_id":{"title":"Shot Id","type":"string"},"shot_version":{"title":"Shot Version","type":"integer"},"shot_list_revision":{"title":"Shot List Revision","type":"string"},"output_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Type"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"prompt":{"$ref":"#/$defs/Prompt"},"references":{"items":{"$ref":"#/$defs/Reference"},"title":"References","type":"array"},"excluded":{"items":{"$ref":"#/$defs/Excluded"},"title":"Excluded","type":"array"},"route":{"title":"Route","type":"string"},"routes":{"items":{"$ref":"#/$defs/RouteView"},"title":"Routes","type":"array"},"stale_reasons":{"items":{},"title":"Stale Reasons","type":"array"},"preflight":{"$ref":"#/$defs/Preflight"},"notices":{"items":{"$ref":"#/$defs/Notice"},"title":"Notices","type":"array"},"payload_preview":{"$ref":"#/$defs/PayloadPreview"}},"required":["project_id","shot_id","shot_version","shot_list_revision","output_type","task","prompt","references","excluded","route","routes","stale_reasons","preflight","notices","payload_preview"],"title":"ShotPackage","type":"object"},"mcp_tool":true,"discovery":false},{"name":"import_screenplay","of":"creation","summary":"file a finished screenplay as a creation, unchanged, with an import report","description":"Bring an existing screenplay into the Film pipeline as the AUTHORITATIVE script: it is not rewritten, polished, reordered or trimmed. Pass the script as `text` (Fountain or plain text; Final Draft XML is read structurally when the text is an .fdx document) or name an original file already in the capsule with `source_entity_id` — that file stays the original and the screenplay records it as `imported_from`; both together with `extraction=pdf_text` when the text was read out of a PDF's text layer and the PDF is the filed original. A screenplay draft written in Write (what save_writing_document returned) is named with `document_id`: that draft itself becomes the script, keeping its history, the same as the owner's Use in Film. Creates the project, the screenplay document, and derives the first shot list and paper edit (one placeholder shot per scene). Returns the creation plus `import`: scenes with the author's own numbers, characters with aliases and extensions, locations with their scenes, every parser uncertainty (dual dialogue, unreadable headings, possible aliases, flashback/montage boundaries, a script that begins or ends mid-dialogue) and coverage (element counts, first and last line). Read that report before preparing production; an upload completing is not proof the script was read correctly. Nothing is generated and nothing is spent.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to file the screenplay in."},"title":{"type":"string","default":"","maxLength":200},"text":{"type":"string","default":"","maxLength":20971520},"source_entity_id":{"type":"string","default":""},"filename":{"type":"string","default":"","maxLength":255},"extraction":{"type":"string","default":"","enum":["","pdf_text"]},"document_id":{"type":"string","default":""}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"creation":{"type":"object"},"screenplay_id":{"type":"string"},"import":{"type":"object"}},"required":["creation","screenplay_id","import"]},"mcp_tool":true,"discovery":false},{"name":"preview_source","of":"source","summary":"what gathering a video URL would yield, before anything is written","description":"Inspect a public video URL before gathering: the recognised video id, canonical watch/embed URLs, whether the player can be embedded (oEmbed probe), and the entity id if this capsule already gathered it. Writes nothing. For an unsupported URL returns `supported: false` with a reason instead of failing. Grounding boundary: this reports what the publisher exposes about the video, not any analysis of its content.","args_schema":{"type":"object","properties":{"url":{"type":"string","description":"the video URL as pasted"},"capsule_id":{"type":"string","default":"","description":"the capsule to preview against; may be omitted when the key is scoped to exactly one capsule"}},"required":["url"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"supported":{"type":"boolean"},"reason":{"type":"string"},"provider":{"type":"string"},"video_id":{"type":"string"},"canonical_url":{"type":"string"},"watch_url":{"type":"string"},"embed_url":{"type":"string"},"oembed":{"type":"object"},"existing_entity_id":{"type":["string","null"],"format":"uuid"}},"required":["supported"]},"mcp_tool":true,"discovery":false},{"name":"gather_source","of":"source","summary":"gather a video URL caption-first: details, transcript, player — no media bytes","description":"Gather a public video URL into the capsule caption-first: episode details, the publisher's or automatic captions as a timestamped transcript, a searchable passage index, and an embedded player. No media file is downloaded and no speech recognition runs unless asked for later. Returns the video entity, the queued job and the gather record; a video already gathered into this capsule is reused (`reused: true`) rather than duplicated. Grounding boundary: the result is caption text plus publisher metadata — it is not visual or acoustic analysis of the video.","args_schema":{"type":"object","properties":{"url":{"type":"string","description":"the video URL as pasted"},"capsule_id":{"type":"string","default":"","description":"the capsule to gather into; may be omitted when the key is scoped to exactly one capsule"},"requested_outputs":{"type":"array","items":{"type":"string"},"default":[],"description":"subset of metadata | embedded_playback | transcript | search_index | analysis; empty = the default set (everything but analysis)"},"preferred_language":{"type":"string","default":"en","description":"caption language to prefer (BCP-47 root, e.g. en)"},"allow_translation":{"type":"boolean","default":false,"description":"accept a machine-translated automatic track when no track in the preferred or original language exists"}},"required":["url"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"job_id":{"type":["string","null"],"format":"uuid"},"ingest_event_id":{"type":["string","null"],"format":"uuid"},"reused":{"type":"boolean"},"gather":{"type":"object"}},"required":["entity_id","reused","gather"]},"mcp_tool":true,"discovery":false},{"name":"get_gather_status","of":"source","summary":"the gather record: per-component statuses, warnings, next actions","description":"The gather record for a gathered video entity: status of each component (details, captions, transcript, search index, playback, media, analysis), user-safe errors and warnings, the caption track used and the watch/embed URLs. Grounding boundary: statuses describe what was acquired and how (e.g. automatic captions, not audio-verified) — read them before trusting the transcript as evidence.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the gathered video entity"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"provider":{"type":"string"},"video_id":{"type":"string"},"source_status":{"type":"string"},"metadata_status":{"type":"string"},"caption_status":{"type":"string"},"transcript_status":{"type":"string"},"index_status":{"type":"string"},"playback_status":{"type":"string"},"media_status":{"type":"string"},"analysis_status":{"type":"string"},"errors":{"type":"object"},"warnings":{"type":"array","items":{"type":"string"}},"watch_url":{"type":["string","null"]},"embed_url":{"type":["string","null"]}},"required":["provider","video_id","source_status"]},"mcp_tool":true,"discovery":false},{"name":"get_transcript","of":"source","summary":"the timestamped caption transcript (paged, searchable)","description":"Timestamped caption transcript of a gathered video (publisher or automatic captions, or A2Vault speech recognition when acquired) — text evidence only; not visual or acoustic analysis. Segments carry `segment_id`, `start`/`end` in seconds and `text`; `q` filters segments by text, `limit` (max 500) and `offset` page through them. `origin` and `track` say which instrument produced the words.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the gathered video entity"},"q":{"type":"string","default":"","description":"case-insensitive text filter over segments"},"limit":{"type":"integer","default":500,"minimum":1,"maximum":500,"description":"segments per page"},"offset":{"type":"integer","default":0,"minimum":0,"description":"segments to skip"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"origin":{"type":["string","null"]},"language":{"type":["string","null"]},"track":{"type":["object","null"]},"normalizer_version":{"type":["string","null"]},"segment_count":{"type":"integer"},"matches":{"type":"integer"},"segments":{"type":"array","items":{"type":"object","properties":{"segment_id":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"text":{"type":"string"}}}}},"required":["entity_id","segments"]},"mcp_tool":true,"discovery":false},{"name":"get_citation_links","of":"source","summary":"watch / embed / library links for a moment in a gathered video","description":"Citation links for a gathered video, optionally at a moment: `watch_url` (YouTube, `&t=Ns`), `embed_url` (player, `?start=N`) and `library_url` (the capsule's Library entry seeked to that second), plus `segment` — the transcript segment containing `start_s` — when one exists. `start_s` of 0 means the video start and yields plain links. Grounding boundary: links point at the publisher's video; the quoted segment is caption text, not a verified utterance.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the gathered video entity"},"start_s":{"type":"number","default":0.0,"minimum":0,"description":"seconds into the video (0 = the start, no timestamp)"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"start_s":{"type":["number","null"]},"watch_url":{"type":["string","null"]},"embed_url":{"type":["string","null"]},"library_url":{"type":["string","null"]},"segment":{"type":["object","null"],"properties":{"segment_id":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"text":{"type":"string"}}}},"required":["entity_id","watch_url","embed_url","library_url"]},"mcp_tool":true,"discovery":false},{"name":"get_evidence","of":"entity","summary":"which rungs of evidence an item has, who produced each, what each may ground","description":"The evidence held for one item, rung by rung, with what each rung may ground. `reference` (rung 0): the item is known — title, source link, date, watching at the source. `captions` (rung 1): the words, with times — grounds search, quotes with a time, clip nomination. `audio` (rung 2): the sound — grounds what was said and how when there are no captions: speakers, timing, tone. `frames` (rung 2): scene stills — grounds what is on screen and matching by sight. `proxy` (rung 3): a working copy — grounds paper edits and scrubbing. `master` (rung 4): the original — grounds renders and exports. Each rung says whether it is held and who produced it (the platform, a paired device, the owner's upload, another release of the same work). Grounding boundary: a rung that is not held grounds nothing; ask `get_transcript` for the words themselves.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the item"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"custody":{"type":"string"},"highest_rung":{"type":"integer","minimum":0,"maximum":4},"rungs":{"type":"array","items":{"type":"object","properties":{"rung":{"type":"integer"},"name":{"type":"string","enum":["reference","captions","audio","frames","proxy","master"]},"held":{"type":"boolean"},"produced_by":{"type":"array","items":{"type":"string"}},"grounds":{"type":"string"},"count":{"type":"integer"}},"required":["rung","name","held","produced_by","grounds"]}},"held":{"type":"object"}},"required":["entity_id","custody","highest_rung","rungs"]},"mcp_tool":true,"discovery":false},{"name":"read_item_text","of":"entity","summary":"one page of an item's full text, with how much is shown and where the next page starts","description":"Read the full text of one item - a document, a PDF's text, a Writer draft, a transcript, a message, a note - one page at a time and never shortened. Each page says `shown` (for example 'shown characters 1-6,000 of 10,705'), `total_characters`, and `next_offset`: pass `next_offset` back as `offset` until it is null and you have read every character. `source` picks which text when an item holds more than one; `other_sources` lists the rest.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the item to read"},"offset":{"type":"integer","default":0,"minimum":0,"description":"the character to start from; the previous page's next_offset"},"page_chars":{"type":"integer","default":6000,"minimum":1,"maximum":8000,"description":"how many characters one page holds (up to 8,000)"},"source":{"type":"string","default":"","enum":["","document_text","writer_document","transcript","message","handwriting","image_text","note"],"description":"which text to read; empty reads the item's main text"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"title":{"type":["string","null"]},"source":{"type":"string"},"source_label":{"type":"string"},"offset":{"type":"integer"},"shown_characters":{"type":"integer"},"total_characters":{"type":"integer"},"text":{"type":"string","description":"this page of the text, verbatim"},"shown":{"type":"string","description":"how much of the text this page shows"},"next_offset":{"type":["integer","null"],"description":"where the next page starts; null when this is the last page"},"complete":{"type":"boolean"},"other_sources":{"type":"array","items":{"type":"string"}}},"required":["entity_id","source","offset","shown_characters","total_characters","text","shown","next_offset","complete"]},"mcp_tool":true,"discovery":false},{"name":"cite_passage","of":"entity","summary":"one numbered unit of an item's text, with a citation line and where it came from","description":"Read one unit of an item's text - a folio, page, paragraph, verse or whatever unit the capsule's owner named - with a citation line ('“Title”, folio 2 of 12. Capsule. 1871-03-14.') and its provenance: the capsule, how the item is kept, the basis it was added on, when, and a sha256 of the passage so the quotation can be checked later. `unit` counts from 1; `unit.of` says how many there are. A long unit pages like read_item_text (`next_offset`).","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the item to cite"},"unit":{"type":"integer","default":1,"minimum":1,"description":"which unit, counting from 1"},"source":{"type":"string","default":"","enum":["","document_text","writer_document","transcript","message","handwriting","image_text","note"],"description":"which text to cite; empty cites the item's main text"},"offset":{"type":"integer","default":0,"minimum":0,"description":"where to start inside a long unit; the previous next_offset"},"page_chars":{"type":"integer","default":6000,"minimum":1,"maximum":8000,"description":"how many characters one page holds (up to 8,000)"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"title":{"type":["string","null"]},"unit":{"type":"object"},"span":{"type":"object"},"citation":{"type":"string"},"provenance":{"type":"object"},"source":{"type":"string"},"text":{"type":"string","description":"the unit's text, verbatim"},"shown":{"type":"string"},"next_offset":{"type":["integer","null"]},"complete":{"type":"boolean"}},"required":["entity_id","unit","citation","provenance","text","complete"]},"mcp_tool":true,"discovery":false},{"name":"fetch_transcripts","of":"source","summary":"ask for captions on every item in the capsule that has none yet","description":"Ask for captions on every video in the capsule that has no transcript yet: a public video link, no words captured, no request already open. Each item becomes one request that waits for a paired device on the owner's own network — nothing is fetched from here. Returns `status` `queued` with `count` (items asked for) and `minted` (requests created), `nothing_to_fetch` when every item already has one, or `needs_owner_ack` when the ask covers more than `threshold` items: then nothing is requested until the owner approves that batch (`cohort_id` names it; asking again returns the same one), or the ask is narrowed with `limit`. Grounding boundary: what arrives is caption text evidence, not visual or acoustic analysis.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","default":"","description":"the capsule to fetch for; may be omitted when the key is scoped to exactly one capsule"},"limit":{"type":"integer","default":0,"minimum":0,"description":"ask for at most this many items, oldest first; 0 = every item that lacks a transcript"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"status":{"type":"string","enum":["queued","nothing_to_fetch","needs_owner_ack"]},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"count":{"type":"integer","description":"items this ask covers (after `limit`)"},"minted":{"type":"integer","description":"requests created by this call"},"waiting":{"type":"integer","description":"items in the capsule that still lack a transcript"},"threshold":{"type":"integer","description":"the largest ask that proceeds without the owner's approval"},"executor":{"type":"string"},"cohort_id":{"type":"string","format":"uuid","description":"with `needs_owner_ack`: the batch waiting for the owner's approval; nothing is requested until they approve it"}},"required":["status","capsule_id","persona_id","count","minted","waiting","threshold"]},"mcp_tool":true,"discovery":false},{"name":"list_project_registers","of":"capsule","summary":"every project file in the capsule with its missing-persons count","description":"The Projects list: one row per registered project file (Premiere, Final Cut, XMEML, EDL, Resolve, After Effects) with how many of the clips it names are present in this capsule, how many need a closer look, how many are missing, and `everyone_at_the_table` — true only when nothing is missing or ambiguous. Counts and a boolean, never a percentage.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"the capsule whose project files to list"}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"count":{"type":"integer"},"everyone_at_the_table":{"type":"integer"},"with_missing":{"type":"integer"},"projects":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"title":{"type":["string","null"]},"kind":{"type":["string","null"]},"clips_total":{"type":"integer"},"present":{"type":"integer"},"ambiguous":{"type":"integer"},"missing":{"type":"integer"},"everyone_at_the_table":{"type":"boolean"},"status_line":{"type":"string"}}}}},"required":["capsule_id","persona_id","count","projects"]},"mcp_tool":true,"discovery":true},{"name":"get_project_register","of":"entity","summary":"per-clip register of one project file: present / needs a look / missing","description":"The register of one project file: every clip the edit names with its status in this capsule — `present` (the entity it resolved to), `present_ambiguous` (candidate entities the clues could not separate) or `missing` — plus the sequences declared and any export the capsule holds that matches a sequence. The `missing` rows are the project's missing persons.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the project-file entity (carries a project_manifest)"}},"required":["entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"kind":{"type":["string","null"]},"clips_total":{"type":"integer"},"present":{"type":"integer"},"ambiguous":{"type":"integer"},"missing":{"type":"integer"},"everyone_at_the_table":{"type":"boolean"},"status_line":{"type":"string"},"manifest_sequences":{"type":"array","items":{"type":"object"}},"clips":{"type":"array","items":{"type":"object","properties":{"ref_id":{"type":["string","null"]},"name":{"type":["string","null"]},"status":{"type":"string","enum":["present","present_ambiguous","missing"]},"entity_id":{"type":"string","format":"uuid"},"candidates":{"type":"array","items":{"type":"string"}},"signals":{"type":"array","items":{"type":"string"}}}}},"exports":{"type":"array","items":{"type":"object"}}},"required":["entity_id","clips_total","present","ambiguous","missing","everyone_at_the_table","clips"]},"mcp_tool":true,"discovery":true},{"name":"list_attention","of":"grant","summary":"what is waiting on the owner, grouped by category, with the actions","description":"The owner's attention worklist: every item in this account that is waiting on a person — a source to add, a device to pair, a decision to make, merge pairs to review — grouped by category, each row naming the item, where it came from, what is wanted and why it is stuck in plain words, plus the actions that can run against it (in-app pages and REST calls). `category` filters to one of needs_local_agent | waiting_for_source | needs_decision | merge_reviews; `capsule_id` scopes to one capsule. Same list the owner sees at /needs-you. Requires the write scope (the account's own agents).","args_schema":{"type":"object","properties":{"category":{"type":"string","default":"","description":"one category code (empty = every category)"},"capsule_id":{"type":"string","default":"","description":"scope to one capsule (empty = the whole account)"},"limit":{"type":"integer","default":50,"minimum":1,"maximum":200,"description":"rows per page"},"offset":{"type":"integer","default":0,"minimum":0,"description":"rows to skip"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"total":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"door":{"type":["string","null"]},"count":{"type":"integer"}},"required":["code","label","count"]}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"category":{"type":"string"},"title":{"type":"string"},"source":{"type":["string","null"]},"count":{"type":"integer"},"wanted":{"type":"string"},"why":{"type":"string"},"permanent":{"type":"boolean"},"actions":{"type":"array","items":{"type":"object"}}},"required":["id","kind","category","title","wanted","why","actions"]}},"rows":{"type":"integer"},"capsule_id":{"type":["string","null"],"format":"uuid","description":"the capsule the list is scoped to (null = the whole account)"},"persona_id":{"type":["string","null"],"format":"uuid","description":"The same value as capsule_id, kept for callers written before it."}},"required":["total","categories","items"]},"mcp_tool":true,"discovery":false},{"name":"list_writing_documents","of":"writing","summary":"the capsule's writing documents (current version each)","description":"List the writing documents in a capsule — newest first, the current version of each — optionally filtered to one format and/or one writing project. Same rows the Write editor shows. A key confined to exactly one capsule may omit capsule_id. Authoring surface: requires the write scope on the calling key.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","default":"","description":"the capsule (may be omitted by a single-capsule key)"},"format":{"type":"string","default":"","description":"filter to one writing format (empty = every format)"},"project_id":{"type":"string","default":"","description":"filter to documents filed under one writing project"},"limit":{"type":"integer","default":50,"minimum":1,"maximum":200,"description":"maximum documents returned"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"documents":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"format":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"structure":{"type":"object"},"word_count":{"type":"integer"},"project_id":{"type":["string","null"]},"method":{"type":"string"},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"}},"required":["document_id","capsule_id","persona_id","format","title","text"]}},"count":{"type":"integer"}},"required":["capsule_id","persona_id","documents","count"]},"mcp_tool":true,"discovery":false},{"name":"get_writing_document","of":"writing","summary":"one writing document: current text + metadata","description":"Read one writing document: its current version's text, title, format, structure, word count, which writing project it is filed under, and how the current version was written. Same document the Write editor opens (/projects?section=writing&doc=<document_id>) and GET /api/v1/writing/documents/{document_id} returns. Authoring surface: requires the write scope on the calling key.","args_schema":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","description":"The writing document to read."}},"required":["document_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"format":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"structure":{"type":"object"},"word_count":{"type":"integer"},"project_id":{"type":["string","null"]},"method":{"type":"string"},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"}},"required":["document_id","capsule_id","persona_id","format","title","text"]},"mcp_tool":true,"discovery":false},{"name":"save_writing_document","of":"writing","summary":"create a writing document, or save its next version","description":"Save a writing document. Omit document_id to CREATE one (title and format required; capsule_id names the capsule unless the key is confined to exactly one). Pass document_id to save the NEXT VERSION of an existing document — only the fields you send change, empty text leaves the body as it was, the format never changes, and every prior version stays in history. project_id files the document under a writing project in the same capsule. The version is recorded as written by an agent. Requires the write scope on the calling key.","args_schema":{"type":"object","properties":{"document_id":{"type":"string","default":"","description":"an existing document to revise (empty = create)"},"capsule_id":{"type":"string","default":"","description":"the capsule to create in (may be omitted by a single-capsule key)"},"title":{"type":"string","default":"","description":"the title (required to create; 1–200 characters)"},"format":{"type":"string","default":"","description":"the writing format (required to create; fixed afterwards)"},"text":{"type":"string","default":"","description":"the document body (empty on a revise = unchanged)"},"project_id":{"type":"string","default":"","description":"file under this writing project (same capsule)"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"format":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"structure":{"type":"object"},"word_count":{"type":"integer"},"project_id":{"type":["string","null"]},"method":{"type":"string"},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"created":{"type":"boolean","description":"true when a new document was made"}},"required":["document_id","capsule_id","persona_id","format","title","created"]},"mcp_tool":true,"discovery":false},{"name":"list_projects","of":"project","summary":"the account's projects with dates, stages, milestones and pictures","description":"The account's projects on one timeline: each project's name, its capsule, its start and end dates (or 'pencilled in'), its stages and milestones, its picture, and the work it holds (apps, live shows, writing). `start` and `end` (YYYY-MM-DD) bound the window; projects with no dates are counted in `undated` with a sentence. `capsule_id` scopes to one capsule. Requires the write scope (the account's own agents).","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","default":"","description":"scope to one capsule (empty = every capsule you can open)"},"start":{"type":"string","default":"","description":"YYYY-MM-DD"},"end":{"type":"string","default":"","description":"YYYY-MM-DD"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"projects":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"},"undated":{"type":"integer"},"undated_summary":{"type":["string","null"]}},"required":["projects","count","undated"]},"mcp_tool":true,"discovery":false},{"name":"list_bookings","of":"project","summary":"who is booked where and when, with double-bookings named","description":"Bookings between `start` and `end` (ISO date-times; default the next 60 days): each booking's title, capsule, project, times, place, the people booked and whether it is pencilled in, plus any double-booking sentence for a person booked twice at once. `capsule_id`, `project_id` and `person` (a member id) narrow the list. Requires the write scope (the account's own agents).","args_schema":{"type":"object","properties":{"start":{"type":"string","default":"","description":"ISO date-time"},"end":{"type":"string","default":"","description":"ISO date-time"},"capsule_id":{"type":"string","default":"","description":"scope to one capsule (empty = every capsule)"},"project_id":{"type":"string","default":""},"person":{"type":"string","default":"","description":"a member's id"}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"bookings":{"type":"array","items":{"type":"object"}}},"required":["bookings"]},"mcp_tool":true,"discovery":false},{"name":"open_lead_case","of":"lead","summary":"the case one seller works on one lead, opened in a phase of the sales ladder","description":"Open the case (the deal) that one seller of a capsule works on one lead of the same capsule. It opens in `phase` (default research) at that phase's chance of closing; `offering` names one of the seller's offerings (default its primary one); `estimated_value` (an amount such as 12500 or 12500.50) and `currency` (three letters, default USD), `target_close_on` and `next_action_on` (YYYY-MM-DD) and `next_action` are optional. A lead that already has a case with that seller keeps it, and the answer says so (`opened` false): opening twice changes nothing. Requires the write scope (the account's own agents), a workflow the owner saved or an agent run in a capsule it may change (the log names the agent); moving, closing and recording how it ended are the owner's own decisions.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead the deal is on."},"seller_id":{"type":"string","format":"uuid","description":"The seller working it, in the lead's capsule."},"offering":{"type":"string","default":"","description":"an offering's name"},"name":{"type":"string","default":"","description":"the deal's name"},"phase":{"type":"string","default":"","description":"research, prospecting, outreach, discovery, qualification, demo, proposal, negotiation or closing"},"estimated_value":{"type":"string","default":""},"currency":{"type":"string","default":""},"target_close_on":{"type":"string","default":"","description":"YYYY-MM-DD"},"next_action":{"type":"string","default":""},"next_action_on":{"type":"string","default":"","description":"YYYY-MM-DD"}},"required":["lead_id","seller_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"capsule_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"phase":{"type":"string"},"chance":{"type":"integer"},"opened":{"type":"boolean"},"sentence":{"type":"string"}},"required":["id","status","phase","chance","opened","sentence"]},"mcp_tool":true,"discovery":false},{"name":"log_lead_case","of":"lead","summary":"one activity, note, task or communication on a deal's log","description":"Put one line on a deal's log. `kind` is activity (a `title`, its `type`: research, call, email, meeting, demo, presentation, proposal, negotiation, follow up, internal, social, event, task completed or other; how it went as `outcome`; `minutes`; `next_steps`; a task completed names its `task_id`), note (`text`, its `type` such as objection, insight, risk or blocker, `pinned`), task (`title`, `due_on` YYYY-MM-DD, `priority` urgent, high, medium or low) or communication (`channel`, `direction` inbound or outbound, `subject`, `text`, `summary`). `occurred_at` (ISO date-time) is when it happened, never later than now. Requires the write scope (the account's own agents), a workflow the owner saved or an agent run in a capsule it may change.","args_schema":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid","description":"The deal to log on."},"kind":{"type":"string","enum":["activity","note","task","communication"]},"title":{"type":"string","default":""},"text":{"type":"string","default":""},"type":{"type":"string","default":""},"outcome":{"type":"string","default":""},"minutes":{"type":"integer","default":0,"minimum":0,"maximum":1440},"next_steps":{"type":"string","default":""},"task_id":{"type":"string","default":""},"due_on":{"type":"string","default":"","description":"YYYY-MM-DD"},"priority":{"type":"string","default":""},"channel":{"type":"string","default":""},"direction":{"type":"string","default":""},"subject":{"type":"string","default":""},"summary":{"type":"string","default":""},"pinned":{"type":"boolean","default":false},"occurred_at":{"type":"string","default":"","description":"ISO date-time"}},"required":["case_id","kind"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"detail":{"type":"object"},"who":{"type":"string"},"occurred_at":{"type":"string"},"sentence":{"type":"string"}},"required":["id","case_id","kind","sentence"]},"mcp_tool":true,"discovery":false},{"name":"read_lead_sources","of":"lead","summary":"every source behind a lead's dossier with its grade, and how far the set holds","description":"Every source the lead's dossier cites, grouped by who said it: its grade (A to D), its tier on the trust scale (1 official to 5 unverified), its score out of 100, any flags (opinion, sponsored, press release), how often it is cited and which numbered citations it backs. Then the set: the best and the worst source, the average and the weighted score, the tier counts, how many are reliable (tier 3 or better) and advice in the owner's words. A lead with no dossier yet is refused with the sentence to investigate it first.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose dossier to read."}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"sources":{"type":"array","items":{"type":"object"}},"weighted":{"type":"integer"},"reliable":{"type":"integer"},"advice":{"type":"array","items":{"type":"string"}},"sentence":{"type":"string"}},"required":["lead_id","sources","weighted","sentence"]},"mcp_tool":true,"discovery":false},{"name":"verify_lead","of":"lead","summary":"one verification pass over a lead's dossier, or all of them","description":"One check over the facts the lead's dossier cites. `check` is contradictions (two facts disagreeing on a headcount, a revenue for one year, a total raised, a founding year, a place or who holds an office, each with both facts, their sources and how to settle it), blind_spots (what a seller needs to know that the dossier does not say: the company, its people, what is happening there, the competition and the timing, each gap with why it matters and where to look, and the questions to ask), freshness (how old each kind of fact is against how fast it goes out of date, and what to refresh first) or all (every pass in order, each fact scored from the authority of its sources and marked verified, likely, unverified or disputed, with an overall quality). Default all.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose dossier to check."},"check":{"type":"string","enum":["contradictions","blind_spots","freshness","all"],"default":"all"}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"pass":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","pass","sentence"]},"mcp_tool":true,"discovery":false},{"name":"score_lead","of":"lead","summary":"a lead's score from 0 to 100 on what its dossier shows, with its sales signals","description":"A score from 0 to 100 from what the lead's dossier shows, in five parts: what is known about the company, the people named, recent news, money coming in and reasons to reach out now, each with what is known, what is missing and the facts behind it. Contact details, social presence and the technology they run are not read, so they are left out rather than guessed. With the sales signals the dossier carries (new funding, a new chief, a launch, hiring, expansion and more), each with what to do about it, and the next step. A lead with no dossier scores on its name and website alone.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to score."}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"score":{"type":"integer"},"band":{"type":"string"},"parts":{"type":"array","items":{"type":"object"}},"signals":{"type":"array","items":{"type":"object"}},"next":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","score","band","sentence"]},"mcp_tool":true,"discovery":false},{"name":"fit_lead","of":"lead","summary":"how well a lead fits one seller's own offer, and what to ask","description":"The lead against one seller of its capsule (`seller_id`; may be left out when the capsule has one seller) and one of its offerings (`offering`, by name; optional): a fit from 0 to 100 read on the seller's industries, company size, buyer, buying triggers and budget, each with the facts behind it and the ones the dossier does not speak to; what matches, what does not (the seller's disqualifiers, a place it does not sell to, no buyer named), the seller's own fit criteria met or not, likely competitors with the seller's advantages and the risks, the chance of a win, a priority, the offering to lead with, the seller's discovery questions for what is unknown and the objections to expect.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to fit."},"seller_id":{"type":"string","default":"","description":"a seller in the lead's capsule"},"offering":{"type":"string","default":"","description":"an offering's name"}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"seller_id":{"type":"string","format":"uuid"},"fit":{"type":["integer","null"]},"win_chance":{"type":"integer"},"priority":{"type":"integer"},"questions":{"type":"array","items":{"type":"string"}},"sentence":{"type":"string"}},"required":["lead_id","seller_id","fit","win_chance","sentence"]},"mcp_tool":true,"discovery":false},{"name":"get_lead_graph","of":"lead","summary":"the people, sellers, competitors and items around a lead, and a way in","description":"The relationship graph around a lead: the people its dossier names (role, how senior, whether they can say yes, whether your own material mentions them or another lead names them), the sellers working it and where each deal stands, the competitors named or that won it, the items linked to it and the other leads sharing its people. Nodes and edges in words, the key people and a way in: someone your material already knows, else someone named at another lead, else the most senior person named.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to map."}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"nodes":{"type":"array","items":{"type":"object"}},"edges":{"type":"array","items":{"type":"object"}},"key_people":{"type":"array","items":{"type":"object"}},"way_in":{"type":"object"},"sentence":{"type":"string"}},"required":["lead_id","nodes","edges","way_in","sentence"]},"mcp_tool":true,"discovery":false},{"name":"watch_lead","of":"lead","summary":"watch a lead: each new research on it is compared with the last, changes kept","description":"Start, change or stop the watch on a lead. `watch_for` lists what to watch for: leadership_change (a different chief named, or one named for the first time, and news of appointments), executive_departure (news of a leader leaving), funding_event (a new round or a larger total raised, and funding news), acquisition (buying a company, or being bought), layoffs, expansion (new sites and hiring), product_launch, partnership, tech_stack_change (a change of tools), negative_press (lawsuits, investigations, breaches, recalls) and competitor_news (a competitor of the capsule's sellers named); default leadership_change, funding_event and acquisition. `threshold` keeps all changes, high_only (high and critical, the default) or critical_only. `on` false stops the watch and keeps its alerts. The watch never spends: it reads each new research that lands on the lead (an investigation, its refresh schedule, an answer round), and a workflow set to start when a watched lead changes starts.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to watch."},"watch_for":{"type":"array","items":{"type":"string","enum":["leadership_change","executive_departure","funding_event","acquisition","layoffs","expansion","product_launch","partnership","tech_stack_change","negative_press","competitor_news"]},"default":[],"description":"what to watch for; empty keeps the current choice"},"threshold":{"type":"string","enum":["","all","high_only","critical_only"],"default":""},"on":{"type":"boolean","default":true}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"watched":{"type":"boolean"},"on":{"type":"boolean"},"kinds":{"type":"array","items":{"type":"object"}},"threshold":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","watched","on","sentence"]},"mcp_tool":true,"discovery":false},{"name":"read_lead_watch","of":"lead","summary":"a lead's watch and its alerts, newest first","description":"The watch on a lead: what it watches for, which changes it keeps, whether it is on, when it last read new research and how often the lead is researched again, and its alerts, newest first, each with its kind, how serious it is (critical, high, medium, low), a sentence, the fact the research said and the source behind it, what to do about it, and whether it has been seen. `unseen_only` true lists only the alerts not yet seen. A lead nobody watches reads as not watched.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose watch to read."},"unseen_only":{"type":"boolean","default":false}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"watched":{"type":"boolean"},"on":{"type":"boolean"},"alerts":{"type":"array","items":{"type":"object"}},"unseen":{"type":"integer"},"sentence":{"type":"string"}},"required":["lead_id","watched","alerts","unseen","sentence"]},"mcp_tool":true,"discovery":false},{"name":"acknowledge_lead_alerts","of":"lead","summary":"mark a watched lead's alerts seen, with what was done about them","description":"Mark alerts on a lead's watch seen: the ones named in `alert_ids`, or every one not yet seen when none is named, with `action_taken` (what was done about them, up to 500 characters) kept beside each.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The watched lead."},"alert_ids":{"type":"array","items":{"type":"string"},"default":[]},"action_taken":{"type":"string","default":""}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"marked":{"type":"integer"},"unseen":{"type":"integer"},"sentence":{"type":"string"}},"required":["lead_id","marked","sentence"]},"mcp_tool":true,"discovery":false},{"name":"list_lead_watches","of":"lead","summary":"a capsule's watched leads, with their unseen and critical alerts","description":"Every watched lead of the capsule: each watch with its unseen and critical alerts and when it last read new research; the alerts of the last day and the last week, the critical ones not yet seen, the most recent ones, and how many watches have nothing that researches their lead again on its own.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose watched leads to read."}},"required":["capsule_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"watched":{"type":"integer"},"watches":{"type":"array","items":{"type":"object"}},"critical_unseen":{"type":"array","items":{"type":"object"}},"recent":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["capsule_id","watched","watches","sentence"]},"mcp_tool":true,"discovery":false},{"name":"ask_deal_memory","of":"lead","summary":"what a capsule's deals taught: similar deals, objections, what worked","description":"Ask the capsule's deal memory a `question` (up to 500 characters). It answers with the closed deals most like it (how each ended, what worked and failed, the lessons, the reason a deal was lost and to whom), the objections heard on deals with each answer given and how often it worked, the lessons deals kept, what worked and what failed counted across won and lost deals, the record against each competitor, recommendations read from those counts, and the memory's figures (win rate, days to a win, the most common reason for a loss). `seller_id` reads one seller's deals only; `competitor`, `lead_id` and `offering` rank deals that share them first. `mode` says whether the deals were ranked by their words alone or re-ranked by meaning.","args_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose deals to ask."},"question":{"type":"string","maxLength":500},"lead_id":{"type":"string","default":"","description":"a lead's id"},"seller_id":{"type":"string","default":"","description":"a seller's id"},"competitor":{"type":"string","default":""},"offering":{"type":"string","default":""},"limit":{"type":"integer","default":5,"minimum":1,"maximum":20}},"required":["capsule_id","question"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid"},"mode":{"type":"string"},"similar_deals":{"type":"array","items":{"type":"object"}},"objections":{"type":"array","items":{"type":"object"}},"recommendations":{"type":"array","items":{"type":"string"}},"figures":{"type":"object"},"sentence":{"type":"string"}},"required":["capsule_id","mode","similar_deals","recommendations","sentence"]},"mcp_tool":true,"discovery":false},{"name":"attach_lead_call","of":"lead","summary":"a recorded call read and kept on a lead's deal: who spoke, promises, objections","description":"Read a recording of a call (`entity_id`, an item in the lead's capsule with a transcript) and keep it on the lead's deal: who spoke (each speaker's share of the talk, measured, and a name only where it is said on the call), what was promised (by whom and by when, as said) and what was objected to (with the answer given, if one was). Every point names the transcript line it was read from and keeps that line's words. `case_id` names the deal when the lead has several open. The deal memory counts the call's objections as heard; whether an answer worked stays a person's to say. Reading costs one model call per part of the transcript, on the account's allowance. Requires the write scope, a workflow the owner saved or an agent run in a capsule it may change (the log names the agent).","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose deal keeps the call."},"entity_id":{"type":"string","format":"uuid","description":"The recording of the call, in the lead's capsule."},"case_id":{"type":"string","default":"","description":"a deal's id"}},"required":["lead_id","entity_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"call_id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"lead_id":{"type":"string","format":"uuid"},"recording_id":{"type":"string","format":"uuid"},"speakers":{"type":"array","items":{"type":"object"}},"commitments":{"type":"integer"},"objections":{"type":"integer"},"sentence":{"type":"string"}},"required":["call_id","case_id","commitments","objections","sentence"]},"mcp_tool":true,"discovery":false},{"name":"read_lead_calls","of":"lead","summary":"the calls kept on a lead's deals, newest first, each point with its line","description":"The calls kept on a lead's deals, newest first: each one's speakers (with their share of the talk and a name where one was said), what was promised and what was objected to, each with the transcript line it was read from and that line's words, and who kept it. A lead with no call reads as none yet.","args_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose calls to read."}},"required":["lead_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"calls":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["lead_id","calls","sentence"]},"mcp_tool":true,"discovery":false},{"name":"list_capsule_names","of":"capsule","summary":"the capsules the caller sees by name and picture only","description":"The capsules you can see by name and picture but cannot open: each one's name, picture and a sentence saying how to ask for access. Takes no arguments. An agent key never holds name-only reach, so it reads an empty list.","args_schema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"capsules":{"type":"array","items":{"type":"object"}}},"required":["capsules"]},"mcp_tool":true,"discovery":false},{"name":"list_marks","of":"capsule","summary":"the printed codes on one item or one capsule, newest first","description":"List the codes made for one item (`entity_id`) or one capsule (`capsule_id`). Each row is a code another person can scan: the words on it, who it opens for, and whether it has been withdrawn. Name one or the other; naming neither lists the codes of the capsules the caller may read, which is the account's own work. Requires the write scope and never reaches a shared face.","args_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The item whose codes to list."},"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose codes to list."}},"required":[],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"marks":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["marks","sentence"]},"mcp_tool":true,"discovery":false},{"name":"read_mark","of":"capsule","summary":"one code's words, who it opens for, and how often it was opened","description":"Read one code: the words printed with it, whether it opens for the account's own people or for anyone, and how often it has been opened. A withdrawn code says it was withdrawn rather than disappearing. Requires the write scope; a code in another account is not found.","args_schema":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid","description":"The code to read."}},"required":["mark_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it."},"capsule_id":{"type":"string","format":"uuid"},"code":{"type":"string"},"address":{"type":"string"},"opens_for":{"type":"string"},"label":{"type":"string"},"note":{"type":"string"},"opened":{"type":"integer"},"withdrawn_at":{"type":["string","null"]},"in_use":{"type":"boolean"},"links":{"type":"array","items":{"type":"object"}}},"required":["id","opens_for","opened","in_use"]},"mcp_tool":true,"discovery":false},{"name":"read_mark_opens","of":"capsule","summary":"a code's opens day by day, with the empty days kept","description":"How often one code was opened, day by day, over a window (`from` and `to` as YYYY-MM-DD; the last 30 days when neither is given). Every day of the window is present, including the days nothing happened, so a chart has no gaps. The count is the code, the day and a number — nothing about who opened it. Requires the write scope.","args_schema":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid","description":"The code to read."},"start":{"type":"string","default":"","description":"YYYY-MM-DD"},"end":{"type":"string","default":"","description":"YYYY-MM-DD"}},"required":["mark_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"start":{"type":"string"},"end":{"type":"string"},"opens":{"type":"integer"},"days":{"type":"array","items":{"type":"object"}}},"required":["mark_id","opens","days"]},"mcp_tool":true,"discovery":false},{"name":"read_live_outputs","of":"capsule","summary":"a show's published browser addresses and each layer's own address","description":"List the addresses a live show is published at: the whole show and each layer as its own page, which is what an operator loads into a browser source. Each row carries the address and whether it is showing. A show that is not published answers with an empty list rather than an error. Requires the write scope: a show's addresses are the account's own production surface, never sold.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","description":"The live show whose addresses to list."}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"layers":{"type":"array","items":{"type":"string"}},"url_path":{"type":"string"},"last_seen_at":{"type":["string","null"]},"last_hello_at":{"type":["string","null"]}}}},"sentence":{"type":"string"}},"required":["outputs","sentence"]},"mcp_tool":true,"discovery":false},{"name":"read_live_chat","of":"capsule","summary":"the merged chat lines a live show has received, newest last","description":"Read the chat a live show has received, merged across the platforms it is capturing, oldest first up to `limit` (default 50, at most 200). Platform events such as a pledge or a raid arrive as their own rows and are marked as events, so a caller can tell a message from an event. The chat is the show's live buffer, not capsule material. Requires the write scope.","args_schema":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","description":"The live show."},"limit":{"type":"integer","default":50,"description":"1 to 200"}},"required":["project_id"],"additionalProperties":false},"returns_schema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["messages","sentence"]},"mcp_tool":true,"discovery":false}],"workflow":{"definition_schema":{"type":"object","title":"CIP workflow definition","description":"A tenant-scoped, immutable-per-version step DAG (edges = depends_on). Must be acyclic; enforced by the engine's validate_definition.","properties":{"steps":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","enum":["verb","llm","promote_to_canon","analyze","artifact","write","clip","overlay","image","video","speech","assemble","enhance","consult","transform","map","subworkflow","http_request","mcp_tool","review","brick"]},"params":{"type":"object","description":"per-type — see step_types[].params_schema"},"depends_on":{"type":"array","items":{"type":"string"}},"condition":{"type":"object","description":"W.4 condition: test a COMPLETED upstream's result (the $step target must be in depends_on). op defaults to 'truthy'.","properties":{"$step":{"type":"string"},"$path":{"type":"string"},"op":{"type":"string","enum":["eq","ne","gt","lt","gte","lte","contains","exists","truthy"],"default":"truthy"},"value":{"description":"comparison value (eq/ne/gt/lt/gte/lte/contains)"}},"required":["$step"]},"on_failure":{"type":"string","enum":["fail_run","continue"],"default":"fail_run"}},"required":["id","type"]}}},"required":["steps"],"additionalProperties":false},"step_reference_schema":{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]},"step_types":[{"type":"verb","summary":"read from a capsule (canonical verb)","description":"Run one of the capsule READ verbs listed in the catalog's verbs section, on the account's behalf. args must satisfy the verb's args_schema; a capsule is named capsule_id.","params_schema":{"type":"object","properties":{"verb":{"type":"string","enum":["get_entity_intelligence","search_entities","browse_capsule","get_related","get_kin","list_collection","get_collection_intelligence","get_timeline","get_metric","finance_rollup","describe_capsule","get_capsule_learned","get_referents","get_kin_clues","get_capsule_voice","get_capsule_coverage","list_collections","list_metrics","get_compounding","get_semantic_map","get_persona_graph","get_visual_neighbors","create_collection","add_to_collection","remember","recall","get_capsule_dossier","read_item_text","cite_passage","list_project_registers","get_project_register","open_lead_case","log_lead_case","read_lead_sources","verify_lead","score_lead","fit_lead","get_lead_graph","watch_lead","read_lead_watch","acknowledge_lead_alerts","list_lead_watches","ask_deal_memory","attach_lead_call","read_lead_calls","list_marks","read_mark","read_mark_opens","read_live_outputs","read_live_chat"],"description":"canonical verb name"},"args":{"anyOf":[{"type":"object","description":"verb arguments (see the verb's args_schema)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]}},"required":["verb"],"additionalProperties":true}},{"type":"llm","summary":"ask the resolved LLM","description":"One completion from the tenant-resolved LLM (BYOK → managed → baseline tiers). Put the INSTRUCTION in prompt and upstream capsule DATA in context (usually a $step reference) — grounding rides a fenced block.","params_schema":{"type":"object","properties":{"prompt":{"anyOf":[{"type":"string","description":"the instruction"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"system":{"anyOf":[{"type":"string","default":"You are a precise assistant."},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"context":{"anyOf":[{"description":"grounding data (string or object; objects are JSON-fenced)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"tier":{"type":"string","description":"force a tier (e.g. managed, baseline); omit = resolve"},"max_tokens":{"type":"integer","default":512},"min_words":{"type":"integer","description":"declared output scope: a normal finish under 60% of it is judged too short, not finished (omit = no floor)"},"land_short":{"type":"boolean","description":"when true, a too-short piece with text still saves as a finished draft the owner can edit (batch / working drafts)"}},"required":["prompt"],"additionalProperties":true}},{"type":"promote_to_canon","summary":"write an entity into a capsule","description":"The workflow's way to write into a capsule: create one entity with provenance-stamped attributes (method=workflow:<name>@v<version>). lawful_basis defaults to 'unknown' (blocked from sale until declared).","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"entity_type":{"type":"string","default":"workflow_output"},"attributes":{"anyOf":[{"type":"object","description":"non-empty attribute key → value map","minProperties":1},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"}},"required":["persona_id","attributes"],"additionalProperties":true}},{"type":"analyze","summary":"run the analysis pipeline on an entity","description":"Enqueue a REAL analyze job for an entity (counted + gated by the account's compute quota — no bypass through workflows).","params_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"tier":{"type":"string","description":"analysis tier (e.g. managed); omit = default"},"text_only":{"type":"boolean","default":false}},"required":["entity_id"],"additionalProperties":true}},{"type":"artifact","summary":"store a generated document as a file","description":"The W.3a artifact door: content becomes a stored, viewable, downloadable FILE (content-addressed S3 + an 'artifact' entity with workflow provenance). template renders structured content through a designed scaffold (format must be 'html'; see the catalog's artifact_templates content schemas). lawful_basis defaults to 'owner_content'.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"format":{"type":"string","enum":["chart","csv","html","json","md","text","xlsx"]},"content":{"anyOf":[{"description":"literal content (string or structured object)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"template":{"type":"string","enum":["deck.v1","report.v1"],"description":"designed scaffold (requires format 'html')"},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"}},"required":["persona_id","name","format","content"],"additionalProperties":true}},{"type":"write","summary":"create or revise a Write document (the same one the editor opens)","description":"Drive the EXISTING writing service — persona_id creates a real writing_document in that capsule; entity_id instead saves a new version of an existing document (prior versions stay in history, exactly like the Write editor's own save — never a silent overwrite of the active draft, and never a parallel copy). The result's document_id is the id the Write editor opens, so the user can go deeper in Write on the very object this step produced. body usually rides a $step reference from an upstream llm step.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","description":"existing writing document to revise (omit to create)"},"format":{"type":"string","enum":["article","beat_sheet","breakdown","bulletin","business_comms","case_study","childrens_book","comedy_set","contract_draft","documentary","grant_proposal","graphic_novel","incident_report","interagency_report","monologue","note","novel_chapter","outline","performance_report","podcast_rant","research_paper","revision_brief","screenplay","sequence","shot_list","sketch_comedy","sop","speech","statistical_report","storyboard","technical_report","treatment"],"default":"note","description":"writing format (create only; immutable after)"},"title":{"anyOf":[{"type":"string","description":"document title"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"body":{"anyOf":[{"type":"string","description":"document body (often a $step reference)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"allow_empty":{"type":"boolean","default":false,"description":"mint/save even when body resolves to empty text. Off by default: an empty body fails the step honestly instead of creating a blank document (audit F06)"}},"required":[],"additionalProperties":true,"anyOf":[{"required":["persona_id","title"]},{"required":["entity_id"]}]}},{"type":"clip","summary":"plan a clip layout on a recording (the same plan Clips opens)","description":"Drive the EXISTING clip service's plan — confirmed clip decisions on the recording become a frame-accurate layout, verification re-measures the media, and on PASS the Premiere XMEML handoff artifact is stored. The result's entity_id is the recording the Clips PlanCard opens, so 'go deeper' lands on THAT layout, not a copy. Honest preconditions: the recording needs a measured audio envelope and saved clip decisions first (both live in the Clips app) — without them the step fails with the reason in the receipt.","params_schema":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the recording entity whose layout is planned"}},"required":["entity_id"],"additionalProperties":true}},{"type":"overlay","summary":"cue a live overlay project's elements","description":"Put values on air in the Live Overlays module: merge a cue into a project's element state, which every receptacle rendering any layer of that project repaints within a tick. This is what makes a STANDING automation possible — a scheduled run draws from the show's capsules, an llm step composes the copy, and this step lands it on the graphics before air without anyone typing it in. Address the project by name (a recurring definition outlives any single row) or by id. The cue is validated against the design, so a stale automation naming a deleted element fails the step honestly instead of leaving the previous value on screen.","params_schema":{"type":"object","properties":{"project":{"type":"string","description":"project name (unique per tenant)"},"project_id":{"type":"string","format":"uuid"},"state":{"anyOf":[{"type":"object","description":"element id → cue (fields of that element type, plus optional 'visible' and 'style')","minProperties":1},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"replace":{"type":"boolean","default":false,"description":"replace the whole cue set instead of merging"}},"required":["state"],"additionalProperties":true}},{"type":"image","summary":"generate an image (stored as an artifact)","description":"Generate an image from a prompt (the image service, or a forced tier) and store it through the artifact door. Pre-flight compute-quota gated. Optional editorial overlays: when any overlay dial is set, the prompt becomes the SACRED SUBJECT of a composed shot prompt (moment/framing/world/palette/capture/discipline/look/correction in factory precedence order — see the catalog's editorial_overlays section for the vocabulary).","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"prompt":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"quality":{"anyOf":[{"type":"object","description":"quality rules for this prompt ({} for the defaults; min_chars, max_chars, must_include, must_not_include, allow_placeholders). When given, the step checks its own resolved prompt and refuses before it spends unless it passes. A check_quality verdict is also taken, as a pass for this prompt only"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","2:3","3:2","4:5","5:4","21:9","9:21"],"default":"1:1"},"output_format":{"type":"string","enum":["png","jpeg"],"default":"png"},"output":{"type":"object","description":"the picture to deliver: shape (W:H, e.g. 4:5 or a custom 4:3), size (standard | large | exact with width and height), a delivery preset (e.g. instagram.feed_portrait, youtube.thumbnail, print.letter), file type, clear background and how many. A choice the picture service cannot draw is drawn as near as it can and finished to the choice; every change is reported in the result's output.notes","properties":{"aspect_ratio":{"type":"string","description":"W:H"},"size":{"type":"string","enum":["standard","large","exact"]},"width":{"type":"integer","minimum":16,"maximum":8192},"height":{"type":"integer","minimum":16,"maximum":8192},"preset":{"type":"string"},"output_format":{"type":"string","enum":["png","jpeg","webp","jpg"]},"transparent_background":{"type":"boolean"},"count":{"type":"integer","minimum":1,"maximum":4}},"additionalProperties":false},"negative_prompt":{"anyOf":[{"type":"string","default":""},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"seed":{"anyOf":[{"type":"integer","minimum":0,"maximum":858993459,"description":"reproduction seed. Omit to mint one; pin a take's recorded seed to replay it. The receipt reports seed and seed_honoured - a lane that cannot honour a seed says so rather than pretending"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"tier":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"},"reference_images":{"type":"array","maxItems":6,"description":"owned pictures that condition the draw (a literal list, never a $step reference): each names one of entity_id | storage_key inside this tenant, with mode pose (follow its pose / layout) | style (borrow its look) | composition (keep its arrangement) and weight in (0, 1]. The receipt reports reference_used and, per picture, used / reason — a lane that cannot take a picture says so, never drops it","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"storage_key":{"type":"string"},"mode":{"type":"string","enum":["pose","style","composition"]},"weight":{"type":"number","minimum":0,"maximum":1},"label":{"type":"string"}}}},"moment":{"anyOf":[{"type":"string","description":"the action/scene (beats world/palette)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"look":{"type":"string","enum":["signature","realistic","natural_daylight","golden_hour","overcast_doc","film_35mm"],"description":"overlay look (signature keeps the brand world)"},"framing":{"type":"string","enum":["as_selected","front_hero","back_view","three_quarter","over_shoulder","detail_focus","macro_detail","full_wide"],"description":"camera-to-subject framing"},"lens":{"type":"string","enum":["ultrawide_16","wide_24","street_35","normal_50","portrait_85","tele_135","tele_200","macro_100","fisheye_8"]},"camera_body":{"type":"string","enum":["canon_r5","sony_a7","leica_m","hasselblad","arri_alexa","gopro","smartphone","disposable"]},"film":{"type":"string","enum":["portra_400","gold_200","ektachrome","cinestill_800t","trix_bw","velvia","polaroid"]},"brand_world":{"anyOf":[{"type":"string","description":"tenant brand-profile world line (signature look)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"brand_palette":{"anyOf":[{"type":"string","description":"tenant brand-profile palette line"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"discipline":{"anyOf":[{"type":"string","description":"tenant high-priority equipment/domain directive"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"correction":{"anyOf":[{"type":"string","description":"rework correction — always last, highest priority"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"cast":{"type":"string","format":"uuid","description":"character entity id (dial-cast member or written story character) — injects its identity line for cross-shot consistency"},"unlocked_ok":{"type":"boolean","default":false,"description":"Proceed although the cast character carries no character lock (the answered one-question). Without it an unlocked cast anchor refuses to generate."}},"required":["persona_id","prompt","name"],"additionalProperties":true}},{"type":"video","summary":"generate a video clip (stored as an artifact)","description":"Generate a short clip from a prompt (the video service, started and followed to completion) and store it through the artifact door. Pre-flight compute-quota gated — a clip is real compute spend. `cast` anchors a recurring fictional character's identity recipe, exactly like the image step.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"prompt":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"quality":{"anyOf":[{"type":"object","description":"quality rules for this prompt ({} for the defaults; min_chars, max_chars, must_include, must_not_include, allow_placeholders). When given, the step checks its own resolved prompt and refuses before it spends unless it passes. A check_quality verdict is also taken, as a pass for this prompt only"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9","9:21"],"default":"16:9"},"duration":{"type":"string","enum":["4s","5s","6s","8s","9s"],"description":"clip length; left out, the clip maker's own length. A length the clip maker cannot make is refused before spend"},"resolution":{"type":"string","enum":["540p","720p","1080p"],"default":"720p"},"seed":{"anyOf":[{"type":"integer","minimum":0,"maximum":858993459,"description":"reproduction seed. Omit to mint one; pin a take's recorded seed to replay it. The receipt reports seed and seed_honoured - a lane that cannot honour a seed says so rather than pretending"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"negative_prompt":{"anyOf":[{"type":"string","maxLength":5000,"description":"things to leave out of the clip; a clip maker that cannot take this list is refused before spend"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"takes":{"type":"integer","minimum":1,"maximum":4,"default":1,"description":"takes from one request, each stored as its own clip and priced as its own clip; more than the clip maker returns is refused before spend"},"tier":{"type":"string"},"start_frame":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"storage_key":{"type":"string"}},"description":"a picture in the library: exactly one of entity_id or storage_key"},"end_frame":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"storage_key":{"type":"string"}},"description":"a picture in the library: exactly one of entity_id or storage_key"},"reference_images":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid"},"storage_key":{"type":"string"}},"description":"a picture in the library: exactly one of entity_id or storage_key"},"description":"pictures of a person, prop or place the clip must keep; a clip takes these or start/end frames, not both"},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"},"cast":{"type":"string","format":"uuid","description":"character entity id (dial-cast member or written story character) — injects its identity line for cross-shot consistency"},"unlocked_ok":{"type":"boolean","default":false,"description":"Proceed although the cast character carries no character lock (the answered one-question). Without it an unlocked cast anchor refuses to generate."}},"required":["persona_id","prompt","name"],"additionalProperties":true}},{"type":"speech","summary":"speak a Cast handle's voice (stored as an audio artifact)","description":"Text-to-speech on the owner's OWN speech service key, stored in Account → Connections (the platform does not supply a voice). The speaker is a Cast handle whose element provides voice_spoken (`@mara` contributes voice_spoken or the step fails ready with the contract sentence — no second tag). A real person's voice needs a voice-likeness consent on file (no silent clone). Pre-flight compute-quota gated; refused under sovereign_only. The result is an artifact entity the Library's waveform viewer opens; text usually rides a $step reference from an llm step.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"speaker":{"type":"string","description":"Cast handle, e.g. \"@mara\" (must provide voice_spoken)"},"text":{"anyOf":[{"type":"string","maxLength":5000,"description":"what to say — literal; handles inside are NOT expanded"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"output_format":{"type":"string","enum":["mp3"],"default":"mp3"},"credential":{"type":"string","description":"name of the stored speech key to use (default: the speech service's default key name)"},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"}},"required":["persona_id","speaker","text","name"],"additionalProperties":true}},{"type":"enhance","summary":"upscale a Library picture on the owner's own upscaling account","description":"Precision upscaling on the owner's OWN upscaling service key, stored in Account → Connections (the platform does not supply one). The source is a Library picture in the step's capsule (source: an entity id, or a $step reference to an image step's result — the capsule is sealed, the picture inside it may come from upstream); the provider's own credit estimate for THIS job is taken before the spend and written to the receipt. Pre-flight compute-quota gated; refused under sovereign_only. The result is a new image artifact entity the Library opens, with provenance naming the source and the model.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"source":{"anyOf":[{"type":"string","format":"uuid","description":"the Library picture to enhance (jpeg/png/tiff), in this step's capsule"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"model":{"type":"string","enum":["Standard V2","Low Resolution V2","CGI","High Fidelity V2","Text Refine"],"default":"Standard V2"},"output_width":{"type":"integer","minimum":1,"maximum":32000,"description":"target width in pixels (omit to let the model choose)"},"output_height":{"type":"integer","minimum":1,"maximum":32000,"description":"target height in pixels (omit to let the model choose)"},"output_format":{"type":"string","enum":["jpeg","png","tiff"],"default":"jpeg"},"credential":{"type":"string","description":"name of the stored upscaling key to use (default: the upscaling service's default key name)"},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"}},"required":["persona_id","source","name"],"additionalProperties":true}},{"type":"assemble","summary":"cut / mix / wrap artifacts into ONE proven artifact","description":"I+2 (Plane III Assemble): ffmpeg concat / mix / wrap over artifact entity ids on the capsule — speech takes, image/video cells, Clips renders, existing recordings. QC is a GATE inside the step: integrated loudness -16..-14 LUFS, no silence run over 2 s, no black run of 0.5 s+, no static run of 5 s+ (a still-image wrap is static by design and says so). A failing measurement fails the step with the numbers — nothing is auto-trimmed, the inputs are untouched. Loudness is normalized to the target at the encode (mastering, not a QC fix); normalize_loudness=false gates the raw mix. Clips compile-from-pool calls this same door — one compile dialect. Pre-flight compute-quota gated. Result: one artifact entity id.","params_schema":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid"},"inputs":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":40,"description":"artifact entity ids in edit order (or a $step reference to a step whose result carries entity ids)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"name":{"anyOf":[{"type":"string","description":"stored file name"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"mode":{"type":"string","enum":["concat","mix","wrap"],"default":"concat","description":"concat = same-kind pieces in order; mix = audio over audio; wrap = one picture (video or still) + one audio"},"normalize_loudness":{"type":"boolean","default":true},"title":{"anyOf":[{"type":"string"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]}},"required":["persona_id","inputs","name"],"additionalProperties":true}},{"type":"consult","summary":"ask a grounded, cited question over capsules","description":"Module Atlas G-1: one grounded Q&A turn over 1..n capsules — the Consult hub's retrieve→synthesize core as a workflow node. Returns the answer text plus the evidence citations it used (grounded=false with an honest explanation when nothing relevant was retrieved). Rides the strictest model-exposure policy of the consulted capsules. Pair with an artifact step to land the cited answer in a report.","params_schema":{"type":"object","properties":{"question":{"anyOf":[{"type":"string","description":"what to ask the capsule(s)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"persona_id":{"type":"string","format":"uuid"},"persona_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"consult several capsules at once"}},"required":["question"],"additionalProperties":true,"anyOf":[{"required":["persona_id"]},{"required":["persona_ids"]}]}},{"type":"transform","summary":"deterministic data shaping (no LLM burn)","description":"Pure op pipeline over an input (usually a $step reference): pluck / map_pluck / filter / first / slice / count / unique / join / ratio.","params_schema":{"type":"object","properties":{"input":{"anyOf":[{"description":"the value to shape"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"ops":{"type":"array","minItems":1,"items":{"type":"object","properties":{"op":{"type":"string","enum":["pluck","filter","map_pluck","first","slice","count","join","unique","ratio"]},"path":{"type":"string","description":"dot path"},"cmp":{"type":"string","enum":["eq","ne","gt","lt","gte","lte","contains","exists","truthy"],"description":"filter comparator"},"value":{"description":"filter comparison value"},"n":{"type":"integer","description":"slice size"},"sep":{"type":"string","description":"join separator"},"num":{"type":"string","description":"ratio numerator path"},"den":{"type":"string","description":"ratio denominator path"}},"required":["op"]}}},"required":["input","ops"],"additionalProperties":true}},{"type":"map","summary":"bounded for-each over a list","description":"Run a small template step (verb/llm/transform/image/video) once per item (max 25). {'$item': true} in template params injects the item; on_item_failure: 'fail' (default) or 'continue' (per-item honesty in the step result). An image/video template is a BOARD: every item becomes its own queued job in the generative lane (each checked against the capsule's exposure setting and your compute allowance — an item over the allowance waits as deferred_quota, it does not sink the board). max_items / max_cost_minor cap the board; a board over its cap or your allowance is refused when you save, with the estimate.","params_schema":{"type":"object","properties":{"items":{"anyOf":[{"type":"array","maxItems":25,"description":"the list"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"template":{"type":"object","properties":{"type":{"type":"string","enum":["verb","llm","transform","image","video"]},"params":{"type":"object"}},"required":["type"]},"on_item_failure":{"type":"string","enum":["fail","continue"],"default":"fail"},"max_items":{"type":"integer","minimum":1,"maximum":25,"description":"most items this board may render (default 25)"},"max_cost_minor":{"type":"integer","minimum":0,"description":"this board's spending cap in cents (items × unit price must fit)"}},"required":["items","template"],"additionalProperties":true}},{"type":"subworkflow","summary":"trigger a child workflow (fire-and-forget)","description":"Trigger a child run of another workflow in the SAME tenant (depth ≤ 3). The step completes with the child run id; there is no blocking join.","params_schema":{"type":"object","properties":{"workflow":{"type":"string","description":"target workflow name"},"workflow_id":{"type":"string","format":"uuid"}},"required":[],"additionalProperties":true,"anyOf":[{"required":["workflow"]},{"required":["workflow_id"]}]}},{"type":"http_request","summary":"SSRF-guarded outbound HTTP call","description":"W.5 external reach: an outbound call to a site this account allowed (Account, Outside addresses; exact host, checked before the address is looked up); auth headers come from the credential vault BY NAME (secrets never live in a definition). Response capped + JSON-parsed when possible.","params_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"default":"GET"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"json":{"anyOf":[{"description":"JSON request body"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"credential":{"type":"string","description":"vault credential name (auth header injection)"}},"required":["url"],"additionalProperties":true}},{"type":"mcp_tool","summary":"call a tool on an external MCP server","description":"W.5: JSON-RPC tools/call against an MCP server on a site this account allowed (Account, Outside addresses; SSRF-guarded; bearer from the vault by name). One primitive that inherits the whole MCP ecosystem.","params_schema":{"type":"object","properties":{"server_url":{"type":"string","format":"uri"},"tool":{"type":"string","description":"MCP tool name"},"args":{"anyOf":[{"type":"object","description":"tool arguments"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]},"credential":{"type":"string","description":"vault credential name"}},"required":["server_url","tool"],"additionalProperties":true}},{"type":"review","summary":"pause the run for the owner's review","description":"T4: a hold. When its upstreams finish the run stops in the `waiting` state; nothing after this step starts until the owner presses Resume on the run. Place it before the step that publishes, files or spends. Its result is {reviewed: true}.","params_schema":{"type":"object","properties":{"note":{"type":"string","maxLength":300,"description":"what the owner should look at before resuming"}},"required":[],"additionalProperties":true}},{"type":"brick","summary":"run any step from the catalogue by its id","description":"Run one brick from the contract book by id, with the args its input schema names. Its result is the brick's own answer (its output schema). A brick that changes, spends, erases or shares something pauses the run in the `waiting` state until the owner presses Resume, then runs. The record a brick acts on (a path argument, a capsule, an item) is set in the definition, never by an earlier step; other args may be references.","params_schema":{"type":"object","properties":{"brick":{"type":"string","description":"the brick's id in the contract book"},"args":{"anyOf":[{"type":"object","description":"the brick's input (see its schema)"},{"type":"object","title":"step reference","description":"Reference to an upstream step's result: {\"$step\": \"<step id>\", \"$path\": \"a.b\"} (dot-path into the result; omit $path for the whole result).","properties":{"$step":{"type":"string","description":"upstream step id"},"$path":{"type":"string","description":"dot path into the upstream result"}},"required":["$step"]}]}},"required":["brick"],"additionalProperties":true}}],"limits":{"max_steps":50,"map_max_items":25,"subworkflow_max_depth":3}},"artifact_templates":[{"name":"deck.v1","output":"text/html","content_schema":{"type":"object","title":"deck.v1 content","description":"A designed pitch deck: full-height slides of typed kinds (hero, stats, bullets, table, quote). Renders to self-contained branded HTML.","properties":{"title":{"type":"string","minLength":1},"slides":{"type":"array","minItems":1,"items":{"type":"object","properties":{"kind":{"type":"string","enum":["hero","stats","bullets","table","quote"]},"kicker":{"type":"string"},"heading":{"type":"string"},"body":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"label":{"description":"stat label (stringified)"},"value":{"description":"stat value (stringified)"},"note":{"description":"optional footnote"}},"required":["label","value"]}},"bullets":{"type":"array","items":{"description":"bullet text"}},"table":{"type":"object","properties":{"columns":{"type":"array","items":{"description":"column header"}},"rows":{"type":"array","items":{"type":"array"}}},"required":["columns","rows"]},"text":{"type":"string","description":"quote text"}},"required":["kind"],"allOf":[{"if":{"properties":{"kind":{"const":"hero"}}},"then":{"required":["heading"]}},{"if":{"properties":{"kind":{"const":"stats"}}},"then":{"required":["stats"]}},{"if":{"properties":{"kind":{"const":"bullets"}}},"then":{"required":["bullets"]}},{"if":{"properties":{"kind":{"const":"table"}}},"then":{"required":["table"]}},{"if":{"properties":{"kind":{"const":"quote"}}},"then":{"required":["text"]}}]}},"footer":{"type":"string"}},"required":["title","slides"]}},{"name":"report.v1","output":"text/html","content_schema":{"type":"object","title":"report.v1 content","description":"A designed intelligence report: title/subtitle, stat blocks, sections (prose | bullets | table), footer. Renders to self-contained branded HTML.","properties":{"title":{"type":"string","minLength":1},"subtitle":{"type":"string"},"stats":{"type":"array","items":{"type":"object","properties":{"label":{"description":"stat label (stringified)"},"value":{"description":"stat value (stringified)"},"note":{"description":"optional footnote"}},"required":["label","value"]}},"sections":{"type":"array","minItems":1,"items":{"type":"object","properties":{"heading":{"type":"string"},"body":{"type":"string"},"bullets":{"type":"array","items":{"description":"bullet text"}},"table":{"type":"object","properties":{"columns":{"type":"array","items":{"description":"column header"}},"rows":{"type":"array","items":{"type":"array"}}},"required":["columns","rows"]}},"required":["heading"]}},"footer":{"type":"string"}},"required":["title","sections"]}}],"module_manifest":{"manifest_version":"1.1","accepted_versions":["1.0","1.1"],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"A2Vault module manifest 1.1","type":"object","properties":{"cip_module":{"enum":["1.0","1.1"],"description":"1.0 = identity/contract only; 1.1 adds ui, workflows, workflow_ref"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,63}$"},"display_name":{"type":"string","minLength":1},"version":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"author":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"]},"runtime":{"enum":["external","native"]},"auth_type":{"enum":["api_key","oauth2","mcp"]},"required_scopes":{"type":"array","minItems":1,"items":{"enum":["read","write"]}},"health_endpoint":{"type":"string","pattern":"^https://","description":"required for runtime=external; probed by check 2"},"category":{"type":"array","items":{"type":"string"}},"pricing":{"type":"object","properties":{"model":{"enum":["free","one_time","per_query","subscription","request_only"]}},"required":["model"]},"contract":{"type":"object","properties":{"llm":{"enum":["platform_router","none"],"description":"modules never hold provider keys (BYOK hard-fails)"},"persistence":{"enum":["promote_to_canon","read_only","none"]},"mcp_tools_used":{"type":"array"}},"required":["llm","persistence"]},"homepage":{"type":"string","description":"launch URL (Apps hub card)"},"image_key":{"type":"string","description":"catalog image (uploads/image)"},"workflow_ref":{"type":"string","description":"1.1: the shipped workflow this app IS (optional)"},"workflows":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,63}$"},"definition":{"type":"object"}},"required":["name","definition"],"additionalProperties":false},"description":"1.1: workflow definitions shipped with the app; installed into the user's tenant, run under their session. No http_request / mcp_tool."},"ui":{"title":"A2Vault module UI (panels as data)","type":"object","properties":{"panels":{"type":"array","minItems":1,"maxItems":15,"items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,39}$"},"title":{"type":"string","minLength":1,"maxLength":120},"kind":{"enum":["workflow_form","verb_form","markdown","table","tabs","file_upload","image_view","media_player","pdf_view","board","rich_text","flow_canvas","chat","chart","timeline_editor","three_d"]},"description":{"type":"string","maxLength":600},"workflow":{"type":"string","minLength":1},"inputs_schema":{"type":"object"},"output":{"type":"object","properties":{"kind":{"enum":["artifact_viewer","receipt","json"]}},"required":["kind"]},"verb":{"type":"string","minLength":1},"content":{"type":"string","maxLength":20000},"read":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"list":{"type":"string","pattern":"^([A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)?$"},"columns":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"object","properties":{"field":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["field","label"],"additionalProperties":false}},"layout":{"enum":["rows","cards"]},"row_actions":{"type":"array","maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["label","brick"],"additionalProperties":false}},"item":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"caption":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"group_by":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"groups":{"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"value":{"type":"string","minLength":1},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["value","label"],"additionalProperties":false}},"move":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"field":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"save":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"send":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"reply":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"add":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"accept":{"type":"array","minItems":1,"items":{"enum":["image","video","audio","document","any"]}},"measure":{"type":"string","minLength":1,"maxLength":60},"value":{"type":"number"},"points":{"type":"array","maxItems":24,"items":{"type":"number"}},"clips":{"type":"array","minItems":1,"maxItems":24,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":60},"label":{"type":"string","minLength":1,"maxLength":60},"at":{"type":"string","minLength":1,"maxLength":60}},"required":["id","label","at"],"additionalProperties":false}},"items":{"type":"array","minItems":1,"maxItems":24,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":60},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["id","label"],"additionalProperties":false}},"tabs":{"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"panels":{"type":"array","minItems":1,"items":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,39}$"}}},"required":["label","panels"],"additionalProperties":false}}},"required":["id","title","kind"],"allOf":[{"if":{"properties":{"kind":{"const":"table"}}},"then":{"required":["read","columns"]}},{"if":{"properties":{"kind":{"const":"tabs"}}},"then":{"required":["tabs"]}},{"if":{"properties":{"kind":{"const":"file_upload"}}},"then":{"required":["add"]}},{"if":{"properties":{"kind":{"const":"image_view"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"media_player"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"pdf_view"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"board"}}},"then":{"required":["read","group_by","groups","move","columns"]}},{"if":{"properties":{"kind":{"const":"rich_text"}}},"then":{"required":["read","field","save"]}},{"if":{"properties":{"kind":{"const":"flow_canvas"}}},"then":{"required":["workflow"]}},{"if":{"properties":{"kind":{"const":"chat"}}},"then":{"required":["send","reply"]}},{"if":{"properties":{"kind":{"const":"chart"}}},"then":{"required":["measure"]}},{"if":{"properties":{"kind":{"const":"timeline_editor"}}},"then":{"required":["clips"]}},{"if":{"properties":{"kind":{"const":"three_d"}}},"then":{"required":["items"]}},{"if":{"properties":{"kind":{"const":"workflow_form"}}},"then":{"required":["workflow"]}},{"if":{"properties":{"kind":{"const":"verb_form"}}},"then":{"required":["verb"]}},{"if":{"properties":{"kind":{"const":"markdown"}}},"then":{"required":["content"]}}],"additionalProperties":false}}},"required":["panels"],"additionalProperties":false,"description":"1.1: declarative panels the shell renders at /blueprints/{slug}"}},"required":["cip_module","slug","display_name","version","description","author","runtime","auth_type","required_scopes","category","pricing","contract"],"allOf":[{"if":{"properties":{"runtime":{"const":"external"}}},"then":{"required":["health_endpoint"]}}],"additionalProperties":true}},"module_ui":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"A2Vault module UI (panels as data)","type":"object","properties":{"panels":{"type":"array","minItems":1,"maxItems":15,"items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,39}$"},"title":{"type":"string","minLength":1,"maxLength":120},"kind":{"enum":["workflow_form","verb_form","markdown","table","tabs","file_upload","image_view","media_player","pdf_view","board","rich_text","flow_canvas","chat","chart","timeline_editor","three_d"]},"description":{"type":"string","maxLength":600},"workflow":{"type":"string","minLength":1},"inputs_schema":{"type":"object"},"output":{"type":"object","properties":{"kind":{"enum":["artifact_viewer","receipt","json"]}},"required":["kind"]},"verb":{"type":"string","minLength":1},"content":{"type":"string","maxLength":20000},"read":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"list":{"type":"string","pattern":"^([A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)?$"},"columns":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"object","properties":{"field":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["field","label"],"additionalProperties":false}},"layout":{"enum":["rows","cards"]},"row_actions":{"type":"array","maxItems":3,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["label","brick"],"additionalProperties":false}},"item":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"caption":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"group_by":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"groups":{"type":"array","minItems":2,"maxItems":8,"items":{"type":"object","properties":{"value":{"type":"string","minLength":1},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["value","label"],"additionalProperties":false}},"move":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"field":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"save":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"send":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"reply":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$"},"add":{"type":"object","properties":{"brick":{"type":"string","minLength":1,"maxLength":80},"params":{"type":"object","additionalProperties":{"type":["string","number","integer","boolean"]},"maxProperties":16}},"required":["brick"],"additionalProperties":false},"accept":{"type":"array","minItems":1,"items":{"enum":["image","video","audio","document","any"]}},"measure":{"type":"string","minLength":1,"maxLength":60},"value":{"type":"number"},"points":{"type":"array","maxItems":24,"items":{"type":"number"}},"clips":{"type":"array","minItems":1,"maxItems":24,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":60},"label":{"type":"string","minLength":1,"maxLength":60},"at":{"type":"string","minLength":1,"maxLength":60}},"required":["id","label","at"],"additionalProperties":false}},"items":{"type":"array","minItems":1,"maxItems":24,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":60},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["id","label"],"additionalProperties":false}},"tabs":{"type":"array","minItems":2,"maxItems":6,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"panels":{"type":"array","minItems":1,"items":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,39}$"}}},"required":["label","panels"],"additionalProperties":false}}},"required":["id","title","kind"],"allOf":[{"if":{"properties":{"kind":{"const":"table"}}},"then":{"required":["read","columns"]}},{"if":{"properties":{"kind":{"const":"tabs"}}},"then":{"required":["tabs"]}},{"if":{"properties":{"kind":{"const":"file_upload"}}},"then":{"required":["add"]}},{"if":{"properties":{"kind":{"const":"image_view"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"media_player"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"pdf_view"}}},"then":{"required":["read","item"]}},{"if":{"properties":{"kind":{"const":"board"}}},"then":{"required":["read","group_by","groups","move","columns"]}},{"if":{"properties":{"kind":{"const":"rich_text"}}},"then":{"required":["read","field","save"]}},{"if":{"properties":{"kind":{"const":"flow_canvas"}}},"then":{"required":["workflow"]}},{"if":{"properties":{"kind":{"const":"chat"}}},"then":{"required":["send","reply"]}},{"if":{"properties":{"kind":{"const":"chart"}}},"then":{"required":["measure"]}},{"if":{"properties":{"kind":{"const":"timeline_editor"}}},"then":{"required":["clips"]}},{"if":{"properties":{"kind":{"const":"three_d"}}},"then":{"required":["items"]}},{"if":{"properties":{"kind":{"const":"workflow_form"}}},"then":{"required":["workflow"]}},{"if":{"properties":{"kind":{"const":"verb_form"}}},"then":{"required":["verb"]}},{"if":{"properties":{"kind":{"const":"markdown"}}},"then":{"required":["content"]}}],"additionalProperties":false}}},"required":["panels"],"additionalProperties":false},"refused_step_types":["http_request","mcp_tool"],"capsule_placeholder":"00000000-0000-4000-8000-0000000000a2","route":"/blueprints/{slug}"},"local_agent":{"bundle_schema":{"$defs":{"BundleAttribute":{"properties":{"key":{"maxLength":128,"minLength":1,"title":"Key","type":"string"},"value":{"additionalProperties":true,"title":"Value","type":"object"},"provenance":{"additionalProperties":true,"title":"Provenance","type":"object"}},"required":["key","value"],"title":"BundleAttribute","type":"object"},"BundleEmbedding":{"properties":{"model":{"maxLength":128,"minLength":1,"title":"Model","type":"string"},"vector":{"items":{"type":"number"},"title":"Vector","type":"array"}},"required":["model","vector"],"title":"BundleEmbedding","type":"object"},"BundleItem":{"description":"One analyzed local file — its intelligence, never its bytes.\n\nTwo shapes share this door:\n\n* **census row** — ``content_hash`` is null and ``census_key`` (the agent's\n  sha256 of ``relpath|size|mtime``, never the path itself) is the\n  idempotency key. The fast stat-only walk registers what exists as a\n  ``custody=edge`` entity with ``origin.census_key`` and no attributes.\n* **hashed row** — ``content_hash`` present; the optional ``census_key``\n  lets it *upgrade the census entity in place*. ``media_features`` (the\n  agent's one-read capture, schema 1) lands as the\n  ``media_features`` attribute; ``format`` / ``clues`` land on\n  ``origin.format`` / ``origin.clues`` (labels leave the device, paths do not).","properties":{"content_hash":{"anyOf":[{"maxLength":64,"minLength":64,"type":"string"},{"type":"null"}],"default":null,"title":"Content Hash"},"census_key":{"anyOf":[{"maxLength":64,"minLength":64,"type":"string"},{"type":"null"}],"default":null,"title":"Census Key"},"media_features":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Media Features"},"format":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Format"},"clues":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Clues"},"name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"entity_type":{"default":"document","maxLength":64,"title":"Entity Type","type":"string"},"content_type":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"title":"Content Type"},"size_bytes":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Size Bytes"},"event_time":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Event Time"},"origin":{"additionalProperties":true,"title":"Origin","type":"object"},"lawful_basis":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}],"default":null,"title":"Lawful Basis"},"attributes":{"items":{"$ref":"#/$defs/BundleAttribute"},"title":"Attributes","type":"array"},"embedding":{"anyOf":[{"$ref":"#/$defs/BundleEmbedding"},{"type":"null"}],"default":null},"visual_embedding":{"anyOf":[{"$ref":"#/$defs/BundleEmbedding"},{"type":"null"}],"default":null},"serves_entity_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"title":"Serves Entity Id"}},"title":"BundleItem","type":"object"}},"properties":{"agent_version":{"maxLength":64,"minLength":1,"title":"Agent Version","type":"string"},"items":{"items":{"$ref":"#/$defs/BundleItem"},"maxItems":200,"minItems":1,"title":"Items","type":"array"}},"required":["agent_version","items"],"title":"BundleIn","type":"object"},"endpoint":"/api/v1/personas/{persona_id}/local-agent/bundle","limits":{"max_items_per_bundle":200,"max_attrs_per_item":40},"embedding_dims":{"text":768,"visual":512}},"node_contract_io":{"book_version":"2026-11-02.1","counts":{"engine":1024,"typed":1024,"untyped":0,"open_output":0},"open_output":[],"bricks":{"access.decide.decide":{"door":"POST /api/v1/access-requests/{request_id}/decision","input":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"approve":{"type":"boolean"},"note":{"type":"string","maxLength":2000,"default":""},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["approve","request_id"]},"output":{"$ref":"#/$defs/AccessDecision"}},"access.grant.edit":{"door":"PATCH /api/v1/grants/{grant_id}","input":{"type":"object","properties":{"grant_id":{"type":"string","format":"uuid"},"terms":{"additionalProperties":true,"type":"object"}},"required":["grant_id","terms"]},"output":{"$ref":"#/$defs/GrantEdited"}},"access.key.limit":{"door":"PATCH /api/v1/keys/{key_id}/spend","input":{"type":"object","properties":{"key_id":{"type":"string","format":"uuid"},"spend_pass_micro":{"type":"integer","maximum":1000000000.0,"minimum":0.0},"spend_day_micro":{"type":"integer","maximum":1000000000.0,"minimum":0.0}},"required":["key_id","spend_day_micro","spend_pass_micro"]},"output":{"$ref":"#/$defs/AccessKey"}},"access.key.mint":{"door":"POST /api/v1/keys","input":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"minLength":1,"default":"agent"},"scopes":{"items":{"type":"string"},"type":"array"},"capsule_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":64},"spend_pass_micro":{"type":"integer","maximum":1000000000.0,"minimum":0.0,"default":0},"spend_day_micro":{"type":"integer","maximum":1000000000.0,"minimum":0.0,"default":0}}},"output":{"$ref":"#/$defs/KeyMinted"}},"access.key.revoke":{"door":"DELETE /api/v1/keys/{key_id}","input":{"type":"object","properties":{"key_id":{"type":"string","format":"uuid"}},"required":["key_id"]},"output":{"$ref":"#/$defs/AccessKey"}},"access.member.read":{"door":"GET /api/v1/access/members/{user_id}","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"}},"required":["user_id"]},"output":{"$ref":"#/$defs/AccessMember"}},"access.request.claim":{"door":"POST /api/v1/access-requests/{request_id}/claim","input":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"}},"required":["request_id"]},"output":{"$ref":"#/$defs/AccessClaim"}},"account.activity.list":{"door":"GET /api/v1/audit","input":{"type":"object","properties":{"actor":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]},"action":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"capsule_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"limit":{"type":"integer","maximum":200,"minimum":1,"default":50},"before":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}]}}},"output":{"$ref":"#/$defs/AuditPage"}},"account.business.rename":{"door":"PUT /api/v1/account/business","input":{"type":"object","properties":{"name":{"type":"string","maxLength":2000}},"required":["name"]},"output":{"$ref":"#/$defs/BusinessName"}},"account.co_ownership.leave":{"door":"POST /api/v1/co-ownerships/{edge_id}/leave","input":{"type":"object","properties":{"edge_id":{"type":"string","format":"uuid"}},"required":["edge_id"]},"output":{"$ref":"#/$defs/AccountDeparture"}},"account.connections.check":{"door":"POST /api/v1/credentials/{name}/test","input":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"output":{"$ref":"#/$defs/CredentialTestOut"}},"account.connections.list":{"door":"GET /api/v1/credentials","input":{"type":"object","properties":{}},"output":{"type":"array","items":{"$ref":"#/$defs/CredentialOut"}}},"account.controller.close_hint":{"door":"PUT /api/v1/me/controller/hint","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/SetupOut"}},"account.controller.forget_map":{"door":"DELETE /api/v1/me/controller/maps/{shape}","input":{"type":"object","properties":{"shape":{"type":"string"}},"required":["shape"]},"output":{"$ref":"#/$defs/SetupOut"}},"account.controller.save_map":{"door":"PUT /api/v1/me/controller/maps/{shape}","input":{"type":"object","properties":{"shape":{"type":"string"},"buttons":{"additionalProperties":true,"type":"object"}},"required":["buttons","shape"]},"output":{"$ref":"#/$defs/SetupOut"}},"account.feedback.send":{"door":"POST /api/v1/feedback","input":{"type":"object","properties":{"kind":{"type":"string","maxLength":24},"answers":{"additionalProperties":true,"type":"object"},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]}},"required":["kind"]},"output":{"$ref":"#/$defs/TicketOut"}},"account.key.add":{"door":"PUT /api/v1/byok","input":{"type":"object","properties":{"provider":{"type":"string","maxLength":32,"minLength":1},"api_key":{"type":"string","maxLength":512,"minLength":8},"base_url":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"model":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]},"gateway":{"anyOf":[{"$ref":"#/$defs/GatewayIn"},{"type":"null"}]},"workspace_id":{"anyOf":[{"type":"string","maxLength":63,"minLength":1},{"type":"null"}]},"uses":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}]}},"required":["api_key","provider"]},"output":{"$ref":"#/$defs/ByokOut"}},"account.models.choose":{"door":"PUT /api/v1/settings/models","input":{"type":"object","properties":{"local":{"anyOf":[{"type":"string"},{"type":"null"}]},"managed":{"anyOf":[{"type":"string"},{"type":"null"}]},"byok_provider":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"byok_model":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]}}},"output":{"$ref":"#/$defs/LlmSettingsOut"}},"account.notice.read":{"door":"POST /api/v1/platform-messages/{message_id}/read","input":{"type":"object","properties":{"message_id":{"type":"string","format":"uuid"}},"required":["message_id"]},"output":{"$ref":"#/$defs/PlatformMessageOut"}},"account.outside_address.remove":{"door":"DELETE /api/v1/egress/hosts/{host}","input":{"type":"object","properties":{"host":{"type":"string"}},"required":["host"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"account.profile.remove":{"door":"DELETE /api/v1/me/profile","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/ProfileGone"}},"account.readiness.read":{"door":"GET /api/v1/credentials/guided","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/GuidedReadiness"}},"account.reads.approve":{"door":"POST /api/v1/account/reads/approve","input":{"type":"object","properties":{"shown_estimate_micro":{"type":"integer","minimum":0.0}},"required":["shown_estimate_micro"]},"output":{"$ref":"#/$defs/StorageReleased"}},"account.storage.allow":{"door":"POST /api/v1/account/storage/allow","input":{"type":"object","properties":{"shown_monthly_micro":{"type":"integer","minimum":0.0}},"required":["shown_monthly_micro"]},"output":{"$ref":"#/$defs/StorageAllowed"}},"account.storage.approve":{"door":"POST /api/v1/account/storage/approve","input":{"type":"object","properties":{"shown_monthly_micro":{"type":"integer","minimum":0.0}},"required":["shown_monthly_micro"]},"output":{"$ref":"#/$defs/StorageApproved"}},"account.storage.leave":{"door":"POST /api/v1/account/storage/waiting/let-go","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/StorageReleased"}},"agent.acquire.cancel":{"door":"POST /api/v1/acquisition/{task_id}/cancel","input":{"type":"object","properties":{"task_id":{"type":"string","format":"uuid"}},"required":["task_id"]},"output":{"$ref":"#/$defs/TaskAnswer"}},"agent.acquire.mint_captions":{"door":"POST /api/v1/personas/{persona_id}/acquisition/backfill","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"outputs":{"items":{"type":"string"},"type":"array","maxItems":2,"minItems":1}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Backfill"}},"agent.acquire.mint_media":{"door":"POST /api/v1/personas/{persona_id}/acquisition/backfill","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"outputs":{"items":{"type":"string"},"type":"array","maxItems":2,"minItems":1}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Backfill"}},"agent.acquire.request":{"door":"POST /api/v1/entities/{entity_id}/acquisition","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"outputs":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":1}},"required":["entity_id"]},"output":{"$ref":"#/$defs/TaskAnswer"}},"agent.act.allow":{"door":"PUT /api/v1/agents/{agent_id}/act","input":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"on":{"type":"boolean"},"acknowledge":{"type":"boolean","default":false}},"required":["agent_id","on"]},"output":{"$ref":"#/$defs/AgentOut"}},"agent.ask.approve":{"door":"POST /api/v1/operator/asks/{ask_id}/approve","input":{"type":"object","properties":{"ask_id":{"type":"string","format":"uuid"}},"required":["ask_id"]},"output":{"$ref":"#/$defs/AskAnswer"}},"agent.ask.decline":{"door":"POST /api/v1/operator/asks/{ask_id}/decline","input":{"type":"object","properties":{"ask_id":{"type":"string","format":"uuid"}},"required":["ask_id"]},"output":{"$ref":"#/$defs/AskDecided"}},"agent.ask.read":{"door":"GET /api/v1/operator/asks","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/AskList"}},"agent.define.edit":{"door":"PUT /api/v1/agents/{agent_id}","input":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}]},"instructions":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}]},"tools":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"tier":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}]},"budget_micro":{"anyOf":[{"type":"integer"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_scope":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"comms_channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"egress_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"egress_allow_hosts":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}]},"acknowledge_egress":{"type":"boolean","default":false}},"required":["agent_id"]},"output":{"$ref":"#/$defs/AgentOut"}},"agent.define.list":{"door":"GET /api/v1/agents","input":{"type":"object","properties":{}},"output":{"type":"array","items":{"$ref":"#/$defs/AgentOut"}}},"agent.define.refine":{"door":"POST /api/v1/agents/refine-instructions","input":{"type":"object","properties":{"draft":{"type":"string","maxLength":8000,"minLength":3},"name":{"type":"string","maxLength":120,"default":""},"tools":{"items":{"type":"string"},"type":"array"},"skills":{"items":{"type":"string"},"type":"array"}},"required":["draft"]},"output":{"$ref":"#/$defs/Refined"}},"agent.define.save":{"door":"POST /api/v1/agents","input":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":1},"instructions":{"type":"string","maxLength":8000,"default":""},"tools":{"items":{"type":"string"},"type":"array"},"skills":{"items":{"type":"string"},"type":"array"},"tier":{"type":"string","default":"baseline"},"max_iterations":{"type":"integer","default":6},"budget_micro":{"type":"integer","default":250000},"capsule_scope":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":64},{"type":"null"}]},"comms_channels":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":64},{"type":"null"}]},"egress_enabled":{"type":"boolean","default":false},"egress_allow_hosts":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}]},"acknowledge_egress":{"type":"boolean","default":false}},"required":["name"]},"output":{"$ref":"#/$defs/AgentOut"}},"agent.device.pair":{"door":"POST /api/v1/agent/pairings/approve","input":{"type":"object","properties":{"code":{"type":"string","maxLength":16,"minLength":4},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}},"required":["code"]},"output":{"$ref":"#/$defs/PairApproved"}},"agent.drafts.read":{"door":"GET /api/v1/drafts/review","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/DraftReview"}},"agent.drafts.set":{"door":"PUT /api/v1/drafts/review","input":{"type":"object","properties":{"scope":{"type":"string","enum":["account","capsule","project","key","agent"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"review":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["review","scope"]},"output":{"$ref":"#/$defs/DraftReview"}},"agent.exposure.approve":{"door":"POST /api/v1/agents/{agent_id}/exposure-approval","input":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"digest":{"type":"string","maxLength":80,"minLength":1}},"required":["agent_id","digest"]},"output":{"$ref":"#/$defs/ExposureRead"}},"agent.gather.hand_off":{"door":"POST /api/v1/entities/{entity_id}/gather-with-computer","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/HandOff"}},"agent.links.add":{"door":"POST /api/v1/personas/{persona_id}/acquisition/links","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"links":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1}},"required":["links","persona_id"]},"output":{"$ref":"#/$defs/LinksAdded"}},"agent.notices.add":{"door":"POST /api/v1/notices/browsers","input":{"type":"object","properties":{"endpoint":{"type":"string","maxLength":2000,"minLength":1},"keys":{"$ref":"#/$defs/BrowserKeys"}},"required":["endpoint","keys"]},"output":{"$ref":"#/$defs/Browsers"}},"agent.notices.read":{"door":"GET /api/v1/notices/browsers","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Browsers"}},"agent.notices.remove":{"door":"DELETE /api/v1/notices/browsers","input":{"type":"object","properties":{"endpoint":{"type":"string","maxLength":2000,"minLength":1}},"required":["endpoint"]},"output":{"$ref":"#/$defs/Browsers"}},"agent.pair.start":{"door":"POST /api/v1/agent/pairings","input":{"type":"object","properties":{"device_name":{"type":"string","maxLength":200,"default":""},"device_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/PairStart"}},"agent.resume.continue":{"door":"GET /api/v1/originals/capsules/{persona_id}/waiting","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","maximum":500,"minimum":1,"default":100}},"required":["persona_id"]},"output":{"$ref":"#/$defs/OriginalsWaiting"}},"agent.run.read":{"door":"GET /api/v1/agents/runs/{run_id}","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/app__api__agents__RunOut"}},"agent.run.start":{"door":"POST /api/v1/agents/{agent_id}/runs","input":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"goal":{"type":"string","maxLength":4000,"minLength":3},"capsule_scope":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}]}},"required":["agent_id","goal"]},"output":{"$ref":"#/$defs/app__api__agents__RunOut"}},"agent.schedule.set":{"door":"PUT /api/v1/agents/{agent_id}/schedule","input":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"goal":{"type":"string","maxLength":4000,"default":""},"repeat_hours":{"type":"number","default":24.0},"enabled":{"type":"boolean"},"capsule_scope":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}]}},"required":["agent_id","enabled"]},"output":{"$ref":"#/$defs/AgentOut"}},"agent.upload.text":{"door":"POST /api/v1/personas/{persona_id}/local-agent/bundle","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"agent_version":{"type":"string","maxLength":64,"minLength":1},"items":{"items":{"$ref":"#/$defs/BundleItem"},"type":"array","maxItems":200,"minItems":1}},"required":["agent_version","items","persona_id"]},"output":{"$ref":"#/$defs/BundleOut"}},"agent.verbs.list":{"door":"GET /api/v1/welcome","input":{"type":"object","properties":{}},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"allowance.read.read":{"door":"GET /api/v1/workflows/quota","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Allowance"}},"analysis.intent.set":{"door":"PUT /api/v1/personas/{persona_id}/analysis-profile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"disabled":{"items":{"type":"string"},"type":"array","maxItems":64},"intent":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/AnalysisProfile"}},"analysis.layers.set":{"door":"PUT /api/v1/personas/{persona_id}/analysis-profile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"disabled":{"items":{"type":"string"},"type":"array","maxItems":64},"intent":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/AnalysisProfile"}},"analysis.request.file":{"door":"POST /api/v1/personas/{persona_id}/analysis-profile/request","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"subject":{"type":"string","maxLength":300,"minLength":1},"details":{"type":"string","maxLength":8000,"minLength":1},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]}},"required":["details","persona_id","subject"]},"output":{"$ref":"#/$defs/AnalysisRequest"}},"analysis.terminal.close":{"door":"POST /api/v1/entities/{entity_id}/terminal","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"disposition":{"type":"string","maxLength":40},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["disposition","entity_id"]},"output":{"$ref":"#/$defs/AnalysisClosed"}},"analyze.sweep.sweep":{"door":"POST /api/v1/personas/{persona_id}/analyze-bulk","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"anyOf":[{"items":{"type":"string","x-kit-id":"item"},"type":"array","maxItems":5000},{"type":"null"}],"description":"Explicit selection (the Library brush). Omit for the whole capsule."},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Narrow to an analysis state: 'unanalyzed' (never analyzed), 'partial' (degraded/deferred), or 'incomplete' (both — what 'analyze all unanalyzed' means)."},"include_derived":{"type":"boolean","description":"Widen an explicit selection across the graph's derivative/work links (same_work, rendition_of, excerpt_of, version_of, derived_from, part_of, promotes) — the episode's clips and re-encodes analyze with it. Only meaningful with entity_ids.","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/AnalyzeBulk"}},"app.package.draft":{"door":"POST /api/v1/modules/package/draft","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"slug":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"display_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"author_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"category":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"pricing_model":{"type":"string","default":"free"},"version":{"type":"string","maxLength":32,"default":"0.1.0"},"panel_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"about":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"ask_verbs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":8},{"type":"null"}]}},"required":["workflow_id"]},"output":{"$ref":"#/$defs/AppPackageDraft"}},"app.package.preflight":{"door":"POST /api/v1/modules/package/preflight","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"}},"required":["workflow_id"]},"output":{"$ref":"#/$defs/AppPackagePreflight"}},"app.review.note":{"door":"POST /api/v1/modules/{module_id}/notes","input":{"type":"object","properties":{"module_id":{"type":"string","format":"uuid"},"body":{"type":"string","maxLength":4000,"minLength":1}},"required":["body","module_id"]},"output":{"$ref":"#/$defs/AppReviewNote"}},"app.shelf.pin":{"door":"POST /api/v1/modules/engagements/{slug}","input":{"type":"object","properties":{"slug":{"type":"string"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"used":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["slug"]},"output":{"$ref":"#/$defs/AppShelfPin"}},"apps.app.read":{"door":"GET /api/v1/apps/{slug}","input":{"type":"object","properties":{"slug":{"type":"string"}},"required":["slug"]},"output":{"$ref":"#/$defs/AppFace"}},"apps.desk.read":{"door":"GET /api/v1/app-projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/DeskProjectOut"}},"apps.panel.run":{"door":"POST /api/v1/apps/{slug}/panels/{panel_id}/run","input":{"type":"object","properties":{"slug":{"type":"string"},"panel_id":{"type":"string"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"inputs":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"object"}},"required":["panel_id","persona_id","slug"]},"output":{"$ref":"#/$defs/PanelRun"}},"attention.read.read":{"door":"GET /api/v1/attention","input":{"type":"object","properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"limit":{"type":"integer","maximum":200,"minimum":1,"default":50},"offset":{"type":"integer","minimum":0,"default":0}}},"output":{"$ref":"#/$defs/AttentionWorklist"}},"audience.campaigns.agree":{"door":"POST /api/v1/audience/{person_id}/campaign-agreement","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"},"agreed_how":{"type":"string","maxLength":128,"default":""},"agreed_words":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["person_id"]},"output":{"$ref":"#/$defs/Person"}},"audience.campaigns.stop":{"door":"DELETE /api/v1/audience/{person_id}/campaign-agreement","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"}},"required":["person_id"]},"output":{"$ref":"#/$defs/Person"}},"audience.fact.store":{"door":"POST /api/v1/audience/{person_id}/facts","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"},"kind":{"type":"string","maxLength":16,"minLength":1},"value":{"type":"string","maxLength":500,"minLength":1},"agreed_how":{"type":"string","maxLength":128,"default":""},"agreed_words":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["kind","person_id","value"]},"output":{"$ref":"#/$defs/Person"}},"audience.fact.withdraw":{"door":"DELETE /api/v1/audience/{person_id}/facts/{fact_id}","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"},"fact_id":{"type":"string","format":"uuid"}},"required":["fact_id","person_id"]},"output":{"$ref":"#/$defs/Person"}},"audience.list":{"door":"GET /api/v1/audience","input":{"type":"object","properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/PersonIndex"}},"audience.person.add":{"door":"POST /api/v1/audience","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"kinds":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1}},"required":["kinds","name"]},"output":{"$ref":"#/$defs/Person"}},"audience.person.forget":{"door":"DELETE /api/v1/audience/{person_id}","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"}},"required":["person_id"]},"output":{"$ref":"#/$defs/PersonGone"}},"audience.person.mark":{"door":"PUT /api/v1/audience/{person_id}/kinds","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"},"kinds":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1}},"required":["kinds","person_id"]},"output":{"$ref":"#/$defs/Person"}},"audience.person.read":{"door":"GET /api/v1/audience/{person_id}","input":{"type":"object","properties":{"person_id":{"type":"string","format":"uuid"}},"required":["person_id"]},"output":{"$ref":"#/$defs/Person"}},"audience.segment.list":{"door":"GET /api/v1/segments","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/SegmentIndex"}},"audience.segment.read":{"door":"GET /api/v1/segments/{segment_id}","input":{"type":"object","properties":{"segment_id":{"type":"string","format":"uuid"}},"required":["segment_id"]},"output":{"$ref":"#/$defs/SegmentRead"}},"audience.segment.remove":{"door":"DELETE /api/v1/segments/{segment_id}","input":{"type":"object","properties":{"segment_id":{"type":"string","format":"uuid"}},"required":["segment_id"]},"output":{"$ref":"#/$defs/SegmentGone"}},"audience.segment.save":{"door":"POST /api/v1/segments","input":{"type":"object","properties":{"name":{"type":"string","maxLength":500},"kinds":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1},"rules":{"items":{"$ref":"#/$defs/app__api__segments__RuleIn"},"type":"array","maxItems":4}},"required":["kinds","name"]},"output":{"$ref":"#/$defs/SegmentSaved"}},"billing.tally.run":{"door":"POST /api/v1/admin/billing/rollup","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/BillingRollup"}},"bookings.booking.add":{"door":"POST /api/v1/bookings","input":{"type":"object","properties":{"body":{"type":"object","additionalProperties":true}},"required":["body"]},"output":{"$ref":"#/$defs/BookingRecord"}},"bookings.booking.cancel":{"door":"POST /api/v1/bookings/{booking_id}/cancel","input":{"type":"object","properties":{"booking_id":{"type":"string","format":"uuid"}},"required":["booking_id"]},"output":{"$ref":"#/$defs/BookingRecord"}},"bookings.calendar.read":{"door":"GET /api/v1/calendar","input":{"type":"object","properties":{"from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/Calendar"}},"browser.page.keep":{"door":"POST /api/v1/browser/keep","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":4096,"minLength":1}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/KeptPage"}},"browser.page.open":{"door":"POST /api/v1/browser/open","input":{"type":"object","properties":{"url":{"type":"string","maxLength":4096,"minLength":1}},"required":["url"]},"output":{"$ref":"#/$defs/OpenedPage"}},"budget.project.set":{"door":"PUT /api/v1/projects/{project_id}/top-sheet","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"cap_micro":{"type":"integer","maximum":10000000000.0,"exclusiveMinimum":0.0},"departments":{"additionalProperties":{"$ref":"#/$defs/DepartmentIn"},"type":"object","maxProperties":24},"phases":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object","maxProperties":8},"ends_at":{"type":"string","format":"date-time"}},"required":["cap_micro","ends_at","project_id"]},"output":{"$ref":"#/$defs/ProjectBudget"}},"budget.spend.approve":{"door":"POST /api/v1/projects/{project_id}/top-sheet/asks/{ask_id}/decide","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"ask_id":{"type":"string","format":"uuid"},"verdict":{"type":"string","maxLength":10},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["ask_id","project_id","verdict"]},"output":{"$ref":"#/$defs/SpendDecision"}},"campaign.discard":{"door":"DELETE /api/v1/campaigns/{campaign_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignDiscarded"}},"campaign.draft":{"door":"POST /api/v1/campaigns","input":{"type":"object","properties":{"subject":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","maxLength":20000,"minLength":1},"kinds":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1},"segment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["body","kinds","subject"]},"output":{"$ref":"#/$defs/CampaignRecord"}},"campaign.edit":{"door":"PATCH /api/v1/campaigns/{campaign_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"subject":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"body":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"kinds":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":4},{"type":"null"}]},"segment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"clear_segment":{"type":"boolean","default":false}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignRecord"}},"campaign.list":{"door":"GET /api/v1/campaigns","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CampaignList"}},"campaign.read":{"door":"GET /api/v1/campaigns/{campaign_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignRecord"}},"campaign.send":{"door":"POST /api/v1/campaigns/{campaign_id}/send","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"channel_id":{"type":"string","format":"uuid"},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["campaign_id","channel_id"]},"output":{"$ref":"#/$defs/CampaignSent"}},"canonical.alias.add":{"door":"POST /api/v1/canonical/{canonical_id}/aliases","input":{"type":"object","properties":{"canonical_id":{"type":"string","format":"uuid"},"alias":{"type":"string","maxLength":512,"minLength":1},"source":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["alias","canonical_id"]},"output":{"$ref":"#/$defs/CanonicalAlias"}},"capsule.banner.set":{"door":"PUT /api/v1/personas/{persona_id}/banner","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_key":{"type":"string","maxLength":512,"minLength":1}},"required":["persona_id","storage_key"]},"output":{"$ref":"#/$defs/CapsuleBannerOut"}},"capsule.context.designate":{"door":"PUT /api/v1/personas/{persona_id}/context","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"enabled":{"type":"boolean"}},"required":["enabled","persona_id"]},"output":{"$ref":"#/$defs/ContextSet"}},"capsule.coowner.accept":{"door":"POST /api/v1/co-ownerships/{edge_id}/accept","input":{"type":"object","properties":{"edge_id":{"type":"string","format":"uuid"}},"required":["edge_id"]},"output":{"$ref":"#/$defs/CoOwnerEdge"}},"capsule.coowner.end":{"door":"DELETE /api/v1/personas/{persona_id}/co-owners/{edge_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"edge_id":{"type":"string","format":"uuid"}},"required":["edge_id","persona_id"]},"output":{"$ref":"#/$defs/CoOwnerEdge"}},"capsule.coowner.invite":{"door":"POST /api/v1/personas/{persona_id}/co-owners","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"email":{"type":"string","maxLength":320,"minLength":3},"role":{"type":"string","default":"contributor"},"revenue_share_bps":{"type":"integer","maximum":10000.0,"minimum":0.0,"default":0},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["email","persona_id"]},"output":{"$ref":"#/$defs/CoOwnerEdge"}},"capsule.coowner.role":{"door":"PATCH /api/v1/personas/{persona_id}/co-owners/{edge_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"edge_id":{"type":"string","format":"uuid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"revenue_share_bps":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}]}},"required":["edge_id","persona_id"]},"output":{"$ref":"#/$defs/CoOwnerEdge"}},"capsule.dataset.export":{"door":"POST /api/v1/personas/{persona_id}/training-dataset","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"system_prompt":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"include_hidden":{"type":"boolean","default":false},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]},"max_examples":{"anyOf":[{"type":"integer","maximum":20000.0,"minimum":1.0},{"type":"null"}]},"after_item":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/JobOut"}},"capsule.deletion.restore":{"door":"POST /api/v1/personas/{persona_id}/restore","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/RestoreOut"}},"capsule.deletion.schedule":{"door":"DELETE /api/v1/personas/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"dry_run":{"type":"boolean","default":false},"permanent":{"type":"boolean","default":false},"reason":{"type":"string","default":""}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CapsuleDeletion"}},"capsule.erase.now":{"door":"DELETE /api/v1/personas/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"dry_run":{"type":"boolean","default":false},"permanent":{"type":"boolean","default":false},"reason":{"type":"string","default":""}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CapsuleDeletion"}},"capsule.erase.preview":{"door":"DELETE /api/v1/personas/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"dry_run":{"type":"boolean","default":false},"permanent":{"type":"boolean","default":false},"reason":{"type":"string","default":""}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CapsuleDeletion"}},"capsule.exposure.set":{"door":"PUT /api/v1/personas/{persona_id}/exposure","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"policy":{"anyOf":[{"type":"string"},{"type":"null"}]},"co_owners_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Exposure"}},"capsule.image.read":{"door":"GET /api/v1/personas/{persona_id}/image","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CapsuleImageOut"}},"capsule.image.set":{"door":"PUT /api/v1/personas/{persona_id}/image","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_key":{"type":"string","maxLength":512,"minLength":1}},"required":["persona_id","storage_key"]},"output":{"$ref":"#/$defs/CapsuleImageOut"}},"capsule.intent.set":{"door":"PUT /api/v1/personas/{persona_id}/intent","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"intent":{"type":"string"}},"required":["intent","persona_id"]},"output":{"$ref":"#/$defs/IntentSet"}},"capsule.learned.read":{"door":"GET /api/v1/personas/{persona_id}/learned","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","maximum":200,"minimum":1,"default":50}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Learned"}},"capsule.lesson.read":{"door":"GET /api/v1/entities/{entity_id}/lesson","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/app__api__persona_answers__Lesson"}},"capsule.models.set":{"door":"PUT /api/v1/personas/{persona_id}/model-prefs","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"local":{"anyOf":[{"type":"string"},{"type":"null"}]},"managed":{"anyOf":[{"type":"string"},{"type":"null"}]},"byok_provider":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"byok_model":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ModelPrefs"}},"capsule.name.rename":{"door":"PATCH /api/v1/personas/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"display_name":{"type":"string","maxLength":255,"minLength":1}},"required":["display_name","persona_id"]},"output":{"$ref":"#/$defs/PersonaOut"}},"capsule.read.read":{"door":"verb:describe_capsule","input":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule to describe.","x-kit-id":"capsule"}},"required":["capsule_id"],"additionalProperties":false},"output":{"type":"object","description":"The Capsule Card (versioned artifact — see card_version).","properties":{"card_version":{"type":"string"},"verbs_hash":{"type":"string"},"capsule":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it.","x-kit-id":"capsule"},"tenant_id":{"type":"string","format":"uuid","description":"the account that holds the capsule"},"display_name":{"type":"string"}}},"scope":{"type":"object"},"coverage":{"type":"object"},"attribute_catalog":{"type":"array"},"trust":{"type":"object"},"distinct_referents":{"type":"integer"},"referents":{"type":"array","items":{"type":"string"}},"query_verbs":{"type":"array"},"voice":{"type":["string","null"]},"voice_generation":{"type":["integer","null"]},"essence":{"type":["object","null"]},"ai_rule":{"type":"string","enum":["platform_models","own_key_only","sovereign"],"description":"Which AI may read this capsule's material: the platform's models, outside models only through the owner's own key, or none outside the platform."}},"required":["card_version","verbs_hash","capsule","query_verbs"]}},"capsule.research.discard":{"door":"DELETE /api/v1/research/{run_id}","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/ResearchGone"}},"capsule.research.promote":{"door":"POST /api/v1/research/{run_id}/promote","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/ResearchPromoted"}},"capsule.research.read":{"door":"GET /api/v1/research/{run_id}","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/ResearchView"}},"capsule.research.respond":{"door":"POST /api/v1/research/{run_id}/respond","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"},"answers":{"items":{"$ref":"#/$defs/ResearchAnswerIn"},"type":"array","maxItems":8,"minItems":1}},"required":["answers","run_id"]},"output":{"$ref":"#/$defs/ResearchView"}},"capsule.trust.evaluate":{"door":"POST /api/v1/personas/{persona_id}/trust/evaluate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"inline":{"type":"boolean","description":"run now instead of queueing (small capsules)","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/EvaluateOut"}},"capsule.twin.create":{"door":"POST /api/v1/personas/{persona_id}/sanitized-copy","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/TwinQueued"}},"capsule.understanding.build":{"door":"POST /api/v1/consult/dossier/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/DossierBuild"}},"capsule.understanding.schedule":{"door":"PUT /api/v1/consult/dossier/{persona_id}/schedule","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"repeat_days":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":1.0},{"type":"null"}]},"on_arrival":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/DossierSchedule"}},"capsule.verb.run":{"door":"POST /api/v1/personas/{persona_id}/verbs/{verb}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"verb":{"type":"string"},"args":{"additionalProperties":true,"type":"object"}},"required":["persona_id","verb"]},"output":{"$ref":"#/$defs/VerbRun"}},"cast.binding.candidates":{"door":"GET /api/v1/personas/{persona_id}/bindings/candidates","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","default":50},"offset":{"type":"integer","default":0}},"required":["persona_id"]},"output":{"$ref":"#/$defs/BindingCandidates"}},"cast.binding.decide":{"door":"POST /api/v1/personas/{persona_id}/bindings/accept","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"canonical_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"tag":{"type":"string","maxLength":64,"minLength":1},"provides":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"description":{"type":"string","maxLength":4000,"default":""},"mode":{"anyOf":[{"type":"string","pattern":"^(off|passthrough|strict)$"},{"type":"null"}]},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["persona_id","tag"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.binding.dismiss":{"door":"POST /api/v1/personas/{persona_id}/bindings/dismiss","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"canonical_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/BindingDismissed"}},"cast.binding.mint":{"door":"POST /api/v1/personas/{persona_id}/bindings/accept","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"canonical_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"tag":{"type":"string","maxLength":64,"minLength":1},"provides":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"description":{"type":"string","maxLength":4000,"default":""},"mode":{"anyOf":[{"type":"string","pattern":"^(off|passthrough|strict)$"},{"type":"null"}]},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["persona_id","tag"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.bindings.set_mode":{"door":"PUT /api/v1/personas/{persona_id}/bindings","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"mode":{"type":"string","pattern":"^(off|passthrough|strict)$"}},"required":["mode","persona_id"]},"output":{"$ref":"#/$defs/BindingsModeOut"}},"cast.consent.record":{"door":"POST /api/v1/cast/{entity_id}/voice-consent","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"evidence":{"additionalProperties":true,"type":"object","minProperties":1},"source":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["entity_id","evidence"]},"output":{"$ref":"#/$defs/VoiceConsentOut"}},"cast.element.create":{"door":"POST /api/v1/personas/{persona_id}/cast/elements","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"tag":{"type":"string","maxLength":64,"minLength":1},"description":{"type":"string","maxLength":4000,"minLength":1},"production_notes":{"type":"string","maxLength":4000,"default":""},"access_policy":{"type":"string","default":"private"},"reference_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array"},"provides":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"voice_spoken":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"name":{"type":"string","maxLength":200,"minLength":1}},"required":["description","name","persona_id","tag"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.element.remove":{"door":"DELETE /api/v1/cast/{entity_id}/element","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"cast.element.set":{"door":"PUT /api/v1/cast/{entity_id}/element","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"tag":{"type":"string","maxLength":64,"minLength":1},"description":{"type":"string","maxLength":4000,"default":""},"production_notes":{"type":"string","maxLength":4000,"default":""},"access_policy":{"type":"string","default":"private"},"reference_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array"},"provides":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"voice_spoken":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["entity_id","tag"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.expand.expand":{"door":"POST /api/v1/personas/{persona_id}/cast/expand","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"text":{"type":"string","maxLength":20000},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["persona_id","text"]},"output":{"$ref":"#/$defs/CastExpansion"}},"cast.map.read":{"door":"GET /api/v1/personas/{persona_id}/cast-map","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CastRoster"}},"cast.map.set":{"door":"PUT /api/v1/personas/{persona_id}/cast-map","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"members":{"items":{"$ref":"#/$defs/CastMemberIn"},"type":"array","maxItems":24},"show":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CastRoster"}},"cast.member.accept":{"door":"POST /api/v1/cast/takes/{entity_id}/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string","maxLength":200,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.member.lock":{"door":"PUT /api/v1/cast/{entity_id}/lock","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"locked":{"type":"boolean"},"pack":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"note":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id","locked"]},"output":{"$ref":"#/$defs/CharacterLock"}},"cast.member.reject":{"door":"POST /api/v1/cast/takes/{entity_id}/reject","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"note":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/TakeOut"}},"cast.member.upsert":{"door":"POST /api/v1/personas/{persona_id}/cast","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"dials":{"additionalProperties":{"type":"string"},"type":"object"},"notes":{"type":"string","default":""},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/CastOut"}},"cast.recipe.preview":{"door":"POST /api/v1/casting/compose","input":{"type":"object","properties":{"dials":{"additionalProperties":{"type":"string"},"type":"object"},"notes":{"type":"string","default":""}}},"output":{"$ref":"#/$defs/CastRecipe"}},"channels.asset.make":{"door":"POST /api/v1/channels/{channel_id}/assets","input":{"type":"object","properties":{"channel_id":{"type":"string"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"kind":{"type":"string","pattern":"^(image|caption|post)$"},"slot_id":{"type":"string","default":""},"brief":{"type":"string","maxLength":4000,"minLength":1},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["brief","channel_id","kind","persona_id"]},"output":{"$ref":"#/$defs/ChannelAsset"}},"channels.caption.check":{"door":"POST /api/v1/contracts/{contract_id}/caption-check","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"caption":{"type":"string","maxLength":10000,"minLength":1},"post_type_id":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]}},"required":["caption","contract_id"]},"output":{"$ref":"#/$defs/ContractCaption"}},"channels.hub.read":{"door":"GET /api/v1/channels/hub","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ChannelHub"}},"channels.kit.build":{"door":"POST /api/v1/personas/{persona_id}/brand/kit","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"channel_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"structure":{"type":"string","default":"categorized"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/BrandKit"}},"channels.master.designate":{"door":"POST /api/v1/personas/{persona_id}/brand/masters","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"role":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id","persona_id","role"]},"output":{"$ref":"#/$defs/BrandMaster"}},"channels.posts.approve":{"door":"POST /api/v1/channels/plan/{post_id}/approve","input":{"type":"object","properties":{"post_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id","post_id"]},"output":{"$ref":"#/$defs/ChannelPostRow"}},"channels.posts.list":{"door":"GET /api/v1/channels/plan","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ChannelPlan"}},"channels.posts.mark_posted":{"door":"POST /api/v1/channels/plan/{post_id}/posted","input":{"type":"object","properties":{"post_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"posted_url":{"type":"string","maxLength":2000,"default":""}},"required":["persona_id","post_id"]},"output":{"$ref":"#/$defs/ChannelPostRow"}},"channels.posts.plan":{"door":"POST /api/v1/channels/plan","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"channel":{"type":"string","maxLength":64,"minLength":1},"title":{"type":"string","maxLength":300,"minLength":1},"caption":{"type":"string","maxLength":5000,"default":""},"planned_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["channel","persona_id","title"]},"output":{"$ref":"#/$defs/ChannelPostRow"}},"channels.posts.remove":{"door":"DELETE /api/v1/channels/plan/{post_id}","input":{"type":"object","properties":{"post_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id","post_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"checklist.run.record":{"door":"POST /api/v1/forms/{form_id}/runs","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"},"mark_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"answers":{"items":{"$ref":"#/$defs/StepIn"},"type":"array","maxItems":60}},"required":["answers","form_id"]},"output":{"$ref":"#/$defs/ChecklistRun"}},"clause_decision.decide":{"door":"PUT /api/v1/contracts/{contract_id}/clauses/decision","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"clause_id":{"type":"string","maxLength":200,"minLength":1},"decision":{"type":"string","maxLength":20,"minLength":1},"note":{"type":"string","maxLength":2000,"default":""},"wording":{"type":"string","maxLength":5000,"default":""}},"required":["clause_id","contract_id","decision"]},"output":{"$ref":"#/$defs/ContractClauses"}},"clause_decision.override":{"door":"PUT /api/v1/contracts/{contract_id}/clauses/decision","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"clause_id":{"type":"string","maxLength":200,"minLength":1},"decision":{"type":"string","maxLength":20,"minLength":1},"note":{"type":"string","maxLength":2000,"default":""},"wording":{"type":"string","maxLength":5000,"default":""}},"required":["clause_id","contract_id","decision"]},"output":{"$ref":"#/$defs/ContractClauses"}},"clinical.record.import":{"door":"POST /api/v1/personas/{persona_id}/clinical-records","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"file_base64":{"type":"string","maxLength":2100000,"minLength":1},"record_name":{"type":"string","maxLength":120,"default":"Patient portal export"},"own_records":{"type":"boolean","default":false},"consent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["file_base64","persona_id"]},"output":{"$ref":"#/$defs/ClinicalImported"}},"clinical.record.read":{"door":"GET /api/v1/personas/{persona_id}/clinical-record","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ClinicalRecord"}},"clips.captions.correct":{"door":"PUT /api/v1/entities/{entity_id}/clips/captions/edits","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"edits":{"items":{"$ref":"#/$defs/CaptionEditIn"},"type":"array","maxItems":500},"replace":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipCaptionEdits"}},"clips.clip.render":{"door":"POST /api/v1/entities/{entity_id}/clips/render","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"clip_ns":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":40},{"type":"null"}]},"captions":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}]},"draft":{"type":"boolean","default":false},"approved_only":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.decisions.save":{"door":"PUT /api/v1/entities/{entity_id}/clips/decisions","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"decisions":{"items":{"$ref":"#/$defs/DecisionIn"},"type":"array","maxItems":40},"about":{"type":"string","maxLength":500,"default":""}},"required":["decisions","entity_id"]},"output":{"$ref":"#/$defs/ClipDecisions"}},"clips.enhance.overlay":{"door":"POST /api/v1/entities/{entity_id}/clips/overlay","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"type":"string","maxLength":120,"default":""},"mark_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"position":{"type":"string","pattern":"^(top|bottom)_(left|right)$","default":"top_right"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.envelope.measure":{"door":"POST /api/v1/entities/{entity_id}/clips/measure","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.gather.list":{"door":"GET /api/v1/personas/{persona_id}/clips/gathers","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ClipGatherList"}},"clips.gather.read":{"door":"GET /api/v1/entities/{deck_id}/clips/gather","input":{"type":"object","properties":{"deck_id":{"type":"string","format":"uuid"}},"required":["deck_id"]},"output":{"$ref":"#/$defs/ClipGatherState"}},"clips.gather.start":{"door":"POST /api/v1/personas/{persona_id}/clips/gather","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"theme":{"type":"string","maxLength":300,"minLength":3},"max_recordings":{"type":"integer","maximum":40.0,"minimum":1.0,"default":20}},"required":["persona_id","theme"]},"output":{"$ref":"#/$defs/ClipGatherStart"}},"clips.job.start":{"door":"POST /api/v1/entities/{entity_id}/clips/job","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"about":{"type":"string","maxLength":2000,"default":""},"per_window":{"type":"integer","maximum":10.0,"minimum":1.0,"default":3}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.layout.forget":{"door":"DELETE /api/v1/personas/{persona_id}/clip-presets/{name}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string"}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/ClipPresets"}},"clips.layout.save":{"door":"PUT /api/v1/personas/{persona_id}/clip-presets/{name}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string"},"layout":{"additionalProperties":true,"type":"object"}},"required":["layout","name","persona_id"]},"output":{"$ref":"#/$defs/ClipPresets"}},"clips.layout.set":{"door":"PUT /api/v1/entities/{entity_id}/clips/layout","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"body":{"type":"object","additionalProperties":true}},"required":["body","entity_id"]},"output":{"$ref":"#/$defs/ClipLayoutSaved"}},"clips.moments.adopt":{"door":"POST /api/v1/entities/{entity_id}/clips/adopt","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"moments":{"items":{"$ref":"#/$defs/DecisionIn"},"type":"array","maxItems":40,"minItems":1}},"required":["entity_id","moments"]},"output":{"$ref":"#/$defs/ClipAdopt"}},"clips.moments.nominate":{"door":"POST /api/v1/entities/{entity_id}/clips/nominate","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"about":{"type":"string","maxLength":500,"default":""},"per_window":{"type":"integer","maximum":5.0,"minimum":1.0,"default":3}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.plan.build":{"door":"POST /api/v1/entities/{entity_id}/clips/plan","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.plan.decide":{"door":"POST /api/v1/entities/{entity_id}/clips/revision/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipAccept"}},"clips.plan.discard":{"door":"POST /api/v1/entities/{entity_id}/clips/revision/discard","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipDiscard"}},"clips.plan.revise":{"door":"POST /api/v1/entities/{entity_id}/clips/revise","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"instruction":{"type":"string","maxLength":500,"minLength":3}},"required":["entity_id","instruction"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.reel.compile":{"door":"POST /api/v1/personas/{persona_id}/clips/compile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":40,"minItems":1},"name":{"type":"string","maxLength":120,"minLength":1},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"normalize_loudness":{"type":"boolean","default":true}},"required":["entity_ids","name","persona_id"]},"output":{"$ref":"#/$defs/ClipQueue"}},"clips.reel.list":{"door":"GET /api/v1/personas/{persona_id}/clips/compilations","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ClipCompilations"}},"clips.review.approve":{"door":"PUT /api/v1/entities/{entity_id}/clips/approvals","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"clips":{"additionalProperties":{"$ref":"#/$defs/ApprovalIn"},"type":"object","maxProperties":40,"minProperties":1}},"required":["clips","entity_id"]},"output":{"$ref":"#/$defs/ClipApprovals"}},"clips.words.read":{"door":"GET /api/v1/entities/{entity_id}/clips/words","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"start":{"type":"number","default":0.0},"end":{"anyOf":[{"type":"number"},{"type":"null"}]},"q":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ClipWords"}},"collection.keep.add":{"door":"verb:add_to_collection","input":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","description":"The collection to add to.","x-kit-id":"collection"},"entity_id":{"type":"string","format":"uuid","description":"The entity to add.","x-kit-id":"item"}},"required":["collection_id","entity_id"],"additionalProperties":false},"output":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","x-kit-id":"collection"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"link_id":{"type":"string","format":"uuid"},"added":{"type":"boolean"}},"required":["collection_id","entity_id","added"]}},"comms.calendar.create":{"door":"POST /api/v1/comms/personas/{persona_id}/calendar/events","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"summary":{"type":"string","maxLength":500,"minLength":1},"start":{"type":"string","description":"ISO-8601 date-time (timezone-aware)"},"end":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO-8601; default start + 1h / 1 day"},"all_day":{"type":"boolean","default":false},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"location":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"attendees":{"items":{"type":"string"},"type":"array","maxItems":100},"channel_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"which calendar, when the capsule has more than one"}},"required":["persona_id","start","summary"]},"output":{"$ref":"#/$defs/CalendarEventMade"}},"comms.capsule.sync":{"door":"POST /api/v1/personas/{persona_id}/connectors/comms-sync","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"credential_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]},"ics_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"number","maximum":168.0,"minimum":0.25},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CommsSyncStart"}},"comms.channel.connect":{"door":"POST /api/v1/comms/channels","input":{"type":"object","properties":{"channel_type":{"type":"string","description":"email | calendar (chat types land later)"},"display_name":{"type":"string","maxLength":200,"minLength":1},"address":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]},"credential_name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"management_level":{"type":"string","default":"read"},"settings":{"additionalProperties":true,"type":"object"},"provider":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"oauth_account_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["channel_type","display_name"]},"output":{"$ref":"#/$defs/CommsChannelView"}},"comms.channel.sync":{"door":"POST /api/v1/comms/channels/{channel_id}/sync","input":{"type":"object","properties":{"channel_id":{"type":"string","format":"uuid"}},"required":["channel_id"]},"output":{"$ref":"#/$defs/CommsChannelArmed"}},"comms.consent.enable":{"door":"POST /api/v1/comms/enable","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CommsEnabled"}},"comms.mail.organise":{"door":"POST /api/v1/comms/messages/{entity_id}/organise","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"action":{"type":"string","description":"mark_read, mark_unread, flag, unflag, archive, or move"},"target_folder":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"description":"for `move`: any folder the mailbox lists (GET /comms/channels/{id}/folders)"}},"required":["action","entity_id"]},"output":{"$ref":"#/$defs/MailOrganisation"}},"comms.mail.read":{"door":"GET /api/v1/comms/personas/{persona_id}/threads","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"folder":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"unread_only":{"type":"boolean","default":false},"page":{"type":"integer","minimum":1,"default":1},"page_size":{"type":"integer","maximum":200,"minimum":1,"default":50},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"project":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"imported":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/MailThreads"}},"comms.mail.send":{"door":"POST /api/v1/comms/channels/{channel_id}/send","input":{"type":"object","properties":{"channel_id":{"type":"string","format":"uuid"},"verb":{"type":"string","description":"send | reply | reply_all | forward","default":"send"},"to":{"items":{"type":"string"},"type":"array","maxItems":100},"cc":{"items":{"type":"string"},"type":"array","maxItems":100},"bcc":{"items":{"type":"string"},"type":"array","maxItems":100},"subject":{"anyOf":[{"type":"string","maxLength":998},{"type":"null"}]},"body":{"type":"string","maxLength":500000,"default":""},"original_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"include_original_attachments":{"type":"boolean","default":true},"attachments":{"items":{"$ref":"#/$defs/AttachmentIn"},"type":"array","maxItems":20}},"required":["channel_id"]},"output":{"$ref":"#/$defs/MailDispatch"}},"comms.spam.tune":{"door":"PUT /api/v1/comms/spam-settings","input":{"type":"object","properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"threshold":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.05},{"type":"null"}]},"allow_senders":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"block_senders":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/CommsSpamSettings"}},"consult.compare.run":{"door":"POST /api/v1/consult/compare","input":{"type":"object","properties":{"side_a":{"$ref":"#/$defs/CompareSide"},"side_b":{"$ref":"#/$defs/CompareSide"},"purpose":{"type":"string","maxLength":300,"default":""},"question":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["side_a","side_b"]},"output":{"$ref":"#/$defs/ConsultCompared"}},"consult.session.ask":{"door":"POST /api/v1/consult/sessions/{session_id}/ask","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"},"question":{"type":"string","maxLength":4000,"minLength":1}},"required":["question","session_id"]},"output":{"$ref":"#/$defs/ConsultAnswer"}},"consult.session.delete":{"door":"DELETE /api/v1/consult/sessions/{session_id}","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"}},"required":["session_id"]},"output":{"$ref":"#/$defs/ConsultRemoved"}},"consult.session.keep":{"door":"POST /api/v1/consult/sessions/{session_id}/promote","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["session_id"]},"output":{"$ref":"#/$defs/ConsultKept"}},"consult.session.list":{"door":"GET /api/v1/consult/sessions","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/ConsultList"}},"consult.session.on_contract":{"door":"POST /api/v1/contracts/{contract_id}/ask","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"question":{"type":"string","maxLength":4000,"minLength":1},"clause_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"history":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","maxItems":40},{"type":"null"}]}},"required":["contract_id","question"]},"output":{"$ref":"#/$defs/ContractAsk"}},"consult.session.open":{"door":"POST /api/v1/consult/sessions","input":{"type":"object","properties":{"persona_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"capsule"},"type":"array","maxItems":12,"minItems":1},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["persona_ids"]},"output":{"$ref":"#/$defs/ConsultRecord"}},"continuity.shots.check":{"door":"POST /api/v1/creations/{project_id}/desk/continuity","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Continuity"}},"contracts.agreement.add":{"door":"POST /api/v1/personas/{persona_id}/contracts","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":300,"minLength":1},"counterparty":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"kind":{"type":"string","default":"other"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/ContractRecord"}},"contracts.agreement.set_status":{"door":"PUT /api/v1/contracts/{contract_id}/status","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"status":{"type":"string","pattern":"^(intake|reviewed|negotiation|executed|archived)$"}},"required":["contract_id","status"]},"output":{"$ref":"#/$defs/ContractProfile"}},"contracts.build.compose":{"door":"POST /api/v1/contracts/{contract_id}/compose","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractCompose"}},"contracts.builder.complete":{"door":"GET /api/v1/projects/{project_id}/rooms","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/LibraryRooms"}},"contracts.builder.edit":{"door":"PUT /api/v1/contracts/{contract_id}/terms","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"section":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]},"values":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"active_sections":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":60},{"type":"null"}]},"custom_sections":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"general_notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"next_steps":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractBuilder"}},"contracts.calculator.balance":{"door":"POST /api/v1/deals/calculator/balance","input":{"type":"object","properties":{"cash":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,17}0*$)\\d{0,14}\\.\\d{0,2}0*$)"}]},"equity_percent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,8}0*$)\\d{0,3}\\.\\d{0,4}0*$)"}]},"valuation":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,17}0*$)\\d{0,14}\\.\\d{0,2}0*$)"}]},"years_to_liquidity":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,2}|(?=[\\d.]{1,5}0*$)\\d{0,2}\\.\\d{0,2}0*$)"}],"default":"0"},"rate_percent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,6}0*$)\\d{0,3}\\.\\d{0,2}0*$)"},{"type":"null"}]},"currency":{"type":"string","maxLength":3,"minLength":3,"default":"USD"}},"required":["cash","equity_percent","valuation"]},"output":{"$ref":"#/$defs/LibraryDeal"}},"contracts.calculator.compare":{"door":"POST /api/v1/deals/calculator/compare","input":{"type":"object","properties":{"cash":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,17}0*$)\\d{0,14}\\.\\d{0,2}0*$)"}]},"equity_percent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,8}0*$)\\d{0,3}\\.\\d{0,4}0*$)"}]},"valuation":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,17}0*$)\\d{0,14}\\.\\d{0,2}0*$)"}]},"years_to_liquidity":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,2}|(?=[\\d.]{1,5}0*$)\\d{0,2}\\.\\d{0,2}0*$)"}],"default":"0"},"rate_percent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,6}0*$)\\d{0,3}\\.\\d{0,2}0*$)"},{"type":"null"}]},"currency":{"type":"string","maxLength":3,"minLength":3,"default":"USD"},"baseline_total":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,17}0*$)\\d{0,14}\\.\\d{0,2}0*$)"}]},"under_percent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,6}0*$)\\d{0,3}\\.\\d{0,2}0*$)"}],"default":"10"}},"required":["baseline_total","cash","equity_percent","valuation"]},"output":{"$ref":"#/$defs/LibraryDealCompare"}},"contracts.chat.ask":{"door":"POST /api/v1/contracts/{contract_id}/ask","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"question":{"type":"string","maxLength":4000,"minLength":1},"clause_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"history":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","maxItems":40},{"type":"null"}]}},"required":["contract_id","question"]},"output":{"$ref":"#/$defs/ContractAsk"}},"contracts.deal.board":{"door":"GET /api/v1/deals/board","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/LibraryBoard"}},"contracts.extract.fields":{"door":"POST /api/v1/contracts/{contract_id}/quickstart","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"source_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":10},"note":{"type":"string","maxLength":20000,"default":""}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractQuickstart"}},"contracts.narrative.deal":{"door":"POST /api/v1/contracts/{contract_id}/narrative","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"kind":{"type":"string","maxLength":20,"minLength":1},"section_id":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]}},"required":["contract_id","kind"]},"output":{"$ref":"#/$defs/ContractNarrative"}},"contracts.narrative.review":{"door":"POST /api/v1/contracts/{contract_id}/narrative","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"kind":{"type":"string","maxLength":20,"minLength":1},"section_id":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]}},"required":["contract_id","kind"]},"output":{"$ref":"#/$defs/ContractNarrative"}},"contracts.narrative.write":{"door":"POST /api/v1/contracts/{contract_id}/story","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"kind":{"type":"string","maxLength":20},"section":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":40000},{"type":"null"}]}},"required":["contract_id","kind"]},"output":{"$ref":"#/$defs/NarrativeOut"}},"contracts.platforms.apply":{"door":"PUT /api/v1/contracts/{contract_id}/terms/platforms","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"post_type_ids":{"items":{"type":"string"},"type":"array","maxItems":40}},"required":["contract_id","post_type_ids"]},"output":{"$ref":"#/$defs/ContractPlatforms"}},"contracts.preview.print":{"door":"GET /api/v1/contracts/{contract_id}/print","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"contracts.project.create":{"door":"POST /api/v1/personas/{persona_id}/contracts/projects","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"mode":{"type":"string","maxLength":20,"minLength":1},"title":{"type":"string","maxLength":300,"minLength":1},"counterparty":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"kind":{"type":"string","maxLength":40,"default":"other"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]}},"required":["mode","persona_id","title"]},"output":{"$ref":"#/$defs/ContractProject"}},"contracts.quickstart.confirm":{"door":"PUT /api/v1/contracts/{contract_id}/quickstart/field","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"path":{"type":"string","maxLength":200,"minLength":1},"action":{"type":"string","maxLength":10,"minLength":1}},"required":["action","contract_id","path"]},"output":{"$ref":"#/$defs/ContractFieldKept"}},"contracts.quickstart.fill":{"door":"POST /api/v1/contracts/{contract_id}/quickstart","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"source_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":10},"note":{"type":"string","maxLength":20000,"default":""}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractQuickstart"}},"contracts.review.ask":{"door":"POST /api/v1/contracts/{contract_id}/conversation","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"question":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}]},"clause_key":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]}},"required":["contract_id"]},"output":{"$ref":"#/$defs/AskAnswerOut"}},"contracts.review.clause":{"door":"POST /api/v1/contracts/{contract_id}/review","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractReviewQueued"}},"contracts.review.decide":{"door":"PUT /api/v1/contracts/{contract_id}/clauses/decision","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"clause_id":{"type":"string","maxLength":200,"minLength":1},"decision":{"type":"string","maxLength":20,"minLength":1},"note":{"type":"string","maxLength":2000,"default":""},"wording":{"type":"string","maxLength":5000,"default":""}},"required":["clause_id","contract_id","decision"]},"output":{"$ref":"#/$defs/ContractClauses"}},"contracts.review.notes":{"door":"GET /api/v1/contracts/{contract_id}/clauses","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractClauses"}},"contracts.scrutinize.findings":{"door":"GET /api/v1/contracts/{contract_id}/scrutiny","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}]},"finding_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"finding_status":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractScrutiny"}},"contracts.scrutiny.run":{"door":"POST /api/v1/contracts/{contract_id}/scrutiny","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"concerns":{"items":{"type":"string"},"type":"array","maxItems":20}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractScrutiny"}},"contracts.scrutiny.status":{"door":"PUT /api/v1/contracts/{contract_id}/findings/status","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"finding_id":{"type":"string","maxLength":200,"minLength":1},"status":{"type":"string","maxLength":20,"minLength":1},"note":{"type":"string","maxLength":2000,"default":""}},"required":["contract_id","finding_id","status"]},"output":{"$ref":"#/$defs/LibraryFindings"}},"contracts.template.templatize":{"door":"PUT /api/v1/contracts/{contract_id}/template","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"},"parameters":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":80}},"required":["contract_id"]},"output":{"$ref":"#/$defs/LibraryTemplate"}},"contracts.template.use":{"door":"POST /api/v1/contracts/templates/use","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"starter":{"type":"string","maxLength":40,"minLength":1},"name":{"type":"string","maxLength":300,"minLength":1},"counterparty":{"type":"string","maxLength":300,"default":""}},"required":["name","persona_id","starter"]},"output":{"$ref":"#/$defs/LibraryTemplateUse"}},"contracts.terms.plan":{"door":"POST /api/v1/contracts/{contract_id}/plan","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractPlan"}},"crystallize_steps.advance":{"door":"POST /api/v1/workflows/chain-advance","input":{"type":"object","properties":{"definition":{"additionalProperties":true,"type":"object"},"done":{"items":{"type":"string"},"type":"array"},"changed":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["definition"]},"output":{"$ref":"#/$defs/ChainAdvance"}},"custody.set.set":{"door":"POST /api/v1/entities/{entity_id}/offload","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"force":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/Offload"}},"departments.board.read":{"door":"GET /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["project_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/ElementOut"}}},"departments.continuity.read":{"door":"GET /api/v1/writing/elements/{entity_id}/continuity","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ContinuityOut"}},"departments.element.dismiss":{"door":"DELETE /api/v1/writing/elements/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"departments.element.include":{"door":"PUT /api/v1/writing/elements/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"include_in_context":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"departments.element.lock":{"door":"PUT /api/v1/writing/elements/{entity_id}/look-lock","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"locked":{"type":"boolean"},"note":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id","locked"]},"output":{"$ref":"#/$defs/ContinuityOut"}},"departments.element.where_used":{"door":"GET /api/v1/writing/elements/{entity_id}/where-used","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/WhereUsedOut"}},"departments.image.accept":{"door":"POST /api/v1/writing/elements/{entity_id}/visual-revision/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"departments.image.discard":{"door":"POST /api/v1/writing/elements/{entity_id}/visual-revision/discard","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RevisionOut"}},"departments.image.revise":{"door":"POST /api/v1/writing/elements/{entity_id}/revise-image","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"instruction":{"type":"string","maxLength":1000,"default":""},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RevisionOut"}},"departments.picture.add":{"door":"POST /api/v1/writing/elements/{entity_id}/pictures","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"storage_key":{"type":"string","maxLength":512,"minLength":1},"label":{"type":"string","maxLength":80,"default":""},"rights":{"type":"string","maxLength":32,"default":""},"not_a_real_person":{"type":"boolean","default":false},"filename":{"type":"string","maxLength":255,"default":""}},"required":["entity_id","storage_key"]},"output":{"$ref":"#/$defs/BoardOut"}},"departments.picture.keep":{"door":"PUT /api/v1/writing/elements/{entity_id}/pictures/{picture_id}/status","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"picture_id":{"type":"string","format":"uuid"},"status":{"type":"string","maxLength":32}},"required":["entity_id","picture_id","status"]},"output":{"$ref":"#/$defs/BoardOut"}},"departments.picture.lock":{"door":"PUT /api/v1/writing/elements/{entity_id}/picture-lock","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"picture_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12},"note":{"type":"string","maxLength":300,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/BoardOut"}},"departments.picture.price":{"door":"GET /api/v1/writing/elements/{entity_id}/pictures/revision-price","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"count":{"type":"integer","default":1}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RevisionPrice"}},"departments.picture.read":{"door":"GET /api/v1/writing/elements/{entity_id}/pictures","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/BoardOut"}},"departments.picture.revise":{"door":"POST /api/v1/writing/elements/{entity_id}/pictures/revise","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"how":{"type":"string","maxLength":32},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"instruction":{"type":"string","maxLength":1000,"default":""},"count":{"type":"integer","maximum":12.0,"minimum":1.0,"default":1},"reference_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12},"region":{"type":"string","maxLength":200,"default":""},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id","how"]},"output":{"$ref":"#/$defs/RevisedOut"}},"departments.portrait.render":{"door":"POST /api/v1/writing/elements/{entity_id}/portrait","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"departments.relations.read":{"door":"GET /api/v1/writing/projects/{project_id}/relations","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"by":{"type":"string","default":"scene"}},"required":["project_id"]},"output":{"$ref":"#/$defs/RelationsOut"}},"departments.rooms.exception":{"door":"PUT /api/v1/writing/elements/{entity_id}/links/{other_id}/exceptions/{shot_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"other_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string"},"kept":{"type":"boolean"}},"required":["entity_id","kept","other_id","shot_id"]},"output":{"$ref":"#/$defs/WhereUsedOut"}},"departments.rooms.link":{"door":"PUT /api/v1/writing/elements/{entity_id}/links/{other_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"other_id":{"type":"string","format":"uuid"},"rule":{"type":"string","maxLength":20,"default":""}},"required":["entity_id","other_id"]},"output":{"$ref":"#/$defs/WhereUsedOut"}},"departments.wardrobe.state":{"door":"PUT /api/v1/writing/elements/{entity_id}/scene-states/{scene_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"scene_id":{"type":"string"},"state":{"type":"string","maxLength":300,"default":""}},"required":["entity_id","scene_id"]},"output":{"$ref":"#/$defs/ContinuityOut"}},"describe_for_search.save":{"door":"PUT /api/v1/entities/{entity_id}/search-description","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"text":{"type":"string"}},"required":["entity_id","persona_id","text"]},"output":{"$ref":"#/$defs/SearchDescription"}},"design.contrast.check":{"door":"POST /api/v1/design/contrast","input":{"type":"object","properties":{"text":{"type":"string","maxLength":40,"minLength":1},"background":{"type":"string","maxLength":40,"minLength":1},"large":{"type":"boolean","default":false},"non_text":{"type":"boolean","default":false}},"required":["background","text"]},"output":{"$ref":"#/$defs/LibraryContrast"}},"disclosure.acknowledge.ack":{"door":"POST /api/v1/grants","input":{"type":"object","properties":{"api_key_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"terms":{"additionalProperties":true,"type":"object"},"from_listing":{"type":"boolean","default":false},"trial":{"type":"boolean","default":false},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["api_key_id","persona_id"]},"output":{"$ref":"#/$defs/GrantIssued"}},"disclosure.attestation.read":{"door":"GET /api/v1/disclosure/attestation","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Attestation"}},"disclosure.preview.read":{"door":"GET /api/v1/disclosure/preview","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"door":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]}}},"output":{"$ref":"#/$defs/DisclosurePreview"}},"distribution.web_block.create":{"door":"POST /api/v1/personas/{persona_id}/web-blocks","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"title":{"type":"string","maxLength":120,"minLength":1},"origins":{"items":{"type":"string"},"type":"array","maxItems":10}},"required":["persona_id","title"]},"output":{"$ref":"#/$defs/WebBlock"}},"distribution.web_block.list":{"door":"GET /api/v1/personas/{persona_id}/web-blocks","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/WebBlockList"}},"distribution.web_block.pieces":{"door":"PUT /api/v1/web-blocks/{block_id}/pieces","input":{"type":"object","properties":{"block_id":{"type":"string","format":"uuid"},"pieces":{"items":{"$ref":"#/$defs/PieceIn"},"type":"array","maxItems":50}},"required":["block_id"]},"output":{"$ref":"#/$defs/WebBlock"}},"distribution.web_block.preview":{"door":"GET /api/v1/web-blocks/{block_id}/preview","input":{"type":"object","properties":{"block_id":{"type":"string","format":"uuid"}},"required":["block_id"]},"output":{"$ref":"#/$defs/BlockPreview"}},"distribution.web_block.switch_off":{"door":"POST /api/v1/web-blocks/{block_id}/switch-off","input":{"type":"object","properties":{"block_id":{"type":"string","format":"uuid"}},"required":["block_id"]},"output":{"$ref":"#/$defs/WebBlock"}},"doc.assistant.keep":{"door":"POST /api/v1/writing/projects/{project_id}/assistant/{draft_id}/keep","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"draft_id":{"type":"string"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["document_id","draft_id","project_id"]},"output":{"$ref":"#/$defs/KeptReply"}},"doc.assistant.run":{"door":"POST /api/v1/writing/projects/{project_id}/assistant","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"tool":{"type":"string","maxLength":32},"input":{"type":"string","maxLength":6001}},"required":["input","project_id","tool"]},"output":{"$ref":"#/$defs/AssistantDraft"}},"doc.bible.edit":{"door":"PUT /api/v1/writing/projects/{project_id}/bible/{section_key}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"section_key":{"type":"string"},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"included":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["project_id","section_key"]},"output":{"$ref":"#/$defs/BibleSectionOut"}},"doc.consistency.scan":{"door":"GET /api/v1/writing/projects/{project_id}/consistency","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectConsistency"}},"doc.cue.place":{"door":"POST /api/v1/writing/projects/{project_id}/cues","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"},"line":{"type":"integer"},"type":{"type":"string","maxLength":24},"style":{"type":"string","maxLength":301,"default":""},"notes":{"type":"string","maxLength":2001,"default":""},"number":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["document_id","line","project_id","type"]},"output":{"$ref":"#/$defs/CueSheetOut"}},"doc.deepdive.fact_check":{"door":"POST /api/v1/writing/projects/{project_id}/fact-check-claim","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"claim":{"type":"string","maxLength":1000,"minLength":1}},"required":["claim","project_id"]},"output":{"$ref":"#/$defs/ClaimCheckOut"}},"doc.deepdive.start":{"door":"POST /api/v1/personas/{persona_id}/research","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"brief":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"seed_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12},{"type":"null"}],"description":"Optional Library selection to research around (the brush)."}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ResearchStarted"}},"doc.document.snapshot":{"door":"POST /api/v1/writing/documents/{entity_id}/snapshot","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/MarkedDocument"}},"doc.finding.record":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.finding.verify":{"door":"POST /api/v1/writing/elements/{entity_id}/verify","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.location.record":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.phase.set":{"door":"PUT /api/v1/writing/projects/{project_id}/phases/{phase_key}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"phase_key":{"type":"string"},"state":{"type":"string","maxLength":40}},"required":["phase_key","project_id","state"]},"output":{"$ref":"#/$defs/PhaseOut"}},"doc.project.create":{"door":"POST /api/v1/writing/personas/{persona_id}/projects","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"branch":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"logline":{"type":"string","maxLength":1000,"default":""},"premise":{"type":"string","maxLength":8000,"default":""},"params":{"additionalProperties":true,"type":"object"}},"required":["branch","name","persona_id"]},"output":{"$ref":"#/$defs/ProjectOut"}},"doc.reference.add":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.reference.watched":{"door":"POST /api/v1/writing/elements/{entity_id}/watched","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/WatchedOut"}},"doc.research.open":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.script.new_version":{"door":"POST /api/v1/writing/documents/{entity_id}/script-version","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/MarkedDocument"}},"doc.script.save":{"door":"PUT /api/v1/writing/documents/{entity_id}/narration","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"body":{"type":"string","maxLength":2000000},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"words_per_minute":{"anyOf":[{"type":"integer"},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["body","entity_id"]},"output":{"$ref":"#/$defs/NarrationOut"}},"doc.segment.order":{"door":"PUT /api/v1/writing/projects/{project_id}/segments","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"segments":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":201}},"required":["project_id","segments"]},"output":{"$ref":"#/$defs/SegmentPlanOut"}},"doc.source.attach":{"door":"POST /api/v1/writing/elements/{entity_id}/sources","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string","maxLength":512,"default":""},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":8000,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"doc.storyboard.add":{"door":"POST /api/v1/writing/projects/{project_id}/stills","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":201,"default":""},"image_type":{"type":"string","maxLength":24,"default":"storyboard"},"source":{"type":"string","maxLength":24},"source_url":{"type":"string","maxLength":2000,"default":""},"cue":{"anyOf":[{"type":"integer"},{"type":"null"}]},"notes":{"type":"string","maxLength":2001,"default":""},"storage_key":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"rights":{"type":"string","maxLength":32,"default":""}},"required":["project_id","source"]},"output":{"$ref":"#/$defs/StillOut"}},"doc.storyboard.generate":{"door":"POST /api/v1/writing/projects/{project_id}/stills/generate","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"prompt":{"type":"string","maxLength":2001},"name":{"type":"string","maxLength":201,"default":""},"image_type":{"type":"string","maxLength":24,"default":"storyboard"},"cue":{"anyOf":[{"type":"integer"},{"type":"null"}]},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["project_id","prompt"]},"output":{"$ref":"#/$defs/StillOut"}},"doc.storyboard.select":{"door":"POST /api/v1/writing/elements/{entity_id}/still-selection","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"decision":{"type":"string","maxLength":16},"order":{"anyOf":[{"type":"integer"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":2001},{"type":"null"}]}},"required":["decision","entity_id"]},"output":{"$ref":"#/$defs/StillPick"}},"doc.subject.record":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"economy.activity.read":{"door":"GET /api/v1/billing/logs","input":{"type":"object","properties":{"kind":{"type":"string","pattern":"^(all|llm|consumer|your_key)$","default":"all"},"payer":{"type":"string","pattern":"^(all|platform|user|none)$","default":"all"},"limit":{"type":"integer","maximum":500,"minimum":1,"default":100}}},"output":{"$ref":"#/$defs/ActivityLog"}},"economy.contributor.agree":{"door":"POST /api/v1/personas/{persona_id}/listing/agree","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ContributorReceipt"}},"economy.credit.read":{"door":"GET /api/v1/billing/credit","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CreditReadout"}},"economy.deal.payments":{"door":"GET /api/v1/contracts/{contract_id}/payments","input":{"type":"object","properties":{"contract_id":{"type":"string","format":"uuid"}},"required":["contract_id"]},"output":{"$ref":"#/$defs/ContractPayments"}},"economy.inbox.close":{"door":"POST /api/v1/owner/threads/{thread_id}/close","input":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid"}},"required":["thread_id"]},"output":{"$ref":"#/$defs/OwnerThread"}},"economy.inbox.list":{"door":"GET /api/v1/owner/threads","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/OwnerIndex"}},"economy.inbox.read":{"door":"GET /api/v1/owner/threads/{thread_id}","input":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid"}},"required":["thread_id"]},"output":{"$ref":"#/$defs/OwnerRead"}},"economy.ledger.verify":{"door":"GET /api/v1/billing/ledger/verify","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/LedgerCheck"}},"economy.position.read":{"door":"GET /api/v1/billing/economy","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/EconomyPosition"}},"economy.spend.read":{"door":"GET /api/v1/billing/spend","input":{"type":"object","properties":{"window_days":{"type":"integer","maximum":366,"minimum":1,"default":30}}},"output":{"$ref":"#/$defs/SpendRead"}},"economy.split.clear":{"door":"DELETE /api/v1/personas/{persona_id}/revenue-split","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/RevenueSplitRead"}},"economy.split.set":{"door":"PUT /api/v1/personas/{persona_id}/revenue-split","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"shares":{"items":{"$ref":"#/$defs/SplitShare"},"type":"array","maxItems":50,"minItems":1}},"required":["persona_id","shares"]},"output":{"$ref":"#/$defs/RevenueSplitRead"}},"economy.thread.list":{"door":"GET /api/v1/threads","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/RequesterIndex"}},"economy.thread.read":{"door":"GET /api/v1/threads/{thread_id}","input":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid"}},"required":["thread_id"]},"output":{"$ref":"#/$defs/RequesterRead"}},"economy.usage.read":{"door":"GET /api/v1/billing/usage","input":{"type":"object","properties":{}},"output":{"type":"array","items":{"type":"object","additionalProperties":true}}},"edge.confirm.ack":{"door":"POST /api/v1/local-agent/erasures/{replica_id}/ack","input":{"type":"object","properties":{"replica_id":{"type":"string","format":"uuid"},"result":{"type":"string","pattern":"^(deleted|not_found|refused)$"}},"required":["replica_id","result"]},"output":{"$ref":"#/$defs/ErasureAckOut"}},"email.attachment.fetch":{"door":"POST /api/v1/comms/messages/{entity_id}/attachments/{part}/fetch","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"part":{"type":"string"}},"required":["entity_id","part"]},"output":{"$ref":"#/$defs/AttachmentFetched"}},"email.mailbox.sign_in":{"door":"PUT /api/v1/comms/channels/{channel_id}/sign-in","input":{"type":"object","properties":{"channel_id":{"type":"string","format":"uuid"},"password":{"anyOf":[{"type":"string","maxLength":1024,"minLength":1},{"type":"null"}]},"host":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}]},"port":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":1.0},{"type":"null"}]}},"required":["channel_id"]},"output":{"$ref":"#/$defs/MailboxSignIn"}},"email.message.mark_spam":{"door":"POST /api/v1/comms/messages/{entity_id}/spam","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"spam":{"type":"boolean","description":"true = quarantine as spam; false = restore to inbox"},"remember_sender":{"type":"boolean","default":true}},"required":["entity_id","spam"]},"output":{"$ref":"#/$defs/SpamMark"}},"email.thread.file":{"door":"PUT /api/v1/comms/threads/{thread_id}/project","input":{"type":"object","properties":{"thread_id":{"type":"string"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["persona_id","thread_id"]},"output":{"$ref":"#/$defs/ThreadFiled"}},"erasure.receipts.list":{"door":"GET /api/v1/admin/erasure/receipts","input":{"type":"object","properties":{"before_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"before_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"limit":{"type":"integer","maximum":200,"minimum":1,"default":200}}},"output":{"type":"array","items":{"$ref":"#/$defs/ErasureReceiptOut"}}},"face.group.erase":{"door":"DELETE /api/v1/personas/{persona_id}/face-groups","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/FaceErased"}},"face.group.name":{"door":"PUT /api/v1/face-groups/{group_id}/name","input":{"type":"object","properties":{"group_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":200}},"required":["group_id","name"]},"output":{"$ref":"#/$defs/FaceNamed"}},"face.group.read":{"door":"GET /api/v1/personas/{persona_id}/face-groups","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/FaceGroups"}},"face.group.run":{"door":"POST /api/v1/personas/{persona_id}/face-groups","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"folders":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1},"people_are_mine":{"type":"boolean","default":false}},"required":["folders","persona_id"]},"output":{"$ref":"#/$defs/FaceRun"}},"feed.catalog.browse":{"door":"GET /api/v1/feeds/catalog","input":{"type":"object","properties":{"q":{"type":"string","default":""},"category":{"type":"string","default":""}}},"output":{"$ref":"#/$defs/FeedCatalog"}},"feed.follow.follow":{"door":"POST /api/v1/personas/{persona_id}/connectors/feed","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":2048,"minLength":1},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":1.0},{"type":"null"}],"default":24}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/FeedFollowed"}},"feed.follow.stop":{"door":"DELETE /api/v1/personas/{persona_id}/connectors/feed","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"feed_url":{"type":"string"}},"required":["feed_url","persona_id"]},"output":{"$ref":"#/$defs/FeedUnfollowed"}},"feed.podcast.search":{"door":"GET /api/v1/feeds/podcast-search","input":{"type":"object","properties":{"q":{"type":"string"}},"required":["q"]},"output":{"$ref":"#/$defs/PodcastSearch"}},"film.breakdown.decide":{"door":"POST /api/v1/creations/{project_id}/breakdown/decisions","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"requirement_id":{"type":"string","maxLength":64,"minLength":1},"decision":{"type":"string","pattern":"^(accept|reject|reopen)$"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"element_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"new_element":{"type":"boolean","default":false},"reviewer_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["decision","expected_revision","project_id","requirement_id"]},"output":{"$ref":"#/$defs/FilmBreakdown"}},"film.breakdown.derive":{"door":"POST /api/v1/creations/{project_id}/breakdown/derive","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"judgment":{"type":"boolean","default":false}},"required":["project_id"]},"output":{"$ref":"#/$defs/FilmBreakdown"}},"film.breakdown.read":{"door":"GET /api/v1/creations/{project_id}/breakdown","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/FilmBreakdown"}},"film.character.approve":{"door":"POST /api/v1/cast/takes/{entity_id}/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string","maxLength":200,"default":""}},"required":["entity_id"]},"output":{"$ref":"#/$defs/CastOut"}},"film.character.contact_sheet":{"door":"POST /api/v1/creations/{project_id}/desk/contact-sheet","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"character":{"type":"string","maxLength":200,"minLength":1},"seeds":{"type":"integer","maximum":24.0,"minimum":1.0}},"required":["character","project_id","seeds"]},"output":{"$ref":"#/$defs/ContactSheet"}},"film.character.explore":{"door":"POST /api/v1/personas/{persona_id}/cast/takes","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"dials":{"additionalProperties":{"type":"string"},"type":"object"},"notes":{"type":"string","maxLength":500,"default":""},"name":{"type":"string","maxLength":200,"default":""},"retry_of":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/TakeOut"}},"film.character.lock":{"door":"PUT /api/v1/cast/{entity_id}/lock","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"locked":{"type":"boolean"},"pack":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"note":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id","locked"]},"output":{"$ref":"#/$defs/CharacterLock"}},"film.clip.effect":{"door":"POST /api/v1/creations/{project_id}/desk/effects","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"clip":{"type":"string","maxLength":200,"minLength":1},"effects":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","maxItems":40}},"required":["clip","project_id"]},"output":{"$ref":"#/$defs/Effects"}},"film.clip.grade":{"door":"POST /api/v1/creations/{project_id}/desk/grade","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"clip":{"type":"string","maxLength":200,"minLength":1},"shadows":{"type":"string","maxLength":40,"default":""},"midtones":{"type":"string","maxLength":40,"default":""},"highlights":{"type":"string","maxLength":40,"default":""},"exposure":{"type":"string","maxLength":40,"default":""},"contrast":{"type":"string","maxLength":40,"default":""},"saturation":{"type":"string","maxLength":40,"default":""},"warmth":{"type":"string","maxLength":40,"default":""}},"required":["clip","project_id"]},"output":{"$ref":"#/$defs/Grade"}},"film.clip.keyframe":{"door":"POST /api/v1/creations/{project_id}/desk/keyframes","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"clip":{"type":"string","maxLength":200,"minLength":1},"property":{"type":"string","maxLength":40,"minLength":1},"keyframes":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","maxItems":40}},"required":["clip","project_id","property"]},"output":{"$ref":"#/$defs/Keyframes"}},"film.coverage.plan":{"door":"GET /api/v1/creations/{project_id}/shot-list/coverage","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/CoveragePlan"}},"film.cut.build":{"door":"POST /api/v1/creations/{project_id}/timeline/build","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"handles":{"type":"integer","maximum":600.0,"minimum":0.0,"default":0},"transition":{"type":"string","maxLength":20,"default":"cut"},"transition_frames":{"type":"integer","maximum":600.0,"minimum":0.0,"default":0},"dialogue":{"type":"boolean","default":true}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.cut.edit":{"door":"POST /api/v1/creations/{project_id}/timeline/edit","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.cut.lay_out":{"door":"POST /api/v1/creations/{project_id}/timeline/layout","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"handles":{"type":"integer","maximum":600.0,"minimum":0.0,"default":0}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.cut.mark":{"door":"POST /api/v1/creations/{project_id}/timeline/markers","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.cut.note":{"door":"verb:add_creation_note","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"at":{"type":"integer","minimum":0},"body":{"type":"string","maxLength":4000},"author_name":{"type":"string","default":"","maxLength":200},"clip_id":{"type":"string","default":"","maxLength":64}},"required":["project_id","at","body"],"additionalProperties":false},"output":{"type":"object","properties":{"id":{"type":"string"}}}},"film.cut.place":{"door":"POST /api/v1/creations/{project_id}/timeline/place","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.cut.start":{"door":"verb:start_creation_cut","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"output":{"type":"object","properties":{"project":{"type":"object"},"sequence":{"type":"object"}},"required":["project","sequence"]}},"film.cut.tracks":{"door":"PUT /api/v1/creations/{project_id}/timeline/tracks","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/TimelineWrite"}},"film.establish.build":{"door":"POST /api/v1/writing/elements/{entity_id}/image","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"film.establish.registry":{"door":"POST /api/v1/creations/{project_id}/desk/registry","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"characters":{"items":{"type":"string"},"type":"array","maxItems":40},"locations":{"items":{"type":"string"},"type":"array","maxItems":40},"time_of_day":{"type":"string","maxLength":80,"default":""}},"required":["project_id"]},"output":{"$ref":"#/$defs/Registry"}},"film.graphics.place":{"door":"POST /api/v1/creations/{project_id}/desk/graphics","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot":{"type":"string","maxLength":200,"minLength":1},"media":{"type":"string","maxLength":200,"default":""},"placement":{"type":"string","maxLength":40,"minLength":1},"words":{"type":"string","maxLength":500,"default":""}},"required":["placement","project_id","shot"]},"output":{"$ref":"#/$defs/Graphic"}},"film.ingest.parse":{"door":"POST /api/v1/creations/import-screenplay","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"source_entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"extraction":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":20971520},{"type":"null"}]},"filename":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ScreenplayImport"}},"film.marks.insert":{"door":"verb:place_on_creation_timeline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"}},"required":["said","timeline"]}},"film.media.bin":{"door":"verb:list_creation_media_bin","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["video","image","audio"]},"ids":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["project_id"],"additionalProperties":false},"output":{"type":"object","properties":{"items":{"type":"array"},"more":{"type":"boolean"}},"required":["items","more"]}},"film.media.browse":{"door":"GET /api/v1/creations/{project_id}/desk/media","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string","default":""}},"required":["project_id"]},"output":{"$ref":"#/$defs/MediaBrowse"}},"film.project.read":{"door":"GET /api/v1/creations/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.qc.score":{"door":"step:assemble","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"inputs":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":40,"description":"artifact entity ids in edit order (or a $step reference to a step whose result carries entity ids)"},"name":{"type":"string","description":"stored file name"},"mode":{"type":"string","enum":["concat","mix","wrap"],"default":"concat","description":"concat = same-kind pieces in order; mix = audio over audio; wrap = one picture (video or still) + one audio"},"normalize_loudness":{"type":"boolean","default":true},"title":{"type":"string"}},"required":["persona_id","inputs","name"],"additionalProperties":true},"output":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string"},"content_type":{"type":"string"},"size_bytes":{"type":"integer"},"sha256":{"type":"string"},"format":{"type":"string"},"mode":{"type":"string","enum":["concat","mix","wrap"]},"duration_s":{"type":"number"},"inputs":{"type":"array","items":{"type":"string","format":"uuid"}},"qc":{"type":"object","properties":{"ok":{"type":"boolean"},"fails":{"type":"array","items":{"type":"string"}}}}},"required":["entity_id","name","content_type","size_bytes","sha256","inputs"]},"ref_accepts":{"inputs":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]}]}},{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},{"type":"object","properties":{"items":{"type":"array"},"total":{"type":"integer"}},"required":["items","total"]}]}}},"film.route.preference":{"door":"POST /api/v1/creations/{project_id}/desk/route-preference","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"route":{"type":"string","maxLength":80,"minLength":1},"length":{"type":"string","maxLength":80,"default":""},"words":{"type":"string","maxLength":500,"default":""},"mentions":{"type":"boolean","default":false}},"required":["project_id","route"]},"output":{"$ref":"#/$defs/RoutePreference"}},"film.script.choose":{"door":"PUT /api/v1/creations/{project_id}/script/selection","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["document_id","project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.script.edit":{"door":"PUT /api/v1/creations/{project_id}/script","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"body":{"type":"string","maxLength":20971520},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["body","document_id","expected_revision","project_id"]},"output":{"$ref":"#/$defs/ScriptEdit"}},"film.script.follow":{"door":"verb:get_creation_script_follow","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"],"additionalProperties":false},"output":{"type":"object","properties":{"sequence_revision":{"type":"string"},"draft":{"type":"object"},"elements":{"type":"array"},"spans":{"type":"array"},"shots":{"type":"object"},"not_in_cut":{"type":"array"},"older_draft":{"type":"array"}},"required":["sequence_revision","draft","elements","spans","shots"]}},"film.script.put_in":{"door":"verb:put_in_creation_script","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"element_start":{"type":"integer","minimum":0},"element_end":{"type":"integer","minimum":1},"at":{"type":"integer","minimum":0},"video_track":{"type":"string","default":"","maxLength":8}},"required":["project_id","expected_revision","element_start","element_end","at"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"},"shot_id":{"type":"string"},"made_shot":{"type":"boolean"}},"required":["said","timeline","shot_id","made_shot"]}},"film.script.unlock":{"door":"POST /api/v1/creations/{project_id}/script/unlock","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":2000,"default":""},"reviewer_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.sequence.restore":{"door":"POST /api/v1/creations/{project_id}/sequence/restore","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"revision":{"type":"string","maxLength":64,"minLength":1}},"required":["expected_revision","project_id","revision"]},"output":{"$ref":"#/$defs/Creation"}},"film.shot.package":{"door":"verb:get_creation_shot_package","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","format":"uuid"},"route":{"type":"string","enum":["auto","made_here","own_key"]}},"required":["project_id","shot_id"],"additionalProperties":false},"output":{"$defs":{"Excluded":{"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"reason_code":{"type":"string"},"reason":{"type":"string"}},"required":["id","name","reason_code","reason"],"type":"object"},"Notice":{"additionalProperties":true,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"PayloadPreview":{"additionalProperties":true,"properties":{"makes":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"type":"string"},"pictures":{"items":{"$ref":"#/$defs/PreviewPicture"},"type":"array"},"words_only":{"items":{},"type":"array"},"aspect":{"anyOf":[{"type":"string"},{"type":"null"}]},"seconds":{"type":"number"}},"required":["makes","prompt","pictures","words_only","aspect","seconds"],"type":"object"},"Preflight":{"additionalProperties":true,"properties":{"ok":{"type":"boolean"},"refusals":{"items":{"$ref":"#/$defs/Refusal"},"type":"array"},"counts":{"$ref":"#/$defs/PreflightCounts"}},"required":["ok","refusals","counts"],"type":"object"},"PreflightCounts":{"additionalProperties":true,"properties":{"pictures":{"type":"integer"},"takes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"prompt_chars":{"type":"integer"},"reads":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["pictures","takes","prompt_chars","reads"],"type":"object"},"PreviewPicture":{"additionalProperties":true,"properties":{"name":{"type":"string"},"role":{"type":"string"},"role_label":{"type":"string"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","role","role_label","picture"],"type":"object"},"Prompt":{"additionalProperties":true,"properties":{"text":{"type":"string"},"compiled":{"type":"string"},"compiled_hash":{"type":"string"},"edited":{"type":"boolean"},"conflict":{"type":"boolean"},"left_out":{"items":{},"type":"array"}},"required":["text","compiled","compiled_hash","edited","conflict","left_out"],"type":"object"},"Reference":{"additionalProperties":true,"properties":{"id":{"type":"string"},"source":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"role":{"type":"string"},"role_label":{"type":"string"},"element_version":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}]},"left_out":{"type":"boolean"},"sends_picture":{"type":"boolean"}},"required":["id","source","name","kind","role","role_label","element_version","state","picture","left_out","sends_picture"],"type":"object"},"Refusal":{"additionalProperties":true,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"RouteView":{"additionalProperties":true,"properties":{"route":{"type":"string"},"label":{"type":"string"},"available":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"takes_pictures":{"anyOf":[{"type":"integer"},{"type":"null"}]},"takes_roles":{"items":{},"type":"array"},"max_prompt_chars":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["route","label","available","reason","reason_code","takes_pictures","takes_roles","max_prompt_chars"],"type":"object"}},"additionalProperties":true,"properties":{"project_id":{"type":"string"},"shot_id":{"type":"string"},"shot_version":{"type":"integer"},"shot_list_revision":{"type":"string"},"output_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"task":{"anyOf":[{"type":"string"},{"type":"null"}]},"prompt":{"$ref":"#/$defs/Prompt"},"references":{"items":{"$ref":"#/$defs/Reference"},"type":"array"},"excluded":{"items":{"$ref":"#/$defs/Excluded"},"type":"array"},"route":{"type":"string"},"routes":{"items":{"$ref":"#/$defs/RouteView"},"type":"array"},"stale_reasons":{"items":{},"type":"array"},"preflight":{"$ref":"#/$defs/Preflight"},"notices":{"items":{"$ref":"#/$defs/Notice"},"type":"array"},"payload_preview":{"$ref":"#/$defs/PayloadPreview"}},"required":["project_id","shot_id","shot_version","shot_list_revision","output_type","task","prompt","references","excluded","route","routes","stale_reasons","preflight","notices","payload_preview"],"type":"object"}},"film.shot.recipe":{"door":"POST /api/v1/creations/{project_id}/desk/recipe","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot":{"type":"string","maxLength":200,"minLength":1},"people":{"type":"string","maxLength":500,"default":""},"place":{"type":"string","maxLength":500,"default":""},"wardrobe":{"type":"string","maxLength":500,"default":""},"props":{"type":"string","maxLength":500,"default":""},"look":{"type":"string","maxLength":500,"default":""},"framing":{"type":"string","maxLength":500,"default":""}},"required":["project_id","shot"]},"output":{"$ref":"#/$defs/Recipe"}},"film.shot_list.derive":{"door":"POST /api/v1/creations/{project_id}/shot-list/derive","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"source_document_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.shot_list.revise":{"door":"PUT /api/v1/creations/{project_id}/shot-list","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"scenes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":1000},"shots":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":4000}},"required":["expected_revision","project_id","scenes","shots"]},"output":{"$ref":"#/$defs/Creation"}},"film.shot_spec.derive":{"door":"POST /api/v1/creations/{project_id}/shot-list/specs/derive","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"overwrite":{"type":"boolean","default":false}},"required":["expected_revision","project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.shot_spec.edit":{"door":"PATCH /api/v1/creations/{project_id}/shots/{shot_id}/spec","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"patch":{"additionalProperties":true,"type":"object"},"repin":{"type":"boolean","default":false}},"required":["expected_revision","project_id","shot_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.slot.route":{"door":"POST /api/v1/creations/{project_id}/desk/slot-route","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"slot":{"type":"string","maxLength":200,"minLength":1},"route":{"type":"string","maxLength":80,"minLength":1},"seed":{"type":"string","maxLength":200,"default":""},"longest_take":{"type":"string","maxLength":80,"default":""},"payer":{"type":"string","maxLength":80,"default":""}},"required":["project_id","route","slot"]},"output":{"$ref":"#/$defs/SlotRoute"}},"film.take.attach":{"door":"POST /api/v1/creations/{project_id}/shots/{shot_id}/takes","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"shot_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"label":{"type":"string","maxLength":200,"default":""},"duration_ticks":{"anyOf":[{"type":"integer","maximum":600000.0,"minimum":250.0},{"type":"null"}]}},"required":["entity_id","project_id","shot_id"]},"output":{"$ref":"#/$defs/Take"}},"film.take.review":{"door":"POST /api/v1/creations/{project_id}/takes/{take_id}/reviews","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"take_id":{"type":"string","format":"uuid"},"result":{"type":"string","pattern":"^(approved|rejected|withdrawn|note)$"},"notes":{"type":"string","maxLength":20000,"default":""},"reviewer_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id","result","take_id"]},"output":{"$ref":"#/$defs/Take"}},"film.take.select":{"door":"PUT /api/v1/creations/{project_id}/sequence/selection","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64,"minLength":1},"instance_id":{"type":"string","format":"uuid"},"take_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"approve":{"type":"boolean","default":false},"reviewer_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["expected_revision","instance_id","project_id"]},"output":{"$ref":"#/$defs/Creation"}},"film.timeline.build":{"door":"verb:build_creation_timeline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"handles":{"type":"integer","minimum":0,"maximum":600,"default":0},"transition":{"type":"string","enum":["cut","dissolve","fade","planned"],"default":"cut"},"transition_frames":{"type":"integer","minimum":0,"maximum":600,"default":0},"dialogue":{"type":"boolean","default":true}},"required":["project_id","expected_revision"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"}}}},"film.timeline.edit":{"door":"verb:edit_creation_timeline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"},"timeline":{"type":"object"}},"required":["said","timeline"]}},"film.timeline.layout":{"door":"verb:lay_out_creation_timeline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"handles":{"type":"integer","minimum":0,"maximum":600,"default":0}},"required":["project_id","expected_revision"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"}}}},"film.timeline.mark":{"door":"verb:mark_creation_timeline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"}}}},"film.tracks.set":{"door":"verb:set_creation_tracks","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"expected_revision":{"type":"string","maxLength":64},"op":{"type":"object"}},"required":["project_id","expected_revision","op"],"additionalProperties":false},"output":{"type":"object","properties":{"said":{"type":"string"}}}},"film.vfx.pass":{"door":"POST /api/v1/creations/{project_id}/desk/vfx","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"take_id":{"type":"string","format":"uuid"},"change":{"type":"string","maxLength":500,"minLength":1},"looks":{"type":"string","maxLength":500,"default":""}},"required":["change","project_id","take_id"]},"output":{"$ref":"#/$defs/VfxPass"}},"form.answer.submit":{"door":"POST /api/v1/forms/{form_id}/answers","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"},"answers":{"additionalProperties":true,"type":"object"}},"required":["answers","form_id"]},"output":{"$ref":"#/$defs/FormAnswered"}},"form.define.change":{"door":"PATCH /api/v1/forms/{form_id}","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"},"title":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"clear_note":{"type":"boolean","default":false},"fields":{"anyOf":[{"items":{"$ref":"#/$defs/FieldIn"},"type":"array","maxItems":60},{"type":"null"}]}},"required":["form_id"]},"output":{"$ref":"#/$defs/FormSaved"}},"form.define.save":{"door":"POST /api/v1/forms","input":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"title":{"type":"string","maxLength":500},"kind":{"type":"string","enum":["form","checklist"],"default":"form"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"fields":{"items":{"$ref":"#/$defs/FieldIn"},"type":"array","maxItems":60},"sheet_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["capsule_id","fields","title"]},"output":{"$ref":"#/$defs/FormSaved"}},"form.list":{"door":"GET /api/v1/forms","input":{"type":"object","properties":{"capsule_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/FormList"}},"form.read":{"door":"GET /api/v1/forms/{form_id}","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"}},"required":["form_id"]},"output":{"$ref":"#/$defs/FormRecord"}},"form.remove":{"door":"DELETE /api/v1/forms/{form_id}","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"}},"required":["form_id"]},"output":{"$ref":"#/$defs/FormRemoved"}},"form.responses.list":{"door":"GET /api/v1/forms/{form_id}/responses","input":{"type":"object","properties":{"form_id":{"type":"string","format":"uuid"},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["form_id"]},"output":{"$ref":"#/$defs/FormResponses"}},"ghostwriter.beat.place":{"door":"PUT /api/v1/writing/documents/{entity_id}/beats/{beat_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"beat_id":{"type":"string"},"actual_page":{"anyOf":[{"type":"integer","maximum":2000.0,"minimum":1.0},{"type":"null"}]},"notes":{"type":"string","maxLength":2000,"default":""}},"required":["beat_id","entity_id"]},"output":{"$ref":"#/$defs/BeatsOut"}},"ghostwriter.brief.compile":{"door":"POST /api/v1/writing/documents/{entity_id}/revision-brief","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"ghostwriter.character.bible":{"door":"POST /api/v1/writing/projects/{project_id}/elements","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string","maxLength":4000,"default":""}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"ghostwriter.cluster.read":{"door":"GET /api/v1/writing/documents/{entity_id}/review/clusters/{cluster_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"cluster_id":{"type":"string"}},"required":["cluster_id","entity_id"]},"output":{"$ref":"#/$defs/ClusterRead"}},"ghostwriter.coverage.run":{"door":"hand:run_coverage","input":{"type":"object","properties":{"entity_id":{"anyOf":[{"maxLength":80,"type":"string","x-kit-id":"item"},{"type":"null"}],"default":null,"description":"the screenplay / document (Library item or writing document). Omit to resolve from the selection or Working Set"},"title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"the draft's title as the owner said it, when they named it"},"project_id":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null},"project_name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"destination project by name; created if absent"},"kind":{"default":"coverage","enum":["coverage","review"],"type":"string"},"allow_partial":{"default":false,"description":"run on the available part when the full document is not","type":"boolean"},"force":{"default":false,"description":"run again even if this document already has coverage","type":"boolean"},"navigate":{"default":true,"description":"bring the owner to the live run","type":"boolean"}},"required":[],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"ghostwriter.export.decisions":{"door":"GET /api/v1/writing/documents/{entity_id}/review/decisions","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"format":{"type":"string","default":"md"}},"required":["entity_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"ghostwriter.flag.decide":{"door":"PATCH /api/v1/writing/documents/{entity_id}/review/flags/{flag_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"flag_id":{"type":"string"},"status":{"type":"string"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["entity_id","flag_id","status"]},"output":{"$ref":"#/$defs/ReviewOut"}},"ghostwriter.guide.read":{"door":"GET /api/v1/writing/review-frameworks/{fmt}","input":{"type":"object","properties":{"fmt":{"type":"string"}},"required":["fmt"]},"output":{"$ref":"#/$defs/FrameworkOut"}},"ghostwriter.pages.mark":{"door":"PUT /api/v1/writing/documents/{entity_id}/review/flags/{flag_id}/pages","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"flag_id":{"type":"string"},"pages":{"items":{"type":"integer"},"type":"array","maxItems":200}},"required":["entity_id","flag_id"]},"output":{"$ref":"#/$defs/FlagPagesOut"}},"ghostwriter.plan.read":{"door":"GET /api/v1/writing/documents/{entity_id}/review/plan","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/WorkPlanOut"}},"ghostwriter.revision.run":{"door":"hand:run_revision","input":{"type":"object","properties":{"entity_id":{"anyOf":[{"maxLength":80,"type":"string","x-kit-id":"item"},{"type":"null"}],"default":null,"description":"the draft (writing document or Library item). Omit to use the title or the selection"},"title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"the draft's title as the owner said it"},"use_all_notes":{"default":false,"description":"apply every note the read raises, even when the owner accepted some","type":"boolean"},"navigate":{"default":true,"description":"open the draft","type":"boolean"}},"required":[],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"ghostwriter.run.read":{"door":"hand:get_run","input":{"type":"object","properties":{"run_id":{"maxLength":80,"minLength":1,"type":"string"}},"required":["run_id"],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"grant.access.revoke":{"door":"DELETE /api/v1/grants/{grant_id}","input":{"type":"object","properties":{"grant_id":{"type":"string","format":"uuid"}},"required":["grant_id"]},"output":{"$ref":"#/$defs/GrantRevoked"}},"grant.issue.issue":{"door":"POST /api/v1/grants","input":{"type":"object","properties":{"api_key_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"terms":{"additionalProperties":true,"type":"object"},"from_listing":{"type":"boolean","default":false},"trial":{"type":"boolean","default":false},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["api_key_id","persona_id"]},"output":{"$ref":"#/$defs/GrantIssued"}},"graph.compose.accept":{"door":"POST /api/v1/workflows","input":{"type":"object","properties":{"name":{"type":"string","maxLength":128,"minLength":1},"kind":{"type":"string","default":"general"},"definition":{"additionalProperties":true,"type":"object"},"capsule_scope":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":64},{"type":"null"}]},"provenance":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"source":{"anyOf":[{"$ref":"#/$defs/SourceRef"},{"type":"null"}]}},"required":["definition","name"]},"output":{"$ref":"#/$defs/WorkflowOut"}},"graph.compose.draft":{"door":"POST /api/v1/workflows/compose","input":{"type":"object","properties":{"description":{"type":"string","maxLength":6000,"minLength":1},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"definition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"history":{"items":{"$ref":"#/$defs/ComposeTurn"},"type":"array","maxItems":12},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"module_context":{"type":"boolean","default":false}},"required":["description"]},"output":{"$ref":"#/$defs/ComposeResponse"}},"graph.event.emit":{"door":"POST /api/v1/workflows/events","input":{"type":"object","properties":{"event":{"type":"string","maxLength":32},"subject_id":{"type":"string","format":"uuid"},"capsule_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}},"required":["event","subject_id"]},"output":{"$ref":"#/$defs/EventOut"}},"graph.recipe.delete":{"door":"DELETE /api/v1/workflows/{workflow_id}","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"dry_run":{"type":"boolean","default":false}},"required":["workflow_id"]},"output":{"$ref":"#/$defs/RecipeRemoved"}},"graph.run.price":{"door":"POST /api/v1/workflows/run-price","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"definition":{"additionalProperties":true,"type":"object"}},"required":["definition","name"]},"output":{"$ref":"#/$defs/RunPrice"}},"graph.run.read":{"door":"GET /api/v1/workflows/runs/{run_id}","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/app__api__workflows__RunOut"}},"graph.run.resume":{"door":"POST /api/v1/workflows/runs/{run_id}/resume","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."}},"required":["run_id"]},"output":{"$ref":"#/$defs/app__api__workflows__RunOut"}},"graph.run.resume_price":{"door":"GET /api/v1/workflows/runs/{run_id}/resume-price","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"}},"required":["run_id"]},"output":{"$ref":"#/$defs/RunPrice"}},"graph.trigger.on_event":{"door":"POST /api/v1/workflows/{workflow_id}/event-triggers","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"event":{"type":"string","maxLength":32},"capsule_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"entity_type":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"after_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"mark_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"form_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["event","workflow_id"]},"output":{"$ref":"#/$defs/TriggerOut"}},"graph.trigger.skips":{"door":"GET /api/v1/workflows/triggers/{trigger_id}/skips","input":{"type":"object","properties":{"trigger_id":{"type":"string","format":"uuid"}},"required":["trigger_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/TriggerSkipOut"}}},"harvest.dashboard.render":{"door":"GET /api/v1/personas/{persona_id}/audience/dashboard","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"harvest.family.cluster":{"door":"POST /api/v1/personas/{persona_id}/connectors/social-profile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":1024,"minLength":8},"max_items":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}]},"fetch_media":{"type":"boolean","default":false},"analyze_captions":{"type":"boolean","default":false},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":1.0},{"type":"null"}]}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/HarvestQueued"}},"harvest.gap.find":{"door":"GET /api/v1/personas/{persona_id}/audience/gaps","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"threshold":{"type":"integer","minimum":0,"default":10000}},"required":["persona_id"]},"output":{"$ref":"#/$defs/HarvestGaps"}},"harvest.history.snapshot":{"door":"POST /api/v1/personas/{persona_id}/audience/snapshots","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/HarvestSnapshot"}},"harvest.scrape.run":{"door":"POST /api/v1/personas/{persona_id}/connectors/social-profile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":1024,"minLength":8},"max_items":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}]},"fetch_media":{"type":"boolean","default":false},"analyze_captions":{"type":"boolean","default":false},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":1.0},{"type":"null"}]}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/HarvestQueued"}},"harvest.studio.merge":{"door":"POST /api/v1/personas/{persona_id}/metrics-import","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"csv_text":{"type":"string","maxLength":5000000,"minLength":1},"permalink_column":{"type":"string","maxLength":256,"minLength":1},"metric_columns":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":64,"minProperties":1},"date_column":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]}},"required":["csv_text","metric_columns","permalink_column","persona_id"]},"output":{"$ref":"#/$defs/HarvestImport"}},"harvest.suppress.estimate":{"door":"GET /api/v1/personas/{persona_id}/audience/suppression","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"min_age_days":{"type":"integer","maximum":3650,"minimum":0,"default":7},"max_views":{"type":"integer","minimum":0,"default":500}},"required":["persona_id"]},"output":{"$ref":"#/$defs/HarvestSuppression"}},"help.ticket.file":{"door":"POST /api/v1/support/tickets","input":{"type":"object","properties":{"kind":{"type":"string","maxLength":24,"default":"question"},"subject":{"type":"string","maxLength":300,"minLength":1},"body":{"type":"string","maxLength":8000,"default":""},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]},"context":{"additionalProperties":true,"type":"object"}},"required":["subject"]},"output":{"$ref":"#/$defs/TicketOut"}},"host.generate.write":{"door":"POST /api/v1/writing/personas/{persona_id}/generate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string","maxLength":200,"minLength":1},"premise":{"type":"string","default":""},"brief":{"type":"string","default":""},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":4.0},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["format","persona_id","title"]},"output":{"$ref":"#/$defs/RunHandle"}},"host.memory.query":{"door":"verb:recall","input":{"type":"object","properties":{"query":{"type":"string","description":"what to look for"},"tags":{"type":"array","items":{"type":"string"},"default":[],"description":"keep only memories carrying any of these tags"},"limit":{"type":"integer","default":6,"minimum":1,"maximum":12,"description":"how many memories to return"},"since":{"type":"string","default":"","description":"ISO-8601 date/time; only memories saved at or after it"},"capsule_id":{"type":"string","default":"","description":"the capsule to recall from (empty = the account's private vault)","x-kit-id":"capsule"}},"required":["query"],"additionalProperties":false},"output":{"type":"object","properties":{"mode":{"type":"string","description":"semantic | lexical | recent — how the ranking was produced"},"capsule_id":{"type":["string","null"],"format":"uuid","description":"the capsule the memories came from; null when this account has not remembered anything yet (a recall never makes the vault)","x-kit-id":"capsule"},"persona_id":{"type":["string","null"],"format":"uuid","description":"The same value as capsule_id, kept for callers written before it.","x-kit-id":"capsule"},"memories":{"type":"array","items":{"type":"object","properties":{"memory_id":{"type":"string","format":"uuid"},"content":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"source":{"type":"string"},"attached_to":{"type":["string","null"],"format":"uuid"},"created_at":{"type":["string","null"],"format":"date-time"},"method":{"type":["string","null"],"description":"who saved it: human | agent:<name>"},"score":{"type":"number"}}}}},"required":["mode","capsule_id","persona_id","memories"]}},"host.memory.store":{"door":"verb:remember","input":{"type":"object","properties":{"content":{"type":"string","description":"the memory text (<=4000 chars)"},"tags":{"type":"array","items":{"type":"string"},"default":[],"description":"short tags for later filtering (<=12)"},"category":{"type":"string","default":"note","description":"e.g. finding | decision | preference | note"},"source":{"type":"string","default":"","description":"where this came from (a URL, a run id, a citation)"},"entity_id":{"type":"string","default":"","description":"attach the memory to this existing item (empty = none)","x-kit-id":"item"},"capsule_id":{"type":"string","default":"","description":"the capsule to remember into (empty = the account's private vault)","x-kit-id":"capsule"}},"required":["content"],"additionalProperties":false},"output":{"type":"object","properties":{"memory_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it.","x-kit-id":"capsule"},"embedded":{"type":"boolean"},"category":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}},"required":["memory_id","capsule_id","persona_id","embedded","category"]}},"image_intel.session.cleanup":{"door":"POST /api/v1/scriptorium/sessions/{session_id}/cleanup","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"},"final_text":{"type":"string","maxLength":500000,"minLength":1},"confirmations":{"items":{"$ref":"#/$defs/CleanupItem"},"type":"array","maxItems":500}},"required":["final_text","session_id"]},"output":{"$ref":"#/$defs/IntelCleanup"}},"image_intel.session.create":{"door":"POST /api/v1/scriptorium/sessions","input":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"image_key":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"image_mime":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"golden_text":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}]},"passes":{"type":"integer","maximum":3.0,"minimum":1.0,"default":1},"objectives":{"items":{"type":"string"},"type":"array","maxItems":4},"auto_run":{"type":"boolean","default":true}},"required":["title"]},"output":{"$ref":"#/$defs/IntelSession"}},"image_intel.session.import":{"door":"POST /api/v1/scriptorium/sessions/from-capsule","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":500},"passes":{"type":"integer","maximum":3.0,"minimum":1.0,"default":1},"objectives":{"items":{"type":"string"},"type":"array","maxItems":4},"auto_run":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/IntelImport"}},"image_intel.session.list":{"door":"GET /api/v1/scriptorium/sessions","input":{"type":"object","properties":{"status_filter":{"anyOf":[{"type":"string"},{"type":"null"}]},"scope":{"type":"string","default":"user"},"campaign":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"limit":{"type":"integer","default":100}}},"output":{"$ref":"#/$defs/IntelList"}},"image_intel.session.read":{"door":"GET /api/v1/scriptorium/sessions/{session_id}","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"}},"required":["session_id"]},"output":{"$ref":"#/$defs/IntelSession"}},"image_intel.session.run":{"door":"POST /api/v1/scriptorium/sessions/{session_id}/run","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"}},"required":["session_id"]},"output":{"$ref":"#/$defs/IntelSession"}},"image_intel.training.wave":{"door":"POST /api/v1/scriptorium/training/run-batch","input":{"type":"object","properties":{"campaign":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"default":25}}},"output":{"$ref":"#/$defs/IntelWave"}},"item.text.read":{"door":"verb:read_item_text","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"the item to read","x-kit-id":"item"},"offset":{"type":"integer","default":0,"minimum":0,"description":"the character to start from; the previous page's next_offset"},"page_chars":{"type":"integer","default":6000,"minimum":1,"maximum":8000,"description":"how many characters one page holds (up to 8,000)"},"source":{"type":"string","default":"","enum":["","document_text","writer_document","transcript","message","handwriting","image_text","note"],"description":"which text to read; empty reads the item's main text"}},"required":["entity_id"],"additionalProperties":false},"output":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"type":["string","null"]},"source":{"type":"string"},"source_label":{"type":"string"},"offset":{"type":"integer"},"shown_characters":{"type":"integer"},"total_characters":{"type":"integer"},"text":{"type":"string","description":"this page of the text, verbatim"},"shown":{"type":"string","description":"how much of the text this page shows"},"next_offset":{"type":["integer","null"],"description":"where the next page starts; null when this is the last page"},"complete":{"type":"boolean"},"other_sources":{"type":"array","items":{"type":"string"}}},"required":["entity_id","source","offset","shown_characters","total_characters","text","shown","next_offset","complete"]}},"kit.need.file":{"door":"POST /api/v1/kit/requests","input":{"type":"object","properties":{"sentence":{"type":"string","maxLength":2000,"minLength":1},"takes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"gives":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"workflow":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["sentence"]},"output":{"$ref":"#/$defs/KitNeed"}},"kit.need.list":{"door":"GET /api/v1/kit/requests","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/KitNeeds"}},"layout.html.render":{"door":"POST /api/v1/layouts/render","input":{"type":"object","properties":{"layout":{"additionalProperties":true,"type":"object"},"mode":{"type":"string","enum":["stack","sequence"],"default":"sequence"},"title":{"type":"string","maxLength":200,"default":"Layout"}},"required":["layout"]},"output":{"$ref":"#/$defs/LayoutRender"}},"leads.call.attach":{"door":"verb:attach_lead_call","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose deal keeps the call."},"entity_id":{"type":"string","format":"uuid","description":"The recording of the call, in the lead's capsule.","x-kit-id":"item"},"case_id":{"type":"string","default":"","description":"a deal's id"}},"required":["lead_id","entity_id"],"additionalProperties":false},"output":{"type":"object","properties":{"call_id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"lead_id":{"type":"string","format":"uuid"},"recording_id":{"type":"string","format":"uuid"},"speakers":{"type":"array","items":{"type":"object"}},"commitments":{"type":"integer"},"objections":{"type":"integer"},"sentence":{"type":"string"}},"required":["call_id","case_id","commitments","objections","sentence"]}},"leads.call.read":{"door":"verb:read_lead_calls","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose calls to read."}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"calls":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["lead_id","calls","sentence"]}},"leads.case.advance":{"door":"POST /api/v1/lead-cases/{case_id}/phase","input":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"},"phase":{"type":"string","maxLength":40},"reason":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"chance":{"anyOf":[{"type":"integer"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}]},"next_action_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]}},"required":["case_id","phase"]},"output":{"$ref":"#/$defs/Case"}},"leads.case.close":{"door":"POST /api/v1/lead-cases/{case_id}/close","input":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"},"result":{"type":"string","enum":["won","lost"]},"reason":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"deal_value":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"competitor_won":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["case_id","result"]},"output":{"$ref":"#/$defs/Case"}},"leads.case.list":{"door":"GET /api/v1/personas/{persona_id}/lead-cases","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]},"seller_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CaseList"}},"leads.case.log":{"door":"verb:log_lead_case","input":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid","description":"The deal to log on."},"kind":{"type":"string","enum":["activity","note","task","communication"]},"title":{"type":"string","default":""},"text":{"type":"string","default":""},"type":{"type":"string","default":""},"outcome":{"type":"string","default":""},"minutes":{"type":"integer","default":0,"minimum":0,"maximum":1440},"next_steps":{"type":"string","default":""},"task_id":{"type":"string","default":""},"due_on":{"type":"string","default":"","description":"YYYY-MM-DD"},"priority":{"type":"string","default":""},"channel":{"type":"string","default":""},"direction":{"type":"string","default":""},"subject":{"type":"string","default":""},"summary":{"type":"string","default":""},"pinned":{"type":"boolean","default":false},"occurred_at":{"type":"string","default":"","description":"ISO date-time"}},"required":["case_id","kind"],"additionalProperties":false},"output":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"case_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"detail":{"type":"object"},"who":{"type":"string"},"occurred_at":{"type":"string"},"sentence":{"type":"string"}},"required":["id","case_id","kind","sentence"]}},"leads.case.open":{"door":"verb:open_lead_case","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead the deal is on."},"seller_id":{"type":"string","format":"uuid","description":"The seller working it, in the lead's capsule."},"offering":{"type":"string","default":"","description":"an offering's name"},"name":{"type":"string","default":"","description":"the deal's name"},"phase":{"type":"string","default":"","description":"research, prospecting, outreach, discovery, qualification, demo, proposal, negotiation or closing"},"estimated_value":{"type":"string","default":""},"currency":{"type":"string","default":""},"target_close_on":{"type":"string","default":"","description":"YYYY-MM-DD"},"next_action":{"type":"string","default":""},"next_action_on":{"type":"string","default":"","description":"YYYY-MM-DD"}},"required":["lead_id","seller_id"],"additionalProperties":false},"output":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"status":{"type":"string"},"phase":{"type":"string"},"chance":{"type":"integer"},"opened":{"type":"boolean"},"sentence":{"type":"string"}},"required":["id","status","phase","chance","opened","sentence"]}},"leads.case.read":{"door":"GET /api/v1/lead-cases/{case_id}","input":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"}},"required":["case_id"]},"output":{"$ref":"#/$defs/CaseRead"}},"leads.fit.analyze":{"door":"verb:fit_lead","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to fit."},"seller_id":{"type":"string","default":"","description":"a seller in the lead's capsule"},"offering":{"type":"string","default":"","description":"an offering's name"}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"seller_id":{"type":"string","format":"uuid"},"fit":{"type":["integer","null"]},"win_chance":{"type":"integer"},"priority":{"type":"integer"},"questions":{"type":"array","items":{"type":"string"}},"sentence":{"type":"string"}},"required":["lead_id","seller_id","fit","win_chance","sentence"]}},"leads.graph.build":{"door":"verb:get_lead_graph","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to map."}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"nodes":{"type":"array","items":{"type":"object"}},"edges":{"type":"array","items":{"type":"object"}},"key_people":{"type":"array","items":{"type":"object"}},"way_in":{"type":"object"},"sentence":{"type":"string"}},"required":["lead_id","nodes","edges","way_in","sentence"]}},"leads.investigate.run":{"door":"POST /api/v1/leads/{lead_id}/investigate","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"}},"required":["lead_id"]},"output":{"$ref":"#/$defs/InvestigateAnswer"}},"leads.knowledge.learn":{"door":"POST /api/v1/lead-cases/{case_id}/lessons","input":{"type":"object","properties":{"case_id":{"type":"string","format":"uuid"},"objection":{"type":"string","maxLength":4000},"response":{"type":"string","maxLength":4000},"worked":{"type":"string","enum":["yes","no","unclear"]},"competitor":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["case_id","objection","response","worked"]},"output":{"$ref":"#/$defs/app__api__lead_answers__Lesson"}},"leads.knowledge.query":{"door":"verb:ask_deal_memory","input":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose deals to ask.","x-kit-id":"capsule"},"question":{"type":"string","maxLength":500},"lead_id":{"type":"string","default":"","description":"a lead's id"},"seller_id":{"type":"string","default":"","description":"a seller's id"},"competitor":{"type":"string","default":""},"offering":{"type":"string","default":""},"limit":{"type":"integer","default":5,"minimum":1,"maximum":20}},"required":["capsule_id","question"],"additionalProperties":false},"output":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"mode":{"type":"string"},"similar_deals":{"type":"array","items":{"type":"object"}},"objections":{"type":"array","items":{"type":"object"}},"recommendations":{"type":"array","items":{"type":"string"}},"figures":{"type":"object"},"sentence":{"type":"string"}},"required":["capsule_id","mode","similar_deals","recommendations","sentence"]}},"leads.lead.cases":{"door":"GET /api/v1/leads/{lead_id}/cases","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"}},"required":["lead_id"]},"output":{"$ref":"#/$defs/CaseList"}},"leads.lead.create":{"door":"POST /api/v1/personas/{persona_id}/leads","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":300,"minLength":1},"kind":{"type":"string","pattern":"^(company|person)$","default":"company"},"url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/Lead"}},"leads.lead.schedule":{"door":"PUT /api/v1/leads/{lead_id}/schedule","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"repeat_days":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":1.0},{"type":"null"}]}},"required":["lead_id"]},"output":{"$ref":"#/$defs/LeadProfileAnswer"}},"leads.lead.set_status":{"door":"PUT /api/v1/leads/{lead_id}/status","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"status":{"type":"string","pattern":"^(new|researching|ready|engaged|archived)$"}},"required":["lead_id","status"]},"output":{"$ref":"#/$defs/LeadProfileAnswer"}},"leads.monitor.acknowledge":{"door":"verb:acknowledge_lead_alerts","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The watched lead."},"alert_ids":{"type":"array","items":{"type":"string"},"default":[]},"action_taken":{"type":"string","default":""}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"marked":{"type":"integer"},"unseen":{"type":"integer"},"sentence":{"type":"string"}},"required":["lead_id","marked","sentence"]}},"leads.monitor.create":{"door":"verb:watch_lead","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to watch."},"watch_for":{"type":"array","items":{"type":"string","enum":["leadership_change","executive_departure","funding_event","acquisition","layoffs","expansion","product_launch","partnership","tech_stack_change","negative_press","competitor_news"]},"default":[],"description":"what to watch for; empty keeps the current choice"},"threshold":{"type":"string","enum":["","all","high_only","critical_only"],"default":""},"on":{"type":"boolean","default":true}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"watched":{"type":"boolean"},"on":{"type":"boolean"},"kinds":{"type":"array","items":{"type":"object"}},"threshold":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","watched","on","sentence"]}},"leads.monitor.list":{"door":"verb:list_lead_watches","input":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","description":"The capsule whose watched leads to read.","x-kit-id":"capsule"}},"required":["capsule_id"],"additionalProperties":false},"output":{"type":"object","properties":{"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"watched":{"type":"integer"},"watches":{"type":"array","items":{"type":"object"}},"critical_unseen":{"type":"array","items":{"type":"object"}},"recent":{"type":"array","items":{"type":"object"}},"sentence":{"type":"string"}},"required":["capsule_id","watched","watches","sentence"]}},"leads.monitor.read":{"door":"verb:read_lead_watch","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose watch to read."},"unseen_only":{"type":"boolean","default":false}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"watched":{"type":"boolean"},"on":{"type":"boolean"},"alerts":{"type":"array","items":{"type":"object"}},"unseen":{"type":"integer"},"sentence":{"type":"string"}},"required":["lead_id","watched","alerts","unseen","sentence"]}},"leads.outcome.record":{"door":"POST /api/v1/leads/{lead_id}/outcome","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"result":{"type":"string","enum":["won","lost"]},"case_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"deal_value":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"competitor_won":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"what_worked":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":40},{"type":"null"}]},"what_failed":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":40},{"type":"null"}]},"lessons":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}]},"contract_months":{"anyOf":[{"type":"integer"},{"type":"null"}]},"products":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":60},{"type":"null"}]},"reopen":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}]},"reopen_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"nurture_plan":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["lead_id","result"]},"output":{"$ref":"#/$defs/Case"}},"leads.pitch.review":{"door":"POST /api/v1/pitch-reviews","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"play_id":{"type":"string","format":"uuid"}},"required":["entity_id","play_id"]},"output":{"$ref":"#/$defs/PitchReview"}},"leads.play.pack":{"door":"POST /api/v1/lead-sellers/{seller_id}/play","input":{"type":"object","properties":{"seller_id":{"type":"string","format":"uuid"},"offering":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["seller_id"]},"output":{"$ref":"#/$defs/PlayPack"}},"leads.score.score":{"door":"verb:score_lead","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead to score."}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"score":{"type":"integer"},"band":{"type":"string"},"parts":{"type":"array","items":{"type":"object"}},"signals":{"type":"array","items":{"type":"object"}},"next":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","score","band","sentence"]}},"leads.seller.list":{"door":"GET /api/v1/personas/{persona_id}/lead-sellers","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/SellerList"}},"leads.seller.read":{"door":"GET /api/v1/lead-sellers/{seller_id}","input":{"type":"object","properties":{"seller_id":{"type":"string","format":"uuid"}},"required":["seller_id"]},"output":{"$ref":"#/$defs/SellerRead"}},"leads.seller.remove":{"door":"DELETE /api/v1/lead-sellers/{seller_id}","input":{"type":"object","properties":{"seller_id":{"type":"string","format":"uuid"}},"required":["seller_id"]},"output":{"$ref":"#/$defs/SellerRemoved"}},"leads.seller.save":{"door":"POST /api/v1/personas/{persona_id}/lead-sellers","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":500},"profile":{"additionalProperties":true,"type":"object"}},"required":["name","persona_id","profile"]},"output":{"$ref":"#/$defs/Seller"}},"leads.source.authority":{"door":"verb:read_lead_sources","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose dossier to read."}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"sources":{"type":"array","items":{"type":"object"}},"weighted":{"type":"integer"},"reliable":{"type":"integer"},"advice":{"type":"array","items":{"type":"string"}},"sentence":{"type":"string"}},"required":["lead_id","sources","weighted","sentence"]}},"leads.talk.draft":{"door":"POST /api/v1/leads/{lead_id}/talk","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"seller_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"offering":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["lead_id"]},"output":{"$ref":"#/$defs/TalkDraft"}},"leads.talk.read":{"door":"GET /api/v1/leads/{lead_id}/talk","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"}},"required":["lead_id"]},"output":{"$ref":"#/$defs/TalkRead"}},"leads.verify.pass":{"door":"verb:verify_lead","input":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid","description":"The lead whose dossier to check."},"check":{"type":"string","enum":["contradictions","blind_spots","freshness","all"],"default":"all"}},"required":["lead_id"],"additionalProperties":false},"output":{"type":"object","properties":{"lead_id":{"type":"string","format":"uuid"},"pass":{"type":"string"},"sentence":{"type":"string"}},"required":["lead_id","pass","sentence"]}},"ledger.read.read":{"door":"GET /api/v1/billing/ledger","input":{"type":"object","properties":{}},"output":{"type":"array","items":{"type":"object","additionalProperties":true}}},"library.mode.read":{"door":"GET /api/v1/me/view-preferences","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/ViewPrefsOut"}},"library.mode.save":{"door":"PUT /api/v1/me/view-preferences","input":{"type":"object","properties":{"scene":{"type":"string","maxLength":16},"mode":{"type":"string","maxLength":16}},"required":["mode","scene"]},"output":{"$ref":"#/$defs/ViewPrefsOut"}},"library.picture.read":{"door":"POST /api/v1/personas/{persona_id}/library-pictures","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1}},"required":["ids","persona_id"]},"output":{"$ref":"#/$defs/PicturesOut"}},"library.pool.connect":{"door":"POST /api/v1/pools/{pool_id}/connect","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"}},"required":["pool_id"]},"output":{"$ref":"#/$defs/PoolConnect"}},"library.pool.create":{"door":"POST /api/v1/pools","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"purpose":{"type":"string","maxLength":4000,"default":""}},"required":["name"]},"output":{"$ref":"#/$defs/PoolSummary"}},"library.pool.decide":{"door":"POST /api/v1/pools/{pool_id}/contributions/{contribution_id}/decision","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"contribution_id":{"type":"string","format":"uuid"},"approve":{"type":"boolean"}},"required":["approve","contribution_id","pool_id"]},"output":{"$ref":"#/$defs/PoolContribution"}},"library.pool.dissolve":{"door":"POST /api/v1/pools/{pool_id}/dissolve","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"}},"required":["pool_id"]},"output":{"$ref":"#/$defs/PoolWindDown"}},"library.pool.invite":{"door":"POST /api/v1/pools/{pool_id}/invites","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"email":{"type":"string","maxLength":320,"minLength":3},"role":{"type":"string","enum":["contributor","observer"],"default":"contributor"}},"required":["email","pool_id"]},"output":{"$ref":"#/$defs/PoolInvite"}},"library.pool.join":{"door":"POST /api/v1/pools/join","input":{"type":"object","properties":{"token":{"type":"string","maxLength":64,"minLength":1}},"required":["token"]},"output":{"$ref":"#/$defs/PoolJoined"}},"library.pool.leave":{"door":"POST /api/v1/pools/{pool_id}/leave","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"}},"required":["pool_id"]},"output":{"$ref":"#/$defs/PoolWindDown"}},"library.pool.list":{"door":"GET /api/v1/pools","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/PoolList"}},"library.pool.member":{"door":"POST /api/v1/pools/{pool_id}/members/{member_id}","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"member_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["suspend","reinstate","remove"]}},"required":["action","member_id","pool_id"]},"output":{"$ref":"#/$defs/PoolMember"}},"library.pool.offer":{"door":"POST /api/v1/pools/{pool_id}/contributions","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"note":{"type":"string","maxLength":2000,"default":""},"originals":{"anyOf":[{"type":"string","enum":["shared","withheld"]},{"type":"null"}]}},"required":["persona_id","pool_id"]},"output":{"$ref":"#/$defs/PoolContribution"}},"library.pool.originals":{"door":"PUT /api/v1/pools/{pool_id}/contributions/{contribution_id}/originals","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"contribution_id":{"type":"string","format":"uuid"},"originals":{"anyOf":[{"type":"string","enum":["shared","withheld"]},{"type":"null"}]}},"required":["contribution_id","pool_id"]},"output":{"$ref":"#/$defs/PoolContribution"}},"library.pool.page":{"door":"GET /api/v1/pools/{pool_id}/library/page","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"limit":{"type":"integer","maximum":1000,"minimum":1,"default":500},"cursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}]},"sort":{"type":"string","maxLength":160,"default":"relevance"},"retired":{"type":"string","default":"exclude"},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"media":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"storage":{"anyOf":[{"type":"string"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","x-kit-id":"capsule"},"maxItems":64},{"type":"null"}]}},"required":["pool_id"]},"output":{"$ref":"#/$defs/PoolLibraryPageOut"}},"library.pool.search":{"door":"GET /api/v1/pools/{pool_id}/search","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"q":{"type":"string","minLength":1,"maxLength":1000},"k":{"type":"integer","maximum":50,"minimum":1,"default":10},"retired":{"type":"string","default":"exclude"},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"media":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"storage":{"anyOf":[{"type":"string"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","x-kit-id":"capsule"},"maxItems":64},{"type":"null"}]}},"required":["pool_id","q"]},"output":{"$ref":"#/$defs/PoolSearchOut"}},"library.pool.withdraw":{"door":"POST /api/v1/pools/{pool_id}/contributions/{contribution_id}/withdraw","input":{"type":"object","properties":{"pool_id":{"type":"string","format":"uuid"},"contribution_id":{"type":"string","format":"uuid"}},"required":["contribution_id","pool_id"]},"output":{"$ref":"#/$defs/PoolContribution"}},"library.share.list":{"door":"GET /api/v1/entities/{entity_id}/shares","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ShareList"}},"library.share.revoke":{"door":"DELETE /api/v1/shares/{share_id}","input":{"type":"object","properties":{"share_id":{"type":"string","format":"uuid"}},"required":["share_id"]},"output":{"$ref":"#/$defs/ShareLink"}},"library.transfer.cancel":{"door":"POST /api/v1/transfers/{transfer_id}/cancel","input":{"type":"object","properties":{"transfer_id":{"type":"string","format":"uuid"}},"required":["transfer_id"]},"output":{"$ref":"#/$defs/Transfer"}},"library.transfer.decline":{"door":"POST /api/v1/transfers/{transfer_id}/decline","input":{"type":"object","properties":{"transfer_id":{"type":"string","format":"uuid"}},"required":["transfer_id"]},"output":{"$ref":"#/$defs/Transfer"}},"library.transfer.inbox":{"door":"GET /api/v1/transfers/inbox","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/TransferList"}},"library.transfer.sent":{"door":"GET /api/v1/transfers/sent","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/TransferList"}},"library.view.list":{"door":"GET /api/v1/personas/{persona_id}/library-views","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"lens":{"type":"string","maxLength":16,"default":"graph"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/LibraryViewsOut"}},"library.view.open":{"door":"GET /api/v1/personas/{persona_id}/library-views/{view_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"view_id":{"type":"string","format":"uuid"}},"required":["persona_id","view_id"]},"output":{"$ref":"#/$defs/LibraryViewOut"}},"library.view.remove":{"door":"DELETE /api/v1/personas/{persona_id}/library-views/{view_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"view_id":{"type":"string","format":"uuid"}},"required":["persona_id","view_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"library.view.save":{"door":"PUT /api/v1/personas/{persona_id}/library-views","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"lens":{"type":"string","maxLength":16},"name":{"type":"string","maxLength":200},"view":{"additionalProperties":true,"type":"object"}},"required":["lens","name","persona_id","view"]},"output":{"$ref":"#/$defs/LibraryViewOut"}},"library.view.share":{"door":"PUT /api/v1/personas/{persona_id}/library-views/{view_id}/share","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"view_id":{"type":"string","format":"uuid"},"shared":{"type":"boolean"}},"required":["persona_id","shared","view_id"]},"output":{"$ref":"#/$defs/LibraryViewOut"}},"license.fan.terms":{"door":"PUT /api/v1/personas/{persona_id}/fan-licence","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"terms":{"additionalProperties":true,"type":"object"},"list":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/FanTerms"}},"license.fan.works":{"door":"GET /api/v1/personas/{persona_id}/fan-licence/works","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/FanWorks"}},"license.grant.revoke":{"door":"POST /api/v1/grants/{grant_id}/revoke","input":{"type":"object","properties":{"grant_id":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500,"minLength":1}},"required":["grant_id","reason"]},"output":{"$ref":"#/$defs/GrantRevoked"}},"license.listing.provenance":{"door":"GET /api/v1/listings/{persona_id}/provenance","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ListingProvenance"}},"license.request.ask":{"door":"POST /api/v1/listings/{persona_id}/request-access","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"kind":{"type":"string","maxLength":16,"default":"trial"},"message":{"type":"string","maxLength":2000,"default":""}},"required":["persona_id"]},"output":{"$ref":"#/$defs/AccessAsked"}},"license.terms.check":{"door":"POST /api/v1/personas/{persona_id}/fan-licence/check","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"uses":{"items":{"$ref":"#/$defs/UseIn"},"type":"array","maxItems":20,"minItems":1}},"required":["persona_id","uses"]},"output":{"$ref":"#/$defs/FanCheck"}},"license.usage.read":{"door":"GET /api/v1/grants/{grant_id}/usage","input":{"type":"object","properties":{"grant_id":{"type":"string","format":"uuid"}},"required":["grant_id"]},"output":{"$ref":"#/$defs/LicenceUsage"}},"listing.audit.run":{"door":"POST /api/v1/personas/{persona_id}/listing-audit","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"agreement_version":{"type":"string","maxLength":32,"minLength":1},"accept":{"type":"boolean","default":false}},"required":["agreement_version","persona_id"]},"output":{"$ref":"#/$defs/ListingAuditStarted"}},"listing.offer.designate":{"door":"PUT /api/v1/personas/{persona_id}/listing","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"terms":{"additionalProperties":true,"type":"object"},"price_visible":{"type":"boolean","default":true},"license_class":{"type":"string","default":"commercial"},"trial_policy":{"additionalProperties":true,"type":"object"},"provenance_tier":{"type":"string","default":"P0"},"tier_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"memory_verbs_public":{"type":"boolean","default":false},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclosure_attested":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ListingOut"}},"listing.offer.instant":{"door":"PUT /api/v1/personas/{persona_id}/listing/instant","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"on":{"type":"boolean"},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["on","persona_id"]},"output":{"$ref":"#/$defs/InstantOffer"}},"listing.publish.publish":{"door":"POST /api/v1/personas/{persona_id}/listing/activate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclosure_attested":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ListingOut"}},"listing.publish.withdraw":{"door":"DELETE /api/v1/personas/{persona_id}/listing","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ListingOut"}},"live.audio.mix":{"door":"PUT /api/v1/live/projects/{project_id}/program/mix","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"sources":{"items":{"$ref":"#/$defs/LevelIn"},"type":"array","maxItems":64,"minItems":1}},"required":["project_id","sources"]},"output":{"$ref":"#/$defs/Program"}},"live.capsule.draw":{"door":"GET /api/v1/live/draw","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"q":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Draw"}},"live.chat.read":{"door":"GET /api/v1/live/projects/{project_id}/messages","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"cursor":{"type":"integer","default":0},"after_seq":{"anyOf":[{"type":"integer"},{"type":"null"}]},"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer","default":200}},"required":["project_id"]},"output":{"$ref":"#/$defs/Messages"}},"live.countdown.clear":{"door":"POST /api/v1/live/projects/{project_id}/countdown/clear","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/CountdownClearAnswer"}},"live.countdown.start":{"door":"POST /api/v1/live/projects/{project_id}/countdown","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"target_at":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"minutes":{"anyOf":[{"type":"integer","maximum":360.0,"minimum":1.0},{"type":"null"}]},"seconds":{"anyOf":[{"type":"integer","maximum":21600.0,"minimum":5.0},{"type":"null"}]},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/CountdownAnswer"}},"live.cue.decide":{"door":"POST /api/v1/live/projects/{project_id}/suggestions/{suggestion_id}/approve","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"suggestion_id":{"type":"string","format":"uuid"}},"required":["project_id","suggestion_id"]},"output":{"$ref":"#/$defs/SuggestionDecision"}},"live.cue.dismiss":{"door":"POST /api/v1/live/projects/{project_id}/suggestions/{suggestion_id}/dismiss","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"suggestion_id":{"type":"string","format":"uuid"}},"required":["project_id","suggestion_id"]},"output":{"$ref":"#/$defs/SuggestionDecision"}},"live.cue.feature":{"door":"POST /api/v1/live/projects/{project_id}/feature-message","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"seq":{"type":"integer","minimum":0.0}},"required":["project_id","seq"]},"output":{"$ref":"#/$defs/Project"}},"live.cue.fire":{"door":"POST /api/v1/live/projects/{project_id}/toast","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"text":{"type":"string","maxLength":200,"minLength":1},"image_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"package":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"hold_seconds":{"type":"integer","maximum":60.0,"minimum":3.0,"default":8}},"required":["project_id","text"]},"output":{"$ref":"#/$defs/ToastAnswer"}},"live.cue.set":{"door":"POST /api/v1/live/projects/{project_id}/state","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"state":{"additionalProperties":true,"type":"object"},"replace":{"type":"boolean","default":false}},"required":["project_id","state"]},"output":{"$ref":"#/$defs/Project"}},"live.destination.connect":{"door":"POST /api/v1/live/destinations","input":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":1},"address":{"type":"string","maxLength":500,"minLength":1},"stream_key":{"type":"string","maxLength":500,"minLength":1}},"required":["address","name","stream_key"]},"output":{"$ref":"#/$defs/Destination"}},"live.destination.send":{"door":"POST /api/v1/live/projects/{project_id}/program/destinations/{destination_id}/send","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"destination_id":{"type":"string","format":"uuid"},"on":{"type":"boolean","default":true}},"required":["destination_id","project_id"]},"output":{"$ref":"#/$defs/Program"}},"live.guest.take":{"door":"POST /api/v1/live/projects/{project_id}/program/guests/{guest_id}/take","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"guest_id":{"type":"string","format":"uuid"},"on":{"type":"boolean","default":true}},"required":["guest_id","project_id"]},"output":{"$ref":"#/$defs/Program"}},"live.moderate.hold":{"door":"POST /api/v1/live/projects/{project_id}/messages/{seq}/moderate","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"seq":{"type":"integer"},"verdict":{"type":"string","pattern":"^(held|allowed|removed)$"}},"required":["project_id","seq","verdict"]},"output":{"$ref":"#/$defs/Moderation"}},"live.output.host_all":{"door":"POST /api/v1/live/projects/{project_id}/host-layers","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/OutputList"}},"live.output.publish":{"door":"POST /api/v1/live/projects/{project_id}/outputs","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":200,"minLength":1},"layers":{"items":{"type":"string"},"type":"array"}},"required":["name","project_id"]},"output":{"$ref":"#/$defs/Output"}},"live.output.remove":{"door":"DELETE /api/v1/live/outputs/{output_id}","input":{"type":"object","properties":{"output_id":{"type":"string","format":"uuid"}},"required":["output_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"live.output.rotate":{"door":"POST /api/v1/live/outputs/{output_id}/rotate-token","input":{"type":"object","properties":{"output_id":{"type":"string","format":"uuid"}},"required":["output_id"]},"output":{"$ref":"#/$defs/Output"}},"live.preset.fire":{"door":"POST /api/v1/live/projects/{project_id}/presets/{preset_id}/fire","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"preset_id":{"type":"string"}},"required":["preset_id","project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.program.end":{"door":"POST /api/v1/live/projects/{project_id}/program/end","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Program"}},"live.program.start":{"door":"POST /api/v1/live/projects/{project_id}/program","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"destination_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"minItems":1},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["destination_ids","project_id"]},"output":{"$ref":"#/$defs/Program"}},"live.reactor.approve":{"door":"POST /api/v1/live/projects/{project_id}/reactor/approve","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"id":{"type":"string","maxLength":64,"minLength":1}},"required":["id","project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.reactor.reject":{"door":"POST /api/v1/live/projects/{project_id}/reactor/reject","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"id":{"type":"string","maxLength":64,"minLength":1}},"required":["id","project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.record.file":{"door":"POST /api/v1/live/projects/{project_id}/program/record","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"action":{"type":"string","maxLength":8},"lawful_basis":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"expected_bytes":{"type":"integer","minimum":0.0,"default":0},"storage_key":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"size_bytes":{"type":"integer","minimum":0.0,"default":0},"content_hash":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["action","project_id"]},"output":{"$ref":"#/$defs/Program"}},"live.revision.accept":{"door":"POST /api/v1/live/projects/{project_id}/revision/accept","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.revision.discard":{"door":"POST /api/v1/live/projects/{project_id}/revision/discard","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.rundown.mark":{"door":"POST /api/v1/live/projects/{project_id}/rundown/current","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"item_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.session.deposit":{"door":"POST /api/v1/live/sessions/{session_id}/deposit","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"}},"required":["session_id"]},"output":{"$ref":"#/$defs/Session"}},"live.session.keep":{"door":"POST /api/v1/live/sessions/{session_id}/end","input":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"}},"required":["session_id"]},"output":{"$ref":"#/$defs/Session"}},"live.session.start":{"door":"POST /api/v1/live/projects/{project_id}/sessions","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string","pattern":"^(show|rehearsal)$","default":"show"},"name":{"type":"string","maxLength":200,"minLength":1}},"required":["name","project_id"]},"output":{"$ref":"#/$defs/Session"}},"live.show.clear":{"door":"POST /api/v1/live/projects/{project_id}/reactor/clear","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.show.create":{"door":"POST /api/v1/live/projects","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"doc":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"template":{"anyOf":[{"type":"string"},{"type":"null"}]},"host_layers":{"type":"boolean","default":false},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"retention_hours":{"type":"integer","default":12}},"required":["name"]},"output":{"$ref":"#/$defs/Project"}},"live.show.kill":{"door":"POST /api/v1/live/projects/{project_id}/reactor/kill","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.show.list":{"door":"GET /api/v1/live/projects","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/app__api__live_answers__ProjectList"}},"live.show.revise":{"door":"POST /api/v1/live/projects/{project_id}/revise","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"instruction":{"type":"string","maxLength":1000,"minLength":1}},"required":["instruction","project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.show.save_doc":{"door":"PATCH /api/v1/live/projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"doc":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"retention_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.show.unkill":{"door":"POST /api/v1/live/projects/{project_id}/reactor/unkill","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/Project"}},"live.source.add":{"door":"POST /api/v1/live/projects/{project_id}/sources","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":120,"minLength":1},"kind":{"type":"string","maxLength":16},"origin":{"type":"string","maxLength":16,"default":"device"}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/Source"}},"live.switcher.cut":{"door":"POST /api/v1/live/projects/{project_id}/program/cut","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"source_id":{"type":"string","format":"uuid"},"transition":{"type":"string","maxLength":8,"default":"cut"},"reduced_motion":{"type":"boolean","default":false}},"required":["project_id","source_id"]},"output":{"$ref":"#/$defs/Program"}},"live.winner.draw":{"door":"POST /api/v1/live/projects/{project_id}/winner","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"within_minutes":{"type":"integer","maximum":180.0,"minimum":1.0,"default":15},"keyword":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}]},"exclude_usernames":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/WinnerAnswer"}},"mark.clicks.read":{"door":"GET /api/v1/marks/{mark_id}/clicks","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]}},"required":["mark_id"]},"output":{"$ref":"#/$defs/MarkClickSeries"}},"mark.edit":{"door":"PATCH /api/v1/marks/{mark_id}","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"label":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"clear_note":{"type":"boolean","default":false}},"required":["mark_id"]},"output":{"$ref":"#/$defs/MarkRecord"}},"mark.edition.bind":{"door":"POST /api/v1/marks/editions","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"count":{"type":"integer"},"opens_for":{"type":"string","enum":["members","public"],"default":"members"},"label":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["count","entity_id"]},"output":{"$ref":"#/$defs/MarkEditionMade"}},"mark.image":{"door":"GET /api/v1/marks/{mark_id}/image","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"format":{"enum":["svg","png"],"type":"string","default":"svg"},"scale":{"type":"integer","maximum":40,"minimum":1,"default":8}},"required":["mark_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"mark.links.set":{"door":"PUT /api/v1/marks/{mark_id}/links","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"links":{"items":{"$ref":"#/$defs/LinkIn"},"type":"array","maxItems":100}},"required":["links","mark_id"]},"output":{"$ref":"#/$defs/MarkSpoken"}},"mark.list":{"door":"GET /api/v1/marks","input":{"type":"object","properties":{"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/MarkList"}},"mark.mint":{"door":"POST /api/v1/marks","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"opens_for":{"type":"string","enum":["members","public"],"default":"members"},"label":{"type":"string","maxLength":500},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["entity_id","label"]},"output":{"$ref":"#/$defs/MarkSpoken"}},"mark.opens.series":{"door":"GET /api/v1/marks/{mark_id}/opens","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"},"from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]}},"required":["mark_id"]},"output":{"$ref":"#/$defs/MarkOpenSeries"}},"mark.read":{"door":"GET /api/v1/marks/{mark_id}","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"}},"required":["mark_id"]},"output":{"$ref":"#/$defs/MarkRecord"}},"mark.withdraw":{"door":"POST /api/v1/marks/{mark_id}/withdraw","input":{"type":"object","properties":{"mark_id":{"type":"string","format":"uuid"}},"required":["mark_id"]},"output":{"$ref":"#/$defs/MarkRecord"}},"market.review.save":{"door":"PUT /api/v1/listings/{persona_id}/review","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"rating":{"type":"integer","maximum":5.0,"minimum":1.0},"title":{"type":"string","maxLength":120,"default":""},"body":{"type":"string","maxLength":4000,"default":""}},"required":["persona_id","rating"]},"output":{"$ref":"#/$defs/MarketReview"}},"market.review.withdraw":{"door":"DELETE /api/v1/listings/{persona_id}/review","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/MarketWithdrawn"}},"market.thread.answer":{"door":"POST /api/v1/owner/threads/{thread_id}/messages","input":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid"},"body":{"type":"string","maxLength":4000,"minLength":1}},"required":["body","thread_id"]},"output":{"$ref":"#/$defs/MarketMessage"}},"market.thread.open":{"door":"POST /api/v1/listings/{persona_id}/threads","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"subject":{"type":"string","maxLength":200,"default":""},"body":{"type":"string","maxLength":4000,"minLength":1}},"required":["body","persona_id"]},"output":{"$ref":"#/$defs/MarketThread"}},"market.thread.reply":{"door":"POST /api/v1/threads/{thread_id}/messages","input":{"type":"object","properties":{"thread_id":{"type":"string","format":"uuid"},"body":{"type":"string","maxLength":4000,"minLength":1}},"required":["body","thread_id"]},"output":{"$ref":"#/$defs/MarketMessage"}},"material.archive.expand":{"door":"POST /api/v1/entities/{entity_id}/archive/expand","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"analyze":{"type":"boolean","default":true}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ArchiveExpand"}},"material.archive.read":{"door":"GET /api/v1/entities/{entity_id}/archive","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ArchiveRead"}},"material.collection.add":{"door":"POST /api/v1/collections/{collection_id}/members","input":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","x-kit-id":"collection"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["collection_id","entity_id"]},"output":{"$ref":"#/$defs/LinkOut"}},"material.collection.create":{"door":"POST /api/v1/collections","input":{"type":"object","properties":{"kind":{"type":"string","maxLength":64,"minLength":1},"name":{"type":"string","maxLength":512,"minLength":1},"metadata":{"additionalProperties":true,"type":"object"}},"required":["kind","name"]},"output":{"$ref":"#/$defs/CollectionOut"}},"material.collection.list":{"door":"GET /api/v1/collections","input":{"type":"object","properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"type":"array","items":{"$ref":"#/$defs/CollectionOut"}}},"material.collection.restore":{"door":"POST /api/v1/collections/{collection_id}/restore","input":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","x-kit-id":"collection"}},"required":["collection_id"]},"output":{"$ref":"#/$defs/CollectionRetireOut"}},"material.correct.correct":{"door":"POST /api/v1/entities/{entity_id}/attributes","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"attribute_key":{"type":"string","maxLength":128,"minLength":1},"attribute_value":{"additionalProperties":true,"type":"object"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["attribute_key","attribute_value","entity_id"]},"output":{"$ref":"#/$defs/AttributeOut"}},"material.erase.preview":{"door":"POST /api/v1/admin/erasure","input":{"type":"object","properties":{"scope":{"type":"string","enum":["entity","persona","tenant"]},"target_id":{"type":"string","format":"uuid"},"dry_run":{"type":"boolean","default":false}},"required":["scope","target_id"]},"output":{"anyOf":[{"$ref":"#/$defs/ErasurePreview"},{"$ref":"#/$defs/ErasureQueued"}]}},"material.file.open":{"door":"GET /api/v1/entities/{entity_id}/content-url","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"thumb":{"type":"boolean","default":false},"download":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ContentUrlOut"}},"material.find.search":{"door":"verb:search_entities","input":{"type":"object","properties":{"query":{"type":"string","description":"natural-language search text"},"limit":{"type":"integer","default":10,"description":"max results"},"capsule_id":{"type":"string","default":"","description":"confine the ranking to this capsule (empty = every capsule you can reach)","x-kit-id":"capsule"}},"required":["query"],"additionalProperties":false},"output":{"type":"object","properties":{"query":{"type":"string"},"model":{"type":"string","description":"the model that ranked the hits"},"hits":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"distance":{"type":"number","description":"how far in meaning; lower is closer"}}}},"scope":{"type":"object","description":"what was searched: capsule, candidate ceiling, exhaustive","properties":{"capsule_id":{"type":["string","null"],"format":"uuid","x-kit-id":"capsule"},"persona_id":{"type":["string","null"],"format":"uuid","description":"The same value as capsule_id, kept for callers written before it.","x-kit-id":"capsule"},"candidate_limit":{"type":"integer"},"exhaustive":{"type":"boolean"},"method":{"type":"string"}}}},"required":["query","model","hits","scope"]}},"material.item.accept":{"door":"POST /api/v1/transfers/{transfer_id}/accept","input":{"type":"object","properties":{"transfer_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id","transfer_id"]},"output":{"$ref":"#/$defs/MaterialAccepted"}},"material.item.attach_file":{"door":"POST /api/v1/entities/{entity_id}/attach","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"storage_key":{"type":"string"},"content_hash":{"type":"string","pattern":"^[0-9a-f]{64}$"},"content_type":{"type":"string"},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}]},"source_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"analyze":{"type":"boolean","default":true}},"required":["content_hash","content_type","entity_id","storage_key"]},"output":{"$ref":"#/$defs/Attach"}},"material.item.copy":{"door":"POST /api/v1/entities/{entity_id}/copy","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"target_persona_id":{"type":"string","format":"uuid"},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["entity_id","target_persona_id"]},"output":{"$ref":"#/$defs/MaterialPlaced"}},"material.item.export_reference":{"door":"GET /api/v1/entities/{entity_id}/reference-export","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"format":{"type":"string","default":"md"}},"required":["entity_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"material.item.finish":{"door":"POST /api/v1/entities/{entity_id}/finish","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/LibraryFinish"}},"material.item.move":{"door":"POST /api/v1/entities/{entity_id}/move","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"target_persona_id":{"type":"string","format":"uuid"},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["entity_id","target_persona_id"]},"output":{"$ref":"#/$defs/MaterialMoved"}},"material.item.originals":{"door":"PUT /api/v1/entities/{entity_id}/originals","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"rule":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/OriginalRule"}},"material.item.restore":{"door":"POST /api/v1/entities/{entity_id}/restore","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/EntityOut"}},"material.item.retire":{"door":"POST /api/v1/entities/{entity_id}/retire","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/EntityOut"}},"material.item.send":{"door":"POST /api/v1/entities/{entity_id}/send","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"recipient_handle":{"type":"string","maxLength":64,"minLength":1},"note":{"type":"string","maxLength":2000,"default":""},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["entity_id","recipient_handle"]},"output":{"$ref":"#/$defs/MaterialOffer"}},"material.item.share":{"door":"POST /api/v1/entities/{entity_id}/shares","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"label":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"max_downloads":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}]},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/MaterialShared"}},"material.kin.read":{"door":"verb:get_kin","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","description":"The entity whose kin to read.","x-kit-id":"item"}},"required":["entity_id"],"additionalProperties":false},"output":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"role":{"type":"object","properties":{"role":{"type":"string"},"basis":{"type":"array","items":{"type":"string"}},"released":{"type":"boolean"},"candidate":{"type":"boolean"}}},"kin":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"relation":{"type":"string"},"link_type":{"type":"string"},"direction":{"type":"string"},"variant":{"type":["string","null"]},"confidence":{"type":"number"},"offset_s":{"type":["number","null"]},"gaps":{"type":"array"},"signals":{"type":"array"}}}},"pending_reviews":{"type":"array","items":{"type":"object"}},"has_features":{"type":"boolean"},"indexed":{"type":"boolean"}},"required":["entity_id","role","kin","pending_reviews"]}},"material.library.page":{"door":"GET /api/v1/personas/{persona_id}/library/page","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","maximum":1000,"minimum":1,"default":500},"offset":{"type":"integer","minimum":0,"default":0},"cursor":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"sort":{"type":"string","maxLength":160,"default":"relevance"},"retired":{"type":"string","default":"exclude"},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"media":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"storage":{"anyOf":[{"type":"string"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"collection":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"element":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"kind":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":20},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/LibraryPageOut"}},"material.library.suggest":{"door":"hand:search_library","input":{"type":"object","properties":{"q":{"default":"","description":"words from the title or filename","maxLength":200,"type":"string"},"kind":{"default":"any","description":"narrow to screenplays or documents","enum":["screenplay","document","any"],"type":"string"},"limit":{"default":8,"maximum":20,"minimum":1,"type":"integer"}},"required":[],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"material.link.connect":{"door":"POST /api/v1/links","input":{"type":"object","properties":{"source_kind":{"type":"string"},"source_id":{"type":"string","format":"uuid"},"target_kind":{"type":"string"},"target_id":{"type":"string","format":"uuid"},"link_type":{"type":"string","maxLength":64,"minLength":1},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"default":1.0},"metadata":{"additionalProperties":true,"type":"object"},"exposure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["link_type","source_id","source_kind","target_id","target_kind"]},"output":{"$ref":"#/$defs/LinkOut"}},"material.timeline.read":{"door":"GET /api/v1/personas/{persona_id}/timeline","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/TimelineOut"}},"matter.list":{"door":"GET /api/v1/matters","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/MatterList"}},"matter.open":{"door":"POST /api/v1/matters","input":{"type":"object","properties":{"title":{"type":"string","maxLength":255,"minLength":1},"client":{"type":"string","maxLength":255,"minLength":1},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]}},"required":["client","title"]},"output":{"$ref":"#/$defs/MatterRead"}},"matter.person.allow":{"door":"PUT /api/v1/matters/{persona_id}/people/{user_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"user_id":{"type":"string","format":"uuid"},"level":{"type":"string","enum":["viewer","contributor"],"default":"viewer"},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]}},"required":["persona_id","user_id"]},"output":{"$ref":"#/$defs/MatterRead"}},"matter.person.remove":{"door":"DELETE /api/v1/matters/{persona_id}/people/{user_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"user_id":{"type":"string","format":"uuid"}},"required":["persona_id","user_id"]},"output":{"$ref":"#/$defs/MatterRead"}},"matter.read":{"door":"GET /api/v1/matters/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/MatterRead"}},"media.asset.advance":{"door":"PUT /api/v1/entities/{entity_id}/asset-stage","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"stage":{"type":"string","maxLength":20,"minLength":1}},"required":["entity_id","stage"]},"output":{"$ref":"#/$defs/LibraryStage"}},"media.brand.save":{"door":"PUT /api/v1/personas/{persona_id}/brand/profile","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"palette":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}]},"typography":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}]},"tone":{"anyOf":[{"type":"string"},{"type":"null"}]},"visual_style":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/BrandSaved"}},"media.bridge.score":{"door":"GET /api/v1/personas/{persona_id}/brand/bridge/{channel_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"channel_id":{"type":"string"}},"required":["channel_id","persona_id"]},"output":{"$ref":"#/$defs/BridgePlan"}},"media.campaign.advance":{"door":"PUT /api/v1/merch/campaigns/{campaign_id}/status","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"status":{"type":"string"}},"required":["campaign_id","status"]},"output":{"$ref":"#/$defs/CampaignAdvanced"}},"media.catalog.compare":{"door":"POST /api/v1/media/compare","input":{"type":"object","properties":{"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":40,"minItems":2}},"required":["entity_ids"]},"output":{"$ref":"#/$defs/LibraryCompare"}},"media.concept.promote":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/graduate","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"}},"required":["concept_id"]},"output":{"$ref":"#/$defs/Graduated"}},"media.deliver.execute":{"door":"GET /api/v1/merch/campaigns/{campaign_id}/export.zip","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"media.deliverable.add":{"door":"POST /api/v1/productions/{production_id}/deliverables","input":{"type":"object","properties":{"production_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":200,"minLength":1},"state":{"type":"string","maxLength":20,"default":"planned"}},"required":["name","production_id"]},"output":{"$ref":"#/$defs/LibraryCampaign"}},"media.item.view":{"door":"GET /api/v1/entities/{entity_id}/view","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/LibraryItemView"}},"media.original.relink":{"door":"GET /api/v1/personas/{persona_id}/relink-manifest","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","maximum":10000,"minimum":1,"default":5000}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Relink"}},"media.project.create":{"door":"POST /api/v1/productions","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"brief":{"type":"string","maxLength":20000,"default":""},"kit":{"type":"string","maxLength":120,"default":""}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/LibraryCampaign"}},"media.project.set_active":{"door":"PUT /api/v1/productions/{production_id}/active","input":{"type":"object","properties":{"production_id":{"type":"string","format":"uuid"},"deliverable_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["production_id"]},"output":{"$ref":"#/$defs/LibraryCampaign"}},"media.prompt.compose":{"door":"POST /api/v1/media/prompt/compose","input":{"type":"object","properties":{"subject":{"type":"string","maxLength":2000,"minLength":1},"parts":{"additionalProperties":true,"type":"object"},"brand_world":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"brand_palette":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["subject"]},"output":{"$ref":"#/$defs/LibraryComposed"}},"media.prompt.keep":{"door":"PUT /api/v1/entities/{entity_id}/prompt","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"decision":{"type":"string","maxLength":10,"minLength":1},"prompt":{"type":"string","maxLength":8000,"default":""}},"required":["decision","entity_id"]},"output":{"$ref":"#/$defs/LibraryPromptKept"}},"media.proxy.attach":{"door":"POST /api/v1/personas/{persona_id}/local-agent/proxy","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"master_content_hash":{"type":"string","pattern":"^[0-9a-f]{64}$"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"storage_key":{"type":"string","maxLength":512,"minLength":1},"size_bytes":{"type":"integer","minimum":1.0},"content_type":{"type":"string","maxLength":64,"minLength":3},"recipe":{"additionalProperties":true,"type":"object"},"probe":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"agent_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["content_type","master_content_hash","persona_id","sha256","size_bytes","storage_key"]},"output":{"$ref":"#/$defs/ProxyRegisterOut"}},"media.research.report":{"door":"POST /api/v1/personas/{persona_id}/research","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"brief":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"seed_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12},{"type":"null"}],"description":"Optional Library selection to research around (the brush)."}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ResearchStarted"}},"memory.keep.remember":{"door":"verb:remember","input":{"type":"object","properties":{"content":{"type":"string","description":"the memory text (<=4000 chars)"},"tags":{"type":"array","items":{"type":"string"},"default":[],"description":"short tags for later filtering (<=12)"},"category":{"type":"string","default":"note","description":"e.g. finding | decision | preference | note"},"source":{"type":"string","default":"","description":"where this came from (a URL, a run id, a citation)"},"entity_id":{"type":"string","default":"","description":"attach the memory to this existing item (empty = none)","x-kit-id":"item"},"capsule_id":{"type":"string","default":"","description":"the capsule to remember into (empty = the account's private vault)","x-kit-id":"capsule"}},"required":["content"],"additionalProperties":false},"output":{"type":"object","properties":{"memory_id":{"type":"string","format":"uuid"},"capsule_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"persona_id":{"type":"string","format":"uuid","description":"The same value as capsule_id, kept for callers written before it.","x-kit-id":"capsule"},"embedded":{"type":"boolean"},"category":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}},"required":["memory_id","capsule_id","persona_id","embedded","category"]}},"merch.attention.read":{"door":"GET /api/v1/merch/dashboard","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/Dashboard"}},"merch.audit.read":{"door":"GET /api/v1/merch/audit","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"limit":{"type":"integer","default":50}},"required":["persona_id"]},"output":{"$ref":"#/$defs/AuditFeed"}},"merch.books.add_cost":{"door":"POST /api/v1/commerce/costs","input":{"type":"object","properties":{"label":{"type":"string","maxLength":200,"minLength":1},"amount_cents":{"type":"integer","exclusiveMinimum":0.0},"cadence":{"type":"string","default":"monthly"},"billing_month":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currency":{"type":"string","default":"USD"}},"required":["amount_cents","label"]},"output":{"$ref":"#/$defs/CostCreated"}},"merch.books.book_costs":{"door":"POST /api/v1/commerce/costs/roll","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/OverheadRolled"}},"merch.books.list_costs":{"door":"GET /api/v1/commerce/costs","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CostList"}},"merch.books.read":{"door":"GET /api/v1/commerce/books","input":{"type":"object","properties":{"range":{"type":"string","default":"30d"}}},"output":{"$ref":"#/$defs/Books"}},"merch.books.stop_cost":{"door":"DELETE /api/v1/commerce/costs/{cost_id}","input":{"type":"object","properties":{"cost_id":{"type":"string","format":"uuid"}},"required":["cost_id"]},"output":{"$ref":"#/$defs/CostStopped"}},"merch.brand.save":{"door":"PUT /api/v1/merch/system/brand-dna","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"prompt":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"palette":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"avoid":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/BrandDna"}},"merch.campaign.arrange":{"door":"PATCH /api/v1/merch/campaigns/{campaign_id}/items/{item_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"item_id":{"type":"string","format":"uuid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["campaign_id","item_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.campaign.collage":{"door":"POST /api/v1/merch/campaigns/{campaign_id}/collage","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"layout":{"type":"string","default":"square"}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.campaign.create":{"door":"POST /api/v1/merch/campaigns","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"brief":{"type":"string","default":""},"channel":{"type":"string","default":""}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/Campaign"}},"merch.campaign.duplicate":{"door":"POST /api/v1/merch/campaigns/{campaign_id}/duplicate","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignCopyOut"}},"merch.campaign.edit":{"door":"PATCH /api/v1/merch/campaigns/{campaign_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.campaign.gather":{"door":"POST /api/v1/merch/campaigns/{campaign_id}/items","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"role":{"type":"string","default":"supporting"},"note":{"type":"string","maxLength":500,"default":""}},"required":["campaign_id","entity_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.campaign.handoff":{"door":"POST /api/v1/merch/campaigns/{campaign_id}/handoff","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/HandedOff"}},"merch.campaign.open_list":{"door":"GET /api/v1/merch/campaigns/open","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/OpenCampaigns"}},"merch.campaign.read":{"door":"GET /api/v1/merch/campaigns/{campaign_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.campaign.remove_item":{"door":"DELETE /api/v1/merch/campaigns/{campaign_id}/items/{item_id}","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"item_id":{"type":"string","format":"uuid"}},"required":["campaign_id","item_id"]},"output":{"$ref":"#/$defs/CampaignDetail"}},"merch.catalog.create":{"door":"POST /api/v1/merch/products","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"garment_family":{"type":"string","maxLength":60,"default":"other"},"fulfillment_provider":{"type":"string","maxLength":40,"default":"printful"},"provider_product_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"status":{"type":"string","default":"draft"},"meta":{"additionalProperties":true,"type":"object"}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/Product"}},"merch.catalog.edit":{"door":"PATCH /api/v1/merch/products/{product_id}","input":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"garment_family":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_product_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"cost_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["product_id"]},"output":{"$ref":"#/$defs/Product"}},"merch.catalog.list":{"door":"POST /api/v1/merch/products/{product_id}/listings","input":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid"},"channel":{"type":"string","maxLength":40,"minLength":1},"remote_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"price_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}]},"currency":{"type":"string","maxLength":8,"default":"USD"},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"intent":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["channel","product_id"]},"output":{"$ref":"#/$defs/Listing"}},"merch.catalog.mirror":{"door":"POST /api/v1/merch/catalog/mirror","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/StoresMirrored"}},"merch.catalog.place":{"door":"POST /api/v1/merch/products/{product_id}/designs","input":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"placement":{"type":"string","maxLength":40,"minLength":1}},"required":["entity_id","placement","product_id"]},"output":{"$ref":"#/$defs/PlacedProduct"}},"merch.catalog.read":{"door":"GET /api/v1/merch/products/{product_id}","input":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid"}},"required":["product_id"]},"output":{"$ref":"#/$defs/ProductDetail"}},"merch.catalog.refresh":{"door":"POST /api/v1/merch/catalog/refresh","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/CatalogRefreshed"}},"merch.catalog.release_board":{"door":"GET /api/v1/commerce/release-board","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/ReleaseBoard"}},"merch.catalog.set_listing_state":{"door":"POST /api/v1/merch/listings/{listing_id}/state","input":{"type":"object","properties":{"listing_id":{"type":"string","format":"uuid"},"state":{"type":"string"}},"required":["listing_id","state"]},"output":{"$ref":"#/$defs/Listing"}},"merch.catalog.unplace":{"door":"DELETE /api/v1/merch/products/{product_id}/designs/{placement}","input":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid"},"placement":{"type":"string"}},"required":["placement","product_id"]},"output":{"$ref":"#/$defs/PlacedProduct"}},"merch.concept.add_reference":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/baseline","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"file":{"type":"string","contentMediaType":"application/octet-stream"}},"required":["concept_id","file"]},"output":{"$ref":"#/$defs/Option"}},"merch.concept.attach":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/options","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["concept_id","entity_id"]},"output":{"$ref":"#/$defs/Option"}},"merch.concept.clip":{"door":"POST /api/v1/merch/lab/options/{option_id}/clip","input":{"type":"object","properties":{"option_id":{"type":"string","format":"uuid"},"rect":{"prefixItems":[{"type":"integer"},{"type":"integer"},{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":4,"minItems":4},"aspect":{"type":"string"},"label":{"type":"string","default":""}},"required":["aspect","option_id","rect"]},"output":{"$ref":"#/$defs/Option"}},"merch.concept.compile_into_sheet":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/compile-into-sheet","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"sheet_entity_id":{"type":"string","format":"uuid"},"favorites_only":{"type":"boolean","default":false}},"required":["concept_id","sheet_entity_id"]},"output":{"$ref":"#/$defs/SheetCompiled"}},"merch.concept.create":{"door":"POST /api/v1/merch/lab/concepts","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"brief":{"type":"string","default":""},"tags":{"items":{"type":"string"},"type":"array"}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/Concept"}},"merch.concept.detach":{"door":"DELETE /api/v1/merch/lab/options/{option_id}","input":{"type":"object","properties":{"option_id":{"type":"string","format":"uuid"}},"required":["option_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"merch.concept.edit":{"door":"PATCH /api/v1/merch/lab/concepts/{concept_id}","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"stage":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["concept_id"]},"output":{"$ref":"#/$defs/Concept"}},"merch.concept.graduate":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/graduate","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"}},"required":["concept_id"]},"output":{"$ref":"#/$defs/Graduated"}},"merch.concept.keep":{"door":"PATCH /api/v1/merch/lab/options/{option_id}","input":{"type":"object","properties":{"option_id":{"type":"string","format":"uuid"},"favorite":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["option_id"]},"output":{"$ref":"#/$defs/Option"}},"merch.concept.read":{"door":"GET /api/v1/merch/lab/concepts/{concept_id}","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"}},"required":["concept_id"]},"output":{"$ref":"#/$defs/ConceptDetail"}},"merch.concept.remix":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/remix","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"references":{"items":{"$ref":"#/$defs/RemixRef"},"type":"array","maxItems":6,"minItems":1},"phrase":{"type":"string","default":""},"preset_id":{"type":"string","default":"badge_emblem"},"count":{"type":"integer","maximum":4.0,"minimum":1.0,"default":1},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["concept_id","references"]},"output":{"$ref":"#/$defs/LabJob"}},"merch.concept.retry":{"door":"POST /api/v1/merch/lab/jobs/{job_id}/retry","input":{"type":"object","properties":{"job_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."}},"required":["job_id"]},"output":{"$ref":"#/$defs/LabJob"}},"merch.concept.seed_sheet":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/seed-sheet","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"garment_family":{"type":"string","default":"hoodie"},"favorites_only":{"type":"boolean","default":true}},"required":["concept_id"]},"output":{"$ref":"#/$defs/SheetSeeded"}},"merch.concept.spark":{"door":"POST /api/v1/merch/lab/concepts/{concept_id}/spark","input":{"type":"object","properties":{"concept_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"phrase":{"type":"string","maxLength":400,"minLength":1},"preset_id":{"type":"string","default":"badge_emblem"},"scene":{"type":"string","default":""},"count":{"type":"integer","maximum":4.0,"minimum":1.0,"default":1},"baseline_option_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"baseline_mode":{"type":"string","default":"pose"},"ingredient_option_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":6},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["concept_id","phrase"]},"output":{"$ref":"#/$defs/LabJob"}},"merch.credential.connect":{"door":"PUT /api/v1/credentials","input":{"type":"object","properties":{"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$"},"kind":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"secret":{"type":"string","maxLength":4096,"minLength":1},"provider":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"validate":{"type":"boolean","default":false}},"required":["name","secret"]},"output":{"$ref":"#/$defs/CredentialOut"}},"merch.drift.read":{"door":"GET /api/v1/merch/catalog","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"include_retired":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Catalog"}},"merch.editorial.animate":{"door":"POST /api/v1/merch/editorial/animate","input":{"type":"object","properties":{"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"option_id":{"type":"string","format":"uuid"},"motion":{"type":"string","default":""},"end_option_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"duration":{"anyOf":[{"type":"string"},{"type":"null"}]},"aspect":{"type":"string","default":"9:16"},"loop":{"type":"boolean","default":false}},"required":["option_id","persona_id"]},"output":{"$ref":"#/$defs/LabJob"}},"merch.editorial.batch":{"door":"POST /api/v1/merch/editorial/batch","input":{"type":"object","properties":{"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"piece_ids":{"items":{"type":"string"},"type":"array","maxItems":60,"minItems":1},"per_product":{"type":"integer","maximum":3.0,"minimum":1.0,"default":2},"takes":{"type":"integer","maximum":4.0,"minimum":1.0,"default":1},"duos":{"type":"integer","maximum":20.0,"minimum":0.0,"default":0},"seed":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"default":1},"model_ids":{"items":{"type":"string"},"type":"array"},"scene_ids":{"items":{"type":"string"},"type":"array"},"camera_ids":{"items":{"type":"string"},"type":"array"},"colors_by_piece":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"look_id":{"type":"string","default":""},"framing_id":{"type":"string","default":""},"capture_id":{"type":"string","default":""},"discipline_id":{"type":"string","default":""},"lens_id":{"type":"string","default":""},"camera_body_id":{"type":"string","default":""},"film_stock_id":{"type":"string","default":""},"max_slots":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}]},"frame_pairs":{"type":"boolean","default":false},"pair_first":{"type":"string","default":""},"pair_last":{"type":"string","default":""},"pair_aspect":{"type":"string","default":"landscape"}},"required":["persona_id","piece_ids"]},"output":{"$ref":"#/$defs/BatchQueued"}},"merch.editorial.describe":{"door":"POST /api/v1/merch/editorial/batch/interpret","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"text":{"type":"string","maxLength":2000,"minLength":1},"piece_ids":{"items":{"type":"string"},"type":"array","maxItems":60}},"required":["persona_id","text"]},"output":{"$ref":"#/$defs/BatchRead"}},"merch.editorial.download":{"door":"POST /api/v1/merch/editorial/takes/export.zip","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"option_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1}},"required":["option_ids","persona_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"merch.editorial.feed":{"door":"GET /api/v1/merch/editorial/feed","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/EditorialFeed"}},"merch.editorial.frame_pair":{"door":"POST /api/v1/merch/editorial/frame-pair","input":{"type":"object","properties":{"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"mode":{"type":"string"},"first":{"additionalProperties":true,"type":"object"},"second":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"companion_of":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["mode","persona_id"]},"output":{"$ref":"#/$defs/app__api__merch_answers__JobsQueued"}},"merch.editorial.from_products":{"door":"POST /api/v1/merch/lab/editorial-session","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"product_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":24,"minItems":1},"style_notes":{"type":"string","maxLength":2000,"default":""}},"required":["persona_id","product_ids"]},"output":{"$ref":"#/$defs/Concept"}},"merch.editorial.pieces":{"door":"GET /api/v1/merch/editorial/pieces","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Pieces"}},"merch.editorial.preview_batch":{"door":"POST /api/v1/merch/editorial/batch/plan","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"piece_ids":{"items":{"type":"string"},"type":"array","maxItems":60,"minItems":1},"per_product":{"type":"integer","maximum":3.0,"minimum":1.0,"default":2},"takes":{"type":"integer","maximum":4.0,"minimum":1.0,"default":1},"duos":{"type":"integer","maximum":20.0,"minimum":0.0,"default":0},"seed":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"default":1},"model_ids":{"items":{"type":"string"},"type":"array"},"scene_ids":{"items":{"type":"string"},"type":"array"},"camera_ids":{"items":{"type":"string"},"type":"array"},"colors_by_piece":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"look_id":{"type":"string","default":""},"framing_id":{"type":"string","default":""},"capture_id":{"type":"string","default":""},"discipline_id":{"type":"string","default":""},"lens_id":{"type":"string","default":""},"camera_body_id":{"type":"string","default":""},"film_stock_id":{"type":"string","default":""},"max_slots":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}]},"frame_pairs":{"type":"boolean","default":false},"pair_first":{"type":"string","default":""},"pair_last":{"type":"string","default":""},"pair_aspect":{"type":"string","default":"landscape"}},"required":["persona_id","piece_ids"]},"output":{"$ref":"#/$defs/BatchPlan"}},"merch.editorial.shoot":{"door":"POST /api/v1/merch/editorial/shots","input":{"type":"object","properties":{"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"shots":{"items":{"$ref":"#/$defs/ShotIn"},"type":"array","maxItems":12,"minItems":1}},"required":["persona_id","shots"]},"output":{"$ref":"#/$defs/app__api__merch_answers__JobsQueued"}},"merch.editorial.studio":{"door":"POST /api/v1/merch/editorial/studio","input":{"type":"object","properties":{"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"piece_ids":{"items":{"type":"string"},"type":"array","maxItems":60,"minItems":1},"presence":{"type":"string","default":"product_only"},"shot_ids":{"items":{"type":"string"},"type":"array"},"model_ids":{"items":{"type":"string"},"type":"array"},"scene":{"type":"string","default":""},"framing":{"type":"string","default":"full"},"viewpoint":{"type":"string","default":"auto"},"angle":{"type":"string","default":"dynamic"},"backdrop":{"type":"string","default":"dark"},"lens":{"type":"string","default":""},"camera_body":{"type":"string","default":""},"film_stock":{"type":"string","default":""},"colors_by_piece":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"all_colors":{"type":"boolean","default":false},"count":{"type":"integer","maximum":3.0,"minimum":1.0,"default":1}},"required":["persona_id","piece_ids"]},"output":{"$ref":"#/$defs/app__api__merch_answers__JobsQueued"}},"merch.editorial.verdict":{"door":"POST /api/v1/merch/editorial/takes/{option_id}/verdict","input":{"type":"object","properties":{"option_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"verdict":{"type":"string"},"correction":{"type":"string","default":""},"comment":{"type":"string","maxLength":500,"default":""}},"required":["option_id","verdict"]},"output":{"$ref":"#/$defs/VerdictSet"}},"merch.editorial.verdict_many":{"door":"POST /api/v1/merch/editorial/takes/bulk-verdict","input":{"type":"object","properties":{"option_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1},"verdict":{"type":"string"},"comment":{"type":"string","maxLength":500,"default":""}},"required":["option_ids","verdict"]},"output":{"$ref":"#/$defs/VerdictsSet"}},"merch.export.zip":{"door":"GET /api/v1/merch/campaigns/{campaign_id}/export.zip","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"}},"required":["campaign_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"merch.gate.check":{"door":"POST /api/v1/merch/rules/gate-check","input":{"type":"object","properties":{"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":200}}},"output":{"$ref":"#/$defs/GateChecked"}},"merch.goal.remove":{"door":"DELETE /api/v1/merch/playbooks/goals/{goal_id}","input":{"type":"object","properties":{"goal_id":{"type":"string"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["goal_id","persona_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"merch.goal.track":{"door":"POST /api/v1/merch/playbooks/goals","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":120,"minLength":1},"kind":{"type":"string"},"target":{"type":"integer"},"period":{"type":"string","default":"month"},"scope":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["kind","name","persona_id","target"]},"output":{"$ref":"#/$defs/app__api__merch_answers__Goal"}},"merch.goal.track_posts":{"door":"POST /api/v1/merch/playbooks/goals","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":120,"minLength":1},"kind":{"type":"string"},"target":{"type":"integer"},"period":{"type":"string","default":"month"},"scope":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["kind","name","persona_id","target"]},"output":{"$ref":"#/$defs/app__api__merch_answers__Goal"}},"merch.health.read":{"door":"GET /api/v1/commerce/books","input":{"type":"object","properties":{"range":{"type":"string","default":"30d"}}},"output":{"$ref":"#/$defs/Books"}},"merch.masters.promote":{"door":"POST /api/v1/merch/masters/promote","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"family_slug":{"type":"string","maxLength":200,"minLength":1},"family_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"role":{"type":"string","maxLength":60,"minLength":1},"auto_dismiss_inferior":{"type":"boolean","default":false}},"required":["entity_id","family_slug","persona_id","role"]},"output":{"$ref":"#/$defs/Promoted"}},"merch.masters.read":{"door":"GET /api/v1/merch/masters","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/MastersPage"}},"merch.masters.sweep":{"door":"POST /api/v1/merch/masters/sweep","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"master_entity_id":{"type":"string","format":"uuid"}},"required":["master_entity_id","persona_id"]},"output":{"$ref":"#/$defs/Swept"}},"merch.narrative.breakdown":{"door":"POST /api/v1/merch/narrative/breakdown","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"text":{"type":"string","maxLength":40000,"minLength":1},"duration_seconds":{"type":"integer","maximum":3600.0,"minimum":1.0,"default":60},"pacing":{"type":"string","default":"medium"},"look":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"discipline":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["persona_id","text"]},"output":{"$ref":"#/$defs/Breakdown"}},"merch.narrative.choices":{"door":"GET /api/v1/merch/narrative/vocabulary","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/NarrativeChoices"}},"merch.narrative.file_film":{"door":"POST /api/v1/merch/narrative/produce","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"breakdown":{"additionalProperties":true,"type":"object"},"source_text":{"type":"string","maxLength":40000,"default":""},"duration_seconds":{"type":"integer","maximum":3600.0,"minimum":1.0,"default":60},"pacing":{"type":"string","default":"medium"}},"required":["breakdown","persona_id"]},"output":{"$ref":"#/$defs/FilmFiled"}},"merch.narrative.list":{"door":"GET /api/v1/merch/narrative","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/NarrativeList"}},"merch.orders.board":{"door":"GET /api/v1/commerce/fulfillment","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/FulfillmentBoard"}},"merch.orders.sync":{"door":"POST /api/v1/commerce/sync","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/SyncQueued"}},"merch.playbook.read":{"door":"GET /api/v1/merch/playbooks","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/PlaybookPage"}},"merch.post_kit.advance":{"door":"GET /api/v1/channels/plan/{post_id}/assembled","input":{"type":"object","properties":{"post_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id","post_id"]},"output":{"$ref":"#/$defs/PostAssembled"}},"merch.post_kit.attach":{"door":"PUT /api/v1/channels/plan/{post_id}/pictures","input":{"type":"object","properties":{"post_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":20}},"required":["persona_id","post_id"]},"output":{"$ref":"#/$defs/PlannedPost"}},"merch.review.decide":{"door":"POST /api/v1/operations/items/{entity_id}/status","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"status":{"type":"string"},"note":{"type":"string","default":""}},"required":["entity_id","status"]},"output":{"$ref":"#/$defs/ItemOut"}},"merch.rules.apply":{"door":"POST /api/v1/merch/rules/apply","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/RulesApplied"}},"merch.rules.create":{"door":"POST /api/v1/merch/rules","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"kind":{"type":"string","default":"asset_approval"},"condition":{"additionalProperties":true,"type":"object"},"action":{"type":"string","default":"require_manual"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}}},"output":{"$ref":"#/$defs/Rule"}},"merch.rules.delete":{"door":"DELETE /api/v1/merch/rules/{rule_id}","input":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid"}},"required":["rule_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"merch.rules.edit":{"door":"PATCH /api/v1/merch/rules/{rule_id}","input":{"type":"object","properties":{"rule_id":{"type":"string","format":"uuid"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"action":{"anyOf":[{"type":"string"},{"type":"null"}]},"condition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["rule_id"]},"output":{"$ref":"#/$defs/Rule"}},"merch.sheet.add_directive":{"door":"POST /api/v1/operations/items/{entity_id}/build-sheet/directives","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"op":{"type":"string"},"refs":{"additionalProperties":true,"type":"object"},"placement":{"anyOf":[{"type":"string"},{"type":"null"}]},"params":{"additionalProperties":true,"type":"object"},"origin_note":{"type":"string","default":""}},"required":["entity_id","op"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.sheet.add_product_art":{"door":"POST /api/v1/merch/sheets/{entity_id}/product-art","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"product_id":{"type":"string","format":"uuid"},"asset_id":{"type":"string","format":"uuid"},"op":{"type":"string","maxLength":16,"default":"use"},"placement":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]},"note":{"type":"string","maxLength":300,"default":""}},"required":["asset_id","entity_id","product_id"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.sheet.compile":{"door":"GET /api/v1/operations/items/{entity_id}/build-sheet/manifest","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"fmt":{"type":"string","default":"json"}},"required":["entity_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"merch.sheet.create":{"door":"POST /api/v1/merch/sheets","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"title":{"type":"string","maxLength":200,"minLength":1},"garment_family":{"type":"string","maxLength":120,"minLength":1},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"variant_hint":{"type":"string","default":""},"brief":{"type":"string","default":""},"placements":{"items":{"type":"string"},"type":"array"},"author_type":{"type":"string","default":"owner"}},"required":["garment_family","persona_id","title"]},"output":{"$ref":"#/$defs/SheetStarted"}},"merch.sheet.history":{"door":"GET /api/v1/merch/sheets/{entity_id}/history","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SheetHistory"}},"merch.sheet.link_product":{"door":"POST /api/v1/merch/sheets/{entity_id}/product","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"product_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.sheet.list":{"door":"GET /api/v1/merch/sheets","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"status_filter":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/SheetList"}},"merch.sheet.order":{"door":"POST /api/v1/operations/items/{entity_id}/build-sheet/directives/{directive_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"directive_id":{"type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"produced_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}]},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}]}},"required":["directive_id","entity_id"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.sheet.read":{"door":"GET /api/v1/operations/items/{entity_id}/build-sheet","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.sheet.run":{"door":"POST /api/v1/merch/sheets/{entity_id}/directives/{directive_id}/run","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"directive_id":{"type":"string"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."}},"required":["directive_id","entity_id"]},"output":{"$ref":"#/$defs/SheetRun"}},"merch.sheet.run_all":{"door":"POST /api/v1/merch/sheets/{entity_id}/run-all","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SheetRunAll"}},"merch.sheet.set_status":{"door":"PUT /api/v1/operations/items/{entity_id}/build-sheet/status","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"status":{"type":"string"},"product_ref":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id","status"]},"output":{"$ref":"#/$defs/Sheet"}},"merch.storefront.probe":{"door":"GET /api/v1/merch/storefront","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"probe":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Storefront"}},"merch.stores.check":{"door":"GET /api/v1/commerce/probe","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/StoreProbes"}},"merch.system.check":{"door":"GET /api/v1/merch/system/probes","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/StoreProbes"}},"merch.system.read":{"door":"GET /api/v1/merch/system","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/SystemOverview"}},"merch.vault.bulk_state":{"door":"POST /api/v1/merch/assets/bulk-state","input":{"type":"object","properties":{"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":500,"minItems":1},"state":{"type":"string"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["entity_ids","state"]},"output":{"$ref":"#/$defs/BulkMoved"}},"merch.vault.intake":{"door":"POST /api/v1/merch/campaigns/{campaign_id}/intake","input":{"type":"object","properties":{"campaign_id":{"type":"string","format":"uuid"},"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},"kind":{"type":"string","default":"editorial"},"note":{"type":"string","default":""}},"required":["campaign_id","files"]},"output":{"$ref":"#/$defs/CampaignIntake"}},"merch.vault.list":{"door":"GET /api/v1/merch/vault","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"q":{"anyOf":[{"type":"string"},{"type":"null"}]},"tag":{"anyOf":[{"type":"string"},{"type":"null"}]},"flag":{"anyOf":[{"type":"string"},{"type":"null"}]},"hidden":{"type":"string","default":"hide"},"sort":{"type":"string","default":"newest"},"page":{"type":"integer","default":1},"per_page":{"type":"integer","default":48}},"required":["persona_id"]},"output":{"$ref":"#/$defs/VaultPage"}},"merch.vault.patch":{"door":"PATCH /api/v1/merch/assets/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"kind":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"role":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/VaultAsset"}},"merch.vault.set_flag":{"door":"POST /api/v1/merch/vault/selection","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":500,"minItems":1},"flag":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"on":{"type":"boolean","default":true},"concept_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["entity_ids","persona_id"]},"output":{"$ref":"#/$defs/SelectionChanged"}},"merch.vault.set_state":{"door":"POST /api/v1/merch/assets/{entity_id}/state","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"state":{"type":"string"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["entity_id","state"]},"output":{"$ref":"#/$defs/AssetState"}},"merch.vault.upload":{"door":"POST /api/v1/merch/vault/intake","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_key":{"type":"string","maxLength":1024,"minLength":1},"content_hash":{"type":"string","maxLength":64,"minLength":64},"content_type":{"type":"string","maxLength":255,"default":"application/octet-stream"},"size_bytes":{"type":"integer","minimum":0.0},"filename":{"type":"string","maxLength":500,"default":""},"kind":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}]}},"required":["content_hash","persona_id","size_bytes","storage_key"]},"output":{"$ref":"#/$defs/IntakeFinished"}},"merge.autoconfirm.set":{"door":"PUT /api/v1/personas/{persona_id}/merge-intelligence","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"auto_confirm":{"type":"boolean"}},"required":["auto_confirm","persona_id"]},"output":{"$ref":"#/$defs/MergeAutoConfirm"}},"merge.class.reenable":{"door":"POST /api/v1/personas/{persona_id}/merge-intelligence/reset","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"bucket":{"type":"string","maxLength":96,"minLength":1}},"required":["bucket","persona_id"]},"output":{"$ref":"#/$defs/MergeReset"}},"metrics.refresh.refresh":{"door":"POST /api/v1/personas/{persona_id}/metrics-refresh","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/MetricsRefresh"}},"metrics.series.read":{"door":"GET /api/v1/entities/{entity_id}/metrics","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/MetricOut"}}},"model.capsule.read":{"door":"GET /api/v1/taught-models/{model_id}","input":{"type":"object","properties":{"model_id":{"type":"string","format":"uuid"}},"required":["model_id"]},"output":{"$ref":"#/$defs/ModelRead"}},"model.capsule.retire":{"door":"POST /api/v1/taught-models/{model_id}/retire","input":{"type":"object","properties":{"model_id":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500,"default":""}},"required":["model_id"]},"output":{"$ref":"#/$defs/ModelRetired"}},"model.capsule.train":{"door":"POST /api/v1/taught-models","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"training_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"kind":{"type":"string","enum":["words","pictures"],"default":"words"},"base_model":{"type":"string","maxLength":160,"default":""},"purse":{"type":"string","enum":["own_key","device","balance"],"default":"device"},"max_spend_minor":{"type":"integer","maximum":10000000.0,"minimum":0.0,"default":0},"currency":{"type":"string","maxLength":3,"minLength":3,"default":"USD"},"accept":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/ModelTaught"}},"moment_search.query":{"door":"GET /api/v1/personas/{persona_id}/moments","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"q":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"k":{"type":"integer","maximum":50,"minimum":1,"default":10}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Moments"}},"names.card.ask":{"door":"POST /api/v1/personas/names/ask","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/NameAsked"}},"names.card.list":{"door":"GET /api/v1/personas/names","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/NameCardList"}},"names.visibility.decide":{"door":"POST /api/v1/name-visibility/inbox/{consent_id}/decide","input":{"type":"object","properties":{"consent_id":{"type":"string","format":"uuid"},"allow":{"type":"boolean"}},"required":["allow","consent_id"]},"output":{"$ref":"#/$defs/NameVisibility"}},"names.visibility.request":{"door":"POST /api/v1/name-visibility/requests","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"audience":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1}},"required":["audience","persona_id"]},"output":{"$ref":"#/$defs/NameVisibility"}},"names.visibility.revoke":{"door":"POST /api/v1/name-visibility/inbox/{consent_id}/revoke","input":{"type":"object","properties":{"consent_id":{"type":"string","format":"uuid"}},"required":["consent_id"]},"output":{"$ref":"#/$defs/NameVisibility"}},"network.client.link":{"door":"POST /api/v1/personas/{persona_id}/co-owners","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"email":{"type":"string","maxLength":320,"minLength":3},"role":{"type":"string","default":"contributor"},"revenue_share_bps":{"type":"integer","maximum":10000.0,"minimum":0.0,"default":0},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["email","persona_id"]},"output":{"$ref":"#/$defs/CoOwnerEdge"}},"network.names.list":{"door":"GET /api/v1/people","input":{"type":"object","properties":{"group":{"enum":["person","place","organization"],"type":"string","default":"person"},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"limit":{"type":"integer","maximum":200,"minimum":1,"default":100},"offset":{"type":"integer","minimum":0,"default":0}}},"output":{"$ref":"#/$defs/NameList"}},"network.path.find":{"door":"GET /api/v1/personas/{persona_id}/network/path","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"source":{"type":"string","format":"uuid"},"target":{"type":"string","format":"uuid"}},"required":["persona_id","source","target"]},"output":{"$ref":"#/$defs/NetworkPath"}},"network.people.list":{"door":"GET /api/v1/personas/{persona_id}/network/people","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"quiet_days":{"type":"integer","maximum":365,"minimum":7,"default":45}},"required":["persona_id"]},"output":{"$ref":"#/$defs/NetworkPeople"}},"newsletter.archive.list":{"door":"GET /api/v1/newsletter/issues","input":{"type":"object","properties":{"capsule_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/IssueArchive"}},"newsletter.issue.make":{"door":"POST /api/v1/newsletter/issues","input":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","x-kit-id":"item"},"campaign_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["document_id"]},"output":{"$ref":"#/$defs/IssueMade"}},"newsletter.issue.read":{"door":"GET /api/v1/newsletter/issues/{issue_id}","input":{"type":"object","properties":{"issue_id":{"type":"string","format":"uuid"}},"required":["issue_id"]},"output":{"$ref":"#/$defs/Issue"}},"newsletter.issue.remove":{"door":"DELETE /api/v1/newsletter/issues/{issue_id}","input":{"type":"object","properties":{"issue_id":{"type":"string","format":"uuid"}},"required":["issue_id"]},"output":{"$ref":"#/$defs/IssueRemoved"}},"operations.deliverable.bind_work":{"door":"POST /api/v1/operations/items/{entity_id}/work","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"produced_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ItemOut"}},"ops.analysis.repair":{"door":"POST /api/v1/admin/platform/analysis/repair","input":{"type":"object","properties":{"target":{"type":"string","pattern":"^(stranded_partials|never_analyzed)$"},"limit":{"type":"integer","maximum":20000.0,"minimum":1.0,"default":5000},"dry_run":{"type":"boolean","default":false},"tenant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["target"]},"output":{"$ref":"#/$defs/AnalysisRepair"}},"ops.attention.read":{"door":"GET /api/v1/admin/platform/attention","input":{"type":"object","properties":{"tenant_id":{"type":"string","format":"uuid"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"limit":{"type":"integer","maximum":200,"minimum":1,"default":50},"offset":{"type":"integer","minimum":0,"default":0}},"required":["tenant_id"]},"output":{"$ref":"#/$defs/Attention"}},"ops.authorization.add":{"door":"POST /api/v1/admin/platform/authorizations","input":{"type":"object","properties":{"platform":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}]},"category":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"track":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"status":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"environment":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}]},"unlocks":{"anyOf":[{"type":"string"},{"type":"null"}]},"requirements":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"type":"string"},{"type":"null"}]},"resources":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"apply_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"expected_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":0.0},{"type":"null"}]},"review_after":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}]}}},"output":{"$ref":"#/$defs/AuthRow"}},"ops.authorization.adopt":{"door":"POST /api/v1/admin/platform/authorizations/{auth_id}/adopt-catalog","input":{"type":"object","properties":{"auth_id":{"type":"string","format":"uuid"}},"required":["auth_id"]},"output":{"$ref":"#/$defs/AuthRow"}},"ops.authorization.check":{"door":"POST /api/v1/admin/platform/authorizations/{auth_id}/checks","input":{"type":"object","properties":{"auth_id":{"type":"string","format":"uuid"}},"required":["auth_id"]},"output":{"$ref":"#/$defs/AuthChecks"}},"ops.authorization.import":{"door":"POST /api/v1/admin/platform/authorizations/import","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CatalogImported"}},"ops.authorization.packet":{"door":"GET /api/v1/admin/platform/authorizations/{auth_id}/packet","input":{"type":"object","properties":{"auth_id":{"type":"string","format":"uuid"},"format":{"type":"string","default":"json"}},"required":["auth_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"ops.authorization.remove":{"door":"DELETE /api/v1/admin/platform/authorizations/{auth_id}","input":{"type":"object","properties":{"auth_id":{"type":"string","format":"uuid"}},"required":["auth_id"]},"output":{"$ref":"#/$defs/Deleted"}},"ops.authorization.update":{"door":"PATCH /api/v1/admin/platform/authorizations/{auth_id}","input":{"type":"object","properties":{"auth_id":{"type":"string","format":"uuid"},"platform":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}]},"category":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"track":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"status":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"environment":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}]},"unlocks":{"anyOf":[{"type":"string"},{"type":"null"}]},"requirements":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"type":"string"},{"type":"null"}]},"resources":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"apply_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"expected_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":0.0},{"type":"null"}]},"review_after":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}]}},"required":["auth_id"]},"output":{"$ref":"#/$defs/AuthRow"}},"ops.billing.readiness":{"door":"GET /api/v1/admin/platform/billing-readiness","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/BillingReadiness"}},"ops.compute.read":{"door":"GET /api/v1/admin/platform/compute","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Compute"}},"ops.console.read":{"door":"GET /api/v1/admin/console","input":{"type":"object","properties":{"window_days":{"type":"integer","default":30},"tenant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"mine":{"type":"boolean","default":false}}},"output":{"$ref":"#/$defs/Console"}},"ops.credits.read":{"door":"GET /api/v1/admin/platform/credits/overview","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CreditOverview"}},"ops.deck.read":{"door":"GET /api/v1/admin/platform/deck","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Deck"}},"ops.defects.census":{"door":"POST /api/v1/admin/platform/defects/census","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/DefectCensus"}},"ops.defects.read":{"door":"GET /api/v1/admin/platform/defects","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/DefectBoard"}},"ops.defects.retire_redone":{"door":"POST /api/v1/admin/platform/defects/{class_code}/retire-redone","input":{"type":"object","properties":{"class_code":{"type":"string"},"apply":{"type":"boolean","default":false}},"required":["class_code"]},"output":{"$ref":"#/$defs/RedoneReport"}},"ops.defects.retire_terminal":{"door":"POST /api/v1/admin/platform/defects/{class_code}/retire-terminal","input":{"type":"object","properties":{"class_code":{"type":"string"},"apply":{"type":"boolean","default":false}},"required":["class_code"]},"output":{"$ref":"#/$defs/TerminalReport"}},"ops.hand.add":{"door":"POST /api/v1/admin/platform/hands","input":{"type":"object","properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"why":{"anyOf":[{"type":"string"},{"type":"null"}]},"group_key":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"status":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}]},"owner":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"door":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"links":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"action":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"check_key":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"steps":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]}}},"output":{"$ref":"#/$defs/HandRow"}},"ops.hand.check":{"door":"POST /api/v1/admin/platform/hands/{task_id}/check","input":{"type":"object","properties":{"task_id":{"type":"string","format":"uuid"}},"required":["task_id"]},"output":{"$ref":"#/$defs/HandRow"}},"ops.hand.import":{"door":"POST /api/v1/admin/platform/hands/import","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CatalogImported"}},"ops.hand.remove":{"door":"DELETE /api/v1/admin/platform/hands/{task_id}","input":{"type":"object","properties":{"task_id":{"type":"string","format":"uuid"}},"required":["task_id"]},"output":{"$ref":"#/$defs/Deleted"}},"ops.hand.update":{"door":"PATCH /api/v1/admin/platform/hands/{task_id}","input":{"type":"object","properties":{"task_id":{"type":"string","format":"uuid"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"why":{"anyOf":[{"type":"string"},{"type":"null"}]},"group_key":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"status":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}]},"owner":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"door":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"links":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"action":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"check_key":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"steps":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]}},"required":["task_id"]},"output":{"$ref":"#/$defs/HandRow"}},"ops.invariants.run":{"door":"GET /api/v1/admin/platform/invariants","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/Invariants"}},"ops.keys.check":{"door":"POST /api/v1/admin/platform/keys/{provider}/check","input":{"type":"object","properties":{"provider":{"type":"string"}},"required":["provider"]},"output":{"$ref":"#/$defs/KeyCheck"}},"ops.keys.list":{"door":"GET /api/v1/admin/platform/keys","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/KeyList"}},"ops.kit_need.link":{"door":"POST /api/v1/admin/kit/needs/{need_id}/link","input":{"type":"object","properties":{"need_id":{"type":"string","format":"uuid"},"brick":{"type":"string","maxLength":128,"minLength":1}},"required":["brick","need_id"]},"output":{"$ref":"#/$defs/NeedLinked"}},"ops.map.read":{"door":"GET /api/v1/admin/platform/map","input":{"type":"object","properties":{"tier":{"enum":["relaxed","standard","fast","second"],"type":"string","default":"standard"}}},"output":{"$ref":"#/$defs/PlatformMap"}},"ops.map.series":{"door":"GET /api/v1/admin/platform/map/series","input":{"type":"object","properties":{"tier":{"enum":["relaxed","standard","fast","second"],"type":"string","default":"standard"}}},"output":{"$ref":"#/$defs/MapSeries"}},"ops.merge_reviews.route":{"door":"POST /api/v1/admin/platform/merge-reviews/route","input":{"type":"object","properties":{"mode":{"type":"string","enum":["dry_run","apply","post"],"default":"dry_run"},"tenant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/MergeRoute"}},"ops.message.send":{"door":"POST /api/v1/admin/platform/messages","input":{"type":"object","properties":{"tenant_id":{"type":"string","format":"uuid"},"subject":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","maxLength":20000,"minLength":1},"email_to":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]}},"required":["body","subject","tenant_id"]},"output":{"$ref":"#/$defs/MessageSent"}},"ops.module.review":{"door":"POST /api/v1/admin/modules/{module_id}/review","input":{"type":"object","properties":{"module_id":{"type":"string","format":"uuid"},"approve":{"type":"boolean"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["approve","module_id"]},"output":{"$ref":"#/$defs/ModuleReview"}},"ops.ticket.status":{"door":"POST /api/v1/admin/support/tickets/{ticket_id}/status","input":{"type":"object","properties":{"ticket_id":{"type":"string","format":"uuid"},"status":{"type":"string","maxLength":16},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["status","ticket_id"]},"output":{"$ref":"#/$defs/TicketStatus"}},"ops.tour.list":{"door":"GET /api/v1/admin/platform/tours","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/TourList"}},"ops.tour.revoke":{"door":"POST /api/v1/admin/platform/tours/{tour_id}/revoke","input":{"type":"object","properties":{"tour_id":{"type":"string","format":"uuid"}},"required":["tour_id"]},"output":{"$ref":"#/$defs/TourRow"}},"ops.tour.start":{"door":"POST /api/v1/admin/platform/tours","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/TourStarted"}},"ops.waiting.dismiss":{"door":"DELETE /api/v1/beta/waiting-accounts/{account_id}","input":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"}},"required":["account_id"]},"output":{"$ref":"#/$defs/WaitingDismissed"}},"ops.watch.add":{"door":"POST /api/v1/admin/platform/watches","input":{"type":"object","properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"category":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"check_kind":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"cadence_hours":{"anyOf":[{"type":"integer","maximum":8760.0,"minimum":1.0},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"depends":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/WatchRow"}},"ops.watch.confirm":{"door":"POST /api/v1/admin/platform/watches/{watch_id}/confirm","input":{"type":"object","properties":{"watch_id":{"type":"string","format":"uuid"},"note":{"type":"string","maxLength":2000,"minLength":1}},"required":["note","watch_id"]},"output":{"$ref":"#/$defs/WatchRow"}},"ops.watch.import":{"door":"POST /api/v1/admin/platform/watches/import","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/CatalogImported"}},"ops.watch.remove":{"door":"DELETE /api/v1/admin/platform/watches/{watch_id}","input":{"type":"object","properties":{"watch_id":{"type":"string","format":"uuid"}},"required":["watch_id"]},"output":{"$ref":"#/$defs/Deleted"}},"ops.watch.run":{"door":"POST /api/v1/admin/platform/watches/{watch_id}/run","input":{"type":"object","properties":{"watch_id":{"type":"string","format":"uuid"}},"required":["watch_id"]},"output":{"$ref":"#/$defs/WatchRow"}},"ops.watch.update":{"door":"PATCH /api/v1/admin/platform/watches/{watch_id}","input":{"type":"object","properties":{"watch_id":{"type":"string","format":"uuid"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"category":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"check_kind":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"cadence_hours":{"anyOf":[{"type":"integer","maximum":8760.0,"minimum":1.0},{"type":"null"}]},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"depends":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["watch_id"]},"output":{"$ref":"#/$defs/WatchRow"}},"ops.work.cancel":{"door":"POST /api/v1/admin/platform/jobs/cancel","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1}},"required":["ids"]},"output":{"$ref":"#/$defs/JobsCancelled"}},"ops.work.pause":{"door":"POST /api/v1/admin/platform/jobs/pause","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1}},"required":["ids"]},"output":{"$ref":"#/$defs/JobsPaused"}},"ops.work.priority":{"door":"POST /api/v1/admin/platform/jobs/priority","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1},"priority":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":-1000.0},{"type":"null"}]},"delta":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":-1000.0},{"type":"null"}]}},"required":["ids"]},"output":{"$ref":"#/$defs/JobsPriority"}},"ops.work.queue_all":{"door":"POST /api/v1/admin/platform/jobs/queue-all","input":{"type":"object","properties":{"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"default":7},"include_permanent":{"type":"boolean","default":false}}},"output":{"$ref":"#/$defs/app__api__ops_answers__JobsQueued"}},"ops.work.repair_source":{"door":"POST /api/v1/admin/platform/jobs/{job_id}/repair-locator","input":{"type":"object","properties":{"job_id":{"type":"string","format":"uuid"},"dry_run":{"type":"boolean","default":true},"verify":{"type":"boolean","default":false}},"required":["job_id"]},"output":{"$ref":"#/$defs/LocatorRepair"}},"ops.work.requeue":{"door":"POST /api/v1/admin/platform/jobs/requeue","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array"},"all_failed":{"type":"boolean","default":false},"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"default":7},"include_permanent":{"type":"boolean","default":false}}},"output":{"$ref":"#/$defs/JobsRequeued"}},"ops.work.resume":{"door":"POST /api/v1/admin/platform/jobs/resume","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1}},"required":["ids"]},"output":{"$ref":"#/$defs/JobsResumed"}},"ops.work.run_now":{"door":"POST /api/v1/admin/platform/jobs/run-now","input":{"type":"object","properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1}},"required":["ids"]},"output":{"$ref":"#/$defs/JobsAdvanced"}},"org.design.edit":{"door":"PUT /api/v1/org-studio/design","input":{"type":"object","properties":{"design":{"additionalProperties":true,"type":"object"}},"required":["design"]},"output":{"$ref":"#/$defs/OrgDesignSaved"}},"org.design.propose":{"door":"POST /api/v1/org-studio/propose","input":{"type":"object","properties":{"description":{"type":"string","maxLength":100000,"default":""},"starter":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]}}},"output":{"$ref":"#/$defs/OrgProposed"}},"org.design.save":{"door":"PUT /api/v1/org-studio/design","input":{"type":"object","properties":{"design":{"additionalProperties":true,"type":"object"}},"required":["design"]},"output":{"$ref":"#/$defs/OrgDesignSaved"}},"org.studio.draft":{"door":"POST /api/v1/org-studio/draft","input":{"type":"object","properties":{"kind":{"type":"string","maxLength":40,"minLength":1},"node_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"guidance":{"type":"string","maxLength":2000,"default":""}},"required":["kind"]},"output":{"$ref":"#/$defs/OrgDraft"}},"org.studio.save":{"door":"POST /api/v1/org-studio/save-doc","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"title":{"type":"string","maxLength":160,"minLength":1},"body":{"type":"string","maxLength":100000,"minLength":1}},"required":["body","persona_id","title"]},"output":{"$ref":"#/$defs/OrgDocument"}},"pass_brief.prefill":{"door":"POST /api/v1/workflows/brief","input":{"type":"object","properties":{"definition":{"additionalProperties":true,"type":"object"},"from_step":{"type":"string","maxLength":64,"minLength":1},"to_step":{"type":"string","maxLength":64,"minLength":1},"variable":{"type":"string","maxLength":64,"minLength":1},"path":{"type":"string","maxLength":200,"minLength":1,"default":"result"}},"required":["definition","from_step","to_step","variable"]},"output":{"$ref":"#/$defs/PassBrief"}},"people.atlas.read":{"door":"GET /api/v1/org/atlas","input":{"type":"object","properties":{"as":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/OrgAtlas"}},"people.invite.reissue":{"door":"POST /api/v1/team/invitations/{invite_id}/token","input":{"type":"object","properties":{"invite_id":{"type":"string","format":"uuid"}},"required":["invite_id"]},"output":{"$ref":"#/$defs/InviteReissue"}},"people.invite.withdraw":{"door":"DELETE /api/v1/team/invitations/{invite_id}","input":{"type":"object","properties":{"invite_id":{"type":"string","format":"uuid"}},"required":["invite_id"]},"output":{"$ref":"#/$defs/InviteGone"}},"people.lane.read":{"door":"GET /api/v1/people/{user_id}/lane","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["user_id"]},"output":{"$ref":"#/$defs/PersonLane"}},"people.member.reinstate":{"door":"POST /api/v1/team/members/{user_id}/reactivate","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"}},"required":["user_id"]},"output":{"$ref":"#/$defs/MemberPresence"}},"people.member.remove":{"door":"DELETE /api/v1/team/members/{user_id}","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"}},"required":["user_id"]},"output":{"$ref":"#/$defs/MemberPresence"}},"people.member.role":{"door":"PUT /api/v1/team/members/{user_id}/role","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"role":{"type":"string","maxLength":24}},"required":["role","user_id"]},"output":{"$ref":"#/$defs/MemberRole"}},"people.member.sensitive":{"door":"PUT /api/v1/team/members/{user_id}/sensitive-access","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"allowed":{"type":"boolean"}},"required":["allowed","user_id"]},"output":{"$ref":"#/$defs/SensitiveAccess"}},"people.scope.name_only":{"door":"PUT /api/v1/team/members/{user_id}/scopes","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"persona_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"capsule"},"type":"array","maxItems":200},"roles":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object"}},"required":["user_id"]},"output":{"$ref":"#/$defs/ScopeSet"}},"people.scope.read":{"door":"GET /api/v1/team/members/{user_id}/scopes","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"}},"required":["user_id"]},"output":{"$ref":"#/$defs/ScopeRead"}},"people.scope.set":{"door":"PUT /api/v1/team/members/{user_id}/scopes","input":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"persona_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"capsule"},"type":"array","maxItems":200},"roles":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object"}},"required":["user_id"]},"output":{"$ref":"#/$defs/ScopeSet"}},"person_confirm.wait":{"door":"POST /api/v1/workflows/runs/{run_id}/resume","input":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."}},"required":["run_id"]},"output":{"$ref":"#/$defs/app__api__workflows__RunOut"}},"picture.cut.render":{"door":"POST /api/v1/pictures/cuts/{project_id}/render","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"start_s":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}]},"end_s":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/RenderAsked"}},"picture.effect.render":{"door":"POST /api/v1/pictures/items/{entity_id}/effects","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"effects":{"items":{"oneOf":[{"$ref":"#/$defs/_Plain"},{"$ref":"#/$defs/_Colour"},{"$ref":"#/$defs/_Amount"},{"$ref":"#/$defs/_Crop"},{"$ref":"#/$defs/_Speed"},{"$ref":"#/$defs/_Fade"}],"discriminator":{"propertyName":"kind","mapping":{"black_and_white":"#/components/schemas/_Plain","blur":"#/components/schemas/_Amount","colour":"#/components/schemas/_Colour","crop":"#/components/schemas/_Crop","fade_in":"#/components/schemas/_Fade","fade_out":"#/components/schemas/_Fade","grain":"#/components/schemas/_Amount","mirror":"#/components/schemas/_Plain","reverse":"#/components/schemas/_Plain","sharpen":"#/components/schemas/_Amount","speed":"#/components/schemas/_Speed","steady":"#/components/schemas/_Plain","vignette":"#/components/schemas/_Amount"}}},"type":"array","maxItems":50,"minItems":1},"start_s":{"type":"number","minimum":0.0,"default":0.0},"end_s":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["effects","entity_id"]},"output":{"$ref":"#/$defs/RenderAsked"}},"picture.render.read":{"door":"GET /api/v1/pictures/renders/{render_id}","input":{"type":"object","properties":{"render_id":{"type":"string","format":"uuid"}},"required":["render_id"]},"output":{"$ref":"#/$defs/RenderStanding"}},"picture.sphere.read":{"door":"GET /api/v1/pictures/items/{entity_id}/sphere","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SphereReading"}},"picture.sphere.write":{"door":"POST /api/v1/pictures/items/{entity_id}/sphere","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"heading":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}]},"initial_heading":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SphereCopy"}},"picture.stereo.read":{"door":"GET /api/v1/pictures/items/{entity_id}/stereo","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/StereoReading"}},"picture.stereo.write":{"door":"POST /api/v1/pictures/capsules/{persona_id}/stereo","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"left_entity_id":{"type":"string","format":"uuid"},"right_entity_id":{"type":"string","format":"uuid"},"layout":{"type":"string","enum":["mpo","left_right","top_bottom"],"default":"mpo"}},"required":["left_entity_id","persona_id","right_entity_id"]},"output":{"$ref":"#/$defs/StereoPair"}},"picture.still.edit":{"door":"POST /api/v1/pictures/items/{entity_id}/edit","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"turn":{"type":"integer","enum":[0,90,180,270],"default":0},"flip":{"anyOf":[{"type":"string","enum":["horizontal","vertical"]},{"type":"null"}]},"straighten":{"type":"number","maximum":45.0,"minimum":-45.0,"default":0.0},"crop":{"anyOf":[{"$ref":"#/$defs/CropIn"},{"type":"null"}]},"exposure":{"type":"number","maximum":3.0,"minimum":-3.0,"default":0.0},"contrast":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"saturation":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"warmth":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"sharpen":{"type":"number","maximum":100.0,"minimum":0.0,"default":0.0},"long_edge":{"anyOf":[{"type":"integer","maximum":12000.0,"minimum":16.0},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/StillCopy"}},"picture.still.preview":{"door":"POST /api/v1/pictures/items/{entity_id}/edit/preview","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"turn":{"type":"integer","enum":[0,90,180,270],"default":0},"flip":{"anyOf":[{"type":"string","enum":["horizontal","vertical"]},{"type":"null"}]},"straighten":{"type":"number","maximum":45.0,"minimum":-45.0,"default":0.0},"crop":{"anyOf":[{"$ref":"#/$defs/CropIn"},{"type":"null"}]},"exposure":{"type":"number","maximum":3.0,"minimum":-3.0,"default":0.0},"contrast":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"saturation":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"warmth":{"type":"number","maximum":100.0,"minimum":-100.0,"default":0.0},"sharpen":{"type":"number","maximum":100.0,"minimum":0.0,"default":0.0},"long_edge":{"anyOf":[{"type":"integer","maximum":12000.0,"minimum":16.0},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/StillPreview"}},"platform_frame.reframe":{"door":"POST /api/v1/entities/{entity_id}/reframe","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"shape":{"type":"string","maxLength":40,"minLength":1}},"required":["entity_id","shape"]},"output":{"$ref":"#/$defs/LibraryReframe"}},"produce.goal.read":{"door":"GET /api/v1/operations/{operation_id}/goal-progress","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"}},"required":["operation_id"]},"output":{"$ref":"#/$defs/GoalProgress"}},"produce.item.add":{"door":"POST /api/v1/operations/{operation_id}/items","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"title":{"type":"string","maxLength":200,"minLength":1},"brief":{"type":"string","default":""},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"event_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["kind","operation_id","title"]},"output":{"$ref":"#/$defs/ItemOut"}},"produce.item.feedback":{"door":"POST /api/v1/operations/items/{entity_id}/feedback","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ItemOut"}},"produce.item.regenerate":{"door":"POST /api/v1/operations/items/{entity_id}/regenerate","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"direction":{"type":"string","default":""},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"promo_method":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ItemOut"}},"produce.item.set_status":{"door":"POST /api/v1/operations/items/{entity_id}/status","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"status":{"type":"string"},"note":{"type":"string","default":""}},"required":["entity_id","status"]},"output":{"$ref":"#/$defs/ItemOut"}},"produce.kit.download":{"door":"GET /api/v1/operations/{operation_id}/kit","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"}},"required":["operation_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"produce.operation.create":{"door":"POST /api/v1/operations","input":{"type":"object","properties":{"ops_type":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"brief":{"type":"string","default":""},"channels":{"items":{"type":"string"},"type":"array"},"goal":{"additionalProperties":true,"type":"object"}},"required":["name","ops_type","persona_id"]},"output":{"$ref":"#/$defs/app__api__operations__OperationOut"}},"produce.operation.list":{"door":"GET /api/v1/operations","input":{"type":"object","properties":{}},"output":{"type":"array","items":{"$ref":"#/$defs/app__api__operations__OperationOut"}}},"produce.operation.set_stage":{"door":"PUT /api/v1/operations/{operation_id}/stage","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"},"stage":{"type":"string"}},"required":["operation_id","stage"]},"output":{"$ref":"#/$defs/app__api__operations__OperationOut"}},"produce.operation.update":{"door":"PUT /api/v1/operations/{operation_id}","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"goal":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["operation_id"]},"output":{"$ref":"#/$defs/app__api__operations__OperationOut"}},"produce.plan.generate":{"door":"POST /api/v1/operations/{operation_id}/plan","input":{"type":"object","properties":{"operation_id":{"type":"string","format":"uuid"},"start_date":{"type":"string","format":"date-time"},"days":{"type":"integer","maximum":90.0,"minimum":1.0},"posts_total":{"type":"integer","maximum":60.0,"minimum":1.0},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"direction":{"type":"string","default":""},"dials":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"promo_methods":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},"required":["days","operation_id","posts_total","start_date"]},"output":{"type":"array","items":{"$ref":"#/$defs/ItemOut"}}},"production.item.tag":{"door":"PUT /api/v1/entities/{entity_id}/production-elements","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"kinds":{"items":{"type":"string"},"type":"array","maxItems":32}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ProductionTags"}},"production.operation.open":{"door":"POST /api/v1/personas/{persona_id}/operations","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":200,"minLength":1},"flags":{"additionalProperties":true,"type":"object"},"write_project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"live_project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"produce_op_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"consult_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/app__api__casting__OperationOut"}},"production.operation.volume":{"door":"PUT /api/v1/personas/{persona_id}/operations/{operation_id}/volume","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"operation_id":{"type":"string","format":"uuid"},"volume":{"type":"boolean"}},"required":["operation_id","persona_id","volume"]},"output":{"$ref":"#/$defs/app__api__casting__OperationOut"}},"program.channel.run":{"door":"POST /api/v1/programs/channels","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":500,"minItems":1},"plays_at":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array","maxItems":500},{"type":"null"}]},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["entity_ids","persona_id"]},"output":{"$ref":"#/$defs/ChannelRunning"}},"program.premiere.members":{"door":"POST /api/v1/programs/premieres","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"plays_at":{"type":"string","format":"date-time"},"disclosure_ack":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["entity_id","persona_id","plays_at"]},"output":{"$ref":"#/$defs/PremiereHeld"}},"project.budget.read":{"door":"GET /api/v1/projects/{project_id}/agent-budget","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectBudget"}},"project.budget.remove":{"door":"DELETE /api/v1/projects/{project_id}/agent-budget","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"type":"null","x-kit-kind":"nothing","description":"nothing; the action is the result"}},"project.budget.set":{"door":"PUT /api/v1/projects/{project_id}/agent-budget","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"total_micro":{"type":"integer","maximum":10000000000.0,"minimum":0.0},"phases":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object","maxProperties":8},"ends_at":{"type":"string","format":"date-time"}},"required":["ends_at","project_id","total_micro"]},"output":{"$ref":"#/$defs/ProjectBudget"}},"project.desk.add":{"door":"POST /api/v1/app-projects/{project_id}/nodes","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"kind":{"type":"string","pattern":"^(folder|file)$"},"name":{"type":"string","maxLength":200,"minLength":1},"body":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}]}},"required":["kind","name","project_id"]},"output":{"$ref":"#/$defs/DeskNodeOut"}},"project.desk.commit":{"door":"POST /api/v1/app-projects/{project_id}/commit","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"exposure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id","project_id"]},"output":{"$ref":"#/$defs/DeskProjectOut"}},"project.desk.create":{"door":"POST /api/v1/app-projects","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"department":{"type":"string","maxLength":32,"default":"general"}},"required":["name"]},"output":{"$ref":"#/$defs/DeskProjectOut"}},"project.desk.delete":{"door":"DELETE /api/v1/app-projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/DeletedOut"}},"project.desk.remove":{"door":"DELETE /api/v1/app-projects/{project_id}/nodes/{node_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"node_id":{"type":"string","format":"uuid"}},"required":["node_id","project_id"]},"output":{"$ref":"#/$defs/DeletedOut"}},"project.desk.save":{"door":"PATCH /api/v1/app-projects/{project_id}/nodes/{node_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"node_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}]},"body":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}]},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["node_id","project_id"]},"output":{"$ref":"#/$defs/DeskNodeOut"}},"project.held.read":{"door":"GET /api/v1/project-hold/projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectHeld"}},"project.hub.read":{"door":"GET /api/v1/personas/{persona_id}/studio/overview","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/StudioOverviewOut"}},"project.rooms.create":{"door":"POST /api/v1/projects/{project_id}/rooms","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"body":{"$ref":"#/$defs/RoomNewIn"}},"required":["body","project_id"]},"output":{"$ref":"#/$defs/LibraryRooms"}},"project.rooms.manage":{"door":"PUT /api/v1/projects/{project_id}/rooms","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"body":{"$ref":"#/$defs/RoomStateIn"}},"required":["body","project_id"]},"output":{"$ref":"#/$defs/LibraryRooms"}},"project.rooms.suggest":{"door":"POST /api/v1/projects/rooms/suggested","input":{"type":"object","properties":{"body":{"type":"object","additionalProperties":true}},"required":["body"]},"output":{"$ref":"#/$defs/LibrarySuggested"}},"projects.milestone.add":{"door":"POST /api/v1/projects/{project_id}/milestones","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"title":{"type":"string","maxLength":200,"minLength":1},"due_on":{"type":"string","format":"date"},"tentative":{"type":"boolean","default":false}},"required":["due_on","project_id","title"]},"output":{"$ref":"#/$defs/ProjectMilestoneOut"}},"projects.record.create":{"door":"POST /api/v1/projects","input":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"tentative":{"type":"boolean","default":false}},"required":["name"]},"output":{"$ref":"#/$defs/ProjectDetail"}},"projects.record.date":{"door":"PATCH /api/v1/projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}]},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"tentative":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"stage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectDetail"}},"projects.record.picture":{"door":"PUT /api/v1/projects/{project_id}/image","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"storage_key":{"type":"string","maxLength":512,"minLength":1}},"required":["project_id","storage_key"]},"output":{"$ref":"#/$defs/ProjectPicture"}},"projects.stage.add":{"door":"POST /api/v1/projects/{project_id}/stages","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"label":{"type":"string","maxLength":120,"minLength":1},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"tentative":{"type":"boolean","default":false}},"required":["label","project_id"]},"output":{"$ref":"#/$defs/ProjectStageOut"}},"projects.timeline.read":{"door":"GET /api/v1/projects","input":{"type":"object","properties":{"from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/app__api__project_answers__ProjectList"}},"prompt.compose.compose":{"door":"POST /api/v1/prompts/compose","input":{"type":"object","properties":{"subject":{"type":"string","maxLength":2000,"minLength":1},"parts":{"additionalProperties":true,"type":"object"},"brand_world":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"brand_palette":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["subject"]},"output":{"$ref":"#/$defs/LibraryComposed"}},"prompt.optimize.rewrite":{"door":"POST /api/v1/merch/editorial/optimize","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"kind":{"type":"string"},"text":{"type":"string","maxLength":2000,"minLength":1}},"required":["kind","persona_id","text"]},"output":{"$ref":"#/$defs/PromptRewrite"}},"quality.brief.check":{"door":"POST /api/v1/quality/check","input":{"type":"object","properties":{"brief":{"type":"string","maxLength":200000},"criteria":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["brief"]},"output":{"$ref":"#/$defs/QualityCheck"}},"reading.passage.cite":{"door":"GET /api/v1/reading/items/{entity_id}/cite","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"unit":{"type":"integer","minimum":1,"default":1},"source":{"type":"string","maxLength":32,"default":""},"offset":{"type":"integer","minimum":0,"default":0},"page_chars":{"type":"integer","maximum":8000,"minimum":1,"default":6000}},"required":["entity_id"]},"output":{"$ref":"#/$defs/PassageCited"}},"reading.unit.read":{"door":"GET /api/v1/reading/capsules/{persona_id}/unit","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/ReadingUnit"}},"reading.unit.set":{"door":"PUT /api/v1/reading/capsules/{persona_id}/unit","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"label":{"type":"string","maxLength":40,"minLength":1},"split":{"type":"string","maxLength":16,"minLength":1}},"required":["label","persona_id","split"]},"output":{"$ref":"#/$defs/ReadingUnit"}},"referent.merge.merge":{"door":"POST /api/v1/resolution-reviews/{review_id}/decide","input":{"type":"object","properties":{"review_id":{"type":"string","format":"uuid"},"confirm":{"type":"boolean"},"canonical_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["confirm","review_id"]},"output":{"$ref":"#/$defs/MergeDecision"}},"release.app.publish":{"door":"POST /api/v1/releases","input":{"type":"object","properties":{"module_id":{"type":"string","format":"uuid"},"max_spend_minor":{"type":"integer","maximum":10000000.0,"minimum":0.0},"currency":{"type":"string","maxLength":3,"minLength":3,"default":"USD"},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["max_spend_minor","module_id"]},"output":{"$ref":"#/$defs/ReleaseListing"}},"release.app.run":{"door":"POST /api/v1/releases/{release_id}/runs","input":{"type":"object","properties":{"release_id":{"type":"string","format":"uuid"},"accept":{"type":"boolean","default":false}},"required":["release_id"]},"output":{"$ref":"#/$defs/ReleaseRun"}},"release.app.withdraw":{"door":"POST /api/v1/releases/{release_id}/withdraw","input":{"type":"object","properties":{"release_id":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500,"default":""}},"required":["release_id"]},"output":{"$ref":"#/$defs/ReleaseListing"}},"research_selection.mark":{"door":"POST /api/v1/writing/documents/{entity_id}/passage-research","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"passage":{"type":"string","maxLength":8000,"minLength":1},"question":{"type":"string","maxLength":2000,"default":""}},"required":["entity_id","passage"]},"output":{"$ref":"#/$defs/PassageMark"}},"revision_stack.apply":{"door":"POST /api/v1/writing/documents/{entity_id}/restore","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"version":{"type":"string"},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id","version"]},"output":{"$ref":"#/$defs/DocumentRecord"}},"scene.bench.create":{"door":"POST /api/v1/scene-bench/scenes","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":500}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/SceneReading"}},"scene.bench.handoff":{"door":"GET /api/v1/scene-bench/scenes/{scene_id}/handoff","input":{"type":"object","properties":{"scene_id":{"type":"string","format":"uuid"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["scene_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"scene.bench.list":{"door":"GET /api/v1/scene-bench/scenes","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/SceneList"}},"scene.bench.place":{"door":"POST /api/v1/scene-bench/scenes/{scene_id}/place","input":{"type":"object","properties":{"scene_id":{"type":"string","format":"uuid"},"draft":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"op":{"additionalProperties":true,"type":"object"}},"required":["op","scene_id"]},"output":{"$ref":"#/$defs/SceneReading"}},"scene.bench.read":{"door":"GET /api/v1/scene-bench/scenes/{scene_id}","input":{"type":"object","properties":{"scene_id":{"type":"string","format":"uuid"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["scene_id"]},"output":{"$ref":"#/$defs/SceneReading"}},"scene.bench.remove":{"door":"DELETE /api/v1/scene-bench/scenes/{scene_id}","input":{"type":"object","properties":{"scene_id":{"type":"string","format":"uuid"}},"required":["scene_id"]},"output":{"$ref":"#/$defs/SceneRemoved"}},"scene.bench.save":{"door":"POST /api/v1/scene-bench/scenes/{scene_id}/save","input":{"type":"object","properties":{"scene_id":{"type":"string","format":"uuid"},"structure":{"additionalProperties":true,"type":"object"},"expected_version":{"type":"integer","minimum":1.0},"name":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["expected_version","scene_id","structure"]},"output":{"$ref":"#/$defs/SceneReading"}},"screen.breakdown.extract":{"door":"POST /api/v1/writing/projects/{project_id}/breakdown","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/BreakdownOut"}},"screen.character.extract":{"door":"POST /api/v1/writing/projects/{project_id}/breakdown","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/BreakdownOut"}},"screen.character.open":{"door":"POST /api/v1/writing/documents/{entity_id}/characters/door","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string","maxLength":120,"minLength":1},"create":{"type":"boolean","default":true}},"required":["entity_id","name"]},"output":{"$ref":"#/$defs/DoorOut"}},"screen.character.rename":{"door":"POST /api/v1/writing/documents/{entity_id}/characters/rename","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"old":{"type":"string","maxLength":120,"minLength":1},"new":{"type":"string","maxLength":120,"minLength":1},"apply":{"type":"boolean","default":false},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id","new","old"]},"output":{"$ref":"#/$defs/RenameOut"}},"screen.export.file":{"door":"GET /api/v1/writing/documents/{entity_id}/export","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"format":{"type":"string","default":"md"},"author":{"type":"string","maxLength":200,"default":""}},"required":["entity_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"screen.image.render":{"door":"step:image","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"prompt":{"type":"string"},"quality":{"type":"object","description":"quality rules for this prompt ({} for the defaults; min_chars, max_chars, must_include, must_not_include, allow_placeholders). When given, the step checks its own resolved prompt and refuses before it spends unless it passes. A check_quality verdict is also taken, as a pass for this prompt only"},"name":{"type":"string","description":"stored file name"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","2:3","3:2","4:5","5:4","21:9","9:21"],"default":"1:1"},"output_format":{"type":"string","enum":["png","jpeg"],"default":"png"},"output":{"type":"object","description":"the picture to deliver: shape (W:H, e.g. 4:5 or a custom 4:3), size (standard | large | exact with width and height), a delivery preset (e.g. instagram.feed_portrait, youtube.thumbnail, print.letter), file type, clear background and how many. A choice the picture service cannot draw is drawn as near as it can and finished to the choice; every change is reported in the result's output.notes","properties":{"aspect_ratio":{"type":"string","description":"W:H"},"size":{"type":"string","enum":["standard","large","exact"]},"width":{"type":"integer","minimum":16,"maximum":8192},"height":{"type":"integer","minimum":16,"maximum":8192},"preset":{"type":"string"},"output_format":{"type":"string","enum":["png","jpeg","webp","jpg"]},"transparent_background":{"type":"boolean"},"count":{"type":"integer","minimum":1,"maximum":4}},"additionalProperties":false},"negative_prompt":{"type":"string","default":""},"seed":{"type":"integer","minimum":0,"maximum":858993459,"description":"reproduction seed. Omit to mint one; pin a take's recorded seed to replay it. The receipt reports seed and seed_honoured - a lane that cannot honour a seed says so rather than pretending"},"tier":{"type":"string"},"title":{"type":"string"},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"},"reference_images":{"type":"array","maxItems":6,"description":"owned pictures that condition the draw (a literal list, never a $step reference): each names one of entity_id | storage_key inside this tenant, with mode pose (follow its pose / layout) | style (borrow its look) | composition (keep its arrangement) and weight in (0, 1]. The receipt reports reference_used and, per picture, used / reason — a lane that cannot take a picture says so, never drops it","items":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"storage_key":{"type":"string"},"mode":{"type":"string","enum":["pose","style","composition"]},"weight":{"type":"number","minimum":0,"maximum":1},"label":{"type":"string"}}}},"moment":{"type":"string","description":"the action/scene (beats world/palette)"},"look":{"type":"string","enum":["signature","realistic","natural_daylight","golden_hour","overcast_doc","film_35mm"],"description":"overlay look (signature keeps the brand world)"},"framing":{"type":"string","enum":["as_selected","front_hero","back_view","three_quarter","over_shoulder","detail_focus","macro_detail","full_wide"],"description":"camera-to-subject framing"},"lens":{"type":"string","enum":["ultrawide_16","wide_24","street_35","normal_50","portrait_85","tele_135","tele_200","macro_100","fisheye_8"]},"camera_body":{"type":"string","enum":["canon_r5","sony_a7","leica_m","hasselblad","arri_alexa","gopro","smartphone","disposable"]},"film":{"type":"string","enum":["portra_400","gold_200","ektachrome","cinestill_800t","trix_bw","velvia","polaroid"]},"brand_world":{"type":"string","description":"tenant brand-profile world line (signature look)"},"brand_palette":{"type":"string","description":"tenant brand-profile palette line"},"discipline":{"type":"string","description":"tenant high-priority equipment/domain directive"},"correction":{"type":"string","description":"rework correction — always last, highest priority"},"cast":{"type":"string","format":"uuid","description":"character entity id (dial-cast member or written story character) — injects its identity line for cross-shot consistency"},"unlocked_ok":{"type":"boolean","default":false,"description":"Proceed although the cast character carries no character lock (the answered one-question). Without it an unlocked cast anchor refuses to generate."}},"required":["persona_id","prompt","name"],"additionalProperties":true},"output":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"type":"string"},"content_type":{"type":"string"},"size_bytes":{"type":"integer"},"sha256":{"type":"string"},"image_method":{"type":"string"},"image_model":{"anyOf":[{"type":"string"},{"type":"null"}]},"reference_used":{"type":"boolean"},"references":{"type":"array","items":{"type":"object"}},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}]},"seed_honoured":{"type":"boolean"},"output":{"type":"object","description":"the choice asked, the picture delivered, and every change in owner words","properties":{"asked":{"type":"object"},"delivered":{"type":"object"},"notes":{"type":"array","items":{"type":"object"}}}}},"required":["entity_id","name","content_type","size_bytes","sha256"]}},"screen.image.suggest":{"door":"POST /api/v1/writing/projects/{project_id}/outline/image","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"block_id":{"type":"string","maxLength":16},"preset":{"type":"string","maxLength":24,"default":"cinematic"}},"required":["block_id","project_id"]},"output":{"$ref":"#/$defs/ImageSuggestOut"}},"screen.ingest.parse":{"door":"POST /api/v1/writing/personas/{persona_id}/screenplay/import","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"filename":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"text":{"type":"string","maxLength":2000000,"minLength":1},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"document_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id","text"]},"output":{"$ref":"#/$defs/ImportOut"}},"screen.outline.generate":{"door":"POST /api/v1/writing/projects/{project_id}/outline","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/OutlineOut"}},"screen.scene.deal":{"door":"POST /api/v1/writing/projects/{project_id}/scenes","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"}},"required":["project_id"]},"output":{"$ref":"#/$defs/ScenesOut"}},"screen.script.generate":{"door":"POST /api/v1/writing/personas/{persona_id}/generate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string","maxLength":200,"minLength":1},"premise":{"type":"string","default":""},"brief":{"type":"string","default":""},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":4.0},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["format","persona_id","title"]},"output":{"$ref":"#/$defs/RunHandle"}},"screen.session.create":{"door":"POST /api/v1/writing/personas/{persona_id}/projects","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"branch":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"logline":{"type":"string","maxLength":1000,"default":""},"premise":{"type":"string","maxLength":8000,"default":""},"params":{"additionalProperties":true,"type":"object"}},"required":["branch","name","persona_id"]},"output":{"$ref":"#/$defs/ProjectOut"}},"screen.treatment.crystallize":{"door":"POST /api/v1/writing/documents/{entity_id}/crystallize","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"name":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/MarkedDocument"}},"screen.treatment.step":{"door":"POST /api/v1/writing/projects/{project_id}/treatment/{step_key}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"step_key":{"type":"string"}},"required":["project_id","step_key"]},"output":{"$ref":"#/$defs/app__api__writing_projects__TreatmentOut"}},"send_to.route":{"door":"POST /api/v1/workflows/{workflow_id}/send-to","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"placement":{"type":"string","maxLength":64,"minLength":1}},"required":["entity_id","placement","workflow_id"]},"output":{"$ref":"#/$defs/app__api__workflows__RunOut"}},"sheet.columns.set":{"door":"PUT /api/v1/sheets/{sheet_id}/columns","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"columns":{"items":{"$ref":"#/$defs/ColumnIn"},"type":"array","maxItems":80}},"required":["columns","sheet_id"]},"output":{"$ref":"#/$defs/SheetColumnsSet"}},"sheet.create":{"door":"POST /api/v1/sheets","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":500},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"columns":{"anyOf":[{"items":{"$ref":"#/$defs/ColumnIn"},"type":"array","maxItems":80},{"type":"null"}]}},"required":["name","persona_id"]},"output":{"$ref":"#/$defs/SheetCreated"}},"sheet.edit":{"door":"PATCH /api/v1/sheets/{sheet_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"clear_note":{"type":"boolean","default":false}},"required":["sheet_id"]},"output":{"$ref":"#/$defs/SheetSummary"}},"sheet.list":{"door":"GET /api/v1/sheets","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/SheetIndex"}},"sheet.read":{"door":"GET /api/v1/sheets/{sheet_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"}},"required":["sheet_id"]},"output":{"$ref":"#/$defs/SheetRead"}},"sheet.record.link":{"door":"POST /api/v1/sheets/{sheet_id}/records/{record_id}/links","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"record_id":{"type":"string","format":"uuid"},"column":{"type":"string","maxLength":200},"add":{"items":{"type":"string"},"type":"array","maxItems":400},"remove":{"items":{"type":"string"},"type":"array","maxItems":400}},"required":["column","record_id","sheet_id"]},"output":{"$ref":"#/$defs/SheetRecordOne"}},"sheet.record.remove":{"door":"DELETE /api/v1/sheets/{sheet_id}/records/{record_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"record_id":{"type":"string","format":"uuid"}},"required":["record_id","sheet_id"]},"output":{"$ref":"#/$defs/SheetGone"}},"sheet.record.set":{"door":"PATCH /api/v1/sheets/{sheet_id}/records/{record_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"record_id":{"type":"string","format":"uuid"},"cells":{"additionalProperties":true,"type":"object"}},"required":["cells","record_id","sheet_id"]},"output":{"$ref":"#/$defs/SheetRecordOne"}},"sheet.records.add":{"door":"POST /api/v1/sheets/{sheet_id}/records","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"records":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":1000}},"required":["records","sheet_id"]},"output":{"$ref":"#/$defs/SheetRecordsAdded"}},"sheet.remove":{"door":"DELETE /api/v1/sheets/{sheet_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"}},"required":["sheet_id"]},"output":{"$ref":"#/$defs/SheetGone"}},"sheet.view.list":{"door":"GET /api/v1/sheets/{sheet_id}/views","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"}},"required":["sheet_id"]},"output":{"$ref":"#/$defs/SheetViewList"}},"sheet.view.read":{"door":"GET /api/v1/sheets/{sheet_id}/views/{view_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"view_id":{"type":"string","format":"uuid"}},"required":["sheet_id","view_id"]},"output":{"$ref":"#/$defs/SheetViewRead"}},"sheet.view.remove":{"door":"DELETE /api/v1/sheets/{sheet_id}/views/{view_id}","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"view_id":{"type":"string","format":"uuid"}},"required":["sheet_id","view_id"]},"output":{"$ref":"#/$defs/SheetViewGone"}},"sheet.view.save":{"door":"POST /api/v1/sheets/{sheet_id}/views","input":{"type":"object","properties":{"sheet_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":500},"columns":{"items":{"type":"string"},"type":"array","maxItems":80},"filters":{"items":{"$ref":"#/$defs/FilterIn"},"type":"array","maxItems":40},"sort":{"anyOf":[{"$ref":"#/$defs/SortIn"},{"type":"null"}]},"group_by":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["name","sheet_id"]},"output":{"$ref":"#/$defs/SheetViewSaved"}},"source.account.connect":{"door":"GET /api/v1/connectors/oauth/{provider}/start","input":{"type":"object","properties":{"provider":{"type":"string"},"send":{"type":"boolean","default":false},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}},"required":["provider"]},"output":{"$ref":"#/$defs/SourceConsent"}},"source.account.disconnect":{"door":"DELETE /api/v1/connectors/oauth/{provider}","input":{"type":"object","properties":{"provider":{"type":"string"},"account":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["provider"]},"output":{"$ref":"#/$defs/SourceAccountOff"}},"source.add.add":{"door":"POST /api/v1/personas/{persona_id}/ingest","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"locator":{"type":"string","minLength":1},"entity_type":{"type":"string","maxLength":64,"default":"document"},"content_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"custody":{"type":"string","maxLength":16,"default":"referenced"},"acquisition_method":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"access_mode":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"origin":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"lawful_basis":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]}},"required":["locator","persona_id"]},"output":{"$ref":"#/$defs/IngestResponse"}},"source.chat_channel.sync":{"door":"POST /api/v1/personas/{persona_id}/connectors/discord","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"channel_id":{"type":"string","maxLength":32,"minLength":5,"pattern":"^\\d+$"},"limit":{"type":"integer","maximum":5000.0,"minimum":1.0,"default":500}},"required":["channel_id","persona_id"]},"output":{"$ref":"#/$defs/SourceAccepted"}},"source.cloud_folder.browse":{"door":"GET /api/v1/personas/{persona_id}/connectors/cloud/browse","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"provider":{"type":"string"},"path":{"type":"string","default":""},"account":{"type":"string","default":""}},"required":["persona_id","provider"]},"output":{"$ref":"#/$defs/SourceFolders"}},"source.connect.connect":{"door":"POST /api/v1/personas/{persona_id}/connectors/cloud","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_policy":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":0.0},{"type":"null"}]},"provider":{"type":"string","maxLength":32,"minLength":1},"root":{"type":"string","maxLength":1024,"default":""},"account":{"type":"string","maxLength":64,"default":""}},"required":["persona_id","provider"]},"output":{"$ref":"#/$defs/SourceCloudQueued"}},"source.drive.add":{"door":"POST /api/v1/personas/{persona_id}/connectors/drive","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_policy":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":0.0},{"type":"null"}]},"folder_url":{"type":"string","maxLength":1024,"minLength":1}},"required":["folder_url","persona_id"]},"output":{"$ref":"#/$defs/SourceDriveQueued"}},"source.family_tree.import":{"door":"POST /api/v1/personas/{persona_id}/gedcom","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"source_name":{"type":"string","maxLength":255,"minLength":1},"gedcom":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"storage_key":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}]},"person_limit":{"type":"integer","maximum":20000.0,"minimum":1.0,"default":5000},"drop_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["persona_id","source_name"]},"output":{"$ref":"#/$defs/SourceTree"}},"source.google.connect":{"door":"GET /api/v1/connectors/oauth/google/start","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/SourceConsent"}},"source.google.disconnect":{"door":"DELETE /api/v1/connectors/oauth/google","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/SourceGoogleOff"}},"source.inputs.list":{"door":"GET /api/v1/personas/{persona_id}/inputs","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","default":50},"before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/SourceInputList"}},"source.inventory.read":{"door":"GET /api/v1/personas/{persona_id}/sources","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/SourceInventory"}},"source.link.inspect":{"door":"POST /api/v1/personas/{persona_id}/connectors/url-inspect","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":2048,"minLength":1}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/SourceInspection"}},"source.original.progress":{"door":"PUT /api/v1/originals/items/{entity_id}/progress","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"bytes_done":{"type":"integer","minimum":0.0},"sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]}},"required":["bytes_done","entity_id"]},"output":{"$ref":"#/$defs/SourceOriginal"}},"source.original.read":{"door":"GET /api/v1/originals/items/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SourceOriginal"}},"source.original.register":{"door":"POST /api/v1/originals/capsules/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"filename":{"type":"string","maxLength":255,"minLength":1},"size_bytes":{"type":"integer","minimum":1.0},"content_type":{"type":"string","maxLength":127,"default":"application/octet-stream"},"sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]}},"required":["filename","persona_id","size_bytes"]},"output":{"$ref":"#/$defs/SourceOriginal"}},"source.original.retrieve":{"door":"POST /api/v1/entities/{entity_id}/retrieve","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"accept_large":{"type":"boolean","default":false},"shown_monthly_micro":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SourceRetrieve"}},"source.public_data.add":{"door":"POST /api/v1/personas/{persona_id}/connectors/public-data","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"slug":{"type":"string","maxLength":128,"minLength":1},"query":{"type":"string","maxLength":512,"minLength":1},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"default":10}},"required":["persona_id","query","slug"]},"output":{"$ref":"#/$defs/SourceAccepted"}},"source.public_data.keep_or_link":{"door":"GET /api/v1/public-data/sources/{slug}/keep-or-link","input":{"type":"object","properties":{"slug":{"type":"string"}},"required":["slug"]},"output":{"$ref":"#/$defs/SourceKeep"}},"source.release.retire":{"door":"POST /api/v1/collections/{collection_id}/retire","input":{"type":"object","properties":{"collection_id":{"type":"string","format":"uuid","x-kit-id":"collection"}},"required":["collection_id"]},"output":{"$ref":"#/$defs/CollectionRetireOut"}},"source.retry_list.read":{"door":"GET /api/v1/personas/{persona_id}/ingest-attempts","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"limit":{"type":"integer","maximum":2000,"minimum":1,"default":500}},"required":["persona_id"]},"output":{"$ref":"#/$defs/UnlandedListOut"}},"source.share_link.add":{"door":"POST /api/v1/personas/{persona_id}/connectors/cloud-share","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_policy":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"url":{"type":"string","maxLength":2048,"minLength":1},"repeat_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":0.0},{"type":"null"}]}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/SourceShareQueued"}},"source.spatial.add":{"door":"POST /api/v1/spatial/capsules/{persona_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"filename":{"type":"string","maxLength":255,"minLength":1},"size_bytes":{"type":"integer","minimum":1.0},"sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"head":{"type":"string","maxLength":1398105,"minLength":1},"section":{"anyOf":[{"$ref":"#/$defs/SectionIn"},{"type":"null"}]}},"required":["filename","head","persona_id","size_bytes"]},"output":{"$ref":"#/$defs/SourceSpatial"}},"source.spatial.read":{"door":"GET /api/v1/spatial/items/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SourceSpatial"}},"source.spreadsheet.import":{"door":"POST /api/v1/personas/{persona_id}/manifest","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"source_name":{"type":"string","maxLength":255,"minLength":1},"csv":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"storage_key":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}]},"entity_type":{"type":"string","maxLength":64,"default":"post"},"fetch_media":{"type":"boolean","default":false},"media_limit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}]},"analyze_captions":{"type":"boolean","default":false},"caption_limit":{"type":"integer","maximum":100000.0,"minimum":0.0,"default":500},"drop_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["persona_id","source_name"]},"output":{"$ref":"#/$defs/SourceSheet"}},"source.storage.release_preview":{"door":"GET /api/v1/personas/{persona_id}/storage/release-preview","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/SourceRelease"}},"source.storage.retrieve_preview":{"door":"GET /api/v1/personas/{persona_id}/storage/retrieve-preview","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/SourceRetrievePreview"}},"source.sync.stop":{"door":"DELETE /api/v1/personas/{persona_id}/connectors/standing","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"key":{"type":"string"},"forget":{"type":"boolean","default":false}},"required":["key","persona_id"]},"output":{"$ref":"#/$defs/SourceStopped"}},"source.sync.sync":{"door":"POST /api/v1/personas/{persona_id}/connectors/standing/run","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"key":{"type":"string","maxLength":2048,"minLength":1},"readmit_too_large":{"type":"boolean","default":false},"shown_read_estimate_micro":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}]}},"required":["key","persona_id"]},"output":{"$ref":"#/$defs/SourceCheck"}},"source.upload.abandon":{"door":"POST /api/v1/personas/{persona_id}/uploads/multipart/abort","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_key":{"type":"string","maxLength":1024,"minLength":1},"upload_id":{"type":"string","maxLength":1024,"minLength":1}},"required":["persona_id","storage_key","upload_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"source.upload.finish":{"door":"POST /api/v1/personas/{persona_id}/uploads/multipart/complete","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"storage_key":{"type":"string","maxLength":1024,"minLength":1},"upload_id":{"type":"string","maxLength":1024,"minLength":1},"parts":{"items":{"$ref":"#/$defs/MultipartPartIn"},"type":"array","maxItems":10000,"minItems":1},"filename":{"type":"string","maxLength":512,"minLength":1},"content_type":{"type":"string","maxLength":255,"default":"application/octet-stream"},"sha256":{"type":"string","maxLength":64,"minLength":64},"size_bytes":{"type":"integer","minimum":0.0}},"required":["filename","parts","persona_id","sha256","size_bytes","storage_key","upload_id"]},"output":{"$ref":"#/$defs/MultipartDoneOut"}},"source.video_gather.retry":{"door":"POST /api/v1/entities/{entity_id}/gather/retry","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"components":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1}},"required":["components","entity_id"]},"output":{"$ref":"#/$defs/GatherStartOut"}},"source.video_link.gather":{"door":"POST /api/v1/personas/{persona_id}/youtube/ingest","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":2048,"minLength":1},"requested_outputs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"preferred_language":{"type":"string","maxLength":16,"minLength":2,"default":"en"},"allow_translation":{"type":"boolean","default":false},"binary_media":{"type":"string","const":"not_requested","default":"not_requested"},"refresh":{"type":"boolean","default":false},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}]}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/GatherStartOut"}},"source.video_link.preview":{"door":"POST /api/v1/personas/{persona_id}/youtube/preview","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"url":{"type":"string","maxLength":2048,"minLength":1}},"required":["persona_id","url"]},"output":{"$ref":"#/$defs/SourceVideo"}},"source.video_media.acquire":{"door":"POST /api/v1/entities/{entity_id}/gather/acquire","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"purpose":{"type":"string","enum":["media","transcription"]},"force":{"type":"boolean","default":false}},"required":["entity_id","purpose"]},"output":{"$ref":"#/$defs/AcquireOut"}},"stage.camera.set":{"door":"POST /api/v1/creations/{project_id}/stages/{scene_id}/camera","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"type":"string","format":"uuid"},"structure":{"additionalProperties":true,"type":"object"},"op":{"properties":{"shot_id":{"type":"string"},"sensor":{"anyOf":[{"type":"string"},{"type":"null"}]},"lens_mm":{"anyOf":[{"type":"number","maximum":600.0,"minimum":8.0},{"type":"null"}]},"x":{"anyOf":[{"type":"number"},{"type":"null"}]},"z":{"anyOf":[{"type":"number"},{"type":"null"}]},"height_m":{"anyOf":[{"type":"number","maximum":12.0,"minimum":0.1},{"type":"null"}]},"pan_deg":{"anyOf":[{"type":"number"},{"type":"null"}]},"tilt_deg":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}]},"roll_deg":{"anyOf":[{"type":"number","maximum":45.0,"minimum":-45.0},{"type":"null"}]},"aim_at":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["shot_id"]}},"required":["op","project_id","scene_id","structure"]},"output":{"$ref":"#/$defs/StageEdit"}},"stage.copy":{"door":"POST /api/v1/creations/{project_id}/stages/{scene_id}/copy","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"type":"string","format":"uuid"},"to_scene_id":{"type":"string","format":"uuid"},"to_project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"expected_version":{"type":"integer","minimum":0.0,"default":0}},"required":["project_id","scene_id","to_scene_id"]},"output":{"$ref":"#/$defs/StageCopied"}},"stage.place":{"door":"POST /api/v1/creations/{project_id}/stages/{scene_id}/place","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"type":"string","format":"uuid"},"structure":{"additionalProperties":true,"type":"object"},"op":{"properties":{"target":{"type":"string","enum":["cast","prop","world"]},"action":{"type":"string","enum":["add","move","edit","remove"]},"id":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"character_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"height_cm":{"anyOf":[{"type":"number","maximum":250.0,"minimum":50.0},{"type":"null"}]},"build":{"anyOf":[{"type":"string","enum":["lean","muscular","stocky","curvy","petite","average"]},{"type":"null"}]},"item":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}]},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"x":{"anyOf":[{"type":"number"},{"type":"null"}]},"z":{"anyOf":[{"type":"number"},{"type":"null"}]},"facing_deg":{"anyOf":[{"type":"number"},{"type":"null"}]},"rotation_deg":{"anyOf":[{"type":"number"},{"type":"null"}]},"eyeline":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"clear_eyeline":{"type":"boolean","default":false},"world":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["target","action"]}},"required":["op","project_id","scene_id","structure"]},"output":{"$ref":"#/$defs/StageEdit"}},"stage.read":{"door":"GET /api/v1/creations/{project_id}/stages/{scene_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"type":"string","format":"uuid"}},"required":["project_id","scene_id"]},"output":{"$ref":"#/$defs/StageReading"}},"stage.save":{"door":"POST /api/v1/creations/{project_id}/stages/{scene_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"scene_id":{"type":"string","format":"uuid"},"expected_version":{"type":"integer","minimum":0.0},"structure":{"additionalProperties":true,"type":"object"}},"required":["expected_version","project_id","scene_id","structure"]},"output":{"$ref":"#/$defs/StageSaved"}},"tally.create":{"door":"POST /api/v1/tallies","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":500},"unit":{"type":"string","maxLength":500},"kind":{"type":"string","enum":["level","amount"]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["kind","name","persona_id","unit"]},"output":{"$ref":"#/$defs/TallyRecord"}},"tally.edit":{"door":"PATCH /api/v1/tallies/{tally_id}","input":{"type":"object","properties":{"tally_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"unit":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"kind":{"anyOf":[{"type":"string","enum":["level","amount"]},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"clear_note":{"type":"boolean","default":false}},"required":["tally_id"]},"output":{"$ref":"#/$defs/TallyRecord"}},"tally.list":{"door":"GET /api/v1/tallies","input":{"type":"object","properties":{"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/TallyList"}},"tally.point.remove":{"door":"DELETE /api/v1/tallies/{tally_id}/points/{point_id}","input":{"type":"object","properties":{"tally_id":{"type":"string","format":"uuid"},"point_id":{"type":"string","format":"uuid"}},"required":["point_id","tally_id"]},"output":{"$ref":"#/$defs/TallyRemoved"}},"tally.points.add":{"door":"POST /api/v1/tallies/{tally_id}/points","input":{"type":"object","properties":{"tally_id":{"type":"string","format":"uuid"},"points":{"items":{"$ref":"#/$defs/PointIn"},"type":"array","maxItems":1000}},"required":["points","tally_id"]},"output":{"$ref":"#/$defs/TallyPointsAdded"}},"tally.read":{"door":"GET /api/v1/tallies/{tally_id}","input":{"type":"object","properties":{"tally_id":{"type":"string","format":"uuid"},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"every":{"anyOf":[{"enum":["day","week","month","quarter","year"],"type":"string"},{"type":"null"}]}},"required":["tally_id"]},"output":{"$ref":"#/$defs/TallyReading"}},"tally.remove":{"door":"DELETE /api/v1/tallies/{tally_id}","input":{"type":"object","properties":{"tally_id":{"type":"string","format":"uuid"}},"required":["tally_id"]},"output":{"$ref":"#/$defs/TallyRemoved"}},"team.invite.invite":{"door":"POST /api/v1/team/invitations","input":{"type":"object","properties":{"email":{"type":"string","maxLength":320,"minLength":3},"role":{"type":"string","maxLength":24,"default":"member"},"capsule_scopes":{"items":{"$ref":"#/$defs/InviteCapsuleScope"},"type":"array","maxItems":200},"disclosure_ack":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["email"]},"output":{"$ref":"#/$defs/TeamInvite"}},"template_start.instantiate":{"door":"POST /api/v1/workflows/{workflow_id}/runs","input":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"inputs":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"object"},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["workflow_id"]},"output":{"$ref":"#/$defs/app__api__workflows__RunOut"}},"understanding.annotate.bulk":{"door":"POST /api/v1/personas/{persona_id}/annotate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"find":{"type":"string","maxLength":500,"minLength":1},"replace":{"type":"string","maxLength":500},"keys":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"description":"Attribute keys to touch. Optional for a preview (a keyless preview reports per-key counts — that is the discovery step); REQUIRED to apply."},"entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":5000},{"type":"null"}],"description":"Explicit selection (the Library brush). Omit for the whole capsule."},"case_sensitive":{"type":"boolean","default":true},"dry_run":{"type":"boolean","default":true}},"required":["find","persona_id","replace"]},"output":{"$ref":"#/$defs/Annotation"}},"understanding.conflict.resolve":{"door":"POST /api/v1/trust/conflicts/{review_id}/resolve","input":{"type":"object","properties":{"review_id":{"type":"string","format":"uuid"},"winner_attribute_id":{"type":"string","format":"uuid"}},"required":["review_id","winner_attribute_id"]},"output":{"$ref":"#/$defs/ConflictResolved"}},"understanding.connect.preview":{"door":"POST /api/v1/personas/{persona_id}/deep-connect/preview","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":8,"minItems":2},"question":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["entity_ids","persona_id"]},"output":{"$ref":"#/$defs/ConnectPreview"}},"understanding.enhance.run":{"door":"POST /api/v1/personas/{persona_id}/enhancement","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"kinds":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":5000},{"type":"null"}]},"include_derived":{"type":"boolean","default":false}},"required":["persona_id"]},"output":{"$ref":"#/$defs/EnhanceRun"}},"understanding.fact.refresh":{"door":"POST /api/v1/entities/{entity_id}/trust/refresh","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"key":{"type":"string","maxLength":128,"minLength":1}},"required":["entity_id","key"]},"output":{"$ref":"#/$defs/FactRefresh"}},"understanding.read_on_demand.set":{"door":"PUT /api/v1/personas/{persona_id}/read-on-demand","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"on":{"type":"boolean"}},"required":["on","persona_id"]},"output":{"$ref":"#/$defs/ReadOnDemand"}},"understanding.record.create":{"door":"POST /api/v1/canonical","input":{"type":"object","properties":{"kind":{"type":"string","maxLength":32,"minLength":1},"name":{"type":"string","maxLength":512,"minLength":1},"profile":{"additionalProperties":true,"type":"object"}},"required":["kind","name"]},"output":{"$ref":"#/$defs/GoldenRecord"}},"understanding.register.check":{"door":"POST /api/v1/entities/{entity_id}/register/resolve","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RegisterCheck"}},"understanding.search.context":{"door":"POST /api/v1/personas/{persona_id}/search-context","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"q":{"type":"string","maxLength":1000,"minLength":1},"entity_ids":{"items":{"type":"string","format":"uuid","x-kit-id":"item"},"type":"array","maxItems":50,"minItems":1}},"required":["entity_ids","persona_id","q"]},"output":{"$ref":"#/$defs/SearchContextResponse"}},"understanding.source.rate":{"door":"PUT /api/v1/trust/sources/{source_key:path}","input":{"type":"object","properties":{"source_key":{"type":"string"},"tier":{"type":"string"},"score":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}]},"basis":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["source_key","tier"]},"output":{"$ref":"#/$defs/SourceRating"}},"understanding.source.unrate":{"door":"DELETE /api/v1/trust/sources/{source_key:path}","input":{"type":"object","properties":{"source_key":{"type":"string"}},"required":["source_key"]},"output":{"$ref":"#/$defs/SourceCleared"}},"understanding.twin.confirm":{"door":"POST /api/v1/entities/{entity_id}/release-twin","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"other_entity_id":{"type":"string","format":"uuid"}},"required":["entity_id","other_entity_id"]},"output":{"$ref":"#/$defs/ReleaseTwin"}},"veo.prompt.compose":{"door":"POST /api/v1/timeline/prompt/compose","input":{"type":"object","properties":{"subject":{"type":"string","maxLength":2000,"minLength":1},"parts":{"additionalProperties":true,"type":"object"},"brand_world":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"brand_palette":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]}},"required":["subject"]},"output":{"$ref":"#/$defs/LibraryComposed"}},"veo.prompt.continue":{"door":"POST /api/v1/timeline/continue","input":{"type":"object","properties":{"timeline":{"additionalProperties":true,"type":"object"},"clip":{"additionalProperties":true,"type":"object"},"track":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}]}},"required":["clip","timeline"]},"output":{"$ref":"#/$defs/LibraryTimelinePlace"}},"veo.prompt.remix":{"door":"POST /api/v1/timeline/remix","input":{"type":"object","properties":{"timeline":{"additionalProperties":true,"type":"object"},"style":{"type":"string","maxLength":80,"minLength":1}},"required":["style","timeline"]},"output":{"$ref":"#/$defs/LibraryTimelineRemix"}},"work.disposition.read":{"door":"GET /api/v1/entities/{entity_id}/completeness","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/WorkCompleteness"}},"work.list.read":{"door":"GET /api/v1/jobs","input":{"type":"object","properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"output":{"type":"array","items":{"$ref":"#/$defs/JobStatusOut"}}},"work.queue.boost":{"door":"POST /api/v1/jobs/boost","input":{"type":"object","properties":{"job_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}}},"output":{"$ref":"#/$defs/BoostOut"}},"work.retry.retry":{"door":"POST /api/v1/jobs/{job_id}/requeue","input":{"type":"object","properties":{"job_id":{"type":"string","format":"uuid"}},"required":["job_id"]},"output":{"$ref":"#/$defs/JobStatusOut"}},"writer.allowance.read":{"door":"GET /api/v1/writing/baseline","input":{"type":"object","properties":{}},"output":{"$ref":"#/$defs/AllowanceOut"}},"writer.articles.draft":{"door":"POST /api/v1/writing/personas/{persona_id}/from-articles","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"urls":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1},"tone":{"type":"string","maxLength":30,"default":"informative"},"format":{"type":"string","maxLength":60,"default":"article"},"title":{"type":"string","maxLength":200,"default":""}},"required":["persona_id","urls"]},"output":{"$ref":"#/$defs/FromArticlesOut"}},"writer.bridge.convert":{"door":"POST /api/v1/writing/projects/{project_id}/convert","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"target_format":{"type":"string","maxLength":40},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id","target_format"]},"output":{"$ref":"#/$defs/ProjectConvertRun"}},"writer.capture.assign":{"door":"POST /api/v1/writing/documents/{entity_id}/capture/assign","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"}},"required":["entity_id","project_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.capture.dismiss":{"door":"POST /api/v1/writing/documents/{entity_id}/capture/dismiss","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.capture.file":{"door":"POST /api/v1/writing/personas/{persona_id}/capture","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"content":{"type":"string","maxLength":20000,"minLength":1},"source":{"type":"string","maxLength":40,"default":"text"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"hint":{"type":"string","maxLength":200,"default":""}},"required":["content","persona_id"]},"output":{"$ref":"#/$defs/CaptureOut"}},"writer.capture.from_recording":{"door":"POST /api/v1/writing/personas/{persona_id}/captures/voice","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["entity_id","persona_id"]},"output":{"$ref":"#/$defs/VoiceCaptureOut"}},"writer.capture.route_voice":{"door":"POST /api/v1/writing/documents/{entity_id}/voice","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"transcript":{"type":"string","maxLength":20000,"minLength":1}},"required":["entity_id","transcript"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.capture.to_scene":{"door":"POST /api/v1/writing/documents/{entity_id}/turn-into-scene","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RunHandle"}},"writer.chain.save":{"door":"step:promote_to_canon","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_type":{"type":"string","default":"workflow_output"},"attributes":{"type":"object","description":"non-empty attribute key → value map","minProperties":1},"lawful_basis":{"type":"string","enum":["consent","contract","legitimate_interest","owner_content","public_source","unknown"],"description":"the lawful basis the data is held on (default varies per step — see description)"}},"required":["persona_id","attributes"],"additionalProperties":true},"output":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"attributes_written":{"type":"array","items":{"type":"string"}}},"required":["entity_id","attributes_written"]}},"writer.chain.step":{"door":"POST /api/v1/writing/personas/{persona_id}/generate","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string","maxLength":200,"minLength":1},"premise":{"type":"string","default":""},"brief":{"type":"string","default":""},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":4.0},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["format","persona_id","title"]},"output":{"$ref":"#/$defs/RunHandle"}},"writer.consistency.scan":{"door":"GET /api/v1/writing/documents/{entity_id}/consistency","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DraftConsistency"}},"writer.draft.accept":{"door":"POST /api/v1/writing/documents/{entity_id}/proposal/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.adopt":{"door":"POST /api/v1/writing/personas/{persona_id}/documents/from-entity","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id","persona_id"]},"output":{"$ref":"#/$defs/AdoptOut"}},"writer.draft.apply_review":{"door":"POST /api/v1/writing/documents/{entity_id}/apply-revisions","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.convert":{"door":"POST /api/v1/writing/documents/{entity_id}/convert","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"target_format":{"type":"string"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["entity_id","target_format"]},"output":{"$ref":"#/$defs/ConvertRun"}},"writer.draft.create":{"door":"POST /api/v1/writing/personas/{persona_id}/documents","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","default":""},"structure":{"additionalProperties":true,"type":"object"}},"required":["format","persona_id","title"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.decline":{"door":"POST /api/v1/writing/documents/{entity_id}/proposal/decline","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.export":{"door":"GET /api/v1/writing/documents/{entity_id}/export","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"format":{"type":"string","default":"md"},"author":{"type":"string","maxLength":200,"default":""}},"required":["entity_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"writer.draft.fact_check":{"door":"POST /api/v1/writing/documents/{entity_id}/fact-check","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/FactCheckOut"}},"writer.draft.find":{"door":"hand:find_document","input":{"type":"object","properties":{"title":{"description":"the draft's title as the owner said it","maxLength":300,"minLength":1,"type":"string"},"navigate":{"default":true,"description":"open the draft once it is found","type":"boolean"}},"required":["title"],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"writer.draft.generate_batch":{"door":"POST /api/v1/writing/personas/{persona_id}/generate/batch","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"ideas":{"items":{"$ref":"#/$defs/BatchIdea"},"type":"array","maxItems":40,"minItems":1},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":4.0},{"type":"null"}]},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["format","ideas","persona_id"]},"output":{"$ref":"#/$defs/BatchRuns"}},"writer.draft.history":{"door":"GET /api/v1/writing/documents/{entity_id}/history","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/HistoryOut"}},"writer.draft.inspect":{"door":"hand:inspect_document","input":{"type":"object","properties":{"entity_id":{"description":"Library item id","maxLength":80,"minLength":1,"type":"string","x-kit-id":"item"}},"required":["entity_id"],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"writer.draft.list":{"door":"GET /api/v1/writing/personas/{persona_id}/documents","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/DocumentOut"}}},"writer.draft.lock":{"door":"POST /api/v1/creations/{project_id}/script/lock","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"reviewer_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/Creation"}},"writer.draft.refresh_canon":{"door":"POST /api/v1/writing/documents/{entity_id}/refresh-canon","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.restore":{"door":"POST /api/v1/writing/documents/{entity_id}/restore","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"version":{"type":"string"},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id","version"]},"output":{"$ref":"#/$defs/DocumentRecord"}},"writer.draft.review":{"door":"POST /api/v1/writing/documents/{entity_id}/review","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"kind":{"type":"string","default":"coverage"},"force":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ReviewOut"}},"writer.draft.revise_selection":{"door":"POST /api/v1/writing/documents/{entity_id}/revise-selection","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"start":{"type":"integer","minimum":0.0},"end":{"type":"integer","exclusiveMinimum":0.0},"selected_text":{"type":"string","maxLength":20000,"minLength":1},"instruction":{"type":"string","maxLength":2000,"default":""}},"required":["end","entity_id","selected_text","start"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.save":{"door":"PUT /api/v1/writing/documents/{entity_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"structure":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.draft.to_duration":{"door":"POST /api/v1/writing/projects/{project_id}/monologue","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"minutes":{"type":"integer"},"topics":{"type":"string","maxLength":4001,"default":""}},"required":["minutes","project_id"]},"output":{"$ref":"#/$defs/TimedDraftOut"}},"writer.draft.version":{"door":"GET /api/v1/writing/documents/{entity_id}/versions/{version}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"version":{"type":"string"}},"required":["entity_id","version"]},"output":{"$ref":"#/$defs/DocumentRecord"}},"writer.element.develop":{"door":"POST /api/v1/writing/elements/{entity_id}/develop","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"guidance":{"type":"string","maxLength":2000,"default":""},"use_visuals":{"type":"boolean","default":false}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ElementOut"}},"writer.files.add":{"door":"POST /api/v1/writing/projects/{project_id}/files","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"status":{"type":"string","default":"to_read"}},"required":["entity_id","project_id"]},"output":{"$ref":"#/$defs/CabinetFileOut"}},"writer.files.remove":{"door":"DELETE /api/v1/writing/projects/{project_id}/files/{file_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"file_id":{"type":"string","format":"uuid"}},"required":["file_id","project_id"]},"output":{"type":"string","format":"binary","x-kit-kind":"file","description":"a downloaded file"}},"writer.from_articles.generate":{"door":"POST /api/v1/writing/projects/{project_id}/from-articles","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"urls":{"items":{"type":"string"},"type":"array","maxItems":7},"tone":{"type":"string","maxLength":24,"default":"observational"},"format":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"runtime_minutes":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":1.0},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["project_id","urls"]},"output":{"$ref":"#/$defs/ArticlesRun"}},"writer.jokes.hit_list":{"door":"GET /api/v1/writing/projects/{project_id}/hit-list/{document_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["document_id","project_id"]},"output":{"$ref":"#/$defs/HitListOut"}},"writer.jokes.parse":{"door":"POST /api/v1/writing/projects/{project_id}/hit-list/{document_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_id":{"type":"string","format":"uuid","x-kit-id":"item"},"indexes":{"items":{"type":"integer"},"type":"array","maxItems":501},"version_from":{"type":"string","maxLength":64}},"required":["document_id","indexes","project_id","version_from"]},"output":{"$ref":"#/$defs/JokesAdded"}},"writer.jokes.save":{"door":"POST /api/v1/writing/projects/{project_id}/jokes","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"setup":{"type":"string","maxLength":601,"default":""},"punchline":{"type":"string","maxLength":601,"default":""},"topic":{"type":"string","maxLength":81,"default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":9},"rating":{"type":"integer","default":0},"notes":{"type":"string","maxLength":601,"default":""},"seconds":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/JokeSaved"}},"writer.journal.entry":{"door":"POST /api/v1/writing/personas/{persona_id}/journal","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"text":{"type":"string","maxLength":20000,"minLength":1},"mood":{"type":"string","maxLength":80,"minLength":1},"type":{"type":"string","maxLength":40,"minLength":1},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["mood","persona_id","text","type"]},"output":{"$ref":"#/$defs/JournalOut"}},"writer.location.prep":{"door":"POST /api/v1/writing/projects/{project_id}/tour/{date_id}/prep","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"date_id":{"type":"string"}},"required":["date_id","project_id"]},"output":{"$ref":"#/$defs/BeatSheetOut"}},"writer.lock.audit":{"door":"POST /api/v1/writing/documents/{entity_id}/lock-audit/{finding_id}","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"finding_id":{"type":"string"},"decision":{"type":"string","pattern":"^(name|keep|same|different)$"},"name":{"type":"string","maxLength":60,"default":""}},"required":["decision","entity_id","finding_id"]},"output":{"$ref":"#/$defs/LockAuditOut"}},"writer.picture.accept":{"door":"POST /api/v1/writing/documents/{entity_id}/visual-revision/accept","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.picture.bind":{"door":"POST /api/v1/writing/documents/{entity_id}/illustrate/bind","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"run_id":{"type":"string","format":"uuid"},"spread_n":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}]},"comment":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id","run_id"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.picture.discard":{"door":"POST /api/v1/writing/documents/{entity_id}/visual-revision/discard","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"}},"required":["entity_id"]},"output":{"$ref":"#/$defs/RevisionOut"}},"writer.picture.illustrate":{"door":"POST /api/v1/writing/documents/{entity_id}/illustrate","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/SpreadsRun"}},"writer.picture.propose":{"door":"POST /api/v1/writing/documents/{entity_id}/visual-revision/propose","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"run_id":{"type":"string","format":"uuid"},"n":{"type":"integer","minimum":1.0},"instruction":{"type":"string","maxLength":1000,"default":""}},"required":["entity_id","n","run_id"]},"output":{"$ref":"#/$defs/RevisionOut"}},"writer.picture.redraw":{"door":"POST /api/v1/writing/documents/{entity_id}/illustrate/spread","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"n":{"type":"integer","minimum":1.0},"comment":{"type":"string","maxLength":1000,"default":""},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id","n"]},"output":{"$ref":"#/$defs/SpreadRun"}},"writer.picture.storyboard":{"door":"POST /api/v1/writing/documents/{entity_id}/storyboard","input":{"type":"object","properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"shown_credits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Credits the quote showed at the press; a different current price is refused."},"max_shots":{"type":"integer","maximum":12.0,"minimum":1.0,"default":8},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["entity_id"]},"output":{"$ref":"#/$defs/ShotsRun"}},"writer.project.attach":{"door":"hand:attach_to_project","input":{"type":"object","properties":{"document_id":{"description":"writing document id","maxLength":80,"minLength":1,"type":"string","x-kit-id":"item"},"project_id":{"maxLength":80,"minLength":1,"type":"string"}},"required":["document_id","project_id"],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"writer.project.create":{"door":"POST /api/v1/writing/personas/{persona_id}/projects","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"branch":{"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"logline":{"type":"string","maxLength":1000,"default":""},"premise":{"type":"string","maxLength":8000,"default":""},"params":{"additionalProperties":true,"type":"object"}},"required":["branch","name","persona_id"]},"output":{"$ref":"#/$defs/ProjectOut"}},"writer.project.delete":{"door":"DELETE /api/v1/writing/projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"dry_run":{"type":"boolean","default":false}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectRemoved"}},"writer.project.list":{"door":"GET /api/v1/writing/personas/{persona_id}/projects","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/ProjectOut"}}},"writer.project.read":{"door":"hand:list_projects","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"writer.project.resolve":{"door":"hand:resolve_project","input":{"type":"object","properties":{"name":{"description":"project name as the owner said it","maxLength":200,"minLength":1,"type":"string"}},"required":["name"],"additionalProperties":false},"output":{"type":"object","properties":{"request_id":{"type":"string"},"idempotency_key":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"tenant_id":{"type":"string"},"status":{"enum":["proposed","awaiting_approval","accepted","running","partial","completed","failed","cancelled"],"type":"string"},"input_object_ids":{"items":{"type":"string"},"type":"array"},"destination_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"result_artifact_ids":{"items":{"type":"string"},"type":"array"},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"cost_estimate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"actual_usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"warnings":{"items":{"type":"string"},"type":"array"},"errors":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"undo_action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"result":{"additionalProperties":true,"type":"object"},"at":{"type":"string"}},"required":["request_id","idempotency_key","action","actor","tenant_id","status"]}},"writer.project.update":{"door":"PATCH /api/v1/writing/projects/{project_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"anyOf":[{"type":"string"},{"type":"null"}]},"logline":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"premise":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}]},"params":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"required":["project_id"]},"output":{"$ref":"#/$defs/ProjectOut"}},"writer.query.package":{"door":"POST /api/v1/writing/projects/{project_id}/query-package","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"query_letter":{"type":"string","maxLength":20000,"minLength":1},"synopsis_short":{"type":"string","maxLength":20000,"default":""},"synopsis_full":{"type":"string","maxLength":20000,"default":""},"comparable_titles":{"items":{"$ref":"#/$defs/CompTitle"},"type":"array","maxItems":10},"author_bio":{"type":"string","maxLength":20000,"default":""},"extract_document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":5}},"required":["project_id","query_letter"]},"output":{"$ref":"#/$defs/DocumentOut"}},"writer.research.import":{"door":"POST /api/v1/writing/projects/{project_id}/import-research/{run_id}","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"run_id":{"type":"string","format":"uuid"}},"required":["project_id","run_id"]},"output":{"type":"array","items":{"$ref":"#/$defs/ElementOut"}}},"writer.roast.generate":{"door":"POST /api/v1/writing/projects/{project_id}/roast","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"subject":{"type":"string","maxLength":201},"tone":{"type":"string","maxLength":16,"default":"medium"},"length":{"type":"string","maxLength":16,"default":"standard"},"minutes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"traits":{"type":"string","maxLength":4001,"default":""},"off_limits":{"type":"string","maxLength":4001,"default":""}},"required":["project_id","subject"]},"output":{"$ref":"#/$defs/app__api__writing_answers__RoastOut"}},"writer.rooms.bridge":{"door":"POST /api/v1/writing/projects/{project_id}/bridge","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"target_format":{"type":"string","maxLength":60,"minLength":1},"target_branch":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}]},"name":{"type":"string","maxLength":200,"default":""}},"required":["project_id","target_format"]},"output":{"$ref":"#/$defs/BridgeOut"}},"writer.script.import":{"door":"POST /api/v1/writing/personas/{persona_id}/screenplay/import","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"filename":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"text":{"type":"string","maxLength":2000000,"minLength":1},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"document_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"expected_version":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["persona_id","text"]},"output":{"$ref":"#/$defs/ImportOut"}},"writer.set.compile":{"door":"POST /api/v1/writing/projects/{project_id}/sets","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":121},"joke_ids":{"items":{"type":"string"},"type":"array","maxItems":121},"target_minutes":{"type":"integer"},"file_draft":{"type":"boolean","default":false}},"required":["joke_ids","name","project_id","target_minutes"]},"output":{"$ref":"#/$defs/SetListOut"}},"writer.stitch.assemble":{"door":"POST /api/v1/writing/projects/{project_id}/stitch","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":41},"title":{"type":"string","maxLength":200,"default":""}},"required":["document_ids","project_id"]},"output":{"$ref":"#/$defs/StitchOut"}},"writer.tour.beat_sheet":{"door":"GET /api/v1/writing/projects/{project_id}/tour/{date_id}/beat-sheet","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"date_id":{"type":"string"}},"required":["date_id","project_id"]},"output":{"$ref":"#/$defs/BeatSheetOut"}},"writer.tour.prep":{"door":"POST /api/v1/writing/projects/{project_id}/tour","input":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid"},"city":{"type":"string","maxLength":81},"state":{"type":"string","maxLength":81,"default":""},"venue":{"type":"string","maxLength":121,"default":""},"date":{"type":"string","maxLength":32},"notes":{"type":"string","maxLength":601,"default":""},"bit_ids":{"items":{"type":"string"},"type":"array","maxItems":121},"material":{"items":{"$ref":"#/$defs/MaterialIn"},"type":"array","maxItems":20},"date_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["city","date","project_id"]},"output":{"$ref":"#/$defs/BeatSheetOut"}},"writer.voice.adopt":{"door":"POST /api/v1/writing/personas/{persona_id}/voice/proposal/adopt","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"voice":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/VoiceText"}},"writer.voice.autoadopt":{"door":"PUT /api/v1/writing/personas/{persona_id}/voice/autoadopt","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"enabled":{"type":"boolean"}},"required":["enabled","persona_id"]},"output":{"$ref":"#/$defs/VoiceAuto"}},"writer.voice.command":{"door":"POST /api/v1/writing/personas/{persona_id}/voice-command","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"utterance":{"type":"string","maxLength":20000,"minLength":1}},"required":["persona_id","utterance"]},"output":{"$ref":"#/$defs/VoiceCommandOut"}},"writer.voice.derive":{"door":"POST /api/v1/writing/personas/{persona_id}/voice/derive","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]}},"required":["persona_id"]},"output":{"$ref":"#/$defs/VoiceProposal"}},"writer.voice.dismiss":{"door":"POST /api/v1/writing/personas/{persona_id}/voice/proposal/dismiss","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/Dismissed"}},"writer.voice.interview":{"door":"POST /api/v1/writing/personas/{persona_id}/style-quiz","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"answers":{"additionalProperties":{"type":"string"},"type":"object"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/QuizOut"}},"writer.voice.remake":{"door":"POST /api/v1/writing/personas/{persona_id}/voice/remake","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"fixture_id":{"type":"string","maxLength":80,"default":"britannica-1911-salt"}},"required":["persona_id"]},"output":{"$ref":"#/$defs/RemakeOut"}},"writer.voice.remove_profile":{"door":"DELETE /api/v1/writing/personas/{persona_id}/voices/{voice_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"voice_id":{"type":"string"}},"required":["persona_id","voice_id"]},"output":{"$ref":"#/$defs/VoiceRemoved"}},"writer.voice.save_profile":{"door":"POST /api/v1/writing/personas/{persona_id}/voices","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string","maxLength":80,"minLength":1},"voice":{"type":"string","maxLength":2000,"minLength":1},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]}},"required":["name","persona_id","voice"]},"output":{"$ref":"#/$defs/VoiceProfileOut"}},"writer.voice.set":{"door":"PUT /api/v1/writing/personas/{persona_id}/voice","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"voice":{"type":"string","maxLength":2000,"default":""}},"required":["persona_id"]},"output":{"$ref":"#/$defs/VoiceSaved"}},"writer.voice.update_profile":{"door":"PUT /api/v1/writing/personas/{persona_id}/voices/{voice_id}","input":{"type":"object","properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"voice_id":{"type":"string"},"name":{"type":"string","maxLength":80,"minLength":1},"voice":{"type":"string","maxLength":2000,"minLength":1},"include_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"exclude_entity_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}]},"collection_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"collection"},{"type":"null"}]}},"required":["name","persona_id","voice","voice_id"]},"output":{"$ref":"#/$defs/VoiceProfileOut"}}},"$defs":{"AccessAsked":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"kind":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}]},"opened_automatically":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","kind","status","message","decision_note","opened_automatically","created_at","decided_at","claimed_at"]},"AccessCapability":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"gate":{"type":"string"},"allowed":{"type":"boolean"},"reason":{"type":"string"},"description":{"type":"string"},"enforced_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","label","gate","allowed","reason","description","enforced_at"]},"AccessCapsule":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name"]},"AccessClaim":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"kind":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}]},"opened_automatically":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"type":"string","x-kit-id":"capsule"},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"terms":{"additionalProperties":true,"type":"object"},"listing_snapshot_hash":{"type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","kind","status","message","decision_note","opened_automatically","created_at","decided_at","claimed_at","capsule_id","persona_name","terms","listing_snapshot_hash","expires_at"]},"AccessComputer":{"properties":{"name":{"type":"string"},"replaced":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["name","replaced"]},"AccessDecision":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"requester_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}]},"opened_automatically":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","persona_name","requester_email","kind","message","status","decision_note","opened_automatically","created_at","decided_at","claimed_at"]},"AccessGates":{"properties":{"basis_ceiling":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"shared_face":{"type":"boolean"},"notes":{"type":"string"}},"additionalProperties":true,"type":"object","required":["basis_ceiling","shared_face","notes"]},"AccessIdentity":{"properties":{"kind":{"type":"string"},"subject":{"type":"string"},"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"tenant_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","subject","email","role","tenant_id"]},"AccessKey":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"oauth_client_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"grant_scoped":{"type":"boolean"},"workspace_ops":{"type":"boolean"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"spend_pass_micro":{"type":"integer"},"spend_day_micro":{"type":"integer"},"spent_day_micro":{"type":"integer"},"computer":{"anyOf":[{"$ref":"#/$defs/AccessComputer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","scopes","oauth_client_id","created_at","expires_at","active","grant_scoped","workspace_ops","last_used_at","spend_pass_micro","spend_day_micro","spent_day_micro","computer"]},"AccessMember":{"properties":{"active":{"type":"boolean"},"identity":{"$ref":"#/$defs/AccessIdentity"},"capabilities":{"items":{"$ref":"#/$defs/AccessCapability"},"type":"array"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"platform_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"reach":{"anyOf":[{"$ref":"#/$defs/AccessReach"},{"type":"null"}]},"context_gates":{"anyOf":[{"$ref":"#/$defs/AccessGates"},{"type":"null"}]},"metering":{"anyOf":[{"$ref":"#/$defs/AccessMeter"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["active","identity","capabilities"]},"AccessMeter":{"properties":{"metered":{"type":"boolean"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"price_minor_units":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"quota":{"anyOf":[{"type":"integer"},{"type":"null"}]},"period_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"used":{"anyOf":[{"type":"integer"},{"type":"null"}]},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}]},"window_start":{"anyOf":[{"type":"string"},{"type":"null"}]},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["metered"]},"AccessReach":{"properties":{"capsules":{"anyOf":[{"items":{"$ref":"#/$defs/AccessCapsule"},"type":"array"},{"type":"null"}]},"write_capsules":{"anyOf":[{"items":{"$ref":"#/$defs/AccessCapsule"},"type":"array"},{"type":"null"}]},"tenant_wide":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["capsules","write_capsules","tenant_wide"]},"AccountDeparture":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"owner_tenant_id":{"type":"string"},"co_owner_tenant_id":{"type":"string"},"co_owner_tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"type":"string"},"revenue_share_bps":{"type":"integer"},"revenue_share_percent":{"type":"number"},"invited_email":{"type":"string"},"status":{"type":"string"},"invited_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"accepted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","owner_tenant_id","co_owner_tenant_id","role","revenue_share_bps","revenue_share_percent","invited_email","status"]},"AcquireOut":{"properties":{"job_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"purpose":{"type":"string"},"note":{"type":"string"},"gather":{"additionalProperties":true,"type":"object"}},"type":"object","required":["job_id","entity_id","purpose","note","gather"]},"ActivityEvent":{"properties":{"id":{"type":"string"},"direction":{"type":"string"},"at":{"type":"string"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"surface":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","direction","at","surface"]},"ActivityLog":{"properties":{"events":{"items":{"$ref":"#/$defs/ActivityEvent"},"type":"array"},"summary":{"$ref":"#/$defs/ActivitySummary"},"notes":{"$ref":"#/$defs/ActivityNotes"}},"additionalProperties":true,"type":"object","required":["events","summary","notes"]},"ActivityNotes":{"properties":{"llm_spend_basis":{"type":"string"},"byok_excluded":{"type":"boolean"},"your_key_basis":{"type":"string"},"byok_basis":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true,"type":"object","required":["llm_spend_basis","byok_excluded","your_key_basis","byok_basis","currency"]},"ActivitySummary":{"properties":{"llm_spend_micro_24h":{"type":"integer"},"llm_calls_24h":{"type":"integer"},"llm_spend_micro_7d":{"type":"integer"},"llm_calls_7d":{"type":"integer"},"consumer_calls_7d":{"type":"integer"},"consumer_units_7d":{"type":"integer"},"your_key_calls_7d":{"type":"integer"},"your_key_tokens_in_7d":{"type":"integer"},"your_key_tokens_out_7d":{"type":"integer"},"your_key_price_minor_7d":{"type":"integer"},"your_key_estimated_minor_7d":{"type":"integer"},"your_key_unpriced_calls_7d":{"type":"integer"},"receipts_7d":{"additionalProperties":{"$ref":"#/$defs/ReceiptWindow"},"type":"object"}},"additionalProperties":true,"type":"object","required":["llm_spend_micro_24h","llm_calls_24h","llm_spend_micro_7d","llm_calls_7d","consumer_calls_7d","consumer_units_7d","your_key_calls_7d","your_key_tokens_in_7d","your_key_tokens_out_7d","your_key_price_minor_7d","your_key_estimated_minor_7d","your_key_unpriced_calls_7d","receipts_7d"]},"AdoptOut":{"properties":{"document":{"$ref":"#/$defs/DocumentOut"},"source":{"$ref":"#/$defs/AdoptSourceOut"},"eligible":{"type":"boolean"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["document","source","eligible"]},"AdoptSourceOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"type":"string"},"source_chars":{"type":"integer"},"parsed_chars":{"type":"integer"},"included_chars":{"type":"integer"},"pages_est":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"type":"object","required":["entity_id","title","source_chars","parsed_chars","included_chars"]},"AgentOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"instructions":{"type":"string"},"tools":{"items":{},"type":"array"},"skills":{"items":{},"type":"array"},"tier":{"type":"string"},"max_iterations":{"type":"integer"},"budget_micro":{"type":"integer"},"status":{"type":"string"},"schedule":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"persona_scope":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"comms_channels":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"egress_enabled":{"type":"boolean","default":false},"egress_allow_hosts":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"egress_ack":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"act_for":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"effective_tools":{"items":{"type":"string"},"type":"array","readOnly":true},"always_on_tools":{"items":{"type":"string"},"type":"array","readOnly":true},"schedule_note":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why the schedule stopped, when it waits for its owner to turn it on again (A87).","readOnly":true}},"type":"object","required":["id","name","instructions","tools","skills","tier","max_iterations","budget_micro","status","created_at","effective_tools","always_on_tools","schedule_note"]},"Agreed":{"properties":{"how":{"type":"string"},"words":{"anyOf":[{"type":"string"},{"type":"null"}]},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["how"]},"Allowance":{"properties":{"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}]},"unlimited":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["remaining","unlimited"]},"AllowanceOut":{"properties":{"byok":{"type":"boolean"},"allowance_micro":{"type":"integer"},"used_micro":{"type":"integer"},"remaining_micro":{"type":"integer"},"exhausted":{"type":"boolean"},"your_key":{"$ref":"#/$defs/YourKey"}},"additionalProperties":true,"type":"object","required":["byok","allowance_micro","used_micro","remaining_micro","exhausted","your_key"]},"AnalysisBlocker":{"properties":{"code":{"type":"string"},"sentence":{"type":"string"},"next_move":{"type":"string"},"layers":{"items":{"type":"string"},"type":"array"},"closed_at":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["code","sentence","next_move","layers","closed_at","note"]},"AnalysisClosed":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"status":{"type":"string","const":"nothing_to_do"},"layers":{"items":{"$ref":"#/$defs/CompletenessLayer"},"type":"array"},"blocker":{"$ref":"#/$defs/AnalysisBlocker"},"finish":{"$ref":"#/$defs/AnalysisFinish"},"device_task":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","status","layers","blocker","finish","device_task"]},"AnalysisFinish":{"properties":{"available":{"type":"boolean"},"plan":{"items":{"$ref":"#/$defs/FinishPlan"},"type":"array"},"layers":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["available","plan","layers"]},"AnalysisIntent":{"properties":{"links":{"type":"string","enum":["media_or_page","media_only"]},"choices":{"items":{"$ref":"#/$defs/IntentChoice"},"type":"array"},"always":{"type":"string"}},"additionalProperties":true,"type":"object","required":["links","choices","always"]},"AnalysisLayer":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"group":{"type":"string"},"tier":{"type":"string"},"toggleable":{"type":"boolean"},"description":{"type":"string"},"load_bearing":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","label","group","tier","toggleable","description","load_bearing","enabled"]},"AnalysisProfile":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"layers":{"items":{"$ref":"#/$defs/AnalysisLayer"},"type":"array"},"disabled":{"items":{"type":"string"},"type":"array"},"intent":{"$ref":"#/$defs/AnalysisIntent"}},"additionalProperties":true,"type":"object","required":["persona_id","layers","disabled","intent"]},"AnalysisRepair":{"properties":{"target":{"type":"string"},"limit":{"type":"integer"},"dry_run":{"type":"boolean"},"queued":{"anyOf":[{"type":"integer"},{"type":"null"}]},"would_queue":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["target","limit","dry_run"]},"AnalysisRequest":{"properties":{"ticket_id":{"type":"string"},"status":{"type":"string","const":"open"},"kind":{"type":"string","const":"analysis_request"}},"additionalProperties":true,"type":"object","required":["ticket_id","status","kind"]},"AnalyzeBulk":{"properties":{"matched":{"type":"integer"},"queued_this_run":{"type":"integer"},"enqueued":{"type":"integer"},"already_queued":{"type":"integer"},"deferred_quota":{"type":"integer"},"skipped":{"type":"integer"},"gone":{"items":{"type":"string"},"type":"array"},"derived_added":{"type":"integer"},"remaining":{"type":"integer"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"}},"additionalProperties":true,"type":"object","required":["matched","queued_this_run","enqueued","already_queued","deferred_quota","skipped","gone","derived_added","remaining","counts"]},"Annotation":{"properties":{"dry_run":{"type":"boolean"},"find":{"type":"string"},"replace":{"type":"string"},"case_sensitive":{"type":"boolean"},"examined":{"type":"integer"},"matched_attributes":{"type":"integer"},"matched_entities":{"type":"integer"},"occurrences":{"type":"integer"},"changed":{"type":"integer"},"already_annotated":{"type":"integer"},"remaining":{"type":"integer"},"scan_truncated":{"type":"boolean"},"by_key":{"additionalProperties":{"$ref":"#/$defs/AnnotationKey"},"type":"object"},"samples":{"items":{"$ref":"#/$defs/AnnotationSample"},"type":"array"},"gone":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["dry_run","find","replace","case_sensitive","examined","matched_attributes","matched_entities","occurrences","changed","already_annotated","remaining","scan_truncated","by_key","samples","gone"]},"AnnotationKey":{"properties":{"attributes":{"type":"integer"},"occurrences":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["attributes","occurrences"]},"AnnotationSample":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"key":{"type":"string"},"before":{"type":"string"},"after":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","key","before","after"]},"AppCheck":{"properties":{"check":{"type":"string"},"status":{"type":"string"},"sentence":{"type":"string"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["check","status","sentence","detail"]},"AppFace":{"properties":{"ui":{},"workflows":{"items":{"type":"string"},"type":"array"},"workflow_ref":{}},"additionalProperties":true,"type":"object","required":["ui","workflows","workflow_ref"]},"AppFieldProblem":{"properties":{"field":{"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true,"type":"object","required":["field","message","detail"]},"AppPackageDraft":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"manifest":{"additionalProperties":true,"type":"object"},"draft_id":{"type":"string"},"preflight":{"$ref":"#/$defs/AppPreflight"},"passed":{"type":"boolean"},"checks":{"items":{"$ref":"#/$defs/AppCheck"},"type":"array"},"results":{"additionalProperties":true,"type":"object"},"field_problems":{"items":{"$ref":"#/$defs/AppFieldProblem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["workflow_id","manifest","draft_id","preflight","passed","checks","results","field_problems"]},"AppPackagePreflight":{"properties":{"shippable":{"type":"boolean"},"refused_steps":{"items":{"type":"string"},"type":"array"},"generalized":{"items":{"type":"string"},"type":"array"},"inputs":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"},"workflow_id":{"type":"string","x-kit-id":"workflow"},"name":{"type":"string"},"version":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["shippable","refused_steps","generalized","inputs","message","workflow_id","name","version"]},"AppPreflight":{"properties":{"shippable":{"type":"boolean"},"refused_steps":{"items":{"type":"string"},"type":"array"},"generalized":{"items":{"type":"string"},"type":"array"},"inputs":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"}},"additionalProperties":true,"type":"object","required":["shippable","refused_steps","generalized","inputs","message"]},"AppReviewNote":{"properties":{"id":{"type":"string"},"module_id":{"type":"string"},"kind":{"type":"string","const":"author"},"body":{"type":"string"},"from_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"to_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","module_id","kind","body","from_status","to_status","created_at"]},"AppShelfPin":{"properties":{"module_slug":{"type":"string"},"pinned":{"type":"boolean"},"uses":{"type":"integer"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["module_slug","pinned","uses","last_used_at"]},"ApprovalIn":{"properties":{"state":{"type":"string","maxLength":10,"default":"pending"},"cc":{"type":"string","maxLength":5,"default":"auto"},"slug":{"type":"string","maxLength":40,"default":""},"note":{"type":"string","maxLength":200,"default":""}},"type":"object"},"ArchiveCapabilities":{"properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"expandable":{"type":"boolean"},"flat_preview":{"type":"boolean"},"inline_inspect":{"type":"boolean"},"expand":{"type":"boolean"},"limits":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["expandable","flat_preview","inline_inspect","expand","limits"]},"ArchiveExpand":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"analyze":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["state","analyze"]},"ArchiveRead":{"properties":{"state":{"type":"string"},"capabilities":{"$ref":"#/$defs/ArchiveCapabilities"},"manifest":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["state","capabilities"]},"ArticleRead":{"properties":{"url":{"type":"string"},"title":{"type":"string"},"words":{"type":"integer"},"read":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["url","title","words","read"]},"ArticlesRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"format":{"type":"string"},"title":{"type":"string"},"articles":{"items":{"$ref":"#/$defs/ArticleRead"},"type":"array"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","format","title","articles"]},"Ask":{"properties":{"id":{"type":"string"},"caller":{"type":"string"},"action":{"type":"string"},"reason":{"type":"string"},"approval_class":{"type":"string"},"amount_micro":{"anyOf":[{"type":"integer"},{"type":"null"}]},"amount":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"expires_at":{"type":"string"},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"outcome":{},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","caller","action","reason","approval_class","status","expires_at"]},"AskAnswer":{"properties":{"ask":{"$ref":"#/$defs/Ask"},"receipt":{}},"additionalProperties":true,"type":"object","required":["ask"]},"AskAnswerOut":{"properties":{"role":{"type":"string"},"content":{"type":"string"},"at":{"type":"string"},"clause_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"clause_heading":{"anyOf":[{"type":"string"},{"type":"null"}]},"read":{"$ref":"#/$defs/AskRead"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["role","content","at","read"]},"AskDecided":{"properties":{"ask":{"$ref":"#/$defs/Ask"}},"additionalProperties":true,"type":"object","required":["ask"]},"AskList":{"properties":{"asks":{"items":{"$ref":"#/$defs/Ask"},"type":"array"}},"additionalProperties":true,"type":"object","required":["asks"]},"AskRead":{"properties":{"mode":{"type":"string"},"chars_read":{"type":"integer"},"chars_total":{"type":"integer"}},"type":"object","required":["mode","chars_read","chars_total"]},"AssetState":{"properties":{"state":{"type":"string"}},"additionalProperties":true,"type":"object","required":["state"],"description":"The asset's stored record. Only its state is always there."},"AssistantDraft":{"properties":{"id":{"type":"string"},"tool":{"type":"string"},"tool_label":{"type":"string"},"input":{"type":"string"},"reply":{"type":"string"},"created_at":{"type":"string"},"kept_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"kept_into":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","tool","tool_label","input","reply","created_at","kept_at","kept_into"]},"AtlasCounts":{"properties":{"people":{"type":"integer"},"opens":{"type":"integer"},"sees_name":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["people","opens","sees_name"]},"AtlasLink":{"properties":{"source":{"type":"string"},"target":{"type":"string"},"kind":{"type":"string"}},"additionalProperties":true,"type":"object","required":["source","target","kind"]},"AtlasNode":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","kind","name"]},"AtlasSeen":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"you":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","name","you"]},"Attach":{"properties":{"status":{"type":"string"},"custody":{"type":"string"},"analyze_job_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["status","custody"]},"AttachmentFetched":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"part":{"type":"string"},"cached":{"type":"boolean"},"filename":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"expires_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","part","cached","filename","url","content_type","size_bytes","expires_at"]},"AttachmentIn":{"properties":{"filename":{"type":"string","maxLength":255},"content_type":{"type":"string","maxLength":127,"default":"application/octet-stream"},"data_base64":{"type":"string","maxLength":40000000}},"type":"object","required":["filename","data_base64"]},"Attention":{"properties":{"total":{"type":"integer"},"categories":{},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"items":{},"rows":{},"limit":{"type":"integer"},"offset":{"type":"integer"},"worklist":{},"computer":{}},"additionalProperties":true,"type":"object","required":["total","categories","category","persona_id","items","rows","limit","offset","worklist","computer"]},"AttentionWorklist":{"properties":{"total":{"type":"integer"},"stuck":{"type":"integer"},"jobs":{"type":"integer"},"needs_computer":{"type":"integer"},"not_landed":{"type":"integer"},"asks":{"type":"integer"},"proposals":{"type":"integer"},"approvals":{"type":"integer"},"reviews":{"type":"integer"},"categories":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"rows":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"worklist":{"type":"string"},"computer":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["total","stuck","jobs","needs_computer","not_landed","asks","proposals","approvals","reviews","categories","category","persona_id","items","rows","limit","offset","worklist","computer"]},"Attestation":{"properties":{"version":{"type":"string"},"text":{"type":"string"}},"additionalProperties":true,"type":"object","required":["version","text"]},"AttributeOut":{"properties":{"id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"attribute_key":{"type":"string"},"attribute_value":{"additionalProperties":true,"type":"object"},"provenance":{"additionalProperties":true,"type":"object"},"valid_from":{"type":"string","format":"date-time"},"asserted_at":{"type":"string","format":"date-time"},"masked":{"type":"boolean","default":false},"masked_types":{"items":{"type":"string"},"type":"array","default":[]}},"type":"object","required":["id","entity_id","attribute_key","attribute_value","provenance","valid_from","asserted_at"]},"AuditEvent":{"properties":{"id":{"type":"string"},"when":{"type":"string"},"action":{"type":"string"},"action_label":{"type":"string"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}]},"actor_kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"actor_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"summary":{"type":"string"},"target_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"meta":{"additionalProperties":true,"type":"object"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","when","action","action_label","summary","meta"]},"AuditFeed":{"properties":{"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["events","count","entity_id"]},"AuditPage":{"properties":{"events":{"items":{"$ref":"#/$defs/AuditEvent"},"type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"actions":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["events","actions"]},"AuthChecks":{"properties":{"checks":{"$ref":"#/$defs/CheckVerdict"},"row":{"anyOf":[{"$ref":"#/$defs/AuthRow"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["checks","row"]},"AuthRow":{"properties":{"id":{"type":"string"},"slug":{"type":"string"},"platform":{"type":"string"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"track":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"environment":{"anyOf":[{"type":"string"},{"type":"null"}]},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}]},"unlocks":{"anyOf":[{"type":"string"},{"type":"null"}]},"requirements":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner":{"anyOf":[{"type":"string"},{"type":"null"}]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"scopes":{},"resources":{"items":{},"type":"array"},"apply_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"expected_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"review_after":{"anyOf":[{"type":"string"},{"type":"null"}]},"status_changed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"waiting_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"overdue":{"type":"boolean"},"due_for_review":{"type":"boolean"},"settled":{"type":"boolean"},"needs_attention":{"type":"boolean"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"live":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"catalog_drift":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"in_catalog":{"type":"boolean"},"has_packet":{"type":"boolean"},"checks":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"checks_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","slug","platform","category","track","status","environment","priority","unlocks","requirements","next_action","blocked_by","owner","reference","evidence","notes","scopes","resources","apply_url","doc_ref","expected_days","review_after","status_changed_at","waiting_days","overdue","due_for_review","settled","needs_attention","updated_at","live","catalog_drift","in_catalog","has_packet","checks","checks_at"]},"AutoReload":{"properties":{"enabled":{"type":"boolean"},"pack_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"threshold_minor":{"type":"integer"},"max_per_month_minor":{"type":"integer"},"pack":{"anyOf":[{"$ref":"#/$defs/CreditPack"},{"type":"null"}]},"payment_method_saved":{"type":"boolean"},"month_reloaded_minor":{"type":"integer"},"hard_cap_minor":{"type":"integer"},"currency":{"type":"string"}},"additionalProperties":true,"type":"object","required":["enabled","threshold_minor","max_per_month_minor","payment_method_saved","month_reloaded_minor","hard_cap_minor","currency"]},"Backfill":{"properties":{"minted":{"type":"integer"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"open":{"type":"integer"},"backlog":{"type":"integer"},"media_backlog":{"anyOf":[{"type":"integer"},{"type":"null"}]},"leases":{"items":{"$ref":"#/$defs/TaskLease"},"type":"array"}},"additionalProperties":true,"type":"object","required":["minted","counts","open","backlog","leases"]},"BatchIdea":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1},"premise":{"type":"string","maxLength":4000,"default":""}},"type":"object","required":["title"]},"BatchPlan":{"properties":{"slots":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"lines":{"items":{"type":"string"},"type":"array"},"images":{"anyOf":[{"type":"integer"},{"type":"number"}]},"total_slots":{"type":"integer"},"pairs":{"type":"integer"},"seed":{"type":"integer"},"frame_pairs":{},"pair_first":{},"pair_last":{},"pair_aspect":{"type":"string"},"capped":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["slots","lines","images","total_slots","pairs","seed","frame_pairs","pair_first","pair_last","pair_aspect","capped"]},"BatchQueued":{"properties":{"jobs":{"items":{"$ref":"#/$defs/LabJob"},"type":"array"},"count":{"type":"integer"},"images":{"anyOf":[{"type":"integer"},{"type":"number"}]}},"additionalProperties":true,"type":"object","required":["jobs","count","images"]},"BatchRead":{"properties":{"options":{},"summary":{"type":"string"},"warnings":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["options","summary","warnings"],"description":"What a described batch was read as. The options are the model's own\nrecord, so they stay a record."},"BatchRuns":{"properties":{"count":{"type":"integer"},"runs":{"items":{"$ref":"#/$defs/RunHandle"},"type":"array"}},"additionalProperties":true,"type":"object","required":["count","runs"]},"BeatRow":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"expected_page":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}]},"actual_page":{"anyOf":[{"type":"integer"},{"type":"null"}]},"notes":{"type":"string"},"placed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","name","expected_page","actual_page","notes","placed_at"]},"BeatSheetOut":{"properties":{"date":{"$ref":"#/$defs/TourDateOut"},"material":{"items":{"$ref":"#/$defs/MaterialOut"},"type":"array"},"bits":{"items":{"$ref":"#/$defs/JokeOut"},"type":"array"},"local_jokes":{"items":{"$ref":"#/$defs/JokeOut"},"type":"array"},"text":{"type":"string"}},"additionalProperties":true,"type":"object","required":["date","material","bits","local_jokes","text"]},"BeatsOut":{"properties":{"framework":{"type":"string"},"beats":{"items":{"$ref":"#/$defs/BeatRow"},"type":"array"},"placed":{"anyOf":[{"$ref":"#/$defs/BeatRow"},{"type":"null"}]}},"type":"object","required":["framework","beats"]},"BibleSectionOut":{"properties":{"key":{"type":"string"},"title":{"type":"string"},"order":{"type":"integer"},"content":{"type":"string"},"included":{"type":"boolean"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["key","title","order","content","included","updated_at"]},"BillingReadiness":{"properties":{"expected_mode":{"type":"string"},"actual_mode":{"anyOf":[{"type":"string"},{"type":"null"}]},"ready_for_live":{"type":"boolean"},"counts":{"additionalProperties":true,"type":"object"},"checks":{"items":{},"type":"array"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"generated_at":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["expected_mode","actual_mode","ready_for_live","counts","checks","webhook_url","generated_at","note"]},"BillingRollup":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["job_id","status"]},"BindingCandidate":{"properties":{"source":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"provides":{"items":{},"type":"array"},"suggested_tag":{},"citation_count":{},"proposed_at":{},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["source","id","name","kind","provides","suggested_tag","citation_count","proposed_at","status"]},"BindingCandidates":{"properties":{"items":{"items":{"$ref":"#/$defs/BindingCandidate"},"type":"array"},"total_canonical":{"type":"integer"},"entity_candidates":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["items","total_canonical","entity_candidates","limit","offset"]},"BindingDismissed":{"properties":{"dismissed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["dismissed"]},"BindingsModeOut":{"properties":{"mode":{"type":"string"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["mode","raw"]},"BlockAttestation":{"properties":{"version":{"type":"string"},"text":{"type":"string"}},"additionalProperties":true,"type":"object","required":["version","text"]},"BlockCounts":{"properties":{"live":{"type":"integer"},"waiting":{"type":"integer"},"changed":{"type":"integer"},"unavailable":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["live","waiting","changed","unavailable"]},"BlockDisclosure":{"properties":{"scope":{"type":"string","enum":["persona","tenant"]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"list_version":{"type":"string"},"attributes":{"$ref":"#/$defs/DisclosureAttributes"},"types_found":{"items":{"type":"string"},"type":"array"},"blocking_types":{"items":{"type":"string"},"type":"array"},"third_party_signals":{"additionalProperties":true,"type":"object"},"withholds_locators":{"type":"boolean"},"rules":{"items":{"type":"string"},"type":"array"},"digest":{"type":"string"},"sovereign_only":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["scope","persona_id","list_version","attributes","types_found","blocking_types","third_party_signals","withholds_locators","rules","digest"]},"BlockFace":{"properties":{"title":{"type":"string"},"text":{"type":"string"},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"picture":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["title","text","date","picture"]},"BlockPiece":{"properties":{"piece_id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}]},"blurb":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["live","waiting","changed","unavailable"]},"face":{"anyOf":[{"$ref":"#/$defs/BlockFace"},{"type":"null"}]},"digest":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["piece_id","entity_id","headline","blurb","status","face","digest"]},"BlockPreview":{"properties":{"block":{"$ref":"#/$defs/WebBlock"},"public":{"$ref":"#/$defs/PublicBlock"},"held_back":{"type":"integer"},"pieces_digest":{"type":"string"},"disclosure":{"$ref":"#/$defs/BlockDisclosure"},"attestation":{"$ref":"#/$defs/BlockAttestation"},"note":{"type":"string"}},"additionalProperties":true,"type":"object","required":["block","public","held_back","pieces_digest","disclosure","attestation","note"]},"BlockSnippets":{"properties":{"script":{"type":"string"},"iframe":{"type":"string"},"json_feed":{"type":"string"},"rss":{"type":"string"}},"additionalProperties":true,"type":"object","required":["script","iframe","json_feed","rss"]},"BoardLimitsOut":{"properties":{"pictures":{"type":"integer"},"locked":{"type":"integer"}},"type":"object","required":["pictures","locked"]},"BoardOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"can_have_pictures":{"type":"boolean"},"needs_real_person_answer":{"type":"boolean"},"pictures":{"items":{"$ref":"#/$defs/PictureOut"},"type":"array"},"first_picture":{"anyOf":[{"$ref":"#/$defs/FirstPictureOut"},{"type":"null"}]},"lock":{"$ref":"#/$defs/PictureLockOut"},"limits":{"$ref":"#/$defs/BoardLimitsOut"},"rights":{"items":{"$ref":"#/$defs/RightsOptionOut"},"type":"array"}},"type":"object","required":["entity_id","project_id","name","kind","can_have_pictures","needs_real_person_answer","pictures","first_picture","lock","limits","rights"]},"BookingClash":{"properties":{"issue":{"type":"string"},"booking_id":{"type":"string"},"title":{"type":"string"},"person":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["issue","booking_id","title","person","sentence"]},"BookingPerson":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_name":{"type":"string"},"role":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["user_id","display_name","role"]},"BookingRecord":{"properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"starts_at":{"type":"string"},"ends_at":{"type":"string"},"all_day":{"type":"boolean"},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}]},"tentative":{"type":"boolean"},"status_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"cancelled":{"type":"boolean"},"place":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"when":{"type":"string"},"people":{"items":{"$ref":"#/$defs/BookingPerson"},"type":"array"},"clashes":{"items":{"$ref":"#/$defs/BookingClash"},"type":"array"}},"additionalProperties":true,"type":"object","required":["kind","id","title","persona_id","capsule_name","project_id","project_name","starts_at","ends_at","all_day","time_zone","tentative","status_label","cancelled","place","note","when","people","clashes"]},"Books":{"properties":{"range":{"type":"string"},"pnl":{"additionalProperties":true,"type":"object"},"channels":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"products":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"trend":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"reconciliation":{"additionalProperties":true,"type":"object"},"monthly_burn_cents":{"type":"integer"},"sync_health":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["range","pnl","channels","products","trend","reconciliation","monthly_burn_cents","sync_health"]},"BoostOut":{"properties":{"boosted":{"type":"integer"}},"type":"object","required":["boosted"]},"BrandDna":{"properties":{"prompt":{"type":"string"},"palette":{"items":{"type":"string"},"type":"array"},"voice":{"type":"string"},"avoid":{"type":"string"},"notes":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["prompt","palette","voice","avoid","notes","updated_at"]},"BrandKit":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"type":"integer"},"asset_count":{"type":"integer"},"files":{"items":{"$ref":"#/$defs/BrandKitFile"},"type":"array"}},"additionalProperties":true,"type":"object","required":["entity_id","title","size_bytes","asset_count","files"]},"BrandKitFile":{"properties":{"path":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"size":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["path","entity_id","size"]},"BrandMaster":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"role":{"type":"string"},"label":{"type":"string"},"notes":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"format":{"type":"string"},"designated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","role","label","notes","width","height","format","designated_at"]},"BrandProfile":{"properties":{"palette":{"additionalProperties":{"type":"string"},"type":"object"},"typography":{"additionalProperties":{"type":"string"},"type":"object"},"tone":{"type":"string"},"visual_style":{"type":"string"}},"additionalProperties":true,"type":"object","required":["palette","typography","tone","visual_style"]},"BrandSaved":{"properties":{"profile":{"$ref":"#/$defs/BrandProfile"}},"additionalProperties":true,"type":"object","required":["profile"]},"Breakdown":{"properties":{"title":{"type":"string"},"logline":{"type":"string"},"shots":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"warnings":{"items":{},"type":"array"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"number"}]},"pacing":{"type":"string"},"clip_seconds":{"anyOf":[{"type":"integer"},{"type":"number"}]},"planned_shots":{"anyOf":[{"type":"integer"},{"type":"number"}]},"look":{"anyOf":[{"type":"string"},{"type":"null"}]},"discipline":{"anyOf":[{"type":"string"},{"type":"null"}]},"heuristic":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"director":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["title","logline","shots","warnings","duration_seconds","pacing","clip_seconds","planned_shots","look","discipline"]},"BreakdownBody":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"revision":{"type":"string"},"structure":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["entity_id","revision","structure"]},"BreakdownOut":{"properties":{"queued":{"type":"boolean"},"job_id":{"type":"string"},"document_id":{"type":"string","x-kit-id":"item"}},"additionalProperties":true,"type":"object","required":["queued","job_id","document_id"]},"BreakdownSummary":{"properties":{"requirements":{"type":"integer"},"proposed":{"type":"integer"},"accepted":{"type":"integer"},"rejected":{"type":"integer"},"needs_confirmation":{"anyOf":[{"type":"integer"},{"type":"null"}]},"by_category":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"uncertainties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"judgment":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"stale_script":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["requirements","proposed","accepted","rejected"]},"BridgeOut":{"properties":{"project_id":{"type":"string"},"name":{"type":"string"},"branch":{"type":"string"},"format":{"type":"string"},"document_id":{"type":"string","x-kit-id":"item"},"source_project_id":{"type":"string"}},"type":"object","required":["project_id","name","branch","format","document_id","source_project_id"]},"BridgePlan":{"properties":{"channel":{"type":"string"},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"masters":{"type":"integer"},"slots":{"type":"integer"},"filled":{"type":"integer"},"gaps":{"type":"integer"},"mapping":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["channel","channel_label","masters","slots","filled","gaps","mapping"]},"BrowserKeys":{"properties":{"p256dh":{"type":"string","maxLength":200,"minLength":1},"auth":{"type":"string","maxLength":64,"minLength":1}},"additionalProperties":false,"type":"object","required":["p256dh","auth"]},"Browsers":{"properties":{"available":{"type":"boolean"},"public_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"receives":{"type":"boolean"},"browsers":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["available","receives","browsers"]},"BulkMoved":{"properties":{"moved":{"items":{"type":"string"},"type":"array"},"refused":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["moved","refused"]},"BundleAttribute":{"properties":{"key":{"type":"string","maxLength":128,"minLength":1},"value":{"additionalProperties":true,"type":"object"},"provenance":{"additionalProperties":true,"type":"object"}},"type":"object","required":["key","value"]},"BundleEmbedding":{"properties":{"model":{"type":"string","maxLength":128,"minLength":1},"vector":{"items":{"type":"number"},"type":"array"}},"type":"object","required":["model","vector"]},"BundleItem":{"properties":{"content_hash":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}]},"census_key":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}]},"media_features":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"format":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"clues":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"entity_type":{"type":"string","maxLength":64,"default":"document"},"content_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}]},"event_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"origin":{"additionalProperties":true,"type":"object"},"lawful_basis":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}]},"attributes":{"items":{"$ref":"#/$defs/BundleAttribute"},"type":"array"},"embedding":{"anyOf":[{"$ref":"#/$defs/BundleEmbedding"},{"type":"null"}]},"visual_embedding":{"anyOf":[{"$ref":"#/$defs/BundleEmbedding"},{"type":"null"}]},"serves_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"type":"object","description":"One analyzed local file — its intelligence, never its bytes.\n\nTwo shapes share this door:\n\n* **census row** — ``content_hash`` is null and ``census_key`` (the agent's\n  sha256 of ``relpath|size|mtime``, never the path itself) is the\n  idempotency key. The fast stat-only walk registers what exists as a\n  ``custody=edge`` entity with ``origin.census_key`` and no attributes.\n* **hashed row** — ``content_hash`` present; the optional ``census_key``\n  lets it *upgrade the census entity in place*. ``media_features`` (the\n  agent's one-read capture, schema 1) lands as the\n  ``media_features`` attribute; ``format`` / ``clues`` land on\n  ``origin.format`` / ``origin.clues`` (labels leave the device, paths do not)."},"BundleItemOut":{"properties":{"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"census_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]},"created":{"type":"boolean"},"attributes":{"type":"integer"},"embedded":{"type":"boolean"},"visual_embedded":{"type":"boolean","default":false},"media_features":{"type":"boolean","default":false},"upgraded":{"type":"boolean","default":false},"census_superseded":{"type":"boolean","default":false},"attached_custody":{"anyOf":[{"type":"string"},{"type":"null"}]},"refused":{"anyOf":[{"type":"string"},{"type":"null"}]},"refused_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"served":{"type":"boolean","default":false}},"type":"object","required":["content_hash","entity_id","created","attributes","embedded"]},"BundleOut":{"properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"received":{"type":"integer"},"created":{"type":"integer"},"updated":{"type":"integer"},"refused":{"type":"integer","default":0},"items":{"items":{"$ref":"#/$defs/BundleItemOut"},"type":"array"}},"type":"object","required":["persona_id","received","created","updated","items"]},"BusinessName":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"named":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","name","named"]},"ByokOption":{"properties":{"provider":{"type":"string"},"last4":{"type":"string"},"default_model":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["provider","last4"]},"ByokOut":{"properties":{"provider":{"type":"string"},"label":{"type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"last4":{"type":"string"},"status":{"type":"string"},"base_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"uses":{"additionalProperties":{"type":"boolean"},"type":"object","default":{}}},"type":"object","required":["provider","label","kind","last4","status","base_url","model"],"description":"Masked view — never the plaintext key. ``uses`` is the EFFECTIVE\nallow-list (explicit choices merged over registry defaults) so the armory\nUI always shows what the router will actually honor. ``base_url`` is\nshown only for a server or custom row (the owner typed it); a hosted row\nis a name, a model and a key."},"CabinetFileOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"type":"string"},"status":{"type":"string"},"added_at":{"type":"string"},"status_at":{"type":"string"}},"type":"object","required":["entity_id","title","status","added_at","status_at"]},"Calendar":{"properties":{"from":{"type":"string"},"to":{"type":"string"},"items":{"items":{"$ref":"#/$defs/CalendarItem"},"type":"array"},"double_booked":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["from","to","items","double_booked"]},"CalendarEventMade":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"channel_id":{"type":"string"},"provider":{"type":"string"},"uid":{"type":"string"},"remote_id":{"type":"string"},"summary":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"all_day":{"type":"boolean"},"attendees":{"items":{"type":"string"},"type":"array"},"link":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","channel_id","provider","uid","remote_id","summary","start","end","all_day","attendees","link"]},"CalendarItem":{"properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"starts_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"ends_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"all_day":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}]},"tentative":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"status_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"cancelled":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"place":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"when":{"anyOf":[{"type":"string"},{"type":"null"}]},"people":{"anyOf":[{"items":{"$ref":"#/$defs/BookingPerson"},"type":"array"},{"type":"null"}]},"clashes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["kind","id","title","persona_id","starts_at"]},"Campaign":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"brief":{"type":"string"},"status":{"type":"string"},"status_label":{"type":"string"},"channel":{"type":"string"},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"item_count":{"type":"integer"},"cover_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"legal_next":{"items":{"type":"string"},"type":"array"},"handoff":{"additionalProperties":true,"type":"object"},"copied_from":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","brief","status","status_label","channel","channel_label","item_count","cover_entity_id","legal_next","handoff","copied_from","created_at","updated_at"]},"CampaignAdvanced":{"properties":{"campaign":{"$ref":"#/$defs/CampaignRow"},"items":{"items":{},"type":"array"},"image_count":{"type":"integer"},"video_count":{"type":"integer"},"unapproved":{"items":{"type":"string"},"type":"array"},"offenders":{"items":{},"type":"array"},"can_ship":{"type":"boolean"},"closed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["campaign","items","image_count","video_count","unapproved","offenders","can_ship","closed"]},"CampaignCopyOut":{"properties":{"campaign":{"additionalProperties":true,"type":"object"},"copied":{"type":"integer"},"left_behind":{"type":"integer"}},"type":"object","required":["campaign","copied","left_behind"]},"CampaignDetail":{"properties":{"campaign":{"$ref":"#/$defs/Campaign"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"image_count":{"type":"integer"},"video_count":{"type":"integer"},"unapproved":{"items":{"type":"string"},"type":"array"},"offenders":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"can_ship":{"type":"boolean"},"closed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["campaign","items","image_count","video_count","unapproved","offenders","can_ship","closed"]},"CampaignDiscarded":{"properties":{"discarded":{"type":"boolean"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["discarded","sentence"]},"CampaignIntake":{"properties":{"ingested":{"type":"integer"},"skipped":{"type":"integer"},"errors":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"detail":{"$ref":"#/$defs/CampaignDetail"}},"additionalProperties":true,"type":"object","required":["ingested","skipped","errors","detail"]},"CampaignList":{"properties":{"campaigns":{"items":{"$ref":"#/$defs/CampaignSummary"},"type":"array"}},"additionalProperties":true,"type":"object","required":["campaigns"]},"CampaignReach":{"properties":{"reaches":{"type":"integer"},"of_kind":{"type":"integer"},"not_agreed":{"type":"integer"},"no_email":{"type":"integer"},"first_names":{"items":{"type":"string"},"type":"array"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["reaches","of_kind","not_agreed","no_email","first_names","sentence"]},"CampaignRecord":{"properties":{"id":{"type":"string"},"subject":{"type":"string"},"kinds":{"items":{"type":"string","enum":["follower","fan","patron","customer"]},"type":"array"},"segment_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"drafted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"body":{"type":"string"},"segment":{"anyOf":[{"type":"string"},{"type":"null"}]},"reach":{"$ref":"#/$defs/CampaignReach"}},"additionalProperties":true,"type":"object","required":["id","subject","kinds","segment_id","drafted_at","body","segment","reach"]},"CampaignRow":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"status_label":{"type":"string"},"channel":{"type":"string"},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"item_count":{"type":"integer"},"cover_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","brief","status","status_label","channel","channel_label","item_count","cover_entity_id"]},"CampaignSent":{"properties":{"id":{"type":"string"},"campaign_id":{"type":"string"},"sent_to":{"type":"integer"},"not_sent":{"type":"integer"},"sent_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","campaign_id","sent_to","not_sent","sent_at","sentence"]},"CampaignSummary":{"properties":{"id":{"type":"string"},"subject":{"type":"string"},"kinds":{"items":{"type":"string","enum":["follower","fan","patron","customer"]},"type":"array"},"segment_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"drafted_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","subject","kinds","segment_id","drafted_at"]},"Campaigns":{"properties":{"receiving":{"type":"boolean"},"how":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"string"},{"type":"null"}]},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["receiving"]},"Canonical":{"properties":{"total":{"type":"integer"},"items":{"items":{"$ref":"#/$defs/CanonicalItem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["total","items"]},"CanonicalAlias":{"properties":{"id":{"type":"string"},"alias":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","alias"]},"CanonicalItem":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"members_here":{"type":"integer"},"also_known_as":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","kind","name","members_here","also_known_as"]},"CapsuleBannerOut":{"properties":{"banner_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"CapsuleDeletion":{"properties":{"mode":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"scope":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"dry_run":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"counts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"s3_deleted":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"s3_kept_shared":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"s3_deleted_kinds":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"s3_kept_shared_kinds":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"edge_replicas":{},"kept":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"sign_ins":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"pointers_cleared":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"erased_total":{"anyOf":[{"type":"integer"},{"type":"null"}]},"refs_scrubbed":{"anyOf":[{"type":"integer"},{"type":"null"}]},"residual":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","description":"Three answers share this door: a scheduled hold, an immediate erase, and\nthe preview of what the erase would remove."},"CapsuleImageOut":{"properties":{"image_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"},"CaptionCheck":{"properties":{"id":{"type":"string"},"rule":{"type":"string"},"ok":{"type":"boolean"},"chars":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","rule","ok"]},"CaptionEditIn":{"properties":{"i":{"type":"integer","minimum":0.0},"action":{"type":"string","maxLength":5},"text":{"type":"string","maxLength":80,"default":""}},"type":"object","required":["i","action"]},"CaptureOut":{"properties":{"routed":{"type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"document":{}},"additionalProperties":true,"type":"object","required":["routed","project_id","document"]},"Case":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"lead":{"$ref":"#/$defs/CaseParty"},"seller":{"$ref":"#/$defs/CaseParty"},"offering":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"phase":{"type":"string"},"phase_words":{"type":"string"},"chance":{"type":"integer"},"estimated_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"actual_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_close_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"close_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"lost_reason_words":{"anyOf":[{"type":"string"},{"type":"null"}]},"competitor_won":{"anyOf":[{"type":"string"},{"type":"null"}]},"outcome":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"days_since_last_activity":{"anyOf":[{"type":"integer"},{"type":"null"}]},"overdue_tasks":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","capsule_id","lead","seller","status","phase","phase_words","chance"]},"CaseList":{"properties":{"cases":{"items":{"$ref":"#/$defs/Case"},"type":"array"},"summary":{"$ref":"#/$defs/CaseSummary"}},"additionalProperties":true,"type":"object","required":["cases","summary"]},"CaseLog":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]},"phase_words":{"type":"string"},"detail":{"additionalProperties":true,"type":"object"},"who":{"anyOf":[{"type":"string"},{"type":"null"}]},"occurred_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","kind","phase_words","detail"]},"CaseParty":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"CaseRead":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"lead":{"$ref":"#/$defs/CaseParty"},"seller":{"$ref":"#/$defs/CaseParty"},"offering":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"phase":{"type":"string"},"phase_words":{"type":"string"},"chance":{"type":"integer"},"estimated_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"actual_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_close_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"close_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"lost_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"lost_reason_words":{"anyOf":[{"type":"string"},{"type":"null"}]},"competitor_won":{"anyOf":[{"type":"string"},{"type":"null"}]},"outcome":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"days_since_last_activity":{"anyOf":[{"type":"integer"},{"type":"null"}]},"overdue_tasks":{"anyOf":[{"type":"integer"},{"type":"null"}]},"log":{"items":{"$ref":"#/$defs/CaseLog"},"type":"array"},"tasks":{"items":{"$ref":"#/$defs/CaseTask"},"type":"array"},"phases":{"items":{"$ref":"#/$defs/PhaseChange"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","name","capsule_id","lead","seller","status","phase","phase_words","chance","log","tasks","phases"]},"CaseSummary":{"properties":{"open":{"type":"integer"},"won":{"type":"integer"},"lost":{"type":"integer"},"by_phase":{"additionalProperties":{"$ref":"#/$defs/PhaseSlot"},"type":"object"},"open_value":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"weighted_value":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"needs_attention":{"items":{"type":"string"},"type":"array"},"closing_soon":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["open","won","lost","by_phase","open_value","weighted_value","needs_attention","closing_soon"]},"CaseTask":{"properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string"},{"type":"null"}]},"due_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"done":{"type":"boolean"},"done_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"overdue":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","done","overdue"]},"CastExpansion":{"properties":{"text":{"type":"string"},"mode":{"type":"string"},"used":{"items":{"$ref":"#/$defs/CastUsed"},"type":"array"},"unresolved":{"items":{"type":"string"},"type":"array"},"warnings":{"items":{"type":"string"},"type":"array"},"references":{"items":{"type":"string"},"type":"array"},"operations":{"additionalProperties":{"type":"string"},"type":"object"},"questions":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["text","mode","used","unresolved","warnings","references","operations","questions"]},"CastMember":{"properties":{"display_name":{"type":"string"},"role":{"type":"string"},"aliases":{"items":{"type":"string"},"type":"array"},"referent_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["display_name","role","aliases"]},"CastMemberIn":{"properties":{"display_name":{"type":"string","maxLength":120,"minLength":1},"role":{"type":"string","maxLength":16,"default":"host"},"aliases":{"items":{"type":"string"},"type":"array","maxItems":8},"referent_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"type":"object","required":["display_name"]},"CastOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string"},"subject":{"type":"string"},"label":{"type":"string"},"dials":{"additionalProperties":true,"type":"object"},"notes":{"type":"string"},"portrait_content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"origin":{"type":"string"},"has_portrait":{"type":"boolean"},"tag":{"anyOf":[{"type":"string"},{"type":"null"}]},"access_policy":{"type":"string"},"production_notes":{"type":"string"},"reference_entity_ids":{"items":{"type":"string"},"type":"array"},"provides":{"items":{"type":"string"},"type":"array"},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice_spoken":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"lock":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"real_person":{"type":"boolean"},"canonical_face":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["entity_id","persona_id","name","subject","label","dials","notes","portrait_content_type","version_from","created_at","origin","has_portrait","tag","access_policy","production_notes","reference_entity_ids","provides","voice_id","voice_spoken","lock","operation_id","real_person"]},"CastRecipe":{"properties":{"subject":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true,"type":"object","required":["subject","label"]},"CastRoster":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"members":{"items":{"$ref":"#/$defs/CastMember"},"type":"array"},"show":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["persona_id","members"]},"CastUsed":{"properties":{"tag":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"}},"additionalProperties":true,"type":"object","required":["tag","name","entity_id"]},"Catalog":{"properties":{"products":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"listings":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"channels":{"items":{},"type":"array"},"counts":{"additionalProperties":true,"type":"object"},"last_sync":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["products","listings","channels","counts","last_sync"]},"CatalogFeed":{"properties":{"slug":{"type":"string"},"title":{"type":"string"},"feed_url":{"type":"string"},"site":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true,"type":"object","required":["slug","title","feed_url","site","category","description"]},"CatalogImported":{"properties":{"inserted":{"items":{},"type":"array"},"inserted_count":{"type":"integer"},"skipped":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["inserted","inserted_count","skipped"]},"CatalogModelOut":{"properties":{"id":{"type":"string"},"lane":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"plane":{"type":"string"},"available":{"type":"boolean"},"is_platform_default":{"type":"boolean"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"box":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","lane","label","description","plane","available","is_platform_default"]},"CatalogRefreshed":{"properties":{"templates":{"type":"integer"},"created":{"type":"integer"},"updated":{"type":"integer"},"retired":{"type":"integer"},"run":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["templates","created","updated","retired","run"]},"ChainAdvance":{"properties":{"stale":{"items":{"type":"string"},"type":"array"},"next":{"anyOf":[{"type":"string"},{"type":"null"}]},"settled":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["stale","next","settled"]},"ChannelAccount":{"properties":{"channel":{"type":"string"},"channel_label":{"type":"string"},"label":{"type":"string"},"usernames":{"items":{"type":"string"},"type":"array"},"connected_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["channel","channel_label","label","usernames","connected_at"]},"ChannelAsset":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"slot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"brief":{"type":"string"},"created_at":{"type":"string"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_chars":{"anyOf":[{"type":"integer"},{"type":"null"}]},"truncated":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","title","content_type","size_bytes","channel","kind","slot","brief","created_at","output"]},"ChannelCard":{"properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"formats":{"items":{},"type":"array"},"caption":{"additionalProperties":true,"type":"object"},"promo_method_ids":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array"},"spec_slots":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"intake":{"items":{"$ref":"#/$defs/ChannelIntake"},"type":"array"},"kit":{"items":{"$ref":"#/$defs/ChannelAsset"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","label","role","formats","caption","promo_method_ids","spec_slots","intake","kit"]},"ChannelChoice":{"properties":{"id":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","label"]},"ChannelHub":{"properties":{"version":{"type":"string"},"verified":{"type":"string"},"channels":{"items":{"$ref":"#/$defs/ChannelCard"},"type":"array"},"asset_total":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["version","verified","channels","asset_total"]},"ChannelIntake":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"how":{"type":"string"},"href":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","label","how","href"]},"ChannelPicture":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_thumb":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","title","has_thumb"]},"ChannelPlan":{"properties":{"next_up":{"items":{"$ref":"#/$defs/ChannelPostRow"},"type":"array"},"posted":{"items":{"$ref":"#/$defs/ChannelPostRow"},"type":"array"},"week":{"$ref":"#/$defs/ChannelWeek"},"accounts":{"items":{"$ref":"#/$defs/ChannelAccount"},"type":"array"},"channels":{"items":{"$ref":"#/$defs/ChannelChoice"},"type":"array"},"can_change":{"type":"boolean"},"can_approve":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["next_up","posted","week","accounts","channels","can_change","can_approve"]},"ChannelPostRow":{"properties":{"id":{"type":"string"},"source":{"type":"string"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"type":"string"},"caption":{"type":"string"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"material_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_thumb":{"type":"boolean"},"planned_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"posted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"posted_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"views":{"anyOf":[{"type":"integer"},{"type":"null"}]},"pictures":{"anyOf":[{"items":{"$ref":"#/$defs/ChannelPicture"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","source","channel","channel_label","title","caption","project_id","project","entity_id","material_title","has_thumb","planned_for","state","approved_by","approved_at","posted_at","posted_url","views"]},"ChannelRunning":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"running":{"type":"boolean"},"address":{"type":"string"},"schedule":{"items":{"$ref":"#/$defs/ChannelSlot"},"type":"array"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"stopped_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","running","address","schedule","started_at","stopped_at"]},"ChannelSlot":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"position":{"type":"integer"},"plays_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","title","position","plays_at"]},"ChannelWeek":{"properties":{"posts":{"type":"integer"},"views":{"type":"integer"},"measured":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["posts","views","measured"]},"CharacterLock":{"properties":{"locked":{"type":"boolean"},"pack":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"type":"string"},"locked_at":{"type":"string"},"locked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject_at_lock":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["locked","pack","note","locked_at","locked_by","subject_at_lock"]},"CheckVerdict":{"properties":{"ready":{"type":"integer"},"total":{"type":"integer"},"platform_ready":{"type":"boolean"},"summary":{"type":"string"},"items":{"items":{},"type":"array"},"next_click":{},"founder_clicks":{"items":{},"type":"array"},"advanced_to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["ready","total","platform_ready","summary","items","next_click","founder_clicks"]},"ChecklistPlace":{"properties":{"mark_id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["mark_id","label"]},"ChecklistRun":{"properties":{"receipt_id":{"type":"string"},"form_id":{"type":"string"},"kind":{"type":"string"},"title":{"type":"string"},"record_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"who":{"type":"string"},"when":{"anyOf":[{"type":"string"},{"type":"null"}]},"place":{"anyOf":[{"$ref":"#/$defs/ChecklistPlace"},{"type":"null"}]},"answers":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["receipt_id","form_id","kind","title","record_id","who","when","place","answers","sentence"]},"Citation":{"properties":{"quote":{"type":"string"},"why":{"type":"string"}},"additionalProperties":true,"type":"object","required":["quote","why"]},"CitedSpan":{"properties":{"start":{"type":"integer"},"end":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["start","end"]},"CitedUnit":{"properties":{"label":{"type":"string"},"number":{"type":"integer"},"of":{"type":"integer"},"split":{"type":"string"}},"additionalProperties":true,"type":"object","required":["label","number","of","split"]},"ClaimCheckOut":{"properties":{"claim":{"type":"string"},"verdict":{"type":"string"},"basis":{"type":"string"},"note":{"type":"string"},"notes_consulted":{"type":"integer"},"checked_at":{"type":"string"},"model":{"type":"string"}},"type":"object","required":["claim","verdict","basis","note","notes_consulted","checked_at","model"]},"ClaimRow":{"properties":{"claim":{"type":"string"},"verdict":{"type":"string"},"basis":{"type":"string"},"note":{"type":"string"}},"additionalProperties":true,"type":"object","required":["claim","verdict","basis","note"]},"CleanupItem":{"properties":{"model_text":{"type":"string","maxLength":4000,"default":""},"human_text":{"type":"string","maxLength":4000,"default":""},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"type":"object"},"ClinicalEntry":{"properties":{"id":{"type":"string"},"category":{},"label":{},"value":{},"date":{},"record":{}},"additionalProperties":true,"type":"object","required":["id","category","label","value","date","record"]},"ClinicalImported":{"properties":{"record":{},"entries":{"type":"integer"},"by_category":{"additionalProperties":{"type":"integer"},"type":"object"}},"additionalProperties":true,"type":"object","required":["record","entries","by_category"]},"ClinicalRecord":{"properties":{"entries":{"items":{"$ref":"#/$defs/ClinicalEntry"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entries","count"]},"ClipAccept":{"properties":{"decisions":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"plan":{"$ref":"#/$defs/ClipQueue"}},"additionalProperties":true,"type":"object","required":["decisions","plan"]},"ClipAdopt":{"properties":{"decisions":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"added":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["decisions","added"]},"ClipApprovalRecord":{"properties":{"clips":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},"plan_verified_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["clips","updated_at"]},"ClipApprovals":{"properties":{"approvals":{"$ref":"#/$defs/ClipApprovalRecord"}},"additionalProperties":true,"type":"object","required":["approvals"]},"ClipCaptionEdits":{"properties":{"edits":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["edits"]},"ClipCompilation":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"format":{"type":"string"},"mode":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"inputs":{"items":{},"type":"array"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}]},"qc":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","format","inputs"]},"ClipCompilations":{"properties":{"compilations":{"items":{"$ref":"#/$defs/ClipCompilation"},"type":"array"},"jobs":{"items":{"$ref":"#/$defs/ClipCompileJob"},"type":"array"}},"additionalProperties":true,"type":"object","required":["compilations","jobs"]},"ClipCompileJob":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"inputs":{"type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","inputs"]},"ClipDecisions":{"properties":{"decisions":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["decisions"]},"ClipDiscard":{"properties":{"discarded":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["discarded"]},"ClipGatherList":{"properties":{"decks":{"items":{"$ref":"#/$defs/ClipGatherRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["decks"]},"ClipGatherRow":{"properties":{"deck_id":{"type":"string"},"theme":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"recordings":{"type":"integer"},"scanned":{"type":"integer"},"moments":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["deck_id","recordings","scanned","moments"]},"ClipGatherStart":{"properties":{"deck_id":{"type":"string"},"eligible":{"type":"integer"},"queued":{"type":"boolean"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"already_pending":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["deck_id","eligible","queued"]},"ClipGatherState":{"properties":{"deck_id":{"type":"string"},"running":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deck_id","running"]},"ClipLayoutSaved":{"properties":{"layout":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["layout"]},"ClipMatch":{"properties":{"i":{"type":"integer"},"start":{"type":"number"},"end":{"type":"number"}},"additionalProperties":true,"type":"object","required":["i","start","end"]},"ClipPresets":{"properties":{"presets":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"}},"additionalProperties":true,"type":"object","required":["presets"]},"ClipQueue":{"properties":{"queued":{"type":"boolean"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"already_pending":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["queued"]},"ClipWord":{"properties":{"i":{"type":"integer"},"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"}},"additionalProperties":true,"type":"object","required":["i","text","start","end"]},"ClipWords":{"properties":{"words":{"items":{"$ref":"#/$defs/ClipWord"},"type":"array"},"matches":{"items":{"$ref":"#/$defs/ClipMatch"},"type":"array"},"total":{"type":"integer"},"source":{"type":"string"},"duration":{"type":"number"}},"additionalProperties":true,"type":"object","required":["words","matches","total","source","duration"]},"ClusterFlag":{"properties":{"id":{},"title":{"type":"string"},"severity":{},"status":{"type":"string"},"found":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["title","status","found"]},"ClusterRead":{"properties":{"cluster":{"$ref":"#/$defs/ReviewCluster"}},"additionalProperties":true,"type":"object","required":["cluster"]},"CoOwnerEdge":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"owner_tenant_id":{"type":"string"},"co_owner_tenant_id":{"type":"string"},"co_owner_tenant_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"type":"string"},"revenue_share_bps":{"type":"integer"},"revenue_share_percent":{"type":"number"},"invited_email":{"type":"string"},"status":{"type":"string"},"invited_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"accepted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","owner_tenant_id","co_owner_tenant_id","role","revenue_share_bps","revenue_share_percent","invited_email","status"]},"CollectionOut":{"properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","tenant_id","kind","name","created_at"]},"CollectionRetireOut":{"properties":{"collection_id":{"type":"string","format":"uuid","x-kit-id":"collection"},"action":{"type":"string"},"members":{"type":"integer"},"changed":{"type":"integer"},"unchanged":{"type":"integer"}},"type":"object","required":["collection_id","action","members","changed","unchanged"]},"ColumnIn":{"properties":{"key":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"name":{"type":"string","maxLength":200},"kind":{"anyOf":[{"type":"string","enum":["text","number","date","checkbox","link","tally","formula"]},{"type":"null"}]},"formula":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"links_to":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["name"]},"CommsChannelArmed":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"standing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["job_id","standing"]},"CommsChannelView":{"properties":{"id":{"type":"string"},"channel_type":{"type":"string"},"display_name":{"type":"string"},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider":{"type":"string"},"oauth_account_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"management_level":{"type":"string"},"can_send":{"type":"boolean"},"send_granted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"send_granted_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"smtp_host":{"anyOf":[{"type":"string"},{"type":"null"}]},"smtp_port":{"anyOf":[{"type":"integer"},{"type":"null"}]},"signature":{"anyOf":[{"type":"string"},{"type":"null"}]},"watch":{"type":"boolean"},"status":{"type":"string"},"settings":{"additionalProperties":true,"type":"object"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","channel_type","display_name","address","credential_name","provider","oauth_account_id","persona_id","management_level","can_send","send_granted_at","send_granted_by","smtp_host","smtp_port","signature","watch","status","settings","last_synced_at","created_at","updated_at"]},"CommsEnabled":{"properties":{"enabled":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["enabled"]},"CommsSpamSettings":{"properties":{"enabled":{"type":"boolean"},"threshold":{"type":"number"},"allow_senders":{"items":{"type":"string"},"type":"array"},"block_senders":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["enabled","threshold","allow_senders","block_senders"]},"CommsSyncStart":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"standing":{"type":"boolean"},"folders":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["job_id","standing","folders"]},"CompTitle":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1},"author":{"type":"string","maxLength":200,"default":""},"comp_reason":{"type":"string","maxLength":1000,"default":""}},"additionalProperties":false,"type":"object","required":["title"]},"CompareSide":{"properties":{"kind":{"type":"string","enum":["capsule","collection","entity"]},"id":{"type":"string","format":"uuid"}},"type":"object","required":["kind","id"]},"CompletenessLayer":{"properties":{"layer":{"type":"string"},"label":{"type":"string"},"state":{"type":"string","enum":["done","not_applicable"]},"job_type":{"type":"string"}},"additionalProperties":true,"type":"object","required":["layer","label","state","job_type"]},"ComposeResponse":{"properties":{"ok":{"type":"boolean"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"definition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"card":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"confirm":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"volume":{"type":"boolean","default":false},"question":{"anyOf":[{"type":"string"},{"type":"null"}]},"explain":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"notes":{"items":{"type":"string"},"type":"array"},"unsupported":{"items":{"type":"string"},"type":"array"},"requested":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"problems":{"items":{"type":"string"},"type":"array"},"technical":{"items":{"type":"string"},"type":"array"},"plan":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"code":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"diff":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"provenance":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["ok"]},"ComposeTurn":{"properties":{"role":{"type":"string","pattern":"^(user|composer)$"},"text":{"type":"string","maxLength":600,"minLength":1}},"type":"object","required":["role","text"],"description":"One prior conversation turn (B1 iterate-in-place)."},"Compute":{"properties":{"generated_at":{"type":"string"},"ecs":{},"gpu":{},"rds":{},"alarms":{},"metrics":{},"queue":{},"estimates":{},"controls":{},"flex":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["generated_at","ecs","flex"]},"ComputeWindow":{"properties":{"quota":{"type":"integer"},"unlimited":{"type":"boolean"},"period_days":{"type":"integer"},"window_start":{"type":"string"},"held":{"type":"integer"},"consumed":{"type":"integer"},"released":{"type":"integer"},"used":{"type":"integer"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}]},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["quota","unlimited","period_days","window_start","held","consumed","released","used"]},"Computer":{"properties":{"id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"connected_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id"]},"Concept":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"slug":{"type":"string"},"brief":{"type":"string"},"stage":{"type":"string"},"tags":{"items":{},"type":"array"},"option_count":{"type":"integer"},"favorite_count":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","slug","brief","stage","tags","option_count","favorite_count","created_at","updated_at"]},"ConceptDetail":{"properties":{"concept":{"$ref":"#/$defs/Concept"},"options":{"items":{"$ref":"#/$defs/Option"},"type":"array"},"fresh":{"items":{"$ref":"#/$defs/Option"},"type":"array"},"ingredients":{"items":{"$ref":"#/$defs/Option"},"type":"array"},"dismissed_count":{"type":"integer"},"jobs":{"items":{"$ref":"#/$defs/LabJob"},"type":"array"}},"additionalProperties":true,"type":"object","required":["concept","options","fresh","ingredients","dismissed_count","jobs"]},"ConflictResolved":{"properties":{"id":{"type":"string"},"status":{"type":"string"},"winner_attribute_id":{"type":"string"},"loser_attribute_id":{"type":"string"},"new_attribute_id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"}},"additionalProperties":true,"type":"object","required":["id","status","winner_attribute_id","loser_attribute_id","new_attribute_id","entity_id"]},"ConnectPreview":{"properties":{"entity_ids":{"items":{"type":"string","x-kit-id":"item"},"type":"array"},"titles":{"additionalProperties":true,"type":"object"},"capsule_subject":{},"subjects":{},"excluded_hubs":{},"uncovered_entity_ids":{"items":{"type":"string"},"type":"array"},"sources":{"items":{"type":"string"},"type":"array"},"max_external_calls":{"type":"integer"},"max_hops":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entity_ids","titles","uncovered_entity_ids","sources","max_external_calls","max_hops"]},"ConsistencyAdded":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"kind":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","kind","name"]},"ConsistencyRow":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"kind":{"type":"string"},"name":{"type":"string"},"change":{"type":"string"},"changes":{"items":{},"type":"array"},"lines":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["entity_id","kind","name","change","changes","lines"]},"Console":{"properties":{"scope":{"additionalProperties":true,"type":"object"},"totals":{"additionalProperties":true,"type":"object"},"series":{},"series_from":{"additionalProperties":true,"type":"object"},"analyses":{"additionalProperties":true,"type":"object"},"members":{"additionalProperties":true,"type":"object"},"money":{"additionalProperties":true,"type":"object"},"infrastructure":{"additionalProperties":true,"type":"object"},"attention":{},"config_problems":{},"queue_health":{}},"additionalProperties":true,"type":"object","required":["scope","totals","series","series_from","analyses","members","money","infrastructure","attention","config_problems","queue_health"]},"ConsultAnswer":{"properties":{"role":{"type":"string","const":"consultant"},"content":{"type":"string"},"at":{"type":"string"},"citations":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"grounded":{"type":"boolean"},"fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"shortlist":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"method":{"anyOf":[{"type":"string"},{"type":"null"}]},"plane":{"anyOf":[{"type":"string"},{"type":"null"}]},"reading":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["role","content","at","citations","grounded"]},"ConsultCapsule":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name"]},"ConsultCompare":{"properties":{"role":{"type":"string","const":"consultant"},"turn_kind":{"type":"string","const":"compare"},"at":{"type":"string"},"purpose":{"type":"string"},"sides":{"items":{"$ref":"#/$defs/ConsultSide"},"type":"array"},"rows":{"$ref":"#/$defs/ConsultRows"},"citations":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"trust":{"$ref":"#/$defs/ConsultTrustPair"},"content":{"type":"string"},"statements":{"items":{"type":"string"},"type":"array"},"grounded":{"type":"boolean"},"fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"method":{"anyOf":[{"type":"string"},{"type":"null"}]},"plane":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["role","turn_kind","at","purpose","sides","rows","citations","trust","content","statements","grounded"]},"ConsultCompared":{"properties":{"session_id":{"type":"string"},"turn":{"$ref":"#/$defs/ConsultCompare"}},"additionalProperties":true,"type":"object","required":["session_id","turn"]},"ConsultKept":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"}},"additionalProperties":true,"type":"object","required":["entity_id"]},"ConsultList":{"properties":{"sessions":{"items":{"$ref":"#/$defs/ConsultRecord"},"type":"array"}},"additionalProperties":true,"type":"object","required":["sessions"]},"ConsultRecord":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"capsules":{"items":{"$ref":"#/$defs/ConsultCapsule"},"type":"array"},"turns":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","title","capsules","turns","created_at","updated_at"]},"ConsultRemoved":{"properties":{"deleted":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deleted"]},"ConsultRows":{"properties":{"a":{"items":{"type":"string"},"type":"array"},"b":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["a","b"]},"ConsultSide":{"properties":{"kind":{"type":"string","enum":["capsule","collection","entity"]},"id":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","id","label"]},"ConsultTrust":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"score":{"type":"integer"},"integrity_score":{"type":"integer"},"freshness_score":{"type":"integer"},"completeness_score":{"type":"integer"},"stale_rows":{"type":"integer"},"contradictions":{"type":"integer"},"report":{"type":"string"}},"additionalProperties":true,"type":"object","required":["persona_id","score","integrity_score","freshness_score","completeness_score","stale_rows","contradictions","report"]},"ConsultTrustPair":{"properties":{"a":{"anyOf":[{"$ref":"#/$defs/ConsultTrust"},{"type":"null"}]},"b":{"anyOf":[{"$ref":"#/$defs/ConsultTrust"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["a","b"]},"ContactSheet":{"properties":{"said":{"type":"string"},"character":{"type":"string"},"seeds":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["said","character","seeds"]},"ContentUrlOut":{"properties":{"url":{"type":"string"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"expires_at":{"type":"string","format":"date-time"},"kind":{"type":"string","default":"hosted"}},"type":"object","required":["url","content_type","size_bytes","expires_at"]},"ContextSet":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"context":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["persona_id","context"]},"Continuity":{"properties":{"said":{"type":"string"},"breaks":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["said","breaks"]},"ContinuityCountsOut":{"properties":{"shots":{"type":"integer"},"clashes":{"type":"integer"},"on_settled_look":{"type":"integer"},"off_settled_look":{"type":"integer"}},"type":"object","required":["shots","clashes","on_settled_look","off_settled_look"]},"ContinuityOrphanOut":{"properties":{"scene_id":{"type":"string"},"state":{"type":"string"},"note":{"type":"string"}},"type":"object","required":["scene_id","state","note"]},"ContinuityOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"can_lock":{"type":"boolean"},"lock":{"$ref":"#/$defs/LookLockOut"},"has_shot_list":{"type":"boolean"},"scenes":{"items":{"$ref":"#/$defs/ContinuitySceneOut"},"type":"array"},"orphaned":{"items":{"$ref":"#/$defs/ContinuityOrphanOut"},"type":"array"},"counts":{"$ref":"#/$defs/ContinuityCountsOut"}},"type":"object","required":["entity_id","project_id","name","kind","can_lock","lock","has_shot_list","scenes","orphaned","counts"]},"ContinuitySceneOut":{"properties":{"scene_id":{"type":"string"},"number":{"anyOf":[{"type":"integer"},{"type":"null"}]},"author_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"type":"string"},"state":{"type":"string"},"changes_here":{"type":"boolean"},"settled_look":{"type":"boolean"},"shots":{"items":{"$ref":"#/$defs/ContinuityShotOut"},"type":"array"}},"type":"object","required":["scene_id","number","author_number","slug","state","changes_here","settled_look","shots"]},"ContinuityShotOut":{"properties":{"shot_id":{"type":"string"},"label":{"type":"string"},"own_state":{"type":"string"},"sends":{"type":"string"},"clash":{"type":"boolean"},"on_settled_look":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"type":"object","required":["shot_id","label","own_state","sends","clash","on_settled_look"]},"ContractAsk":{"properties":{"contract_id":{"type":"string"},"question":{"type":"string"},"clause_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"answer":{"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclaimer":{"type":"string"}},"additionalProperties":true,"type":"object","required":["contract_id","question","answer","disclaimer"]},"ContractBuilder":{"properties":{"terms":{"additionalProperties":true,"type":"object"},"sections":{"items":{"$ref":"#/$defs/ContractSection"},"type":"array"},"completion":{"$ref":"#/$defs/ContractCompletion"}},"additionalProperties":true,"type":"object","required":["terms","sections","completion"]},"ContractCaption":{"properties":{"ok":{"type":"boolean"},"checks":{"items":{"$ref":"#/$defs/CaptionCheck"},"type":"array"},"sentence":{"type":"string"},"post_type":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["ok","checks","sentence"]},"ContractClause":{"properties":{"id":{"type":"string"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}]},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}]},"risk":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis":{"anyOf":[{"type":"string"},{"type":"null"}]},"negotiation_lever":{"anyOf":[{"type":"string"},{"type":"null"}]},"suggested_revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner_wording":{"anyOf":[{"type":"string"},{"type":"null"}]},"revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"revision_source":{"anyOf":[{"type":"string"},{"type":"null"}]},"decision":{"type":"string"},"note":{"type":"string"},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","decision","note"]},"ContractClauses":{"properties":{"contract_id":{"type":"string"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}]},"missing_protections":{"items":{},"type":"array"},"questions_for_counsel":{"items":{},"type":"array"},"clauses":{"items":{"$ref":"#/$defs/ContractClause"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"decided":{"type":"integer"},"total":{"type":"integer"},"disclaimer":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["contract_id","missing_protections","questions_for_counsel","clauses","counts","decided","total"]},"ContractCompletion":{"properties":{"sections":{"additionalProperties":{"type":"integer"},"type":"object"},"overall":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["sections","overall"]},"ContractCompose":{"properties":{"contract_id":{"type":"string"},"text":{"type":"string"},"chars":{"type":"integer"},"completion":{"$ref":"#/$defs/ContractCompletion"}},"additionalProperties":true,"type":"object","required":["contract_id","text","chars","completion"]},"ContractFieldKept":{"properties":{"contract_id":{"type":"string"},"path":{"type":"string"},"action":{"type":"string"},"pending":{"type":"integer"},"builder":{"$ref":"#/$defs/ContractBuilder"}},"additionalProperties":true,"type":"object","required":["contract_id","path","action","pending","builder"]},"ContractFilled":{"properties":{"path":{"type":"string"},"value":{},"confidence":{"type":"string"},"filled_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["path","confidence","filled_at"]},"ContractNarrative":{"properties":{"kind":{"type":"string"},"title":{"type":"string"},"sections":{"items":{"$ref":"#/$defs/NarrativeSection"},"type":"array"},"missing":{"items":{"type":"string"},"type":"array"},"generated_at":{"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclaimer":{"type":"string"},"contract_id":{"type":"string"},"markdown":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","title","sections","missing","generated_at","disclaimer","contract_id","markdown"]},"ContractParties":{"properties":{"company":{"type":"string"},"creator":{"type":"string"}},"additionalProperties":true,"type":"object","required":["company","creator"]},"ContractPayment":{"properties":{"id":{"type":"string"},"event_key":{"type":"string"},"event":{"type":"string"},"payer":{"type":"string"},"payee":{"type":"string"},"amount_minor":{"anyOf":[{"type":"integer"},{"type":"null"}]},"amount_text":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"plan_version":{"anyOf":[{"type":"integer"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","event_key","event","payer","payee","status"]},"ContractPayments":{"properties":{"payments":{"items":{"$ref":"#/$defs/ContractPayment"},"type":"array"},"totals":{"additionalProperties":{"$ref":"#/$defs/PaymentTotals"},"type":"object"}},"additionalProperties":true,"type":"object","required":["payments","totals"]},"ContractPlan":{"properties":{"version":{"type":"integer"},"planned_at":{"type":"string"},"parties":{"$ref":"#/$defs/ContractParties"},"slots":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"sign_offs":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"caption_rules":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"payment_events":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"changes":{"items":{"type":"string"},"type":"array"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["version","planned_at","parties","slots","sign_offs","caption_rules","payment_events","changes","sentence"]},"ContractPlatforms":{"properties":{"contract_id":{"type":"string"},"post_types":{"items":{"type":"string"},"type":"array"},"summary":{"type":"string"},"completion":{"$ref":"#/$defs/ContractCompletion"}},"additionalProperties":true,"type":"object","required":["contract_id","post_types","summary","completion"]},"ContractProfile":{"properties":{"profile":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["profile"]},"ContractProject":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"profile":{"additionalProperties":true,"type":"object"},"review_summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"has_text":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"review":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"earlier_decisions":{"type":"integer"},"deal_terms":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"deal_presets":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"conversation":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"narratives":{"additionalProperties":true,"type":"object"},"text_chars":{"anyOf":[{"type":"integer"},{"type":"null"}]},"mode":{"type":"string"},"builder":{"anyOf":[{"$ref":"#/$defs/ContractBuilder"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","profile","has_text","earlier_decisions","deal_presets","conversation","narratives","mode"]},"ContractQuickstart":{"properties":{"contract_id":{"type":"string"},"filled":{"items":{"$ref":"#/$defs/ContractFilled"},"type":"array"},"kept_yours":{"items":{"type":"string"},"type":"array"},"warnings":{"items":{"type":"string"},"type":"array"},"suggested_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"pending":{"type":"integer"},"builder":{"$ref":"#/$defs/ContractBuilder"}},"additionalProperties":true,"type":"object","required":["contract_id","filled","kept_yours","warnings","pending","builder"]},"ContractRecord":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"profile":{"additionalProperties":true,"type":"object"},"review_summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"has_text":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"review":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"earlier_decisions":{"type":"integer"},"deal_terms":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"deal_presets":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"conversation":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"narratives":{"additionalProperties":true,"type":"object"},"text_chars":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","profile","has_text","earlier_decisions","deal_presets","conversation","narratives"]},"ContractReviewQueued":{"properties":{"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["status"]},"ContractScrutiny":{"properties":{"contract_id":{"type":"string"},"overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"concerns":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"findings":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"total":{"type":"integer"},"open":{"type":"integer"},"counts":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object"},"analyzed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclaimer":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["contract_id","concerns","findings","total","open","counts"]},"ContractSection":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"removable":{"type":"boolean"},"active":{"type":"boolean"},"custom":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","label","removable","active"]},"ContributorReceipt":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"user_id":{"type":"string"},"terms_hash":{"type":"string"},"agreed_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["persona_id","user_id","terms_hash","agreed_at"]},"ConvertRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"source_format":{"type":"string"},"target_format":{"type":"string"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","source_format","target_format"]},"CostCreated":{"properties":{"id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id"]},"CostList":{"properties":{"costs":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"monthly_burn_cents":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["costs","monthly_burn_cents"]},"CostStopped":{"properties":{"deactivated":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deactivated"]},"Countdown":{"properties":{"target_at":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"elements":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["target_at","label","elements"]},"CountdownAnswer":{"properties":{"project":{"$ref":"#/$defs/Project"},"countdown":{"$ref":"#/$defs/Countdown"}},"additionalProperties":true,"type":"object","required":["project","countdown"]},"CountdownClearAnswer":{"properties":{"project":{"$ref":"#/$defs/Project"},"countdown":{"$ref":"#/$defs/CountdownCleared"}},"additionalProperties":true,"type":"object","required":["project","countdown"]},"CountdownCleared":{"properties":{"cleared":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["cleared"]},"CoveragePlan":{"properties":{"scenes":{"items":{"$ref":"#/$defs/CoverageScene"},"type":"array"},"shots":{"type":"integer"}},"additionalProperties":false,"type":"object","required":["scenes","shots"]},"CoverageScene":{"properties":{"scene_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"anyOf":[{"type":"string"},{"type":"null"}]},"shots":{"items":{"$ref":"#/$defs/CoverageShot"},"type":"array"}},"additionalProperties":false,"type":"object","required":["scene_id","slug","shots"]},"CoverageShot":{"properties":{"order":{"type":"integer"},"coverage":{"type":"string"},"angle":{"type":"string"},"framing":{"type":"string"},"movement":{"type":"string"},"lens":{"type":"string"},"depth_of_field":{"type":"string"},"who":{"type":"string"},"where_they_stand":{"type":"string"},"dialogue":{"type":"string"},"action":{"type":"string"},"duration":{"type":"integer"},"note":{"type":"string"},"label":{"type":"string"},"purpose":{"type":"string"},"camera_movement":{"type":"string"},"lighting":{"type":"string"},"duration_ticks":{"type":"integer"}},"additionalProperties":false,"type":"object","required":["order","coverage","angle","framing","movement","lens","depth_of_field","who","where_they_stand","dialogue","action","duration","note","label","purpose","camera_movement","lighting","duration_ticks"],"description":"One planned shot. Blank fields are the ones the page does not say."},"Creation":{"properties":{"project":{"$ref":"#/$defs/FilmProject"},"documents":{"items":{"$ref":"#/$defs/CreationDocument"},"type":"array"},"script":{"anyOf":[{"$ref":"#/$defs/DocRef"},{"type":"null"}]},"drafts":{"items":{"$ref":"#/$defs/Draft"},"type":"array"},"selection":{"$ref":"#/$defs/Selection"},"screenplay_import":{"anyOf":[{"$ref":"#/$defs/ScreenplayArrival"},{"type":"null"}]},"storyboard":{"anyOf":[{"$ref":"#/$defs/DocRef"},{"type":"null"}]},"shot_list":{"anyOf":[{"$ref":"#/$defs/PackDocument"},{"type":"null"}]},"sequence":{"anyOf":[{"$ref":"#/$defs/PackDocument"},{"type":"null"}]},"element_count":{"type":"integer"},"reach":{"$ref":"#/$defs/Reach"},"progress":{"$ref":"#/$defs/Progress"}},"additionalProperties":true,"type":"object","required":["project","documents","script","drafts","selection","screenplay_import","storyboard","shot_list","sequence","element_count","reach","progress"]},"CreationDocument":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"format":{"type":"string"},"title":{"type":"string"},"word_count":{"type":"integer"},"revision":{"type":"string"},"created_at":{"type":"string"},"authority":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","format","title","word_count","revision","created_at","authority"]},"CredentialOut":{"properties":{"name":{"type":"string"},"kind":{"type":"string"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"last4":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"meta":{"additionalProperties":true,"type":"object"},"test":{"anyOf":[{"$ref":"#/$defs/CredentialTestOut"},{"type":"null"}]}},"type":"object","required":["name","kind","provider","last4","status","meta"],"description":"Masked view — never the plaintext secret."},"CredentialTestOut":{"properties":{"name":{"type":"string"},"result":{"type":"string"},"http_status":{"anyOf":[{"type":"integer"},{"type":"null"}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}]},"tested_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["name","result"],"description":"Outcome of a live validity probe. `result` is honest four-state:\nvalid / invalid are PROVEN by an HTTP status from the real service;\ninconclusive means the probe couldn't decide (network trouble, or a\nstatus that doesn't speak to auth); untestable means no probe target\nexists for this credential."},"CreditOverview":{"properties":{"currency":{"type":"string"},"credit_spend_gate":{},"accounts":{"items":{},"type":"array"},"accounts_total":{"type":"integer"},"totals":{"additionalProperties":true,"type":"object"},"activities":{},"margin":{},"anomalies":{},"recent_changes_total":{"type":"integer"},"recent_changes":{"items":{},"type":"array"},"proposals":{}},"additionalProperties":true,"type":"object","required":["currency","credit_spend_gate","accounts","accounts_total","totals","activities","margin","anomalies","recent_changes_total","recent_changes","proposals"]},"CreditPack":{"properties":{"id":{"type":"string"},"credits":{"type":"integer"},"price_minor":{"type":"integer"},"bonus_pct":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","credits","price_minor","bonus_pct"]},"CreditPurchase":{"properties":{"id":{"type":"string"},"at":{"type":"string"},"credit_minor":{"type":"integer"},"kind":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","at","credit_minor","kind"]},"CreditReadout":{"properties":{"currency":{"type":"string"},"credit_minor":{"type":"integer"},"payments_available":{"type":"boolean"},"packs":{"items":{"$ref":"#/$defs/CreditPack"},"type":"array"},"recent_purchases":{"items":{"$ref":"#/$defs/CreditPurchase"},"type":"array"},"auto_reload":{"$ref":"#/$defs/AutoReload"},"compute":{"$ref":"#/$defs/ComputeWindow"}},"additionalProperties":true,"type":"object","required":["currency","credit_minor","payments_available","packs","recent_purchases","auto_reload","compute"]},"CropIn":{"properties":{"x":{"type":"number","maximum":1.0,"minimum":0.0},"y":{"type":"number","maximum":1.0,"minimum":0.0},"w":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},"h":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0}},"additionalProperties":false,"type":"object","required":["x","y","w","h"]},"CueOut":{"properties":{"number":{"type":"integer"},"type":{"type":"string"},"type_label":{"type":"string"},"document_id":{"type":"string","x-kit-id":"item"},"document_title":{"type":"string"},"line":{"type":"integer"},"text":{"type":"string"},"style":{"type":"string"},"notes":{"type":"string"},"placed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"where":{"type":"string"},"now_line":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["number","type","type_label","document_id","document_title","line","text","style","notes","placed_at","where","now_line"]},"CueSheetOut":{"properties":{"cues":{"items":{"$ref":"#/$defs/CueOut"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"types":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["cues","counts","types"]},"Dashboard":{"properties":{"books":{"additionalProperties":true,"type":"object"},"monthly_burn_cents":{"type":"integer"},"channels":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"products":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"fulfillment":{"additionalProperties":true,"type":"object"},"sync_health":{"additionalProperties":true,"type":"object"},"sheets":{"additionalProperties":true,"type":"object"},"review":{"additionalProperties":true,"type":"object"},"attention":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["books","monthly_burn_cents","channels","products","fulfillment","sync_health","sheets","review","attention"]},"DecisionIn":{"properties":{"start":{"type":"number"},"end":{"type":"number"},"title":{"type":"string","maxLength":80,"default":""},"why":{"type":"string","maxLength":200,"default":""},"dead_air":{"type":"string","maxLength":20,"default":"conservative"},"trims":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array","maxItems":20},{"type":"null"}]}},"type":"object","required":["start","end"]},"Deck":{"properties":{"generated_at":{"type":"string"},"dials":{},"reading":{},"spend":{},"lever":{}},"additionalProperties":true,"type":"object","required":["generated_at","dials","reading","spend","lever"]},"DefectBoard":{"properties":{"tickets":{"items":{},"type":"array"},"count":{"type":"integer"},"live":{},"ready_to_close":{},"jobs":{},"last_census_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["tickets","count","live","ready_to_close","jobs","last_census_at"]},"DefectCensus":{"properties":{"at":{"anyOf":[{"type":"string"},{"type":"null"}]},"classes":{},"jobs":{},"outcomes":{},"summary":{},"retired":{},"retired_total":{},"settled_terminal":{},"settled_terminal_total":{}},"additionalProperties":true,"type":"object"},"Deleted":{"properties":{"deleted":{"type":"string"}},"additionalProperties":true,"type":"object","required":["deleted"]},"DeletedOut":{"properties":{"deleted":{"type":"boolean"}},"type":"object","required":["deleted"]},"DepartmentIn":{"properties":{"line_micro":{"type":"integer","maximum":10000000000.0,"exclusiveMinimum":0.0},"threshold_micro":{"type":"integer","maximum":10000000000.0,"exclusiveMinimum":0.0},"approver_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["line_micro","threshold_micro"]},"DeskArtifactOut":{"properties":{"node_id":{"type":"string","format":"uuid"},"path":{"type":"string"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"title":{"type":"string"}},"type":"object","required":["node_id","path","entity_id","title"]},"DeskNodeOut":{"properties":{"id":{"type":"string","format":"uuid"},"project_id":{"type":"string","format":"uuid"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"kind":{"type":"string"},"name":{"type":"string"},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"mime":{"type":"string"},"sort":{"type":"integer"},"committed_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","project_id","parent_id","kind","name","body","mime","sort","committed_entity_id","created_at","updated_at"]},"DeskProjectOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"department":{"type":"string"},"status":{"type":"string"},"node_count":{"type":"integer"},"committed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"committed_persona_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"committed_collection_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"nodes":{"anyOf":[{"items":{"$ref":"#/$defs/DeskNodeOut"},"type":"array"},{"type":"null"}]},"href":{"anyOf":[{"type":"string"},{"type":"null"}]},"artifacts":{"anyOf":[{"items":{"$ref":"#/$defs/DeskArtifactOut"},"type":"array"},{"type":"null"}]}},"type":"object","required":["id","name","department","status","node_count","committed_at","committed_persona_id","committed_collection_id","created_at","updated_at"]},"Destination":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"secure":{"type":"boolean"},"key":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","address","secure","key"]},"DisclosureAttributes":{"properties":{"total":{"type":"integer"},"visible":{"type":"integer"},"hidden_sensitive":{"type":"integer"},"hidden_untriaged":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["total","visible","hidden_sensitive","hidden_untriaged"]},"DisclosurePreview":{"properties":{"scope":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"list_version":{"type":"string"},"attributes":{"$ref":"#/$defs/DisclosureAttributes"},"types_found":{"items":{"type":"string"},"type":"array"},"blocking_types":{"items":{"type":"string"},"type":"array"},"third_party_signals":{},"withholds_locators":{"type":"boolean"},"rules":{"items":{},"type":"array"},"digest":{"type":"string"},"sovereign_only":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["scope","persona_id","list_version","attributes","types_found","blocking_types","third_party_signals","withholds_locators","rules","digest"]},"Dismissed":{"properties":{"dismissed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["dismissed"]},"DocRef":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"format":{"type":"string"},"title":{"type":"string"},"revision":{"type":"string"},"authority":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","format","title","revision","authority"]},"DocumentOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"structure":{"additionalProperties":true,"type":"object"},"word_count":{"type":"integer"},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["entity_id","persona_id","format","title","body","structure","word_count","version_from","created_at"]},"DocumentRecord":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"format":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"structure":{"additionalProperties":true,"type":"object"},"word_count":{"type":"integer"},"version_from":{"type":"string"},"created_at":{"type":"string"},"method":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id","format","title","body","structure","word_count","version_from","created_at","method"],"description":"A writing document as ``_doc_out`` already spells it, including method."},"DoorOut":{"properties":{"name":{"type":"string"},"script":{"additionalProperties":true,"type":"object"},"exposure":{"additionalProperties":true,"type":"object"},"character":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created":{"type":"boolean"},"opened_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["name","script","exposure","character","created","opened_at"]},"DossierBuild":{"properties":{"queued":{"type":"boolean"},"job_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["queued","job_id"]},"DossierSchedule":{"properties":{"repeat_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"on_arrival":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["on_arrival"]},"DossierSummary":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"citation_count":{"type":"integer"},"authority_mix":{"additionalProperties":{"type":"integer"},"type":"object"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["citation_count","authority_mix"]},"Draft":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"format":{"type":"string"},"title":{"type":"string"},"word_count":{"type":"integer"},"revision":{"type":"string"},"created_at":{"type":"string"},"authority":{"type":"string"},"authority_label":{"type":"string"},"method":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","format","title","word_count","revision","created_at","authority","authority_label","method"]},"DraftConsistency":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"written_at":{"type":"string"},"checked":{"type":"integer"},"stale":{"items":{"$ref":"#/$defs/ConsistencyRow"},"type":"array"},"not_named":{"items":{"$ref":"#/$defs/ConsistencyRow"},"type":"array"},"added":{"items":{"$ref":"#/$defs/ConsistencyAdded"},"type":"array"}},"additionalProperties":true,"type":"object","required":["document_id","title","written_at","checked","stale","not_named","added"]},"DraftReview":{"properties":{"default":{"type":"boolean"},"account":{"type":"boolean"},"capsules":{"items":{"$ref":"#/$defs/ReviewPlace"},"type":"array"},"projects":{"items":{"$ref":"#/$defs/ReviewPlace"},"type":"array"},"keys":{"items":{"$ref":"#/$defs/ReviewPlace"},"type":"array"},"agents":{"items":{"$ref":"#/$defs/ReviewPlace"},"type":"array"}},"additionalProperties":true,"type":"object","required":["default","account","capsules","projects","keys","agents"]},"Draw":{"properties":{"persona":{"additionalProperties":true,"type":"object"},"entities":{"items":{},"type":"array"},"referents":{"items":{},"type":"array"},"entity":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["persona","entities","referents"]},"EconomyPosition":{"properties":{"enforced":{"type":"boolean"},"credit_minor":{"additionalProperties":{"type":"integer"},"type":"object"},"payable_minor":{"additionalProperties":{"type":"integer"},"type":"object"},"policy":{"$ref":"#/$defs/RateCard"}},"additionalProperties":true,"type":"object","required":["enforced","credit_minor","payable_minor","policy"]},"EditUseOut":{"properties":{"clip_id":{"type":"string"},"track":{"type":"string"},"at":{"type":"string"},"shot_id":{"type":"string"},"shot_label":{"type":"string"},"inside":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["clip_id","track","at","shot_id","shot_label","inside"]},"EditorialFeed":{"properties":{"takes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"counts":{"additionalProperties":true,"type":"object"},"in_flight":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"failed":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"recent":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"last_batch":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["takes","counts","in_flight","failed","recent","last_batch"]},"Effects":{"properties":{"said":{"type":"string"},"clip":{"type":"string"},"effects":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["said","clip","effects"]},"ElementLinkOut":{"properties":{"other_id":{"type":"string"},"other_name":{"type":"string"},"other_kind":{"type":"string"},"rule":{"type":"string"},"rule_label":{"type":"string"},"removed":{"type":"boolean"},"note":{"type":"string"},"breaks":{"items":{"$ref":"#/$defs/ShotRefOut"},"type":"array"},"kept":{"items":{"$ref":"#/$defs/ShotRefOut"},"type":"array"}},"type":"object","required":["other_id","other_name","other_kind","rule","rule_label","removed","note","breaks","kept"]},"ElementOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"name":{"type":"string"},"fields":{"additionalProperties":true,"type":"object"},"notes":{"type":"string"},"include_in_context":{"type":"boolean"},"has_portrait":{"type":"boolean"},"origin":{"type":"string"},"gather":{"additionalProperties":true,"type":"object"},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"locked_look":{"type":"string","default":""}},"type":"object","required":["entity_id","project_id","kind","name","fields","notes","include_in_context","has_portrait","origin","gather","version_from","created_at"]},"EnhanceKind":{"properties":{"candidates":{"type":"integer"},"enqueued":{"type":"integer"},"deferred_quota":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["candidates","enqueued","deferred_quota"]},"EnhanceRun":{"properties":{"kinds":{"additionalProperties":{"$ref":"#/$defs/EnhanceKind"},"type":"object"},"enqueued_total":{"type":"integer"},"deferred_total":{"type":"integer"},"selection":{"anyOf":[{"type":"integer"},{"type":"null"}]},"derived_added":{"anyOf":[{"type":"integer"},{"type":"null"}]},"gone":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["kinds","enqueued_total","deferred_total"]},"EntityEvidence":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"basis":{"type":"string"},"evidence":{"items":{"$ref":"#/$defs/EvidenceItem"},"type":"array"}},"type":"object","required":["entity_id","basis","evidence"]},"EntityOut":{"properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_type":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_uri":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"storage_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbnail_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"custody":{"type":"string"},"locator":{"anyOf":[{"type":"string"},{"type":"null"}]},"acquisition_method":{"anyOf":[{"type":"string"},{"type":"null"}]},"event_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"retired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"origin":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"lawful_basis":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"original_shared":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"media_category":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_observations":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"source_input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"metric_value":{"anyOf":[{"type":"number"},{"type":"null"}]},"content_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"erasing":{"type":"boolean","default":false},"display_label":{"type":"string","readOnly":true}},"type":"object","required":["id","tenant_id","persona_id","entity_type","title","source_uri","content_hash","storage_key","thumbnail_key","content_type","size_bytes","custody","locator","acquisition_method","event_time","retired_at","origin","lawful_basis","created_at","display_label"]},"ErasureAckOut":{"properties":{"replica_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"result":{"anyOf":[{"type":"string"},{"type":"null"}]},"acknowledged_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"type":"object","required":["replica_id","status","result","acknowledged_at"]},"ErasurePreview":{"properties":{"scope":{"type":"string","enum":["entity","persona","tenant"]},"target_id":{"type":"string"},"tenant_id":{"type":"string"},"dry_run":{"type":"boolean"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"s3_deleted":{"items":{"type":"string"},"type":"array"},"s3_kept_shared":{"items":{"type":"string"},"type":"array"},"s3_deleted_kinds":{"additionalProperties":true,"type":"object"},"s3_kept_shared_kinds":{"additionalProperties":true,"type":"object"},"edge_replicas":{"additionalProperties":true,"type":"object"},"kept":{"additionalProperties":true,"type":"object"},"sign_ins":{"additionalProperties":true,"type":"object"},"pointers_cleared":{"additionalProperties":true,"type":"object"},"erased_total":{"type":"integer"},"refs_scrubbed":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["scope","target_id","tenant_id","dry_run","counts","s3_deleted","s3_kept_shared","s3_deleted_kinds","s3_kept_shared_kinds","edge_replicas","kept","sign_ins","pointers_cleared","erased_total","refs_scrubbed"]},"ErasureQueued":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["job_id","status"]},"ErasureReceiptOut":{"properties":{"id":{"type":"string","format":"uuid"},"scope":{"type":"string"},"target_id":{"type":"string","format":"uuid"},"counts":{"additionalProperties":true,"type":"object"},"s3_deleted":{"items":{},"type":"array"},"s3_kept_shared":{"items":{},"type":"array"},"residual":{"additionalProperties":true,"type":"object"},"edge_replicas":{"additionalProperties":true,"type":"object","default":{}},"edge_sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"edge_device_lines":{"items":{"type":"string"},"type":"array","default":[]},"kept":{"additionalProperties":true,"type":"object","default":{}},"kept_sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"training_sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"sign_ins":{"additionalProperties":true,"type":"object","default":{}},"sign_in_sentences":{"items":{"type":"string"},"type":"array","default":[]},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","scope","target_id","counts","s3_deleted","s3_kept_shared","residual","created_at"]},"EvaluateOut":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"queued":{"type":"boolean"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["job_id","queued"]},"EventOut":{"properties":{"event_id":{"type":"string","format":"uuid"},"workflows_started":{"type":"integer"},"outcomes":{"items":{"$ref":"#/$defs/EventStartOut"},"type":"array","default":[]}},"type":"object","required":["event_id","workflows_started"]},"EventStartOut":{"properties":{"workflow":{"type":"string"},"started":{"type":"boolean"},"words":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["workflow","started"]},"EvidenceItem":{"properties":{"kind":{"type":"string"},"text":{"type":"string"},"start":{"anyOf":[{"type":"number"},{"type":"null"}]},"end":{"anyOf":[{"type":"number"},{"type":"null"}]},"score":{"type":"number"}},"type":"object","required":["kind","text","score"]},"Exposure":{"properties":{"policy":{"anyOf":[{"type":"string"},{"type":"null"}]},"inherited":{"type":"string"},"effective":{"type":"string"},"options":{"items":{"type":"string"},"type":"array"},"capabilities":{"$ref":"#/$defs/ExposureCapabilities"},"history":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"integrity":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["inherited","effective","options","capabilities","history"]},"ExposureCapabilities":{"properties":{"text_local":{"type":"boolean"},"text_managed":{"type":"boolean"},"text_byok":{"type":"boolean"},"generative_image":{"type":"boolean"},"generative_video":{"type":"boolean"},"generative_byok_available":{"type":"boolean"},"sharing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["text_local","text_managed","text_byok","generative_image","generative_video","generative_byok_available","sharing"]},"ExposureCapsule":{"properties":{"name":{"type":"string"},"rule":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["name"]},"ExposureRead":{"properties":{"exposes":{"type":"boolean"},"sentence":{"type":"string"},"digest":{"anyOf":[{"type":"string"},{"type":"null"}]},"sources":{"items":{"$ref":"#/$defs/ExposureCapsule"},"type":"array"},"unread":{"type":"integer"},"destinations":{"items":{"type":"string"},"type":"array"},"approved":{"type":"boolean"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"can_approve":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["exposes","sentence","sources","unread","destinations","approved","can_approve"]},"FaceErased":{"properties":{"receipt_id":{"type":"string"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"edge_replicas":{"additionalProperties":{"type":"integer"},"type":"object"}},"additionalProperties":true,"type":"object","required":["receipt_id","counts","edge_replicas"]},"FaceGroupRow":{"properties":{"id":{"type":"string"},"number":{"type":"integer"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"count":{"type":"integer"},"items":{"items":{"$ref":"#/$defs/FaceItem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","number","name","count","items"]},"FaceGroups":{"properties":{"groups":{"items":{"$ref":"#/$defs/FaceGroupRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["groups"]},"FaceItem":{"properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","title"]},"FaceNamed":{"properties":{"id":{"type":"string"},"number":{"type":"integer"},"name":{"type":"string"},"named_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"named_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","number","name","named_by","named_at"]},"FaceRun":{"properties":{"run_id":{"type":"string"},"status":{"type":"string"},"computer":{"anyOf":[{"type":"string"},{"type":"null"}]},"task":{"$ref":"#/$defs/FaceTask"}},"additionalProperties":true,"type":"object","required":["run_id","status","computer","task"]},"FaceTask":{"properties":{"kind":{"type":"string"},"run_id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"folders":{"items":{"type":"string"},"type":"array"},"rule":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","run_id","persona_id","folders","rule"]},"Fact":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"value":{"type":"string"},"agreed":{"$ref":"#/$defs/Agreed"}},"additionalProperties":true,"type":"object","required":["id","kind","value","agreed"]},"FactCheckOut":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"checked_at":{"type":"string"},"model":{"type":"string"},"notes_consulted":{"type":"integer"},"claims":{"items":{"$ref":"#/$defs/ClaimRow"},"type":"array"},"supported":{"type":"integer"},"contradicted":{"type":"integer"},"not_in_research":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["document_id","checked_at","model","notes_consulted","claims","supported","contradicted","not_in_research"]},"FactRefresh":{"properties":{"job_id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"key":{"type":"string"}},"additionalProperties":true,"type":"object","required":["job_id","entity_id","key"]},"FanCheck":{"properties":{"offer_id":{"type":"string"},"uses":{"items":{"$ref":"#/$defs/FanUse"},"type":"array"},"allowed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["offer_id","uses","allowed"]},"FanTerms":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"terms":{"additionalProperties":true,"type":"object"},"unwritten":{"items":{"type":"string"},"type":"array"},"listed":{"type":"boolean"},"listed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"terms_hash":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","terms","unwritten","listed","listed_at","terms_hash"]},"FanUse":{"properties":{"kind":{"type":"string","enum":["make","sell","train","change_canon"]},"what":{"type":"string"},"allowed":{"type":"boolean"},"term":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","what","allowed","term"]},"FanWork":{"properties":{"id":{"type":"string"},"offer_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"uses":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"verdict":{"additionalProperties":true,"type":"object"},"status":{"type":"string"},"receipt":{"type":"string"},"fan_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"declared_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","offer_id","title","description","uses","verdict","status","receipt","fan_email","declared_at"]},"FanWorks":{"properties":{"works":{"items":{"$ref":"#/$defs/FanWork"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["works","count"]},"FeeClass":{"properties":{"label":{"type":"string"},"fee_exempt":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["label","fee_exempt"]},"FeedCatalog":{"properties":{"categories":{"items":{"type":"string"},"type":"array"},"feeds":{"items":{"$ref":"#/$defs/CatalogFeed"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["categories","feeds","count"]},"FeedFollowed":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"feed_url":{"type":"string"},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","feed_url","repeat_hours"]},"FeedUnfollowed":{"properties":{"unfollowed":{"type":"boolean"},"pending_jobs_removed":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["unfollowed","pending_jobs_removed"]},"FieldIn":{"properties":{"name":{"type":"string","maxLength":200},"kind":{"type":"string","enum":["text","number","date","choice","email","checkbox","file"],"default":"text"},"required":{"type":"boolean","default":false},"options":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":60},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["name"]},"FilmBreakdown":{"properties":{"project_id":{"type":"string"},"breakdown":{"anyOf":[{"$ref":"#/$defs/BreakdownBody"},{"type":"null"}]},"summary":{"$ref":"#/$defs/BreakdownSummary"},"judgment_job":{"anyOf":[{"$ref":"#/$defs/JudgmentJob"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["project_id","breakdown","summary"]},"FilmFiled":{"properties":{"project_id":{"type":"string"},"screenplay_id":{"type":"string"},"shots":{"type":"integer"},"manifest_shots":{"type":"integer"},"film_url":{"type":"string"},"narrative":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["project_id","screenplay_id","shots","manifest_shots","film_url","narrative"]},"FilmProject":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"branch":{"type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"type":"string"},"logline":{"type":"string"},"premise":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","branch","format","stage","logline","premise","persona_id"]},"FilterIn":{"properties":{"column":{"type":"string","maxLength":200},"op":{"type":"string","enum":["eq","ne","gt","lt","contains","empty"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["column","op"]},"FinishPlan":{"properties":{"job_type":{"type":"string"},"layers":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["job_type","layers"]},"FirstPictureOut":{"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"}},"type":"object","required":["id","label"]},"FlagPagesOut":{"properties":{"flag":{"additionalProperties":true,"type":"object"},"page_index":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"}},"type":"object","required":["flag","page_index"]},"FormAnswerLine":{"properties":{"question":{"type":"string"},"answer":{"anyOf":[{},{"type":"null"}]},"files":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["question"]},"FormAnswered":{"properties":{"receipt_id":{"type":"string"},"form_id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"title":{"type":"string"},"record_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"who":{"type":"string"},"when":{"anyOf":[{"type":"string"},{"type":"null"}]},"place":{"anyOf":[{"$ref":"#/$defs/FormPlace"},{"type":"null"}]},"answers":{"items":{"$ref":"#/$defs/FormAnswerLine"},"type":"array"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["receipt_id","form_id","kind","title","record_id","who","when","place","answers","sentence"]},"FormList":{"properties":{"forms":{"items":{"$ref":"#/$defs/FormSummary"},"type":"array"}},"additionalProperties":true,"type":"object","required":["forms"]},"FormPlace":{"properties":{"mark_id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["mark_id","label"]},"FormQuestion":{"properties":{"name":{"type":"string"},"kind":{"type":"string","enum":["text","number","date","choice","email","checkbox","file"]},"required":{"type":"boolean"},"options":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["name","kind","required"]},"FormReceipt":{"properties":{"receipt_id":{"type":"string"},"form_id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"title":{"type":"string"},"record_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"who":{"type":"string"},"when":{"anyOf":[{"type":"string"},{"type":"null"}]},"place":{"anyOf":[{"$ref":"#/$defs/FormPlace"},{"type":"null"}]},"answers":{"items":{"$ref":"#/$defs/FormAnswerLine"},"type":"array"}},"additionalProperties":true,"type":"object","required":["receipt_id","form_id","kind","title","record_id","who","when","place","answers"]},"FormRecord":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"title":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"type":"string","x-kit-id":"capsule"},"sheet":{"$ref":"#/$defs/FormSheetRef"},"fields":{"items":{"$ref":"#/$defs/FormQuestion"},"type":"array"},"responses":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","kind","title","note","capsule_id","sheet","fields","responses","created_at","updated_at"]},"FormRemoved":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"receipts":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","removed","receipts","sentence"]},"FormResponses":{"properties":{"form_id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"responses":{"items":{"$ref":"#/$defs/FormReceipt"},"type":"array"}},"additionalProperties":true,"type":"object","required":["form_id","kind","responses"]},"FormSaved":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"title":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_id":{"type":"string","x-kit-id":"capsule"},"sheet":{"$ref":"#/$defs/FormSheetRef"},"fields":{"items":{"$ref":"#/$defs/FormQuestion"},"type":"array"},"responses":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","kind","title","note","capsule_id","sheet","fields","responses","created_at","updated_at","sentence"]},"FormSheetRef":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name"]},"FormSummary":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["form","checklist"]},"title":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"sheet_id":{"type":"string"},"questions":{"type":"integer"},"responses":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","kind","title","capsule_id","sheet_id","questions","responses"]},"FrameworkOut":{"properties":{"label":{"type":"string"},"coverage_rubric":{"items":{"type":"string"},"type":"array"},"structure":{"additionalProperties":true,"type":"object"},"principles":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"format":{"type":"string"},"fallback":{"type":"boolean"},"weights":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["label","coverage_rubric","structure","principles","format","fallback"],"description":"A review framework the catalog already returns, plus which one answered."},"Freshness":{"properties":{"score":{"anyOf":[{"type":"integer"},{"type":"null"}]},"age_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"is_stale":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"refresh_recommended":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"FromArticlesOut":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"read":{"type":"integer"},"skipped":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["document_id","title","read","skipped"]},"FulfillmentBoard":{"properties":{"buckets":{"additionalProperties":true,"type":"object"},"counts":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["buckets","counts"]},"GateChecked":{"properties":{"ok":{"type":"boolean"},"offenders":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"message":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["ok","offenders","message"]},"GatewayIn":{"properties":{"account_id":{"type":"string","maxLength":64,"minLength":1},"gateway_id":{"type":"string","maxLength":64,"minLength":1}},"type":"object","required":["account_id","gateway_id"],"description":"The two ids a cloudflare_gateway row is addressed by. The server builds\nthe address from the catalog's template; a typed host is never kept."},"GatherStartOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"job_id":{"type":"string","format":"uuid"},"ingest_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"reused":{"type":"boolean"},"gather":{"additionalProperties":true,"type":"object"}},"type":"object","required":["entity_id","job_id","ingest_event_id","reused","gather"]},"GoalItems":{"properties":{"total":{"type":"integer"},"by_status":{"additionalProperties":{"type":"integer"},"type":"object"}},"additionalProperties":true,"type":"object","required":["total","by_status"]},"GoalProgress":{"properties":{"operation_id":{"type":"string"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}]},"items":{"$ref":"#/$defs/GoalItems"},"goal":{"anyOf":[{"$ref":"#/$defs/app__api__single_door_answers__Goal"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["operation_id","stage","items","goal"]},"GoldenRecord":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"display_name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","kind","display_name"]},"Grade":{"properties":{"said":{"type":"string"},"clip":{"type":"string"},"grade":{"$ref":"#/$defs/GradeBody"}},"additionalProperties":true,"type":"object","required":["said","clip","grade"]},"GradeBody":{"properties":{"shadows":{"type":"string"},"midtones":{"type":"string"},"highlights":{"type":"string"},"exposure":{"type":"string"},"contrast":{"type":"string"},"saturation":{"type":"string"},"warmth":{"type":"string"}},"additionalProperties":true,"type":"object","required":["shadows","midtones","highlights","exposure","contrast","saturation","warmth"]},"Graduated":{"properties":{"concept":{"$ref":"#/$defs/Concept"},"review_item_ids":{"items":{"type":"string"},"type":"array"},"operation_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["concept","review_item_ids","operation_id"]},"GrantEdited":{"properties":{"id":{"type":"string"},"api_key_id":{"type":"string"},"api_key_name":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"on_edition":{"type":"boolean"},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"terms":{"additionalProperties":true,"type":"object"},"listing_snapshot_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","api_key_id","api_key_name","persona_id","capsule_id","on_edition","persona_name","terms","listing_snapshot_hash","created_at","expires_at"]},"GrantIssued":{"properties":{"id":{"type":"string"},"api_key_id":{"type":"string"},"api_key_name":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"on_edition":{"type":"boolean"},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"terms":{},"listing_snapshot_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","api_key_id","api_key_name","persona_id","capsule_id","on_edition","persona_name","terms","listing_snapshot_hash","created_at","expires_at"]},"GrantRevoked":{"properties":{"id":{"type":"string"},"api_key_id":{"type":"string"},"deleted":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"type":"string"},"remaining_grants_for_key":{"type":"integer"},"key_now_tenant_wide":{"type":"boolean"},"key_confined_to_nothing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","api_key_id","deleted","reason","revoked_at","remaining_grants_for_key","key_now_tenant_wide","key_confined_to_nothing"]},"Graphic":{"properties":{"said":{"type":"string"},"graphic":{"$ref":"#/$defs/GraphicBody"}},"additionalProperties":true,"type":"object","required":["said","graphic"]},"GraphicBody":{"properties":{"shot":{"type":"string"},"media":{"type":"string"},"placement":{"type":"string"},"words":{"type":"string"}},"additionalProperties":true,"type":"object","required":["shot","media","placement","words"]},"Guest":{"properties":{"name":{"type":"string"},"accepted":{"type":"boolean"},"left":{"type":"boolean"},"on_air":{"type":"boolean"},"recording":{"type":"boolean"},"agrees_listing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["name","accepted","left","on_air","recording","agrees_listing"]},"GuideRow":{"properties":{"credential_name":{"type":"string"},"label":{"type":"string"},"group":{"type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"tested_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["credential_name","label","group","state"]},"GuidedReadiness":{"properties":{"version":{"type":"string"},"groups":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"rows":{"items":{"$ref":"#/$defs/GuideRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["version","groups","states","rows"]},"HandOff":{"properties":{"code":{"type":"string"},"message":{"type":"string"},"next":{"type":"string"},"computers":{"items":{"$ref":"#/$defs/Computer"},"type":"array"},"task_id":{"type":"string"},"requested_words":{"type":"string"}},"additionalProperties":true,"type":"object","required":["code","message","next","computers","task_id","requested_words"]},"HandRow":{"properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"why":{"anyOf":[{"type":"string"},{"type":"null"}]},"group":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"priority":{"type":"integer"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}]},"door":{"anyOf":[{"type":"string"},{"type":"null"}]},"links":{"items":{},"type":"array"},"action":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"check_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"checked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"steps":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"doc_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"settled":{"type":"boolean"},"status_changed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"done_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"in_catalog":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","slug","title","why","group","status","priority","owner","door","links","action","check_key","check_result","checked_at","steps","blocked_by","evidence","notes","source_ref","doc_ref","settled","status_changed_at","done_at","updated_at","in_catalog"]},"HandedOff":{"properties":{"operation_id":{"type":"string"},"item_ids":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["operation_id","item_ids"]},"HarvestCriteria":{"properties":{"min_age_days":{"type":"integer"},"max_views":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["min_age_days","max_views"]},"HarvestGap":{"properties":{"source_platform":{"type":"string"},"source_url":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"description":{"type":"string"},"date":{"type":"string"},"views":{"type":"integer"},"likes":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["source_platform","source_url","entity_id","description","date","views","likes"]},"HarvestGaps":{"properties":{"thresholds":{"$ref":"#/$defs/HarvestThresholds"},"summary":{"additionalProperties":{"type":"integer"},"type":"object"},"missing_from":{"additionalProperties":{"items":{"$ref":"#/$defs/HarvestGap"},"type":"array"},"type":"object"}},"additionalProperties":true,"type":"object","required":["thresholds","summary","missing_from"]},"HarvestImport":{"properties":{"matched_rows":{"type":"integer"},"unmatched_rows":{"type":"integer"},"unmatched_sample":{"items":{"type":"string"},"type":"array"},"observations_recorded":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["matched_rows","unmatched_rows","unmatched_sample","observations_recorded"]},"HarvestPlatform":{"properties":{"aged_posts":{"type":"integer"},"suppressed_posts":{"type":"integer"},"suppression_rate":{"type":"number"},"examples":{"items":{"$ref":"#/$defs/HarvestPost"},"type":"array"}},"additionalProperties":true,"type":"object","required":["aged_posts","suppressed_posts","suppression_rate","examples"]},"HarvestPost":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"url":{"type":"string"},"views":{"type":"integer"},"likes":{"type":"integer"},"date":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","url","views","likes","date","description"]},"HarvestQueued":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","repeat_hours"]},"HarvestSnapshot":{"properties":{"id":{"type":"string"},"taken_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"totals":{"$ref":"#/$defs/HarvestTotals"},"by_platform":{"additionalProperties":{"$ref":"#/$defs/HarvestTotals"},"type":"object"},"suppression":{"additionalProperties":{"type":"number"},"type":"object"},"posts_tracked":{"type":"integer"},"number":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","taken_at","totals","by_platform","suppression","posts_tracked","number"]},"HarvestSuppression":{"properties":{"criteria":{"$ref":"#/$defs/HarvestCriteria"},"reading":{"type":"string"},"platforms":{"additionalProperties":{"$ref":"#/$defs/HarvestPlatform"},"type":"object"}},"additionalProperties":true,"type":"object","required":["criteria","reading","platforms"]},"HarvestThresholds":{"properties":{"default":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["default"]},"HarvestTotals":{"properties":{"posts":{"type":"integer"},"total_views":{"type":"integer"},"total_likes":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["posts","total_views","total_likes"]},"HeldItem":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"kind":{"type":"string"},"made_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"said":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","title","kind","made_at","said"]},"HistoryOut":{"properties":{"versions":{"items":{"$ref":"#/$defs/HistoryRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["versions"]},"HistoryRow":{"properties":{"title":{"type":"string"},"word_count":{"type":"integer"},"valid_from":{"type":"string"},"valid_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"method":{},"mark":{}},"additionalProperties":true,"type":"object","required":["title","word_count","valid_from","active"]},"HitItem":{"properties":{"index":{"type":"integer"},"setup":{"type":"string"},"punchline":{"type":"string"},"topic":{"type":"string"},"in_bank":{"type":"boolean"},"fits":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["index","setup","punchline","topic","in_bank","fits"]},"HitListOut":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"document_title":{"type":"string"},"version_from":{"type":"string"},"items":{"items":{"$ref":"#/$defs/HitItem"},"type":"array"},"read_as":{"type":"string"}},"additionalProperties":true,"type":"object","required":["document_id","document_title","version_from","items","read_as"]},"ImageSuggestOut":{"properties":{"block_id":{"type":"string"},"prompt":{"type":"string"},"preset":{"type":"string"},"material":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["block_id","prompt","preset","material"]},"ImportOut":{"properties":{"document":{"additionalProperties":true,"type":"object"},"import":{"$ref":"#/$defs/ImportReport"}},"additionalProperties":true,"type":"object","required":["document","import"]},"ImportReport":{"properties":{"source_format":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"elements":{"type":"integer"},"scenes":{"type":"integer"},"uncertainties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"set_aside":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["source_format","title","elements","scenes","uncertainties","set_aside"]},"IngestResponse":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"job_id":{"type":"string","format":"uuid"},"ingest_event_id":{"type":"string","format":"uuid"}},"type":"object","required":["entity_id","job_id","ingest_event_id"]},"InstantOffer":{"properties":{"on":{"type":"boolean"},"set_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"waiting_for_you":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["on","set_at","set_by","waiting_for_you"]},"IntakeFinished":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"state":{"type":"string"},"kind":{},"tags":{"items":{},"type":"array"},"already":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","state","kind","tags","already"]},"IntelCleanup":{"properties":{"status":{"type":"string"},"confirmations_banked":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["status","confirmations_banked"]},"IntelGroup":{"properties":{"campaign":{"type":"string"},"label":{"type":"string"},"total":{"type":"integer"},"golden":{"type":"integer"},"by_status":{"additionalProperties":{"type":"integer"},"type":"object"},"mean_cer":{"anyOf":[{"type":"number"},{"type":"null"}]},"graded":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["campaign","label","total","golden","by_status"]},"IntelImport":{"properties":{"created":{"type":"integer"},"skipped":{"type":"integer"},"gone":{"items":{"type":"string"},"type":"array"},"auto_run":{"type":"boolean"},"sessions":{"items":{"$ref":"#/$defs/IntelSession"},"type":"array"}},"additionalProperties":true,"type":"object","required":["created","skipped","gone","auto_run","sessions"]},"IntelList":{"properties":{"sessions":{"items":{"$ref":"#/$defs/IntelSummary"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"training":{"anyOf":[{"$ref":"#/$defs/IntelTraining"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["sessions","counts"]},"IntelSession":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"image_mime":{"type":"string"},"has_golden":{"type":"boolean"},"passes":{"type":"integer"},"objectives":{"items":{"type":"string"},"type":"array"},"status":{"type":"string"},"needs_human":{"type":"boolean"},"steps":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"final_text":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","title","persona_id","entity_id","image_url","image_mime","has_golden","passes","objectives","status","needs_human","steps","result","final_text","error","error_code","created_at","updated_at"]},"IntelSummary":{"properties":{"needs_human":{"type":"boolean"},"id":{"type":"string"},"title":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"has_golden":{"type":"boolean"},"passes":{"type":"integer"},"objectives":{"items":{"type":"string"},"type":"array"},"status":{"type":"string"},"is_training":{"type":"boolean"},"campaign":{"anyOf":[{"type":"string"},{"type":"null"}]},"cer":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"word_acc":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"review_gain":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["needs_human","id","title","persona_id","entity_id","has_golden","passes","objectives","status","is_training","campaign","cer","word_acc","review_gain","created_at","updated_at"]},"IntelTraining":{"properties":{"total":{"type":"integer"},"golden":{"type":"integer"},"graded":{"type":"integer"},"mean_cer":{"anyOf":[{"type":"number"},{"type":"null"}]},"groups":{"items":{"$ref":"#/$defs/IntelGroup"},"type":"array"}},"additionalProperties":true,"type":"object","required":["total","golden","graded","mean_cer","groups"]},"IntelWave":{"properties":{"enqueued":{"type":"integer"},"remaining_drafts":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["enqueued","remaining_drafts"]},"IntentChoice":{"properties":{"id":{"type":"string","enum":["media_or_page","media_only"]},"label":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","label","description"]},"IntentSet":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"intent":{"type":"string"}},"additionalProperties":true,"type":"object","required":["persona_id","intent"]},"Invariants":{"properties":{"generated_at":{"type":"string"},"checks":{"items":{},"type":"array"},"total_violations":{"type":"integer"},"incomplete":{}},"additionalProperties":true,"type":"object","required":["generated_at","checks","total_violations","incomplete"]},"InvestigateAnswer":{"properties":{"run_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["run_id","status"]},"InviteCapsuleScope":{"properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"permission":{"type":"string","maxLength":16}},"type":"object","required":["persona_id","permission"]},"InviteGone":{"properties":{"revoked":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["revoked"]},"InviteReissue":{"properties":{"id":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"},"sent":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","email","role"]},"Issue":{"properties":{"id":{"type":"string"},"number":{"type":"integer"},"title":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"document_id":{"type":"string","x-kit-id":"item"},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"made_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"page":{"anyOf":[{"$ref":"#/$defs/IssuePage"},{"type":"null"}]},"email":{"anyOf":[{"$ref":"#/$defs/IssueEmail"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","number","title","capsule_id","document_id","made_from","made_at","page","email"]},"IssueArchive":{"properties":{"issues":{"items":{"$ref":"#/$defs/Issue"},"type":"array"}},"additionalProperties":true,"type":"object","required":["issues"]},"IssueEmail":{"properties":{"campaign_id":{"type":"string"},"subject":{"type":"string"}},"additionalProperties":true,"type":"object","required":["campaign_id","subject"]},"IssueMade":{"properties":{"id":{"type":"string"},"number":{"type":"integer"},"title":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"document_id":{"type":"string","x-kit-id":"item"},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"made_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"page":{"anyOf":[{"$ref":"#/$defs/IssuePage"},{"type":"null"}]},"email":{"anyOf":[{"$ref":"#/$defs/IssueEmail"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","number","title","capsule_id","document_id","made_from","made_at","page","email","sentence"]},"IssuePage":{"properties":{"block_id":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true,"type":"object","required":["block_id","state"]},"IssueRemoved":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","removed","sentence"]},"ItemOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"operation_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"brief":{"type":"string"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"event_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"version_from":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"produced_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"produced_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"plan":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["entity_id","operation_id","kind","title","status","brief","channel","event_time","version_from","created_at"]},"JobOut":{"properties":{"id":{"type":"string","format":"uuid"},"job_type":{"type":"string"},"status":{"type":"string"},"attempts":{"type":"integer"}},"type":"object","required":["id","job_type","status","attempts"]},"JobStatusOut":{"properties":{"id":{"type":"string","format":"uuid"},"job_type":{"type":"string"},"status":{"type":"string"},"attempts":{"type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"category":{"anyOf":[{"$ref":"#/$defs/OwnerCategoryRef"},{"type":"null"}]},"ticket":{"anyOf":[{"$ref":"#/$defs/TicketRef"},{"type":"null"}]}},"type":"object","required":["id","job_type","status","attempts","error","result","created_at","updated_at"]},"JobsAdvanced":{"properties":{"advanced":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["advanced"]},"JobsCancelled":{"properties":{"cancelled":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["cancelled"]},"JobsPaused":{"properties":{"paused":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["paused"]},"JobsPriority":{"properties":{"updated":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["updated"]},"JobsRequeued":{"properties":{"requeued":{"type":"integer"},"skipped_duplicate":{"type":"integer"},"skipped_run_ended":{"type":"integer"},"released":{"type":"integer"},"skipped_permanent":{}},"additionalProperties":true,"type":"object","required":["requeued","skipped_duplicate","skipped_run_ended","released","skipped_permanent"]},"JobsResumed":{"properties":{"resumed":{"type":"integer"},"skipped_duplicate":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["resumed","skipped_duplicate"]},"JokeBankOut":{"properties":{"jokes":{"items":{"$ref":"#/$defs/JokeOut"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"topics":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["jokes","counts","topics"]},"JokeOut":{"properties":{"id":{"type":"string"},"setup":{"type":"string"},"punchline":{"type":"string"},"topic":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"rating":{"type":"integer"},"notes":{"type":"string"},"seconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"timing_seconds":{"type":"integer"},"timing_estimated":{"type":"boolean"},"used_in":{"items":{"type":"string"},"type":"array"},"source":{"type":"string"},"created_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","setup","punchline","topic","tags","rating","notes","seconds","timing_seconds","timing_estimated","used_in","source","created_at"]},"JokeSaved":{"properties":{"joke":{"$ref":"#/$defs/JokeOut"},"bank":{"$ref":"#/$defs/JokeBankOut"}},"additionalProperties":true,"type":"object","required":["joke","bank"]},"JokesAdded":{"properties":{"added":{"items":{"$ref":"#/$defs/JokeOut"},"type":"array"},"bank":{"$ref":"#/$defs/JokeBankOut"}},"additionalProperties":true,"type":"object","required":["added","bank"]},"JournalOut":{"properties":{"said":{"type":"string"},"document_id":{"type":"string","x-kit-id":"item"},"mood":{"type":"string"},"type":{"type":"string"}},"additionalProperties":true,"type":"object","required":["said","document_id","mood","type"]},"JudgmentJob":{"properties":{"queued":{"type":"boolean"},"already_pending":{"type":"boolean"},"job_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["queued","already_pending","job_id"]},"KeptPage":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"already_kept":{"type":"boolean"},"analysis":{}},"additionalProperties":true,"type":"object","required":["entity_id","title","already_kept"]},"KeptReply":{"properties":{"draft":{"$ref":"#/$defs/AssistantDraft"},"narration":{"$ref":"#/$defs/NarrationOut"},"mark":{"$ref":"#/$defs/MarkOut"}},"additionalProperties":true,"type":"object","required":["draft","narration","mark"]},"KeptSource":{"properties":{"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"KeyCapsule":{"properties":{"id":{"type":"string"},"display_name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","display_name"]},"KeyCheck":{"properties":{"provider":{"type":"string"},"label":{"type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"environment_set":{"type":"boolean"},"last4":{"type":"string"},"placed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"placed_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"retired_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"rolls":{"type":"integer"},"note":{"type":"string"},"checked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_sentence":{"type":"string"},"check":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["provider","label","source","environment_set","last4","placed_at","placed_by","retired_at","rolls","note","checked_at","check_reason","check_sentence","check"]},"KeyEndpoints":{"properties":{"rest_base_url":{"type":"string"},"mcp_url":{"type":"string"},"a2a_rpc_url_template":{"type":"string"},"a2a_agent_card_url_template":{"type":"string"}},"additionalProperties":true,"type":"object","required":["rest_base_url","mcp_url","a2a_rpc_url_template","a2a_agent_card_url_template"]},"KeyList":{"properties":{"keys":{"items":{"$ref":"#/$defs/KeyState"},"type":"array"}},"additionalProperties":true,"type":"object","required":["keys"]},"KeyMinted":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"oauth_client_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"active":{"type":"boolean"},"grant_scoped":{"type":"boolean"},"workspace_ops":{"type":"boolean"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"spend_pass_micro":{"type":"integer"},"spend_day_micro":{"type":"integer"},"spent_day_micro":{"type":"integer"},"computer":{"anyOf":[{"$ref":"#/$defs/AccessComputer"},{"type":"null"}]},"capsules":{"items":{"$ref":"#/$defs/KeyCapsule"},"type":"array"},"endpoints":{"$ref":"#/$defs/KeyEndpoints"},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","scopes","oauth_client_id","created_at","expires_at","active","grant_scoped","workspace_ops","last_used_at","spend_pass_micro","spend_day_micro","spent_day_micro","computer","capsules","endpoints"]},"KeyModelRow":{"properties":{"provider":{"type":"string"},"model":{"type":"string"},"calls":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["provider","model","calls"]},"KeyState":{"properties":{"provider":{"type":"string"},"label":{"type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"environment_set":{"type":"boolean"},"last4":{"type":"string"},"placed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"placed_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"retired_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"rolls":{"type":"integer"},"note":{"type":"string"},"checked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["provider","label","source","environment_set","last4","placed_at","placed_by","retired_at","rolls","note","checked_at","check_reason","check_sentence"]},"Keyframes":{"properties":{"said":{"type":"string"},"clip":{"type":"string"},"property":{"type":"string"},"keyframes":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["said","clip","property","keyframes"]},"KitNeed":{"properties":{"id":{"type":"string"},"sentence":{"type":"string"},"owner_sentence":{"type":"string"},"takes":{"anyOf":[{"type":"string"},{"type":"null"}]},"gives":{"anyOf":[{"type":"string"},{"type":"null"}]},"workflow":{"anyOf":[{"type":"string"},{"type":"null"}]},"workflow_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"asked_via":{"type":"string"},"state":{"type":"string"},"line":{"type":"string"},"brick":{"anyOf":[{"type":"string"},{"type":"null"}]},"asked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"already_asked":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"asked_by":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","sentence","owner_sentence","takes","gives","workflow","workflow_label","asked_via","state","line","brick","asked_at"]},"KitNeeds":{"properties":{"requests":{"items":{"$ref":"#/$defs/KitNeed"},"type":"array"},"waiting":{"type":"integer"},"ready":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["requests","waiting","ready"]},"LabJob":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"prompt":{"type":"string"},"params":{"additionalProperties":true,"type":"object"},"credits_used":{"type":"integer"},"status":{"type":"string"},"requested":{"type":"integer"},"produced_entity_ids":{"items":{},"type":"array"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"key_source":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","concept_id","kind","prompt","params","credits_used","status","requested","produced_entity_ids","error","key_source","created_at","started_at","finished_at"]},"LaneItem":{"properties":{"kind":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"starts_at":{"type":"string"},"ends_at":{"type":"string"},"all_day":{"type":"boolean"},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}]},"tentative":{"type":"boolean"},"status_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"cancelled":{"type":"boolean"},"place":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"when":{"type":"string"},"people":{"items":{"$ref":"#/$defs/LanePerson"},"type":"array"},"clashes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["kind","id","title","persona_id","starts_at","ends_at","all_day","tentative","cancelled","when","people","clashes"]},"LanePerson":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_name":{"type":"string"},"role":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["display_name"]},"LayoutCanvas":{"properties":{"width":{"type":"number"},"height":{"type":"number"}},"additionalProperties":true,"type":"object","required":["width","height"]},"LayoutRender":{"properties":{"html":{"type":"string"},"policy":{"type":"string"},"mode":{"type":"string","enum":["stack","sequence"]},"frames":{"type":"integer"},"elements":{"type":"integer"},"canvas":{"$ref":"#/$defs/LayoutCanvas"}},"additionalProperties":true,"type":"object","required":["html","policy","mode","frames","elements","canvas"]},"Lead":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"profile":{"$ref":"#/$defs/LeadProfile"},"dossier_summary":{"anyOf":[{"$ref":"#/$defs/DossierSummary"},{"type":"null"}]},"trust":{"anyOf":[{"$ref":"#/$defs/LeadTrust"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"dossier":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","profile"]},"LeadProfile":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_run_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"refresh_days":{"anyOf":[{"type":"integer"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"LeadProfileAnswer":{"properties":{"profile":{"$ref":"#/$defs/LeadProfile"}},"additionalProperties":true,"type":"object","required":["profile"]},"LeadTrust":{"properties":{"score":{"anyOf":[{"type":"integer"},{"type":"null"}]},"authority_score":{"anyOf":[{"type":"integer"},{"type":"null"}]},"freshness":{"anyOf":[{"$ref":"#/$defs/Freshness"},{"type":"null"}]},"doctrines":{"type":"string"}},"additionalProperties":true,"type":"object","required":["doctrines"]},"Learned":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"learned_through":{"anyOf":[{"type":"string"},{"type":"null"}]},"limit":{"type":"integer"},"observations":{"$ref":"#/$defs/Observations"},"relations":{"$ref":"#/$defs/Relations"},"canonical":{"$ref":"#/$defs/Canonical"},"lessons":{"$ref":"#/$defs/Lessons"},"understanding":{"$ref":"#/$defs/Understanding"}},"additionalProperties":true,"type":"object","required":["persona_id","limit","observations","relations","canonical","lessons","understanding"]},"LedgerCheck":{"properties":{"ok":{"type":"boolean"},"entries":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["ok","entries"]},"LeftBehind":{"properties":{"kind":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["kind","label","count"]},"LessonRecent":{"properties":{"item_id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"learned_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"new_themes":{"items":{},"type":"array"},"linked_items":{"type":"integer"},"same_work":{"type":"integer"},"known_items_joined":{"type":"integer"},"measures":{"items":{},"type":"array"},"taught":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["item_id","new_themes","linked_items","same_work","known_items_joined","measures","taught"]},"Lessons":{"properties":{"total":{"type":"integer"},"taught":{"type":"integer"},"recent":{"items":{"$ref":"#/$defs/LessonRecent"},"type":"array"}},"additionalProperties":true,"type":"object","required":["total","taught","recent"]},"LevelIn":{"properties":{"source_id":{"type":"string","format":"uuid"},"level":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}]},"muted":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["source_id"]},"LibraryBoard":{"properties":{"columns":{"items":{"$ref":"#/$defs/LibraryColumn"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"needs_attention":{"type":"integer"},"summary":{}},"additionalProperties":true,"type":"object","required":["columns","counts","total","needs_attention","summary"]},"LibraryCampaign":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"brief":{"type":"string"},"kit":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"active_deliverable":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliverables":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","brief","kit","persona_id","project_id","active_deliverable","deliverables","created_at"]},"LibraryColumn":{"properties":{"stage":{"type":"string"},"words":{"type":"string"},"count":{"type":"integer"},"value":{"additionalProperties":{"type":"string"},"type":"object"},"deals":{"items":{"$ref":"#/$defs/LibraryDealRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["stage","words","count","value","deals"]},"LibraryCompare":{"properties":{"items":{"items":{"$ref":"#/$defs/LibraryCompared"},"type":"array"},"majority_shape":{"type":"string"},"differences":{"$ref":"#/$defs/LibraryDifferences"},"same_shape":{"type":"boolean"},"ready_to_ship":{"type":"boolean"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["items","majority_shape","differences","same_shape","ready_to_ship","count"]},"LibraryCompared":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"width":{},"height":{},"shape":{"type":"string"},"bytes":{},"approved":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","title","content_type","width","height","shape","bytes","approved"]},"LibraryComposed":{"properties":{"subject":{"type":"string"},"parts":{"additionalProperties":true,"type":"object"},"prompt":{"type":"string"},"chars":{"type":"integer"},"parts_used":{"items":{"type":"string"},"type":"array"},"parts_absent":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["subject","parts","prompt","chars","parts_used","parts_absent"]},"LibraryContrast":{"properties":{"text":{"type":"string"},"background":{"type":"string"},"wcag_ratio":{"type":"number"},"apca_lc":{"type":"number"},"kind":{"type":"string"},"wcag_required":{"type":"number"},"wcag_passes":{"type":"boolean"},"apca_required":{"type":"number"},"apca_passes":{"type":"boolean"},"agree":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["text","background","wcag_ratio","apca_lc","kind","wcag_required","wcag_passes","apca_required","apca_passes","agree"]},"LibraryDeal":{"properties":{"currency":{"type":"string"},"cash":{"type":"string"},"equity_percent":{"type":"string"},"equity_face_value":{"type":"string"},"equity_today":{"type":"string"},"total_face":{"type":"string"},"total_today":{"type":"string"},"years_to_liquidity":{"type":"string"},"rate_percent":{"anyOf":[{"type":"string"},{"type":"null"}]},"discounted":{"type":"boolean"},"cash_share_percent":{"type":"string"}},"additionalProperties":true,"type":"object","required":["currency","cash","equity_percent","equity_face_value","equity_today","total_face","total_today","years_to_liquidity","rate_percent","discounted","cash_share_percent"]},"LibraryDealCompare":{"properties":{"currency":{"type":"string"},"cash":{"type":"string"},"equity_percent":{"type":"string"},"equity_face_value":{"type":"string"},"equity_today":{"type":"string"},"total_face":{"type":"string"},"total_today":{"type":"string"},"years_to_liquidity":{"type":"string"},"rate_percent":{"anyOf":[{"type":"string"},{"type":"null"}]},"discounted":{"type":"boolean"},"cash_share_percent":{"type":"string"},"baseline_total":{"type":"string"},"gap":{"type":"string"},"gap_percent":{"type":"string"},"tolerance_percent":{"type":"string"},"under":{"type":"boolean"},"meets_baseline":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["currency","cash","equity_percent","equity_face_value","equity_today","total_face","total_today","years_to_liquidity","rate_percent","discounted","cash_share_percent","baseline_total","gap","gap_percent","tolerance_percent","under","meets_baseline"]},"LibraryDealRow":{"properties":{"case_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"lead":{"anyOf":[{"type":"string"},{"type":"null"}]},"seller":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"value":{},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"chance":{},"target_close_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_action_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"days_since_last_activity":{"type":"integer"},"overdue_tasks":{"type":"integer"},"needs_attention":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["case_id","name","lead","seller","status","value","currency","chance","target_close_on","next_action","next_action_on","days_since_last_activity","overdue_tasks","needs_attention"]},"LibraryDifferences":{"properties":{"shape_mismatch":{"items":{"type":"string"},"type":"array"},"mixed_formats":{"type":"boolean"},"formats":{"items":{"type":"string"},"type":"array"},"not_approved":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["shape_mismatch","mixed_formats","formats","not_approved"]},"LibraryFinding":{"properties":{"id":{"type":"string"},"heading":{},"risk":{},"analysis":{},"lever":{},"status":{"type":"string"},"note":{"type":"string"},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","heading","risk","analysis","lever","status","note","at"]},"LibraryFindings":{"properties":{"contract_id":{"type":"string"},"findings":{"items":{"$ref":"#/$defs/LibraryFinding"},"type":"array"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"open":{"type":"integer"},"settled":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["contract_id","findings","counts","total","open","settled"]},"LibraryFinish":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"status":{"type":"string"},"enqueued":{"items":{"$ref":"#/$defs/LibraryFinishJob"},"type":"array"},"skipped":{"items":{"$ref":"#/$defs/LibraryFinishJob"},"type":"array"}},"additionalProperties":true,"type":"object","required":["entity_id","status","enqueued","skipped"]},"LibraryFinishJob":{"properties":{"layers":{"items":{"type":"string"},"type":"array"},"job_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"existing":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_move":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["layers","job_type"]},"LibraryItemCore":{"properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"custody":{"anyOf":[{"type":"string"},{"type":"null"}]},"read_mode":{"anyOf":[{"type":"string"},{"type":"null"}]},"lawful_basis":{"anyOf":[{"type":"string"},{"type":"null"}]},"acquired":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_uri":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"erasing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","title","kind","content_type","custody","read_mode","lawful_basis","acquired","source_uri","created_at","erasing"]},"LibraryItemView":{"properties":{"item":{"$ref":"#/$defs/LibraryItemCore"},"where_it_came_from":{"items":{"$ref":"#/$defs/LibraryOrigin"},"type":"array"},"layers":{"items":{"$ref":"#/$defs/LibraryLayer"},"type":"array"},"hidden_layers":{"type":"integer"},"links":{"items":{"$ref":"#/$defs/LibraryLink"},"type":"array"},"counts":{"$ref":"#/$defs/LibraryViewCounts"},"more":{"$ref":"#/$defs/LibraryViewMore"},"read_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["item","where_it_came_from","layers","hidden_layers","links","counts","more","read_at"]},"LibraryLayer":{"properties":{"key":{"type":"string"},"value":{},"written_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"method":{"anyOf":[{"type":"string"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"asserted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"superseded":{"items":{"$ref":"#/$defs/LibrarySuperseded"},"type":"array"}},"additionalProperties":true,"type":"object","required":["key","value","written_by","method","model","asserted_at","superseded"]},"LibraryLink":{"properties":{"direction":{"type":"string"},"kind":{"type":"string"},"item_id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["direction","kind","item_id","title"]},"LibraryOrderOut":{"properties":{"sort":{"type":"string"},"by":{"type":"string"},"direction":{"type":"string"},"tiebreak":{"type":"string"},"label":{"type":"string"},"nulls":{"anyOf":[{"type":"string"},{"type":"null"}]},"fallback":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["sort","by","direction","tiebreak","label"],"description":"The order this page was served in. ``tiebreak`` is always ``id``."},"LibraryOrigin":{"properties":{"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"method":{"anyOf":[{"type":"string"},{"type":"null"}]},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["source","channel","status","method","at"]},"LibraryPageOut":{"properties":{"items":{"items":{"$ref":"#/$defs/EntityOut"},"type":"array"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}]},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"order":{"$ref":"#/$defs/LibraryOrderOut"},"filters":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object","required":["items","total","limit","offset","next_offset","order","filters"]},"LibraryPromptKept":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"current":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"kept":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"changed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","current","kept","changed"]},"LibraryReframe":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"shape":{"type":"string"},"shape_name":{"type":"string"},"reframed_from":{"type":"string"},"bytes":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entity_id","title","shape","shape_name","reframed_from","bytes"]},"LibraryRemixMarker":{"properties":{"style":{"type":"string"},"applies_to":{"type":"string"}},"additionalProperties":true,"type":"object","required":["style","applies_to"]},"LibraryRooms":{"properties":{"project_id":{"type":"string"},"name":{"type":"string"},"rooms":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"shown":{"items":{"type":"string"},"type":"array"},"hidden":{"items":{"type":"string"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["project_id","name","rooms","shown","hidden","count"]},"LibraryStage":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"stage":{"type":"string"},"previous":{"type":"string"},"moved":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","stage","previous","moved"]},"LibrarySuggested":{"properties":{"suggested":{"items":{"$ref":"#/$defs/LibrarySuggestion"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["suggested","count"]},"LibrarySuggestion":{"properties":{"key":{"type":"string"},"name":{"type":"string"},"reason":{"type":"string"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["key","name","reason","count"]},"LibrarySuperseded":{"properties":{"written_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"who":{"anyOf":[{"type":"string"},{"type":"null"}]},"method":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["written_at","who","method"]},"LibraryTemplate":{"properties":{"contract_id":{"type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"sections":{"items":{},"type":"array"},"parameters":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["contract_id","kind","sections","parameters","count"]},"LibraryTemplateUse":{"properties":{"contract_id":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"starter":{"type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"sections":{"items":{},"type":"array"},"parameters":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["contract_id","name","starter","kind","sections","parameters"]},"LibraryTimelinePlace":{"properties":{"timeline":{"additionalProperties":true,"type":"object"},"placed_at_ms":{"type":"integer"},"duration_ms":{"type":"integer"},"clips":{"type":"integer"},"ends_at_ms":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["timeline","placed_at_ms","duration_ms","clips","ends_at_ms"]},"LibraryTimelineRemix":{"properties":{"timeline":{"additionalProperties":true,"type":"object"},"style":{"type":"string"},"clips":{"type":"integer"},"clips_moved":{"type":"integer"},"remixed_from":{},"marker":{"$ref":"#/$defs/LibraryRemixMarker"}},"additionalProperties":true,"type":"object","required":["timeline","style","clips","clips_moved","remixed_from","marker"]},"LibraryViewCounts":{"properties":{"layers":{"type":"integer"},"hidden_layers":{"type":"integer"},"links":{"type":"integer"},"events":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["layers","hidden_layers","links","events"]},"LibraryViewMore":{"properties":{"layers":{"type":"boolean"},"links":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["layers","links"]},"LibraryViewOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"lens":{"type":"string"},"view":{"additionalProperties":true,"type":"object"},"updated_at":{"type":"string"},"shared":{"type":"boolean","default":false},"mine":{"type":"boolean","default":true},"by":{"type":"string","default":"you"},"places_on_open":{"type":"boolean","default":false}},"type":"object","required":["id","name","lens","view","updated_at"]},"LibraryViewsOut":{"properties":{"views":{"items":{"$ref":"#/$defs/LibraryViewOut"},"type":"array"}},"type":"object","required":["views"]},"LicenceScope":{"properties":{"basis_ceiling":{"items":{"type":"string"},"type":"array"},"read_only":{"type":"boolean"},"originals":{"anyOf":[{},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["basis_ceiling","read_only","originals"]},"LicenceUsage":{"properties":{"grant_id":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"usage":{"additionalProperties":true,"type":"object"},"scope":{"$ref":"#/$defs/LicenceScope"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"expired":{"type":"boolean"},"from_listing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["grant_id","capsule_id","capsule_name","usage","scope","expires_at","expired","from_listing"]},"LinkIn":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}]},"label":{"type":"string","maxLength":500},"url":{"type":"string","maxLength":4000},"tag":{"anyOf":[{"$ref":"#/$defs/TagIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["label","url"]},"LinkOut":{"properties":{"id":{"type":"string","format":"uuid"},"source_kind":{"type":"string"},"source_id":{"type":"string","format":"uuid"},"target_kind":{"type":"string"},"target_id":{"type":"string","format":"uuid"},"link_type":{"type":"string"},"confidence":{"type":"number"},"provenance":{"additionalProperties":true,"type":"object"},"metadata":{"additionalProperties":true,"type":"object"},"valid_from":{"type":"string","format":"date-time"}},"type":"object","required":["id","source_kind","source_id","target_kind","target_id","link_type","confidence","provenance","valid_from"]},"LinkRow":{"properties":{"url":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"door":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["url","status","message"]},"LinksAdded":{"properties":{"rows":{"items":{"$ref":"#/$defs/LinkRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["rows"]},"Listing":{"properties":{"id":{"type":"string"},"product_id":{"type":"string"},"channel":{"type":"string"},"remote_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"price_cents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currency":{"type":"string"},"state":{"type":"string"},"drift":{"items":{},"type":"array"},"observed":{"additionalProperties":true,"type":"object"},"intent":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"last_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","product_id","channel","remote_id","title","price_cents","currency","state","drift","observed","intent","last_observed_at"]},"ListingAuditStarted":{"properties":{"audit_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["audit_id","status"]},"ListingOut":{"properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"published":{"type":"boolean"},"designated":{"type":"boolean","default":false},"pending_activation":{"type":"boolean","default":false},"offer":{"additionalProperties":true,"type":"object"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"ever_published":{"type":"boolean","default":false},"edition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["persona_id","published"],"description":"``published`` means LIVE on the marketplace. ``designated`` means the owner has\nmarked the capsule as a marketplace item and validated its offer, but has not yet\nevaluated and attested to what publishing discloses.\n\n``offer`` is the offer the owner is working with: the draft when one exists, otherwise\nthe live one. ``pending_activation`` is true when the draft is not yet what buyers see."},"ListingProvenance":{"properties":{"schema":{"type":"string"},"seller":{"anyOf":[{},{"type":"null"}]},"published_at":{"type":"string"},"license_class":{"anyOf":[{"type":"string"},{"type":"null"}]},"provenance_tier":{"anyOf":[{},{"type":"null"}]},"provenance_tier_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"data_basis":{"items":{},"type":"array"},"withheld":{"items":{"type":"string"},"type":"array"},"signatures":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["schema","seller","published_at","license_class","provenance_tier","provenance_tier_label","data_basis","withheld"]},"LlmSettingsOut":{"properties":{"byok_configured":{"type":"boolean"},"byok_active":{"type":"boolean"},"byok_providers":{"items":{"type":"string"},"type":"array"},"platform_default_provider":{"type":"string"},"exposure_policy":{"type":"string","default":"managed_ok"},"effective_method":{"type":"string"},"effective_model":{"type":"string"},"effective_key_source":{"type":"string"},"effective_lane":{"type":"string","default":"none"},"effective_provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"tiers":{"items":{"$ref":"#/$defs/TierInfo"},"type":"array"},"catalog":{"items":{"$ref":"#/$defs/CatalogModelOut"},"type":"array"},"model_prefs":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object","required":["byok_configured","byok_active","byok_providers","platform_default_provider","effective_method","effective_model","effective_key_source","tiers","catalog","model_prefs"],"description":"Honest, read-only view of effective analysis routing for this tenant."},"LocatorRepair":{"properties":{"pass":{"type":"string"},"dry_run":{"type":"boolean"},"limit":{"type":"integer"},"entity_id":{"type":"string","x-kit-id":"item"},"job_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["pass","dry_run","limit","entity_id","job_id"],"description":"The pass's own counts stay on the answer. The door always adds these five."},"Lock":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"revision":{"type":"string"},"sha256":{"type":"string"},"by":{"anyOf":[{"type":"string"},{"type":"null"}]},"by_name":{"type":"string"},"at":{"anyOf":[{"type":"string"},{"type":"null"}]},"stale":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["document_id","revision","sha256","by","by_name","at","stale"]},"LockAuditOut":{"properties":{"findings":{"items":{"$ref":"#/$defs/LockFinding"},"type":"array"},"open":{"type":"integer"},"ready":{"type":"boolean"},"settled_finding":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["findings","open","ready"]},"LockFinding":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"places":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"cues":{"anyOf":[{"type":"integer"},{"type":"null"}]},"scenes":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}]},"settled":{"type":"boolean"},"decision":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","kind","settled","decision"]},"LookLockOut":{"properties":{"locked":{"type":"boolean"},"note":{"type":"string"},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"changed_since":{"type":"boolean"}},"type":"object","required":["locked","note","locked_at","changed_since"]},"MailDispatch":{"properties":{"sent":{"type":"boolean"},"verb":{"type":"string"},"message_id":{"type":"string"},"recipients":{"items":{"type":"string"},"type":"array"},"subject":{"type":"string"},"accepted_at":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"filed_to_sent":{"type":"boolean"},"sent_folder":{"anyOf":[{"type":"string"},{"type":"null"}]},"answered_flagged":{"type":"boolean"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["sent","verb","message_id","recipients","subject","accepted_at","entity_id","thread_id","filed_to_sent","sent_folder","answered_flagged","note"]},"MailOrganisation":{"properties":{"action":{"type":"string"},"folder":{"type":"string"},"state":{"additionalProperties":true,"type":"object"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"moved_to":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["action","folder","state"]},"MailThread":{"properties":{"thread_id":{"type":"string"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"participants":{"items":{"type":"string"},"type":"array"},"message_count":{"type":"integer"},"unread_count":{"type":"integer"},"has_attachments":{"type":"boolean"},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_sent_by_owner":{"type":"boolean"},"project":{"anyOf":[{"$ref":"#/$defs/MailThreadPlace"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["thread_id","subject","last_message_at","last_message_id","participants","message_count","unread_count","has_attachments","snippet","last_sent_by_owner","project"]},"MailThreadPlace":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"how":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","how"]},"MailThreads":{"properties":{"items":{"items":{"$ref":"#/$defs/MailThread"},"type":"array"},"page":{"type":"integer"},"page_size":{"type":"integer"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["items","page","page_size","next_cursor"]},"MailboxSignIn":{"properties":{"id":{"type":"string"},"channel_type":{"type":"string"},"display_name":{"type":"string"},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider":{"type":"string"},"oauth_account_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"management_level":{"type":"string"},"can_send":{"type":"boolean"},"send_granted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"send_granted_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"smtp_host":{"anyOf":[{"type":"string"},{"type":"null"}]},"smtp_port":{"anyOf":[{"type":"integer"},{"type":"null"}]},"signature":{"anyOf":[{"type":"string"},{"type":"null"}]},"watch":{"type":"boolean"},"status":{"type":"string"},"settings":{"additionalProperties":true,"type":"object"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sync_health":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","channel_type","display_name","address","credential_name","provider","oauth_account_id","persona_id","management_level","can_send","send_granted_at","send_granted_by","smtp_host","smtp_port","signature","watch","status","settings","last_synced_at","created_at","updated_at","sync_health"]},"MapSeries":{"properties":{"generated_at":{"type":"string"},"hours":{"type":"integer"},"period_seconds":{"type":"integer"},"towers":{"items":{},"type":"array"},"cadence":{},"available":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"words":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["generated_at","hours","period_seconds","towers","cadence"]},"MarkClickRow":{"properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"opens":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","label","opens"]},"MarkClickSeries":{"properties":{"mark_id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"links":{"items":{"$ref":"#/$defs/MarkClickRow"},"type":"array"},"days":{"items":{"$ref":"#/$defs/MarkDayCount"},"type":"array"}},"additionalProperties":true,"type":"object","required":["mark_id","from","to","links","days"]},"MarkDayCount":{"properties":{"date":{"type":"string"},"opens":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["date","opens"]},"MarkEditionMade":{"properties":{"edition_id":{"type":"string"},"size":{"type":"integer"},"mark_ids":{"items":{"type":"string"},"type":"array"},"marks":{"items":{"$ref":"#/$defs/MarkRecord"},"type":"array"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["edition_id","size","mark_ids","marks","sentence"]},"MarkEditionSlot":{"properties":{"id":{"type":"string"},"number":{"type":"integer"},"size":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","number","size"]},"MarkLinkRow":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"url":{"type":"string"},"tag":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","label","url"]},"MarkList":{"properties":{"marks":{"items":{"$ref":"#/$defs/MarkRecord"},"type":"array"}},"additionalProperties":true,"type":"object","required":["marks"]},"MarkOpenSeries":{"properties":{"mark_id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"opens":{"type":"integer"},"days":{"items":{"$ref":"#/$defs/MarkDayCount"},"type":"array"}},"additionalProperties":true,"type":"object","required":["mark_id","from","to","opens","days"]},"MarkOut":{"properties":{"kind":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"word_count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["kind","name","version","word_count"]},"MarkRecord":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"code":{"type":"string"},"address":{"type":"string"},"opens_for":{"type":"string"},"label":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"opened":{"type":"integer"},"last_opened_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"withdrawn_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"in_use":{"type":"boolean"},"links":{"items":{"$ref":"#/$defs/MarkLinkRow"},"type":"array"},"edition":{"anyOf":[{"$ref":"#/$defs/MarkEditionSlot"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","persona_id","code","address","opens_for","label","note","opened","last_opened_at","withdrawn_at","created_at","in_use","links","edition"]},"MarkSpoken":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"code":{"type":"string"},"address":{"type":"string"},"opens_for":{"type":"string"},"label":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"opened":{"type":"integer"},"last_opened_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"withdrawn_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"in_use":{"type":"boolean"},"links":{"items":{"$ref":"#/$defs/MarkLinkRow"},"type":"array"},"edition":{"anyOf":[{"$ref":"#/$defs/MarkEditionSlot"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","entity_id","persona_id","code","address","opens_for","label","note","opened","last_opened_at","withdrawn_at","created_at","in_use","links","edition","sentence"]},"MarkedDocument":{"properties":{"document":{"additionalProperties":true,"type":"object"},"mark":{"$ref":"#/$defs/MarkOut"}},"additionalProperties":true,"type":"object","required":["document","mark"]},"MarketMessage":{"properties":{"id":{"type":"string"},"sender":{"type":"string","enum":["owner","requester"]},"body":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","sender","body","created_at"]},"MarketReview":{"properties":{"id":{"type":"string"},"rating":{"type":"integer"},"title":{"type":"string"},"body":{"type":"string"},"verified":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"reviewer":{"anyOf":[{"$ref":"#/$defs/MarketReviewer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","rating","title","body","verified","created_at","updated_at","reviewer"]},"MarketReviewer":{"properties":{"handle":{"type":"string"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["handle","display_name"]},"MarketThread":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["listing","invite"]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"type":"string"},"status":{"type":"string","enum":["open","closed"]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"unread":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","kind","persona_id","persona_name","subject","status","created_at","last_message_at","unread"]},"MarketWithdrawn":{"properties":{"deleted":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deleted"]},"MastersPage":{"properties":{"roles":{"items":{},"type":"array"},"summary":{"additionalProperties":true,"type":"object"},"competing":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"canonical":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"scanned":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["roles","summary","competing","canonical","scanned"]},"MaterialAccepted":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"sender_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"recipient_handle":{"type":"string"},"note":{"type":"string"},"material":{"$ref":"#/$defs/MaterialSnapshot"},"status":{"type":"string"},"claimed_persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"claimed_entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id_received":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","entity_id","sender_email","recipient_handle","note","material","status","claimed_persona_id","claimed_entity_id","created_at","claimed_at","entity_id_received"]},"MaterialIn":{"properties":{"content":{"type":"string","maxLength":4001},"category":{"type":"string","maxLength":24,"default":"general"}},"type":"object","required":["content"]},"MaterialMoved":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"moved_from":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id","moved_from"]},"MaterialOffer":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"sender_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"recipient_handle":{"type":"string"},"note":{"type":"string"},"material":{"$ref":"#/$defs/MaterialSnapshot"},"status":{"type":"string"},"claimed_persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"claimed_entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","sender_email","recipient_handle","note","material","status","claimed_persona_id","claimed_entity_id","created_at","claimed_at"]},"MaterialOut":{"properties":{"id":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"content":{"type":"string"},"category":{"type":"string"},"category_label":{"type":"string"},"source":{"type":"string"},"tour_date_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","city","state","content","category","category_label","source","tour_date_id","created_at"]},"MaterialPlaced":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id"]},"MaterialShared":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_downloads":{"anyOf":[{"type":"integer"},{"type":"null"}]},"download_count":{"type":"integer"},"last_accessed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sent":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","persona_id","label","expires_at","max_downloads","download_count","last_accessed_at","revoked_at","created_at"]},"MaterialSnapshot":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["title","entity_type","content_type","size_bytes"]},"MatterList":{"properties":{"matters":{"items":{"$ref":"#/$defs/MatterSummary"},"type":"array"}},"additionalProperties":true,"type":"object","required":["matters"]},"MatterPerson":{"properties":{"user_id":{"type":"string"},"email":{"type":"string"},"level":{"type":"string","enum":["contributor","viewer","name_only"]},"reach":{"type":"string","enum":["owner","every_capsule","this_matter"]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["user_id","email","level","reach","sentence"]},"MatterRead":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"client":{"anyOf":[{"type":"string"},{"type":"null"}]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"items":{"type":"integer"},"opened_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"people":{"items":{"$ref":"#/$defs/MatterPerson"},"type":"array"},"listable":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","title","client","reference","items","opened_at","people","listable"]},"MatterSummary":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"client":{"anyOf":[{"type":"string"},{"type":"null"}]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"items":{"type":"integer"},"opened_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","title","client","reference","items","opened_at"]},"MediaBrowse":{"properties":{"said":{"type":"string"},"items":{"items":{"$ref":"#/$defs/MediaItem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["said","items"]},"MediaItem":{"properties":{"kind":{"type":"string"},"id":{"type":"string"},"use":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","id","use"]},"MemberPresence":{"properties":{"user_id":{"type":"string"},"active":{"type":"boolean"},"sign_in":{"$ref":"#/$defs/SignInOutcome"}},"additionalProperties":true,"type":"object","required":["user_id","active","sign_in"]},"MemberRole":{"properties":{"user_id":{"type":"string"},"role":{"type":"string"}},"additionalProperties":true,"type":"object","required":["user_id","role"]},"MemberScope":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"role":{"type":"string"}},"additionalProperties":true,"type":"object","required":["persona_id","role"]},"MergeAutoConfirm":{"properties":{"auto_confirm":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["auto_confirm"]},"MergeDecision":{"properties":{"status":{"type":"string","enum":["confirmed","rejected"]},"canonical_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["status"]},"MergeReset":{"properties":{"reset":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["reset"]},"MergeRoute":{"properties":{"batch":{},"mode":{"type":"string"},"tenants":{},"queued":{"type":"integer"},"in_flight":{},"suspended":{},"suspended_tenants":{},"jobs":{}},"additionalProperties":true,"type":"object","required":["batch","mode","tenants","queued","in_flight","suspended","suspended_tenants","jobs"]},"MessageSent":{"properties":{"id":{"type":"string"},"emailed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","emailed"]},"Messages":{"properties":{"messages":{"items":{},"type":"array"},"count":{"type":"integer"},"last_seq":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["messages","count","last_seq"]},"MetricOut":{"properties":{"metric_key":{"type":"string"},"current":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}]},"current_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"points":{"items":{"$ref":"#/$defs/Point"},"type":"array"}},"type":"object","required":["metric_key","current","current_observed_at","points"]},"MetricsRefresh":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"enqueued":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["persona_id","enqueued"]},"ModelPrefs":{"properties":{"prefs":{"additionalProperties":true,"type":"object"},"inherited":{"additionalProperties":true,"type":"object"},"effective":{"additionalProperties":true,"type":"object"},"catalog":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"byok_options":{"items":{"$ref":"#/$defs/ByokOption"},"type":"array"}},"additionalProperties":true,"type":"object","required":["prefs","inherited","effective","catalog","byok_options"]},"ModelRead":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule":{"anyOf":[{"type":"string"},{"type":"null"}]},"training_set":{"anyOf":[{"type":"string"},{"type":"null"}]},"taught_by":{"items":{"type":"string"},"type":"array"},"kind":{"type":"string"},"base_model":{"type":"string"},"status":{"type":"string"},"sentence":{"type":"string"},"preview":{"$ref":"#/$defs/TeachPreview"},"spent_minor":{"anyOf":[{"type":"integer"},{"type":"null"}]},"accepted_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"accepted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"retired_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","capsule","training_set","taught_by","kind","base_model","status","sentence","preview","spent_minor","accepted_by","accepted_at","retired_at"]},"ModelRetired":{"properties":{"id":{"type":"string"},"status":{"type":"string"},"retired_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"retired_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","status","retired_reason","retired_at"]},"ModelTaught":{"properties":{"model_id":{"type":"string"},"status":{"type":"string"},"preview":{"anyOf":[{"$ref":"#/$defs/TeachPreview"},{"type":"null"}]},"task":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["model_id","status"]},"Moderation":{"properties":{"seq":{"type":"integer"},"moderation":{"type":"string"},"moderated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["seq","moderation","moderated_at"]},"ModuleReview":{"properties":{"module_id":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string"},"review_note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["module_id","slug","status","review_note"]},"Moment":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"score":{"type":"number"}},"additionalProperties":true,"type":"object","required":["entity_id","score"]},"Moments":{"properties":{"by":{"type":"string","enum":["words","picture"]},"moments":{"items":{"$ref":"#/$defs/Moment"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["by","moments","count"]},"MultipartDoneOut":{"properties":{"storage_key":{"type":"string"},"size_bytes":{"type":"integer"}},"type":"object","required":["storage_key","size_bytes"]},"MultipartPartIn":{"properties":{"part_number":{"type":"integer","maximum":10000.0,"minimum":1.0},"etag":{"type":"string","maxLength":128,"minLength":1}},"type":"object","required":["part_number","etag"]},"NameAsked":{"properties":{"sent":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true,"type":"object","required":["sent","message"]},"NameCard":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"picture_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"type":"string"},"action":{"type":"string","const":"Ask for access"}},"additionalProperties":true,"type":"object","required":["persona_id","name","picture_url","note","action"]},"NameCardList":{"properties":{"capsules":{"items":{"$ref":"#/$defs/NameCard"},"type":"array"}},"additionalProperties":true,"type":"object","required":["capsules"]},"NameList":{"properties":{"group":{"type":"string"},"counts":{"additionalProperties":{"type":"integer"},"type":"object"},"total":{"type":"integer"},"names":{"items":{"$ref":"#/$defs/NameRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["group","counts","total","names"]},"NameRow":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"items":{"type":"integer"},"capsules":{"type":"integer"},"confirmed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","name","items","capsules","confirmed"]},"NameVisibility":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"capsule_name":{"type":"string"},"status":{"type":"string","enum":["requested","granted","declined","withdrawn","revoked"]},"audience_count":{"type":"integer"},"requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"card":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"removed":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","capsule_name","status","audience_count","requested_at","decided_at","card"]},"NarrationOut":{"properties":{"document":{"additionalProperties":true,"type":"object"},"words_per_minute":{"type":"integer"},"word_count":{"type":"integer"},"runtime_seconds":{"type":"integer"},"script_version":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["document","words_per_minute","word_count","runtime_seconds","script_version"]},"NarrativeChoices":{"properties":{"products":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"cameras":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"framings":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"pacings":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"looks":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["products","cameras","framings","pacings","looks"]},"NarrativeList":{"properties":{"narratives":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["narratives","count"]},"NarrativeOut":{"properties":{"kind":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"sections":{"items":{"$ref":"#/$defs/NarrativeSectionOut"},"type":"array"},"writing_section":{"anyOf":[{"type":"string"},{"type":"null"}]},"requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"reading":{"anyOf":[{"$ref":"#/$defs/NarrativeReadOut"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"disclaimer":{"type":"string"}},"type":"object","required":["kind","title","status","sections","disclaimer"]},"NarrativeReadOut":{"properties":{"mode":{"type":"string"},"parts":{"type":"integer"},"chars":{"type":"integer"}},"type":"object","required":["mode","parts","chars"]},"NarrativeSection":{"properties":{"id":{"type":"string"},"heading":{"type":"string"},"body":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","heading","body"]},"NarrativeSectionOut":{"properties":{"id":{"type":"string"},"heading":{"type":"string"},"body":{"type":"string"},"edited":{"type":"boolean","default":false},"edited_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"edited_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","heading","body"]},"NeedLinked":{"properties":{"id":{"type":"string"},"brick":{"type":"string"},"brick_sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"answered":{"type":"boolean"},"accounts_told":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","brick","brick_sentence","answered","accounts_told"]},"NetworkHop":{"properties":{"canonical_id":{"type":"string"},"name":{"type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["canonical_id","name","kind"]},"NetworkPath":{"properties":{"found":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"hops":{"anyOf":[{"items":{"$ref":"#/$defs/NetworkHop"},"type":"array"},{"type":"null"}]},"edges":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["found"]},"NetworkPeople":{"properties":{"people":{"items":{"$ref":"#/$defs/NetworkPerson"},"type":"array"},"quiet_days":{"type":"integer"},"generated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["people","quiet_days","generated_at"]},"NetworkPerson":{"properties":{"canonical_id":{},"name":{"type":"string"},"kind":{"type":"string"},"appearances":{"type":"integer"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}]},"first_seen":{"anyOf":[{"type":"string"},{"type":"null"}]},"days_since":{"anyOf":[{"type":"integer"},{"type":"null"}]},"quiet":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["canonical_id","name","kind","appearances","last_seen","first_seen","days_since","quiet"]},"ObservationMeasure":{"properties":{"key":{"type":"string"},"count":{"type":"integer"},"first":{"anyOf":[{"type":"string"},{"type":"null"}]},"last":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["key","count"]},"ObservationRecent":{"properties":{"item_id":{"type":"string"},"key":{"type":"string"},"value":{"type":"number"},"observed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["item_id","key","value"]},"Observations":{"properties":{"total":{"type":"integer"},"measures":{"items":{"$ref":"#/$defs/ObservationMeasure"},"type":"array"},"recent":{"items":{"$ref":"#/$defs/ObservationRecent"},"type":"array"}},"additionalProperties":true,"type":"object","required":["total","measures","recent"]},"Offload":{"properties":{"status":{"type":"string"},"s3_deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"kept_shared":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"freed_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"custody":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis":{}},"additionalProperties":true,"type":"object","required":["status"]},"OpenCampaigns":{"properties":{"campaigns":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["campaigns","count"]},"OpenedPage":{"properties":{"requested":{"type":"string"},"address":{"type":"string"},"site":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"published":{"anyOf":[{"type":"string"},{"type":"null"}]},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"canonical":{"anyOf":[{"type":"string"},{"type":"null"}]},"read_at":{"type":"string"},"words":{"type":"integer"},"blocks":{"items":{},"type":"array"},"links":{"items":{},"type":"array"},"images":{"items":{},"type":"array"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["requested","address","site","title","description","author","published","language","canonical","read_at","words","blocks","links","images"]},"Option":{"properties":{"id":{"type":"string"},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"type":"string","x-kit-id":"item"},"room":{"type":"string"},"origin":{"type":"string"},"favorite":{"type":"boolean"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}]},"fresh":{"type":"boolean"},"meta":{"additionalProperties":true,"type":"object"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"stored":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","concept_id","job_id","entity_id","room","origin","favorite","verdict","fresh","meta","title","content_type","stored","created_at"]},"OrgAtlas":{"properties":{"seen_as":{"$ref":"#/$defs/AtlasSeen"},"nodes":{"items":{"$ref":"#/$defs/AtlasNode"},"type":"array"},"links":{"items":{"$ref":"#/$defs/AtlasLink"},"type":"array"},"counts":{"$ref":"#/$defs/AtlasCounts"},"who_can_see":{"anyOf":[{"additionalProperties":{"items":{"$ref":"#/$defs/WhoSees"},"type":"array"},"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["seen_as","nodes","links","counts"]},"OrgChange":{"properties":{"list":{"type":"string","enum":["staff_intake","staff_exit","client_intake","client_exit"]},"action":{"type":"string","enum":["add","remove"]},"item":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":true,"type":"object","required":["list","action","item","reason"]},"OrgChecklistItem":{"properties":{"id":{"type":"string"},"text":{"type":"string"},"done":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","text","done"]},"OrgChecklists":{"properties":{"staff_intake":{"items":{"$ref":"#/$defs/OrgChecklistItem"},"type":"array"},"staff_exit":{"items":{"$ref":"#/$defs/OrgChecklistItem"},"type":"array"},"client_intake":{"items":{"$ref":"#/$defs/OrgChecklistItem"},"type":"array"},"client_exit":{"items":{"$ref":"#/$defs/OrgChecklistItem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["staff_intake","staff_exit","client_intake","client_exit"]},"OrgDesign":{"properties":{"nodes":{"items":{"$ref":"#/$defs/OrgNode"},"type":"array"},"checklists":{"$ref":"#/$defs/OrgChecklists"},"meta":{"anyOf":[{"$ref":"#/$defs/OrgMeta"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["nodes","checklists"]},"OrgDesignSaved":{"properties":{"design":{"$ref":"#/$defs/OrgDesign"}},"additionalProperties":true,"type":"object","required":["design"]},"OrgDocument":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","title"]},"OrgDraft":{"properties":{"proposed":{"type":"string"}},"additionalProperties":true,"type":"object","required":["proposed"]},"OrgMeta":{"properties":{"started_from":{"$ref":"#/$defs/OrgStarted"}},"additionalProperties":true,"type":"object","required":["started_from"]},"OrgNode":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["unit","role","client"]},"title":{"type":"string"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"scope":{"type":"string"},"assignee":{"type":"string"},"status":{"type":"string","enum":["planned","active","exiting","closed"]},"notes":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","kind","title","parent_id","scope","assignee","status","notes"]},"OrgPreview":{"properties":{"adds":{"type":"integer"},"checklist_changes":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["adds","checklist_changes","sentence"]},"OrgProposalBody":{"properties":{"nodes":{"items":{"$ref":"#/$defs/OrgNode"},"type":"array"},"checklist_changes":{"items":{"$ref":"#/$defs/OrgChange"},"type":"array"},"started_from":{"$ref":"#/$defs/OrgStarted"},"open_questions":{"items":{"type":"string"},"type":"array"},"already_on_chart":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["nodes","checklist_changes","started_from","open_questions","already_on_chart"]},"OrgProposed":{"properties":{"outcome":{"type":"string","enum":["fallback","proposal","needs_more"]},"code":{"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"question":{"anyOf":[{"type":"string"},{"type":"null"}]},"proposal":{"anyOf":[{"$ref":"#/$defs/OrgProposalBody"},{"type":"null"}]},"preview":{"anyOf":[{"$ref":"#/$defs/OrgPreview"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["outcome"]},"OrgStarted":{"properties":{"kind":{"type":"string","enum":["starter","description"]},"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"type":"string"},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["kind","id","title"]},"OriginalRule":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"rule":{"anyOf":[{"type":"string"},{"type":"null"}]},"capsule_rule":{"anyOf":[{"type":"string"},{"type":"null"}]},"held_back":{"type":"boolean"},"hosted":{"type":"boolean"},"made_from_kept":{"items":{"$ref":"#/$defs/KeptSource"},"type":"array"},"outside":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","held_back","hosted","made_from_kept","outside"]},"OriginalWaiting":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"type":"integer"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"kept":{"type":"string"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"bytes_done":{"type":"integer"},"restarts":{"type":"integer"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id","size_bytes","kept","state","bytes_done","restarts","sentence"]},"OriginalsWaiting":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"total":{"type":"integer"},"shown":{"type":"integer"},"originals":{"items":{"$ref":"#/$defs/OriginalWaiting"},"type":"array"}},"additionalProperties":true,"type":"object","required":["persona_id","total","shown","originals"]},"OutlineOut":{"properties":{"blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_beat_sheet":{"type":"boolean"},"stale":{"type":"boolean"},"presets":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"type":"object","required":["blocks","source","generated_at","has_beat_sheet","stale","presets"]},"Output":{"properties":{"id":{"type":"string"},"project_id":{"type":"string"},"name":{"type":"string"},"layers":{"items":{},"type":"array"},"view_token":{"anyOf":[{"type":"string"},{"type":"null"}]},"url_path":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_seen_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_hello_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","project_id","name","layers","last_seen_at","last_hello_at","created_at"]},"OutputList":{"properties":{"outputs":{"items":{},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["outputs","count"]},"OverheadRolled":{"properties":{"period":{"type":"string"},"rolled":{"type":"integer"},"amount_cents":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["period","rolled","amount_cents"]},"OwnProfile":{"properties":{"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"show_listings":{"type":"boolean"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"url_path":{"type":"string"}},"additionalProperties":true,"type":"object","required":["handle","display_name","bio","show_listings","url_path"]},"OwnerCategoryRef":{"properties":{"code":{"type":"string"},"label":{"type":"string"},"door":{"anyOf":[{"type":"string"},{"type":"null"}]},"actionable":{"type":"boolean"}},"type":"object","required":["code","label","door","actionable"],"description":"The owner's category on a failed or blocked row, with its link onto the\nfiltered attention worklist — so a Sources failure row is a place to act,\nnot a raw error to read."},"OwnerIndex":{"properties":{"threads":{"items":{"$ref":"#/$defs/OwnerThread"},"type":"array"},"unread":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["threads","unread"]},"OwnerRead":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"unread":{"type":"boolean"},"requester_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"messages":{"items":{"$ref":"#/$defs/ThreadMessage"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","kind","status","unread","messages"]},"OwnerThread":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"unread":{"type":"boolean"},"requester_email":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","kind","status","unread"]},"PackDocument":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"revision":{"type":"string"},"structure":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["entity_id","revision","structure"]},"PairApproved":{"properties":{"status":{"type":"string"},"device_name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["status","device_name"]},"PairStart":{"properties":{"code":{"type":"string"},"expires_at":{"type":"string"},"approve_url":{"type":"string"},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["code","expires_at","approve_url"]},"PanelRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"workflow_name":{"type":"string"},"workflow_version":{"type":"integer"},"run_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["workflow_id","workflow_name","workflow_version","run_id","status"]},"PassBrief":{"properties":{"definition":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["definition"]},"PassageCited":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit":{"$ref":"#/$defs/CitedUnit"},"span":{"$ref":"#/$defs/CitedSpan"},"citation":{"type":"string"},"provenance":{"additionalProperties":true,"type":"object"},"source":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","title","unit","span","citation","provenance","source"]},"PassageMark":{"properties":{"passage":{"type":"string"},"question":{"type":"string"},"claim":{"type":"string"},"reading":{"type":"string"},"citations":{"items":{"$ref":"#/$defs/Citation"},"type":"array"},"angles":{"items":{"type":"string"},"type":"array"},"answer":{"type":"string"},"asked_at":{"type":"string"},"model":{"type":"string"},"owner_note":{"type":"string"}},"additionalProperties":true,"type":"object","required":["passage","question","claim","reading","citations","angles","answer","asked_at","model","owner_note"]},"PaymentTotals":{"properties":{"owed_minor":{"type":"integer"},"paid_minor":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["owed_minor","paid_minor"]},"Person":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kinds":{"items":{"type":"string"},"type":"array"},"facts":{"items":{"$ref":"#/$defs/Fact"},"type":"array"},"campaigns":{"$ref":"#/$defs/Campaigns"},"sentence":{"type":"string"},"added_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","kinds","facts","campaigns","sentence"]},"PersonGone":{"properties":{"forgotten":{"type":"boolean"},"facts_removed":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["forgotten","facts_removed","sentence"]},"PersonIndex":{"properties":{"people":{"items":{"$ref":"#/$defs/Person"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["people","count"]},"PersonLane":{"properties":{"user_id":{"type":"string"},"name":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"items":{"items":{"$ref":"#/$defs/LaneItem"},"type":"array"},"double_booked":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["user_id","name","from","to","items","double_booked"]},"PersonaOut":{"properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","format":"uuid"},"display_name":{"type":"string"},"profile":{"additionalProperties":true,"type":"object"},"settings":{"additionalProperties":true,"type":"object"},"created_at":{"type":"string","format":"date-time"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"byte_policy":{"type":"string","default":"owner_choice"},"originals":{"type":"string","default":"withheld"}},"type":"object","required":["id","tenant_id","display_name","profile","settings","created_at"]},"PhaseChange":{"properties":{"from":{"anyOf":[{"type":"string"},{"type":"null"}]},"to":{"anyOf":[{"type":"string"},{"type":"null"}]},"chance":{"anyOf":[{"type":"integer"},{"type":"null"}]},"at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"PhaseOut":{"properties":{"key":{"type":"string"},"title":{"type":"string"},"order":{"type":"integer"},"state":{"type":"string"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["key","title","order","state","updated_at"]},"PhaseSlot":{"properties":{"words":{"type":"string"},"count":{"type":"integer"},"value":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"}},"additionalProperties":true,"type":"object","required":["words","count","value"]},"Picture":{"properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string"}},"type":"object","required":["id","url"]},"PictureLockOut":{"properties":{"locked":{"type":"boolean"},"picture_ids":{"items":{"type":"string","format":"uuid"},"type":"array"},"note":{"type":"string"},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"using":{"type":"string"}},"type":"object","required":["locked","picture_ids","note","locked_at","using"]},"PictureOut":{"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"origin":{"type":"string"},"status":{"type":"string"},"locked":{"type":"boolean"},"lock_position":{"anyOf":[{"type":"integer"},{"type":"null"}]},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"how":{"anyOf":[{"type":"string"},{"type":"null"}]},"instruction":{"type":"string"},"region":{"type":"string"},"followed_reference":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"rights":{"anyOf":[{"type":"string"},{"type":"null"}]},"rights_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"filename":{"type":"string"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["id","label","origin","status","locked","lock_position","parent_id","made_from","how","instruction","region","followed_reference","rights","rights_label","filename","content_type","size_bytes","created_at"]},"PicturesOut":{"properties":{"pictures":{"items":{"$ref":"#/$defs/Picture"},"type":"array"}},"type":"object","required":["pictures"]},"PieceIn":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"headline":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"blurb":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]}},"type":"object","required":["entity_id"]},"Pieces":{"properties":{"pieces":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["pieces","count"]},"PitchReview":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"recording_id":{"type":"string"},"notes":{"type":"integer"},"said":{"type":"integer"},"missed":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["document_id","title","recording_id","notes","said","missed","sentence"]},"PlacedProduct":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"anyOf":[{"type":"string"},{"type":"null"}]},"garment_family":{"anyOf":[{"type":"string"},{"type":"null"}]},"fulfillment_provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_product_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"cost_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumb":{},"listings":{"anyOf":[{"items":{"$ref":"#/$defs/Listing"},"type":"array"},{"type":"null"}]},"designs":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"sheets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"stats":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","description":"The product after a design is placed or removed. The door answers an\nempty record when the product is gone, so no field is required."},"PlanCluster":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"closed":{"type":"integer"},"total":{"type":"integer"},"done":{"type":"boolean"}},"type":"object","required":["id","name","closed","total","done"]},"PlanImpact":{"properties":{"page_delta":{"type":"number"},"reds_open":{"type":"integer"},"reds_total":{"type":"integer"},"clusters_closed":{"type":"integer"},"clusters_total":{"type":"integer"}},"type":"object","required":["page_delta","reds_open","reds_total","clusters_closed","clusters_total"]},"PlanItem":{"properties":{"rank":{"anyOf":[{"type":"integer"},{"type":"null"}]},"flag_id":{"type":"string"},"title":{"type":"string"},"severity":{"anyOf":[{"type":"string"},{"type":"null"}]},"page_range":{"type":"string"},"pages":{"items":{"type":"integer"},"type":"array"},"estimated_effort":{"type":"string"},"status":{"type":"string"}},"type":"object","required":["rank","flag_id","title","severity","page_range","pages","estimated_effort","status"]},"PlanPath":{"properties":{"must_complete":{"items":{"type":"string"},"type":"array"},"should_complete":{"items":{"type":"string"},"type":"array"},"estimated_revision_effort":{"type":"string"},"estimated_page_change":{"type":"string"}},"type":"object","required":["must_complete","should_complete","estimated_revision_effort","estimated_page_change"]},"PlanProgress":{"properties":{"addressed":{"type":"integer"},"total":{"type":"integer"},"percent":{"type":"integer"}},"type":"object","required":["addressed","total","percent"]},"PlannedPost":{"properties":{"id":{"type":"string"},"source":{"type":"string"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"material_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_thumb":{"type":"boolean"},"planned_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"posted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"posted_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"views":{},"pictures":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","source","channel","channel_label","title","caption","project_id","project","entity_id","material_title","has_thumb","planned_for","state","approved_by","approved_at","posted_at","posted_url","views","pictures"]},"PlatformMap":{"properties":{"generated_at":{"type":"string"},"cadence_seconds":{"type":"integer"},"cadence":{},"environment":{"type":"string"},"has_configuration":{"type":"boolean"},"systems":{"items":{},"type":"array"},"nodes":{"items":{},"type":"array"},"links":{"items":{},"type":"array"},"queue":{},"accounts":{},"usd_per_hour":{"type":"number"},"reads":{},"variables":{"additionalProperties":true,"type":"object"},"ignored":{"additionalProperties":true,"type":"object"},"global_lessons":{"items":{},"type":"array"},"rates":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["generated_at","cadence_seconds","cadence","environment","has_configuration","systems","nodes","links","queue","accounts","usd_per_hour","reads","variables","ignored","global_lessons","rates"]},"PlatformMessageOut":{"properties":{"id":{"type":"string","format":"uuid"},"subject":{"type":"string"},"body":{"type":"string"},"created_at":{},"read_at":{}},"type":"object","required":["id","subject","body","created_at"]},"PlayPack":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"seller_id":{"type":"string"},"offering":{"type":"string"},"sections":{"additionalProperties":{"type":"integer"},"type":"object"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["document_id","title","seller_id","offering","sections","sentence"]},"PlaybookPage":{"properties":{"version":{},"verified":{},"doctrine":{},"channels":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"link_rules":{},"scope_guides":{},"goal_kinds":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"goal_channels":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"goal_periods":{"items":{"type":"string"},"type":"array"},"goals":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["version","verified","doctrine","channels","link_rules","scope_guides","goal_kinds","goal_channels","goal_periods","goals"]},"PodcastHit":{"properties":{"title":{"type":"string"},"feed_url":{"type":"string"},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"site":{"anyOf":[{"type":"string"},{"type":"null"}]},"artwork":{"anyOf":[{"type":"string"},{"type":"null"}]},"genre":{"anyOf":[{"type":"string"},{"type":"null"}]},"episodes":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["title","feed_url","author","site","artwork","genre","episodes"]},"PodcastSearch":{"properties":{"results":{"items":{"$ref":"#/$defs/PodcastHit"},"type":"array"}},"additionalProperties":true,"type":"object","required":["results"]},"Point":{"properties":{"observed_at":{"type":"string","format":"date-time"},"value":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}},"type":"object","required":["observed_at","value"]},"PointIn":{"properties":{"at":{"type":"string","format":"date-time"},"value":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"string"}]},"source_entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"source_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["at","value","source_entity_id"]},"PoolCapsuleOut":{"properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"persona_name":{"type":"string"},"contributor_tenant_id":{"type":"string","format":"uuid"},"own":{"type":"boolean"},"reachable":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"integer"},{"type":"null"}]},"shares":{"items":{"type":"string"},"type":"array","default":[]},"shared_total":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"type":"object","required":["persona_id","persona_name","contributor_tenant_id","own","reachable"]},"PoolConnect":{"properties":{"pool_id":{"type":"string"},"member_role":{"type":"string"},"connections":{"items":{"$ref":"#/$defs/PoolConnection"},"type":"array"}},"additionalProperties":true,"type":"object","required":["pool_id","member_role","connections"]},"PoolConnection":{"properties":{"contributor_tenant_id":{"type":"string"},"personas":{"items":{"$ref":"#/$defs/PoolPersona"},"type":"array"},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["contributor_tenant_id","personas"]},"PoolContribution":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"persona_name":{"type":"string"},"contributor_tenant_id":{"type":"string"},"basis_ceiling":{"items":{"type":"string"},"type":"array"},"originals":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"type":"string"},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"grants_removed":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","persona_name","contributor_tenant_id","basis_ceiling","note","status"]},"PoolInvite":{"properties":{"member_id":{"type":"string"},"email":{"type":"string"},"sent":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["member_id","email"]},"PoolJoined":{"properties":{"pool_id":{"type":"string"},"pool_name":{"type":"string"},"member_id":{"type":"string"},"role":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["pool_id","pool_name","member_id","role","status"]},"PoolLibraryPageOut":{"properties":{"items":{"items":{"$ref":"#/$defs/PooledEntityOut"},"type":"array"},"total":{"type":"integer"},"limit":{"type":"integer"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"order":{"$ref":"#/$defs/LibraryOrderOut"},"filters":{"additionalProperties":{"type":"string"},"type":"object"},"capsules":{"items":{"$ref":"#/$defs/PoolCapsuleOut"},"type":"array"}},"type":"object","required":["items","total","limit","next_cursor","order","filters","capsules"]},"PoolList":{"properties":{"pools":{"items":{"$ref":"#/$defs/PoolSummary"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["pools","count"]},"PoolMember":{"properties":{"id":{"type":"string"},"member_tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"member_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"role":{"type":"string"},"status":{"type":"string"},"joined_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"keys_revoked":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","role","status"]},"PoolPersona":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"persona_name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["persona_id","persona_name"]},"PoolSearchOut":{"properties":{"query":{"type":"string"},"model":{"type":"string"},"items":{"items":{"$ref":"#/$defs/PooledEntityOut"},"type":"array"},"candidate_limit":{"type":"integer"},"exhaustive":{"type":"boolean","default":false},"capsules":{"items":{"$ref":"#/$defs/PoolCapsuleOut"},"type":"array"}},"type":"object","required":["query","model","items","candidate_limit","capsules"]},"PoolSummary":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"purpose":{"type":"string"},"status":{"type":"string"},"my_role":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"my_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"my_persona_ids":{"anyOf":[{"items":{"type":"string","x-kit-id":"capsule"},"type":"array"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","purpose","status","my_role"]},"PoolWindDown":{"properties":{"status":{"type":"string"},"keys_revoked":{"type":"integer"},"contributions_withdrawn":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["status","keys_revoked","contributions_withdrawn"]},"PooledEntityOut":{"properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"entity_type":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_uri":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"storage_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbnail_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"custody":{"type":"string"},"locator":{"anyOf":[{"type":"string"},{"type":"null"}]},"acquisition_method":{"anyOf":[{"type":"string"},{"type":"null"}]},"event_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"retired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"origin":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"lawful_basis":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"original_shared":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"media_category":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_observations":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"source_input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"metric_value":{"anyOf":[{"type":"number"},{"type":"null"}]},"content_state":{"anyOf":[{"type":"string"},{"type":"null"}]},"erasing":{"type":"boolean","default":false},"capsule_name":{"type":"string","default":""},"own":{"type":"boolean","default":false},"distance":{"anyOf":[{"type":"number"},{"type":"null"}]},"display_label":{"type":"string","readOnly":true}},"type":"object","required":["id","tenant_id","persona_id","entity_type","title","source_uri","content_hash","storage_key","thumbnail_key","content_type","size_bytes","custody","locator","acquisition_method","event_time","retired_at","origin","lawful_basis","created_at","display_label"],"description":"An entity row plus the capsule it came from — the grid groups and\nlabels by it, and item detail opens under that capsule's face."},"PostAssembled":{"properties":{"post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"caption":{"type":"string"},"pictures":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"picture_count":{"type":"integer"},"material_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"ready":{"type":"boolean"},"missing":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["post_id","channel","channel_label","title","caption","pictures","picture_count","material_title","ready","missing"]},"PremiereHeld":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"plays_at":{"type":"string"},"who_may_watch":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","persona_id","entity_id","title","plays_at","who_may_watch"]},"Product":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"slug":{"type":"string"},"garment_family":{"type":"string"},"fulfillment_provider":{"type":"string"},"provider_product_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"meta":{"additionalProperties":true,"type":"object"},"cost_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","slug","garment_family","fulfillment_provider","provider_product_ref","status","meta","cost_snapshot","created_at","updated_at"]},"ProductDetail":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"slug":{"type":"string"},"garment_family":{"type":"string"},"fulfillment_provider":{"type":"string"},"provider_product_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"meta":{"additionalProperties":true,"type":"object"},"cost_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumb":{},"listings":{"items":{"$ref":"#/$defs/Listing"},"type":"array"},"designs":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"sheets":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"stats":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","slug","garment_family","fulfillment_provider","provider_product_ref","status","meta","cost_snapshot","created_at","updated_at","thumb","listings","designs","sheets","stats"]},"ProductionTags":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"kinds":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["entity_id","kinds"]},"ProfileGone":{"properties":{"profile":{"anyOf":[{"$ref":"#/$defs/OwnProfile"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"Program":{"properties":{"on_air":{"type":"boolean"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"recording":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"on_air_source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"ready_source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"transition":{"anyOf":[{"type":"string"},{"type":"null"}]},"destinations":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"sending":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"refused":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"mix":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"guests_on_program":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"ended_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"guest":{"anyOf":[{"$ref":"#/$defs/Guest"},{"type":"null"}]},"storage":{"anyOf":[{"$ref":"#/$defs/Storage"},{"type":"null"}]},"recording_item_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"lawful_basis":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["on_air"]},"Progress":{"properties":{"scenes":{"type":"integer"},"shots":{"type":"integer"},"shots_with_frame":{"type":"integer"},"shots_with_take":{"type":"integer"},"shots_covered":{"type":"integer"},"placeholders":{"type":"integer"},"runtime_ticks":{"type":"integer"},"timebase":{"$ref":"#/$defs/Timebase"}},"additionalProperties":true,"type":"object","required":["scenes","shots","shots_with_frame","shots_with_take","shots_covered","placeholders","runtime_ticks","timebase"]},"Project":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"doc":{"additionalProperties":true,"type":"object"},"doc_version":{"type":"integer"},"state":{"additionalProperties":true,"type":"object"},"state_version":{"type":"integer"},"reactor":{"additionalProperties":true,"type":"object"},"rundown_current":{"anyOf":[{"type":"string"},{"type":"null"}]},"rundown_started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"retention_hours":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","doc","doc_version","state","state_version","reactor","rundown_current","rundown_started_at","revision","persona_id","retention_hours","created_at","updated_at"]},"ProjectBudget":{"properties":{"project_id":{"type":"string"},"budget":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["project_id","budget"]},"ProjectConsistency":{"properties":{"project_id":{"type":"string"},"drafts_checked":{"type":"integer"},"drafts":{"items":{"$ref":"#/$defs/DraftConsistency"},"type":"array"}},"additionalProperties":true,"type":"object","required":["project_id","drafts_checked","drafts"]},"ProjectConvertRun":{"properties":{"project_id":{"type":"string"},"name":{"type":"string"},"branch":{"type":"string"},"branch_label":{"type":"string"},"format":{"type":"string"},"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"copied":{"type":"integer"},"left_behind":{"items":{"$ref":"#/$defs/LeftBehind"},"type":"array"}},"additionalProperties":true,"type":"object","required":["project_id","name","branch","branch_label","format","workflow_id","run_id","status","copied","left_behind"]},"ProjectDetail":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"starts_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"dated":{"type":"boolean"},"tentative":{"type":"boolean"},"status_label":{"anyOf":[{"type":"string","const":"Pencilled in"},{"type":"null"}]},"no_dates_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"anyOf":[{"type":"string"},{"type":"null"}]},"picture_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"kinds":{"items":{"$ref":"#/$defs/ProjectKind"},"type":"array"},"stages":{"items":{"$ref":"#/$defs/ProjectStageOut"},"type":"array"},"milestones":{"items":{"$ref":"#/$defs/ProjectMilestoneOut"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","name","persona_id","capsule_name","starts_on","ends_on","dated","tentative","status_label","no_dates_hint","stage","picture_url","kinds","stages","milestones"]},"ProjectHeld":{"properties":{"project_id":{"type":"string"},"said":{"type":"string"},"items":{"items":{"$ref":"#/$defs/HeldItem"},"type":"array"}},"additionalProperties":true,"type":"object","required":["project_id","said","items"]},"ProjectKind":{"properties":{"kind":{"type":"string","enum":["app_desk","live","writing","media"]},"label":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["kind","label","id","name"]},"ProjectMilestoneOut":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"due_on":{"type":"string"},"tentative":{"type":"boolean"},"done":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","title","due_on","tentative","done"]},"ProjectOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"branch":{"type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"type":"string"},"logline":{"type":"string"},"premise":{"type":"string"},"params":{"additionalProperties":true,"type":"object"},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"ground":{"additionalProperties":true,"type":"object"}},"type":"object","required":["id","name","branch","format","stage","logline","premise","params","persona_id","created_at"]},"ProjectPicture":{"properties":{"picture_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["picture_url"]},"ProjectRemoved":{"properties":{"project_id":{"type":"string"},"name":{"type":"string"},"elements":{"type":"integer"},"documents_to_unfile":{"type":"integer"},"dry_run":{"type":"boolean"},"documents_unfiled":{"anyOf":[{"type":"integer"},{"type":"null"}]},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["project_id","name","elements","documents_to_unfile","dry_run"]},"ProjectStageOut":{"properties":{"id":{"type":"string"},"ord":{"type":"integer"},"label":{"type":"string"},"starts_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"tentative":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","ord","label","starts_on","ends_on","tentative"]},"ProjectSummary":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"capsule_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"starts_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"ends_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"dated":{"type":"boolean"},"tentative":{"type":"boolean"},"status_label":{"anyOf":[{"type":"string","const":"Pencilled in"},{"type":"null"}]},"no_dates_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"anyOf":[{"type":"string"},{"type":"null"}]},"picture_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"kinds":{"items":{"$ref":"#/$defs/ProjectKind"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","name","persona_id","capsule_name","starts_on","ends_on","dated","tentative","status_label","no_dates_hint","stage","picture_url","kinds"]},"Promoted":{"properties":{"family":{"additionalProperties":true,"type":"object"},"demoted_incumbent":{"anyOf":[{"type":"string"},{"type":"null"}]},"dismissed_inferior":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["family","demoted_incumbent","dismissed_inferior"]},"PromptRewrite":{"properties":{"text":{"type":"string"}},"additionalProperties":true,"type":"object","required":["text"]},"ProxyRegisterOut":{"properties":{"proxy_entity_id":{"type":"string"},"master_entity_id":{"type":"string"},"created":{"type":"boolean"},"hosted_bytes":{"type":"integer"},"master_bytes_not_hosted":{"anyOf":[{"type":"integer"},{"type":"null"}]},"master_custody":{"type":"string"},"link":{"type":"string"}},"type":"object","required":["proxy_entity_id","master_entity_id","created","hosted_bytes","master_bytes_not_hosted","master_custody","link"]},"PublicBlock":{"properties":{"title":{"type":"string"},"pieces":{"items":{"$ref":"#/$defs/PublicPiece"},"type":"array"}},"additionalProperties":true,"type":"object","required":["title","pieces"]},"PublicPiece":{"properties":{"piece_id":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"picture":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["piece_id","title","text","date","picture"]},"QualityCheck":{"properties":{"verdict":{"type":"string"},"failures":{"items":{"$ref":"#/$defs/QualityFailure"},"type":"array"},"brief_sha256":{"type":"string"},"checked_chars":{"type":"integer"},"criteria":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["verdict","failures","brief_sha256","checked_chars","criteria"]},"QualityFailure":{"properties":{"rule":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["rule","sentence"]},"QuizOut":{"properties":{"status":{"type":"string"},"voice":{"type":"string"},"model":{"type":"string"}},"additionalProperties":true,"type":"object","required":["status","voice","model"]},"RateAction":{"properties":{"label":{"type":"string"},"rate_minor_units":{"type":"integer"},"unit":{"type":"string"}},"additionalProperties":true,"type":"object","required":["label","rate_minor_units","unit"]},"RateCard":{"properties":{"version":{"type":"string"},"currency":{"type":"string"},"take_rate_bps":{"type":"integer"},"classes":{"additionalProperties":{"$ref":"#/$defs/FeeClass"},"type":"object"},"tiers":{"additionalProperties":{"$ref":"#/$defs/RateTier"},"type":"object"}},"additionalProperties":true,"type":"object","required":["version","currency","take_rate_bps","classes","tiers"]},"RateTier":{"properties":{"label":{"type":"string"},"actions":{"additionalProperties":{"$ref":"#/$defs/RateAction"},"type":"object"}},"additionalProperties":true,"type":"object","required":["label","actions"]},"Reach":{"properties":{"pooled":{"type":"boolean"},"capsules":{"items":{"$ref":"#/$defs/ReachCapsule"},"type":"array"},"pools":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["pooled","capsules","pools"]},"ReachCapsule":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name"]},"ReadOnDemand":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"read_on_demand":{"type":"boolean"},"released":{"type":"integer"},"still_releasing":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["persona_id","read_on_demand","released","still_releasing"]},"ReadingUnit":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"label":{"type":"string"},"split":{"type":"string"},"set":{"type":"boolean"},"splits":{"additionalProperties":{"type":"string"},"type":"object"}},"additionalProperties":true,"type":"object","required":["persona_id","label","split","set","splits"]},"ReceiptWindow":{"properties":{"calls":{"type":"integer"},"measured_minor":{"type":"integer"},"estimated_minor":{"type":"integer"},"unknown_calls":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["calls","measured_minor","estimated_minor","unknown_calls"]},"Recipe":{"properties":{"said":{"type":"string"},"shot":{"type":"string"},"recipe":{"$ref":"#/$defs/RecipeBody"}},"additionalProperties":true,"type":"object","required":["said","shot","recipe"]},"RecipeBody":{"properties":{"people":{"type":"string"},"place":{"type":"string"},"wardrobe":{"type":"string"},"props":{"type":"string"},"look":{"type":"string"},"framing":{"type":"string"}},"additionalProperties":true,"type":"object","required":["people","place","wardrobe","props","look","framing"]},"RecipeCounts":{"properties":{"versions":{"type":"integer"},"runs":{"type":"integer"},"runs_in_progress":{"type":"integer"},"runs_waiting":{"type":"integer"},"triggers":{"type":"integer"},"shares":{"type":"integer"},"copies":{"type":"integer"},"nested_in":{"type":"integer"},"made":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["versions","runs","runs_in_progress","runs_waiting","triggers","shares","copies","nested_in","made"]},"RecipeRemoved":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"counts":{"anyOf":[{"$ref":"#/$defs/RecipeCounts"},{"type":"null"}]},"lines":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"blocked":{"anyOf":[{"type":"string"},{"type":"null"}]},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"RedoneReport":{"properties":{"class_code":{"type":"string"},"failed":{"type":"integer"},"matchable":{"type":"integer"},"redone":{"type":"integer"},"carried":{"type":"integer"},"by_job_type":{"additionalProperties":true,"type":"object"},"samples":{"items":{},"type":"array"},"retired":{"type":"integer"},"applied":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["class_code","failed","matchable","redone","carried","by_job_type","samples","retired","applied"]},"ReferenceStatsOut":{"properties":{"total":{"type":"integer"},"watched":{"type":"integer"},"unwatched":{"type":"integer"},"average_rating":{"anyOf":[{"type":"number"},{"type":"null"}]}},"type":"object","required":["total","watched","unwatched","average_rating"]},"Refined":{"properties":{"proposed":{"type":"string"}},"additionalProperties":true,"type":"object","required":["proposed"]},"RegisterCheck":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"present":{},"ambiguous":{},"missing":{},"everyone_at_the_table":{},"used_in_edges":{},"exports":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entity_id","exports"]},"Registry":{"properties":{"said":{"type":"string"},"registry":{"$ref":"#/$defs/RegistryBody"}},"additionalProperties":true,"type":"object","required":["said","registry"]},"RegistryBody":{"properties":{"characters":{"items":{"type":"string"},"type":"array"},"locations":{"items":{"type":"string"},"type":"array"},"time_of_day":{"type":"string"}},"additionalProperties":true,"type":"object","required":["characters","locations","time_of_day"]},"RelationCount":{"properties":{"type":{"type":"string"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["type","count"]},"RelationCountsOut":{"properties":{"groups":{"type":"integer"},"shots":{"type":"integer"}},"type":"object","required":["groups","shots"]},"RelationElementOut":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"name":{"type":"string"},"kind":{"type":"string"}},"type":"object","required":["entity_id","name","kind"]},"RelationGroupOut":{"properties":{"key":{"type":"string"},"label":{"type":"string"},"shots":{"items":{"$ref":"#/$defs/ShotRefOut"},"type":"array"},"elements":{"items":{"$ref":"#/$defs/RelationElementOut"},"type":"array"}},"type":"object","required":["key","label","shots","elements"]},"RelationRecent":{"properties":{"from_item":{"type":"string"},"type":{"type":"string"},"to_kind":{"type":"string"},"to_id":{"type":"string"},"confidence":{"type":"number"}},"additionalProperties":true,"type":"object","required":["from_item","type","to_kind","to_id","confidence"]},"Relations":{"properties":{"total":{"type":"integer"},"by_type":{"items":{"$ref":"#/$defs/RelationCount"},"type":"array"},"recent":{"items":{"$ref":"#/$defs/RelationRecent"},"type":"array"}},"additionalProperties":true,"type":"object","required":["total","by_type","recent"]},"RelationsOut":{"properties":{"project_id":{"type":"string","format":"uuid"},"by":{"type":"string"},"by_label":{"type":"string"},"has_shot_list":{"type":"boolean"},"groups":{"items":{"$ref":"#/$defs/RelationGroupOut"},"type":"array"},"counts":{"$ref":"#/$defs/RelationCountsOut"}},"type":"object","required":["project_id","by","by_label","has_shot_list","groups","counts"]},"ReleaseBoard":{"properties":{"generated_at":{"type":"string"},"counts":{"additionalProperties":true,"type":"object"},"rows":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"orphans":{"additionalProperties":true,"type":"object"},"actions":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["generated_at","counts","rows","orphans","actions"]},"ReleaseListing":{"properties":{"id":{"type":"string"},"version":{"type":"string"},"manifest_sha256":{"type":"string"},"reads":{"items":{"type":"string"},"type":"array"},"writes":{"items":{"type":"string"},"type":"array"},"max_spend_minor":{"type":"integer"},"currency":{"type":"string"},"status":{"type":"string"},"runs":{"type":"integer"},"withdrawn_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"withdrawn_reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","version","manifest_sha256","reads","writes","max_spend_minor","currency","status","runs","withdrawn_at","withdrawn_reason"]},"ReleaseRun":{"properties":{"preview":{"additionalProperties":true,"type":"object"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["preview"]},"ReleaseTwin":{"properties":{"link_id":{"type":"string"},"grade":{"type":"string"},"transcripts":{"additionalProperties":{"anyOf":[{"$ref":"#/$defs/TranscriptState"},{"type":"null"}]},"type":"object"}},"additionalProperties":true,"type":"object","required":["link_id","grade","transcripts"]},"Relink":{"properties":{"items":{"items":{"$ref":"#/$defs/RelinkItem"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["items","count"]},"RelinkItem":{"properties":{"id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"filename":{"anyOf":[{"type":"string"},{"type":"null"}]},"video_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_type":{"type":"string"},"custody":{"type":"string"},"proxy":{}},"additionalProperties":true,"type":"object","required":["id","entity_type","custody"]},"RemakeOut":{"properties":{"fixture_id":{"type":"string"},"source_title":{"type":"string"},"source_credit":{"type":"string"},"source":{"type":"string"},"remade":{"type":"string"},"voice":{"type":"string"},"generation":{"type":"integer"},"model":{"type":"string"}},"additionalProperties":true,"type":"object","required":["fixture_id","source_title","source_credit","source","remade","voice","generation","model"]},"RemixRef":{"properties":{"option_id":{"type":"string","format":"uuid"},"aspect":{"type":"string","default":"overall"}},"type":"object","required":["option_id"]},"RenameOut":{"properties":{"old":{"type":"string"},"new":{"type":"string"},"changes":{"items":{},"type":"array"},"applied":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["old","new","changes","applied"]},"RenderAsked":{"properties":{"render_id":{"type":"string"},"kind":{"type":"string","enum":["effect","cut"]},"state":{"type":"string","const":"rendering"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["render_id","kind","state","sentence"]},"RenderStanding":{"properties":{"render_id":{"type":"string"},"kind":{"anyOf":[{"type":"string","enum":["effect","cut"]},{"type":"null"}]},"state":{"type":"string","enum":["rendering","ready","refused","failed"]},"sentence":{"type":"string"},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["render_id","kind","state","sentence"]},"RequesterIndex":{"properties":{"threads":{"items":{"$ref":"#/$defs/RequesterThread"},"type":"array"},"unread":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["threads","unread"]},"RequesterRead":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"unread":{"type":"boolean"},"messages":{"items":{"$ref":"#/$defs/ThreadMessage"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","kind","status","unread","messages"]},"RequesterThread":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"persona_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"unread":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","kind","status","unread"]},"ResearchAnswerIn":{"properties":{"question":{"type":"string","maxLength":500,"minLength":1},"answer":{"type":"string","maxLength":2000,"minLength":1}},"type":"object","required":["question","answer"],"description":"One answered open question from a finished report."},"ResearchGone":{"properties":{"deleted":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deleted"]},"ResearchPromoted":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"status":{"type":"string"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_count":{"type":"integer"},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"promoted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"queries":{},"report":{},"answers":{},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"seed_entity_ids":{},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"analysis":{}},"additionalProperties":true,"type":"object","required":["id","persona_id","status","source_count"]},"ResearchStarted":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"status":{"type":"string"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_count":{"type":"integer"},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"promoted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"queries":{},"report":{},"answers":{},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"seed_entity_ids":{},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"gone":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","persona_id","status","brief","subject","title","source_count","entity_id","parent_run_id","created_at","promoted_at","queries","report","answers","error","error_code","seed_entity_ids","updated_at","gone"]},"ResearchView":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"status":{"type":"string"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_count":{"type":"integer"},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"promoted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"queries":{},"report":{},"answers":{},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"seed_entity_ids":{},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","status","source_count"]},"RestoreOut":{"properties":{"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"state":{"type":"string"},"restored":{"type":"boolean"}},"type":"object","required":["persona_id","state","restored"]},"RevenueSplitRead":{"properties":{"persona_id":{"type":"string","x-kit-id":"capsule"},"explicit":{"type":"boolean"},"total_bps":{"type":"integer"},"shares":{"items":{"$ref":"#/$defs/SplitPayee"},"type":"array"},"history":{"items":{"$ref":"#/$defs/SplitPayee"},"type":"array"}},"additionalProperties":true,"type":"object","required":["persona_id","explicit","total_bps","shares","history"]},"Review":{"properties":{"id":{"type":"string"},"result":{"type":"string"},"notes":{"type":"string"},"reviewer_name":{"type":"string"},"reviewer_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","result","notes","reviewer_name","reviewer_user_id","created_at"]},"ReviewCluster":{"properties":{"id":{},"name":{"type":"string"},"description":{"type":"string"},"stability":{},"flags":{"items":{"$ref":"#/$defs/ClusterFlag"},"type":"array"},"accepted":{"type":"integer"},"cascade_traces":{"additionalProperties":true,"type":"object"},"secondary_solutions":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["name","description","flags","accepted","cascade_traces","secondary_solutions"]},"ReviewOut":{"properties":{"review":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["review"]},"ReviewPlace":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"review":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"capsule_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name"]},"RevisedOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"can_have_pictures":{"type":"boolean"},"needs_real_person_answer":{"type":"boolean"},"pictures":{"items":{"$ref":"#/$defs/PictureOut"},"type":"array"},"first_picture":{"anyOf":[{"$ref":"#/$defs/FirstPictureOut"},{"type":"null"}]},"lock":{"$ref":"#/$defs/PictureLockOut"},"limits":{"$ref":"#/$defs/BoardLimitsOut"},"rights":{"items":{"$ref":"#/$defs/RightsOptionOut"},"type":"array"},"made":{"items":{"type":"string","format":"uuid"},"type":"array"}},"type":"object","required":["entity_id","project_id","name","kind","can_have_pictures","needs_real_person_answer","pictures","first_picture","lock","limits","rights","made"]},"RevisionOut":{"properties":{"revision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["revision"]},"RevisionPrice":{"properties":{"action":{"type":"string"},"unit":{"type":"string"},"count":{"type":"integer"},"default":{"type":"string"},"routes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"can_change_part":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["action","unit","count","default","routes","can_change_part"]},"RightsOptionOut":{"properties":{"id":{"type":"string"},"label":{"type":"string"}},"type":"object","required":["id","label"]},"RoastTopicOut":{"properties":{"topic":{"type":"string"},"jokes":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["topic","jokes"]},"RoomNewIn":{"properties":{"project_id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":80,"minLength":1},"holds":{"type":"string","maxLength":200,"default":""}},"additionalProperties":false,"type":"object","required":["project_id","name"]},"RoomStateIn":{"properties":{"project_id":{"type":"string","format":"uuid"},"room":{"type":"string","maxLength":80,"minLength":1},"state":{"type":"string","maxLength":10,"default":"shown"},"tab":{"type":"string","maxLength":80,"default":""}},"additionalProperties":false,"type":"object","required":["project_id","room"]},"RoutePreference":{"properties":{"said":{"type":"string"},"route":{"type":"string"},"length":{"type":"string"},"words":{"type":"string"},"mentions":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["said","route","length","words","mentions"]},"Rule":{"properties":{"id":{"type":"string"},"persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"kind":{"type":"string"},"condition":{"additionalProperties":true,"type":"object"},"action":{"type":"string"},"enabled":{"type":"boolean"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","kind","condition","action","enabled","note","created_at"]},"RulesApplied":{"properties":{"approved":{"items":{},"type":"array"},"rejected":{"items":{},"type":"array"},"held":{"items":{},"type":"array"},"checked":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["approved","rejected","held","checked"]},"RunHandle":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"format":{"type":"string"},"title":{"type":"string"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","format","title"]},"RunPrice":{"properties":{"pictures":{"type":"integer"},"up_to":{"type":"boolean"},"offer":{}},"additionalProperties":true,"type":"object","required":["pictures","up_to","offer"]},"SceneItem":{"properties":{"name":{"type":"string"},"here":{"type":"boolean"},"measured":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["name","here","measured"]},"SceneLibrary":{"properties":{"item":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string","enum":["prop","set_piece","equipment"]},"size":{"items":{"type":"number"},"type":"array"}},"additionalProperties":true,"type":"object","required":["item","label","kind","size"]},"SceneList":{"properties":{"scenes":{"items":{"$ref":"#/$defs/SceneListed"},"type":"array"}},"additionalProperties":true,"type":"object","required":["scenes"]},"SceneListed":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","created_at","updated_at","version"]},"SceneReading":{"properties":{"scene":{"$ref":"#/$defs/app__api__scene_answers__SceneCard"},"version":{"type":"integer"},"structure":{"additionalProperties":true,"type":"object"},"items":{"additionalProperties":{"$ref":"#/$defs/SceneItem"},"type":"object"},"said":{"anyOf":[{"type":"string"},{"type":"null"}]},"library":{"items":{"$ref":"#/$defs/SceneLibrary"},"type":"array"},"sensors":{"items":{"$ref":"#/$defs/SceneSensor"},"type":"array"}},"additionalProperties":true,"type":"object","required":["scene","version","structure","items","said","library","sensors"]},"SceneRemoved":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"versions":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","removed","versions"]},"SceneSensor":{"properties":{"sensor":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true,"type":"object","required":["sensor","label"]},"ScenesOut":{"properties":{"cards":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"dealt_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_outline":{"type":"boolean"},"stale":{"type":"boolean"},"int_ext":{"items":{"type":"string"},"type":"array"},"times_of_day":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["cards","dealt_at","has_outline","stale","int_ext","times_of_day"]},"ScopeRead":{"properties":{"user_id":{"type":"string"},"scopes":{"items":{"$ref":"#/$defs/MemberScope"},"type":"array"},"reaches_nothing":{"type":"boolean"},"persona_ids":{"items":{"type":"string","x-kit-id":"capsule"},"type":"array"},"capsule_roles":{"items":{"type":"string"},"type":"array"},"capsule_levels":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["user_id","scopes","reaches_nothing","persona_ids","capsule_roles","capsule_levels"]},"ScopeSet":{"properties":{"user_id":{"type":"string"},"scopes":{"items":{"$ref":"#/$defs/MemberScope"},"type":"array"},"persona_ids":{"items":{"type":"string","x-kit-id":"capsule"},"type":"array"}},"additionalProperties":true,"type":"object","required":["user_id","scopes","persona_ids"]},"ScreenplayArrival":{"properties":{"authoritative":{"type":"boolean"},"imported_from":{"additionalProperties":true,"type":"object"},"report":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["authoritative","imported_from","report"]},"ScreenplayImport":{"properties":{"creation":{"$ref":"#/$defs/Creation"},"screenplay_id":{"type":"string"},"import":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["creation","screenplay_id","import"]},"ScriptDocument":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"format":{"type":"string"},"title":{"type":"string"},"word_count":{"type":"integer"},"revision":{"type":"string"},"created_at":{"type":"string"},"authority":{"type":"string"},"authority_label":{"type":"string"},"method":{"type":"string"},"body":{"type":"string"},"structure":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["entity_id","format","title","word_count","revision","created_at","authority","authority_label","method","body","structure"]},"ScriptEdit":{"properties":{"creation":{"$ref":"#/$defs/Creation"},"document":{"$ref":"#/$defs/ScriptDocument"}},"additionalProperties":true,"type":"object","required":["creation","document"]},"SearchContextResponse":{"properties":{"query":{"type":"string"},"results":{"items":{"$ref":"#/$defs/EntityEvidence"},"type":"array"}},"type":"object","required":["query","results"]},"SearchDescription":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"text":{"type":"string"},"cleared":{"type":"boolean"},"sensitivity":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","title","text","cleared","sensitivity"]},"SectionIn":{"properties":{"offset":{"type":"integer","minimum":0.0},"data":{"type":"string","maxLength":1398105,"minLength":1}},"additionalProperties":false,"type":"object","required":["offset","data"]},"Segment":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kinds":{"items":{"type":"string"},"type":"array"},"rules":{"items":{"$ref":"#/$defs/SegmentRule"},"type":"array"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","kinds","rules"]},"SegmentGone":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","removed","sentence"]},"SegmentIndex":{"properties":{"segments":{"items":{"$ref":"#/$defs/Segment"},"type":"array"}},"additionalProperties":true,"type":"object","required":["segments"]},"SegmentOut":{"properties":{"id":{"type":"string"},"order":{"type":"integer"},"title":{"type":"string"},"content":{"type":"string"},"type":{"type":"string"},"timing_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"platforms":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","order","title","content","type","platforms"]},"SegmentPlanOut":{"properties":{"segments":{"items":{"$ref":"#/$defs/SegmentOut"},"type":"array"},"total_seconds":{"type":"integer"},"by_platform":{"additionalProperties":{"type":"integer"},"type":"object"},"types":{"items":{"type":"string"},"type":"array"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["segments","total_seconds","by_platform","types"]},"SegmentRead":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kinds":{"items":{"type":"string"},"type":"array"},"rules":{"items":{"$ref":"#/$defs/SegmentRule"},"type":"array"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"people":{"type":"integer"},"first_names":{"items":{"type":"string"},"type":"array"},"holds":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","kinds","rules","people","first_names","holds"]},"SegmentRule":{"properties":{"fact":{"type":"string"},"op":{"type":"string"}},"additionalProperties":true,"type":"object","required":["fact","op"]},"SegmentSaved":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kinds":{"items":{"type":"string"},"type":"array"},"rules":{"items":{"$ref":"#/$defs/SegmentRule"},"type":"array"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"people":{"type":"integer"},"first_names":{"items":{"type":"string"},"type":"array"},"holds":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","kinds","rules","people","first_names","holds","sentence"]},"Selection":{"properties":{"document_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"explicit":{"type":"boolean"},"authority":{"anyOf":[{"type":"string"},{"type":"null"}]},"authority_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"revision":{"anyOf":[{"type":"string"},{"type":"null"}]},"selected_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"selected_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"locked":{"type":"boolean"},"lock":{"anyOf":[{"$ref":"#/$defs/Lock"},{"type":"null"}]},"last_unlock":{"anyOf":[{"$ref":"#/$defs/Unlock"},{"type":"null"}]},"events":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["document_id","explicit","authority","authority_label","revision","selected_by","selected_at","locked","lock","last_unlock","events"]},"SelectionChanged":{"properties":{"flag":{"anyOf":[{"type":"string"},{"type":"null"}]},"on":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"changed":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"unchanged":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"concept":{"anyOf":[{"type":"string"},{"type":"null"}]},"attached":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"already":{"anyOf":[{"type":"integer"},{"type":"null"}]},"skipped":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","description":"A selection is flagged or sent to a concept. The door answers with the\nfields of the one it did, so none is required."},"Seller":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"profile":{"additionalProperties":true,"type":"object"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","capsule_id","profile"]},"SellerList":{"properties":{"sellers":{"items":{"$ref":"#/$defs/SellerRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["sellers"]},"SellerMetrics":{"properties":{"open":{"type":"integer"},"won":{"type":"integer"},"lost":{"type":"integer"},"win_rate":{"anyOf":[{"type":"integer"},{"type":"null"}]},"average_won_deal":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},"average_days_to_win":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["open","won","lost","average_won_deal"]},"SellerRead":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"profile":{"additionalProperties":true,"type":"object"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"metrics":{"$ref":"#/$defs/SellerMetrics"}},"additionalProperties":true,"type":"object","required":["id","name","capsule_id","profile","metrics"]},"SellerRemoved":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"cases_kept":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","removed","cases_kept","sentence"]},"SellerRow":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"capsule_id":{"type":"string","x-kit-id":"capsule"},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"offerings":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array"},"competitors":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array"},"cases":{"additionalProperties":{"type":"integer"},"type":"object"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","capsule_id","offerings","competitors","cases"]},"SensitiveAccess":{"properties":{"user_id":{"type":"string"},"sensitive_access":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["user_id","sensitive_access"]},"Session":{"properties":{"id":{"type":"string"},"project_id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"ended_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"open":{"type":"boolean"},"summary":{"additionalProperties":true,"type":"object"},"deposit_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"discarded_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"created":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"discarded_messages":{"anyOf":[{"type":"integer"},{"type":"null"}]},"discarded_transcript_segments":{"anyOf":[{"type":"integer"},{"type":"null"}]},"discarded_suggestions":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","project_id","kind","name","started_at","ended_at","started_by","open","summary","deposit_entity_id","discarded_at","created_at"]},"SetBitOut":{"properties":{"joke_id":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"timing_seconds":{"type":"integer"},"timing_estimated":{"type":"boolean"},"gone":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["joke_id","order","label","timing_seconds","timing_estimated","gone"]},"SetListOut":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"target_seconds":{"type":"integer"},"total_seconds":{"type":"integer"},"over_seconds":{"type":"integer"},"warning":{"type":"string"},"bits":{"items":{"$ref":"#/$defs/SetBitOut"},"type":"array"},"estimated_bits":{"type":"integer"},"compiled_at":{"type":"string"},"filed_as":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","name","target_seconds","total_seconds","over_seconds","warning","bits","estimated_bits","compiled_at","filed_as"]},"SetupOut":{"properties":{"maps":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object"},"hint_dismissed":{"type":"boolean"}},"type":"object","required":["maps","hint_dismissed"]},"ShareLink":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"max_downloads":{"anyOf":[{"type":"integer"},{"type":"null"}]},"download_count":{"type":"integer"},"last_accessed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sent":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","persona_id","download_count"]},"ShareList":{"properties":{"shares":{"items":{"$ref":"#/$defs/ShareLink"},"type":"array"}},"additionalProperties":true,"type":"object","required":["shares"]},"Sheet":{"properties":{"garment_family":{"anyOf":[{"type":"string"},{"type":"null"}]},"variant_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"brief":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"author_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"placements":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"directives":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}]},"product_ref":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","description":"A build sheet is a stored record. These are the keys its one writer\nwrites; none is required, so a sheet stored without one still answers."},"SheetColumn":{"properties":{"key":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["text","number","date","checkbox","link","tally","formula"]},"links_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"links_to_sheet":{"anyOf":[{"type":"string"},{"type":"null"}]},"linked_sheet_removed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"formula":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["key","name","kind"]},"SheetColumnsSet":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"columns":{"items":{"$ref":"#/$defs/SheetColumn"},"type":"array"},"records":{"items":{"$ref":"#/$defs/SheetRecord"},"type":"array"},"totals":{"additionalProperties":{"$ref":"#/$defs/SheetTotal"},"type":"object"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"removed_columns":{"type":"integer"},"removed_values":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","columns","records","totals","removed_columns","removed_values"]},"SheetCompiled":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"sheet":{"$ref":"#/$defs/Sheet"},"directives_added":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entity_id","sheet","directives_added"]},"SheetCreated":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"columns":{"items":{"$ref":"#/$defs/SheetColumn"},"type":"array"},"records":{"items":{"$ref":"#/$defs/SheetRecord"},"type":"array"},"totals":{"additionalProperties":{"$ref":"#/$defs/SheetTotal"},"type":"object"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"removed_columns":{"anyOf":[{"type":"integer"},{"type":"null"}]},"removed_values":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","columns","records","totals"]},"SheetGone":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"records":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","removed","records"]},"SheetGroup":{"properties":{"value":{"type":"string"},"records":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["value","records"]},"SheetHistory":{"properties":{"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["events","count"]},"SheetIndex":{"properties":{"sheets":{"items":{"$ref":"#/$defs/SheetSummary"},"type":"array"}},"additionalProperties":true,"type":"object","required":["sheets"]},"SheetLinkFrom":{"properties":{"sheet_id":{"type":"string"},"sheet":{"type":"string"},"column":{"anyOf":[{"type":"string"},{"type":"null"}]},"record_id":{"type":"string"},"title":{}},"additionalProperties":true,"type":"object","required":["sheet_id","sheet","record_id"]},"SheetList":{"properties":{"sheets":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"counts":{"additionalProperties":true,"type":"object"},"total":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["sheets","counts","total"]},"SheetName":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name"]},"SheetRead":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"columns":{"items":{"$ref":"#/$defs/SheetColumn"},"type":"array"},"records":{"items":{"$ref":"#/$defs/SheetRecord"},"type":"array"},"totals":{"additionalProperties":{"$ref":"#/$defs/SheetTotal"},"type":"object"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","columns","records","totals"]},"SheetRecord":{"properties":{"id":{"type":"string"},"position":{"type":"integer"},"title":{},"cells":{"additionalProperties":true,"type":"object"},"linked_from":{"items":{"$ref":"#/$defs/SheetLinkFrom"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","position","cells","linked_from"]},"SheetRecordOne":{"properties":{"sheet_id":{"type":"string"},"columns":{"items":{"$ref":"#/$defs/SheetColumn"},"type":"array"},"record":{"$ref":"#/$defs/SheetRecord"}},"additionalProperties":true,"type":"object","required":["sheet_id","columns","record"]},"SheetRecordsAdded":{"properties":{"added":{"type":"integer"},"ids":{"items":{"type":"string"},"type":"array"},"records":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["added","ids","records"]},"SheetRun":{"properties":{"sheet":{"$ref":"#/$defs/Sheet"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["sheet","job_id"]},"SheetRunAll":{"properties":{"sheet":{"$ref":"#/$defs/Sheet"},"queued":{"items":{"type":"string"},"type":"array"},"skipped":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["sheet","queued","skipped"]},"SheetSeeded":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"operation_id":{"type":"string"},"sheet":{"$ref":"#/$defs/Sheet"},"directives_added":{"type":"integer"},"concept_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","operation_id","sheet","directives_added","concept_id"]},"SheetStarted":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"operation_id":{"type":"string"},"sheet":{"$ref":"#/$defs/Sheet"}},"additionalProperties":true,"type":"object","required":["entity_id","operation_id","sheet"]},"SheetSummary":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"columns":{"type":"integer"},"records":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","columns","records"]},"SheetTotal":{"properties":{"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"numbers":{"type":"integer"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["numbers"]},"SheetView":{"properties":{"id":{"type":"string"},"sheet_id":{"type":"string"},"name":{"type":"string"},"columns":{"items":{"type":"string"},"type":"array"},"filters":{"items":{"$ref":"#/$defs/SheetViewFilter"},"type":"array"},"sort":{"anyOf":[{"$ref":"#/$defs/SheetViewSort"},{"type":"null"}]},"group_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","sheet_id","name","columns","filters"]},"SheetViewFilter":{"properties":{"column":{"type":"string"},"op":{"type":"string","enum":["eq","ne","gt","lt","contains","empty"]},"value":{}},"additionalProperties":true,"type":"object","required":["column","op"]},"SheetViewGone":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","removed","sentence"]},"SheetViewList":{"properties":{"sheet_id":{"type":"string"},"views":{"items":{"$ref":"#/$defs/SheetView"},"type":"array"}},"additionalProperties":true,"type":"object","required":["sheet_id","views"]},"SheetViewRead":{"properties":{"view":{"$ref":"#/$defs/SheetView"},"sheet":{"$ref":"#/$defs/SheetName"},"columns":{"items":{"$ref":"#/$defs/SheetColumn"},"type":"array"},"records":{"items":{"$ref":"#/$defs/SheetRecord"},"type":"array"},"groups":{"anyOf":[{"items":{"$ref":"#/$defs/SheetGroup"},"type":"array"},{"type":"null"}]},"rows":{"type":"integer"},"missing_columns":{"type":"integer"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["view","sheet","columns","records","rows","missing_columns"]},"SheetViewSaved":{"properties":{"id":{"type":"string"},"sheet_id":{"type":"string"},"name":{"type":"string"},"columns":{"items":{"type":"string"},"type":"array"},"filters":{"items":{"$ref":"#/$defs/SheetViewFilter"},"type":"array"},"sort":{"anyOf":[{"$ref":"#/$defs/SheetViewSort"},{"type":"null"}]},"group_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"rows":{"type":"integer"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","sheet_id","name","columns","filters","rows","sentence"]},"SheetViewSort":{"properties":{"column":{"anyOf":[{"type":"string"},{"type":"null"}]},"direction":{"type":"string","enum":["asc","desc"]}},"additionalProperties":true,"type":"object","required":["direction"]},"ShotIn":{"properties":{"label":{"type":"string","default":""},"model":{"type":"string","default":""},"scene":{"type":"string","default":""},"camera":{"type":"string","default":""},"capture":{"type":"string","default":""},"lens":{"type":"string","default":""},"camera_body":{"type":"string","default":""},"film_stock":{"type":"string","default":""},"look":{"type":"string","default":""},"framing":{"type":"string","default":""},"discipline":{"type":"string","default":""},"action":{"type":"string","default":""},"correction":{"type":"string","default":""},"faceless":{"type":"boolean","default":false},"aspect":{"type":"string","default":"3:4"},"count":{"type":"integer","maximum":4.0,"minimum":1.0,"default":1},"pieces":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"people":{"items":{"$ref":"#/$defs/app__api__merch_lab__PersonIn"},"type":"array","maxItems":3}},"type":"object"},"ShotRefOut":{"properties":{"shot_id":{"type":"string"},"label":{"type":"string"},"scene_number":{"type":"string"},"scene_slug":{"type":"string"}},"type":"object","required":["shot_id","label","scene_number","scene_slug"]},"ShotsRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"shots":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","shots"]},"SignInOutcome":{"properties":{"outcome":{"type":"string"},"detail":{"type":"string"},"ok":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["outcome","detail","ok"]},"SlotRoute":{"properties":{"said":{"type":"string"},"slot":{"type":"string"},"route":{"type":"string"},"seed":{"type":"string"},"longest_take":{"type":"string"},"payer":{"type":"string"}},"additionalProperties":true,"type":"object","required":["said","slot","route","seed","longest_take","payer"]},"SortIn":{"properties":{"column":{"type":"string","maxLength":200},"direction":{"type":"string","enum":["asc","desc"],"default":"asc"}},"additionalProperties":false,"type":"object","required":["column"]},"Source":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"origin":{"type":"string"},"level":{"type":"number"},"muted":{"type":"boolean"},"sending_level":{"type":"number"},"on_program":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","name","kind","origin","level","muted","sending_level","on_program"]},"SourceAccepted":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["job_id","status"]},"SourceAccountOff":{"properties":{"disconnected":{"type":"boolean"},"removed":{"type":"integer"},"remaining":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["disconnected","removed","remaining"]},"SourceBlock":{"properties":{"gb":{"type":"integer"},"monthly_micro":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["gb","monthly_micro"]},"SourceChannel":{"properties":{"method":{"type":"string"},"count":{"type":"integer"},"latest":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["method","count","latest"]},"SourceCheck":{"properties":{"key":{"type":"string"},"checking":{"type":"boolean"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"retimed":{"type":"boolean"},"readmit_too_large":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["key","checking","job_id","retimed"]},"SourceCleared":{"properties":{"source_key":{"type":"string"},"removed":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["source_key","removed"]},"SourceCloudQueued":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"account":{"type":"string"},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","account","repeat_hours"]},"SourceConnector":{"properties":{"key":{"type":"string"},"what":{"type":"string"},"in_flight":{"anyOf":[{"type":"string"},{"type":"null"}]},"job_type":{"type":"string"},"status":{"type":"string"},"standing":{"type":"boolean"},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]},"last_ok_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"stopped_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"linked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"linked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"account":{"anyOf":[{"type":"string"},{"type":"null"}]},"recovered":{"type":"boolean"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["key","what","in_flight","job_type","status","standing","repeat_hours","last_ok_at","next_attempt_at","last_error","last_error_code","stopped_reason","last_result","linked_at","linked_by","account","recovered","channel"]},"SourceConsent":{"properties":{"authorize_url":{"type":"string"}},"additionalProperties":true,"type":"object","required":["authorize_url"]},"SourceDriveQueued":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","repeat_hours"]},"SourceFeed":{"properties":{"feed_url":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"standing":{"type":"boolean"},"last_ok_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}]},"stopped_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]},"entries_last_sync":{"anyOf":[{"type":"integer"},{"type":"null"}]},"entries_total":{"anyOf":[{"type":"integer"},{"type":"null"}]},"more_pending":{"type":"boolean"},"ingested_total":{"type":"integer"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["feed_url","title","status","standing","last_ok_at","next_attempt_at","last_error","stopped_reason","repeat_hours","entries_last_sync","entries_total","more_pending","ingested_total"]},"SourceFeedPreview":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"entry_count":{"type":"integer"},"latest":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["title","entry_count","latest"]},"SourceFolder":{"properties":{"name":{"type":"string"},"root":{"type":"string"},"path":{"type":"string"}},"additionalProperties":true,"type":"object","required":["name","root","path"]},"SourceFolders":{"properties":{"provider":{"type":"string"},"path":{"type":"string"},"folders":{"items":{"$ref":"#/$defs/SourceFolder"},"type":"array"}},"additionalProperties":true,"type":"object","required":["provider","path","folders"]},"SourceGoogleOff":{"properties":{"disconnected":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["disconnected"]},"SourceInputDetail":{"properties":{"storage_policy":{"anyOf":[{"type":"string"},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"account":{"anyOf":[{"type":"string"},{"type":"null"}]},"query":{"anyOf":[{"type":"string"},{"type":"null"}]},"linked_before_record":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"SourceInputList":{"properties":{"inputs":{"items":{"$ref":"#/$defs/SourceInputRow"},"type":"array"},"next_before":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["inputs","next_before"]},"SourceInputRow":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"address":{"type":"string"},"detail":{"$ref":"#/$defs/SourceInputDetail"},"created_at":{"type":"string"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"items":{"type":"integer"},"status":{"type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}]},"message_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"new_files":{"anyOf":[{"type":"integer"},{"type":"null"}]},"already_here":{"anyOf":[{"type":"integer"},{"type":"null"}]},"changed_files":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","kind","address","detail","created_at","added_by","items","status","message","message_code","new_files","already_here","changed_files"]},"SourceInspection":{"properties":{"kind":{"type":"string"},"url":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"feed_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"share_kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview":{"anyOf":[{"$ref":"#/$defs/SourceFeedPreview"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["kind","url"]},"SourceInventory":{"properties":{"feeds":{"items":{"$ref":"#/$defs/SourceFeed"},"type":"array"},"connectors":{"items":{"$ref":"#/$defs/SourceConnector"},"type":"array"},"channels":{"items":{"$ref":"#/$defs/SourceChannel"},"type":"array"},"pending_jobs":{"items":{"$ref":"#/$defs/SourcePending"},"type":"array"}},"additionalProperties":true,"type":"object","required":["feeds","connectors","channels","pending_jobs"]},"SourceKeep":{"properties":{"slug":{"type":"string"},"decision":{"type":"string"},"known":{"type":"boolean"},"sentence":{"type":"string"},"capsule_use":{"anyOf":[{"type":"string"},{"type":"null"}]},"license_class":{"anyOf":[{"type":"string"},{"type":"null"}]},"license_note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["slug","decision","known","sentence"]},"SourceKinship":{"properties":{"premises_checked":{"type":"integer"},"sibling_edges":{"type":"integer"},"grandparent_edges":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["premises_checked","sibling_edges","grandparent_edges"]},"SourceOembed":{"properties":{"status":{"type":"integer"},"embeddable":{"type":"boolean"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"author_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["status","embeddable","title","author_name","thumbnail_url"]},"SourceOriginal":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"type":"integer"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"kept":{"type":"string"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"bytes_done":{"type":"integer"},"restarts":{"type":"integer"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"type":"string"},"created":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"superseded_by":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id","title","size_bytes","content_type","kept","content_hash","state","bytes_done","restarts","updated_at","sentence"]},"SourcePending":{"properties":{"job_type":{"type":"string"},"status":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"standing":{"type":"boolean"},"what":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_type","status","created_at","standing"]},"SourcePress":{"properties":{"adding_bytes":{"type":"integer"},"now_monthly_micro":{"type":"integer"},"after_monthly_micro":{"type":"integer"},"crosses_block":{"type":"boolean"},"after":{"$ref":"#/$defs/SourcePrice"}},"additionalProperties":true,"type":"object","required":["adding_bytes","now_monthly_micro","after_monthly_micro","crosses_block","after"]},"SourcePrice":{"properties":{"free_gb":{"anyOf":[{"type":"integer"},{"type":"number"}]},"billable_bytes":{"type":"integer"},"est_monthly_micro":{"type":"integer"},"blocks":{"items":{"$ref":"#/$defs/SourceBlock"},"type":"array"},"capacity_bytes":{"type":"integer"},"block_fill":{"type":"number"},"flag":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_monthly_micro":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["free_gb","billable_bytes","est_monthly_micro","blocks","capacity_bytes","block_fill","flag","next_monthly_micro"]},"SourceRating":{"properties":{"source_key":{"type":"string"},"tier":{"type":"string"},"score":{"type":"number"},"basis":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["source_key","tier","score"]},"SourceRef":{"properties":{"kind":{"type":"string","enum":["workflow","template"]},"workflow_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"workflow"},{"type":"null"}]},"template":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"definition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["kind"]},"SourceRelease":{"properties":{"hosted_count":{"type":"integer"},"hosted_bytes":{"type":"integer"},"complete_count":{"type":"integer"},"complete_bytes":{"type":"integer"},"partial_count":{"type":"integer"},"unanalyzed_count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["hosted_count","hosted_bytes","complete_count","complete_bytes","partial_count","unanalyzed_count"]},"SourceRetrieve":{"properties":{"status":{"type":"string"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["status"]},"SourceRetrievePreview":{"properties":{"retrievable_count":{"type":"integer"},"skipped_large_count":{"type":"integer"},"needs_device_count":{"type":"integer"},"est_bytes":{"type":"integer"},"press":{"$ref":"#/$defs/SourcePress"}},"additionalProperties":true,"type":"object","required":["retrievable_count","skipped_large_count","needs_device_count","est_bytes","press"]},"SourceShareQueued":{"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"share_kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"repeat_hours":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["job_id","status","provider","share_kind","repeat_hours"]},"SourceSheet":{"properties":{"collection_id":{"type":"string","x-kit-id":"collection"},"entity_count":{"type":"integer"},"reused_entity_count":{"type":"integer"},"media_jobs":{"type":"integer"},"resolver_jobs":{"type":"integer"},"caption_jobs":{"type":"integer"},"thumb_jobs":{"type":"integer"},"container_jobs":{"type":"integer"},"analyze_skipped_quota":{"type":"integer"},"mapping":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"mapping_reused":{"type":"boolean"},"mode":{"type":"string"},"summary_rows_skipped":{"type":"integer"},"rows_collapsed_in_file":{"type":"integer"},"table_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"table":{"anyOf":[{"type":"string"},{"type":"null"}]},"observation_rows":{},"readings_left_out":{}},"additionalProperties":true,"type":"object","required":["collection_id","entity_count","reused_entity_count","media_jobs","resolver_jobs","caption_jobs","thumb_jobs","container_jobs","analyze_skipped_quota","mapping","mapping_reused","mode","summary_rows_skipped","rows_collapsed_in_file"]},"SourceSpatial":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"type":"integer"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"kept":{"type":"string"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"bytes_done":{"type":"integer"},"restarts":{"type":"integer"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentence":{"type":"string"},"reading":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","persona_id","title","size_bytes","content_type","kept","content_hash","state","bytes_done","restarts","updated_at","sentence","reading"]},"SourceStopped":{"properties":{"stopped":{"type":"boolean"},"pending_jobs_removed":{"type":"integer"},"forgotten":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["stopped","pending_jobs_removed"]},"SourceTree":{"properties":{"collection_id":{"type":"string","x-kit-id":"collection"},"source_entity_id":{"type":"string","x-kit-id":"item"},"persons":{"type":"integer"},"families":{"type":"integer"},"family_links":{"type":"integer"},"inferred_kinship":{"$ref":"#/$defs/SourceKinship"},"warnings":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["collection_id","source_entity_id","persons","families","family_links","inferred_kinship","warnings"]},"SourceVideo":{"properties":{"video_id":{"type":"string"},"canonical_url":{"type":"string"},"start_seconds":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"playlist_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"embed_url":{"type":"string"},"watch_url":{"type":"string"},"oembed":{"$ref":"#/$defs/SourceOembed"},"existing_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"type":"string"}},"additionalProperties":true,"type":"object","required":["video_id","canonical_url","start_seconds","playlist_id","embed_url","watch_url","oembed","existing_entity_id","note"]},"SpamMark":{"properties":{"quarantined":{"type":"boolean"},"remembered_sender":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["quarantined","remembered_sender"]},"SpendDecision":{"properties":{"ask":{"additionalProperties":true,"type":"object"},"department":{"type":"string"},"verdict":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["ask","department","verdict","note","result"]},"SpendGroup":{"properties":{"key":{},"counted_minor":{"type":"integer"},"measured_minor":{"type":"integer"},"estimated_minor":{"type":"integer"},"unknown_calls":{"type":"integer"},"calls":{"type":"integer"},"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["counted_minor","measured_minor","estimated_minor","unknown_calls","calls"]},"SpendRead":{"properties":{"window_days":{"type":"integer"},"since":{"type":"string"},"currency":{"type":"string"},"rate_version":{"type":"string"},"by_payer":{"items":{"$ref":"#/$defs/SpendGroup"},"type":"array"},"by_app":{"items":{"$ref":"#/$defs/SpendGroup"},"type":"array"},"by_model":{"items":{"$ref":"#/$defs/SpendGroup"},"type":"array"},"by_project":{"items":{"$ref":"#/$defs/SpendGroup"},"type":"array"},"by_capsule":{"items":{"$ref":"#/$defs/SpendGroup"},"type":"array"},"total":{"$ref":"#/$defs/SpendTotal"}},"additionalProperties":true,"type":"object","required":["window_days","since","currency","rate_version","by_payer","by_app","by_model","by_project","by_capsule","total"]},"SpendTotal":{"properties":{"calls":{"type":"integer"},"counted_minor":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["calls","counted_minor"]},"SphereCopy":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"derived_from":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sphere":{"anyOf":[{"$ref":"#/$defs/SphereMark"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","derived_from","title","sphere","sentence"]},"SphereCrop":{"properties":{"left":{"type":"integer"},"top":{"type":"integer"},"width":{"type":"integer"},"height":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["left","top","width","height"]},"SphereMark":{"properties":{"projection":{"type":"string"},"confirmed":{"type":"boolean"},"source":{"type":"string"},"full_width":{"anyOf":[{"type":"integer"},{"type":"null"}]},"full_height":{"anyOf":[{"type":"integer"},{"type":"null"}]},"heading":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"initial_heading":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"initial_pitch":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}]},"cropped":{"anyOf":[{"$ref":"#/$defs/SphereCrop"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["projection","confirmed","source"]},"SphereReading":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sphere":{"anyOf":[{"$ref":"#/$defs/SphereMark"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer"},{"type":"null"}]},"height":{"anyOf":[{"type":"integer"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","title","sphere","width","height","sentence"]},"SplitPayee":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"payee_tenant_id":{"type":"string"},"payee_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"payee_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"share_bps":{"type":"integer"},"share_percent":{"type":"number"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"valid_to":{"anyOf":[{"type":"string"},{"type":"null"}]},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"implicit":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["payee_tenant_id","share_bps","share_percent"]},"SplitShare":{"properties":{"payee_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"payee_tenant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"share_bps":{"type":"integer","maximum":10000.0,"minimum":1.0}},"type":"object","required":["share_bps"]},"SpreadRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"n":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","n"]},"SpreadsRun":{"properties":{"workflow_id":{"type":"string","x-kit-id":"workflow"},"run_id":{"type":"string"},"status":{"type":"string"},"spreads":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["workflow_id","run_id","status","spreads"]},"StageCamera":{"properties":{"id":{"type":"string"},"shot_id":{"type":"string"},"sensor":{"type":"string"},"lens_mm":{"type":"number"},"x":{"type":"number"},"z":{"type":"number"},"height_m":{"type":"number"},"pan_deg":{"type":"number"},"tilt_deg":{"type":"number"},"roll_deg":{"type":"number"}},"additionalProperties":true,"type":"object","required":["id","shot_id","sensor","lens_mm","x","z","height_m","pan_deg","tilt_deg","roll_deg"]},"StageCopied":{"properties":{"scene":{"$ref":"#/$defs/StageScene"},"version":{"type":"integer"},"saved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"starting":{"type":"boolean"},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"structure":{"$ref":"#/$defs/StageStructure"},"shots":{"items":{"$ref":"#/$defs/StageShot"},"type":"array"},"words":{"additionalProperties":{"$ref":"#/$defs/StageWords"},"type":"object"},"roster":{"items":{"$ref":"#/$defs/StageRoster"},"type":"array"},"library":{"items":{"$ref":"#/$defs/StageLibraryItem"},"type":"array"},"sensors":{"items":{"$ref":"#/$defs/StageSensor"},"type":"array"},"written":{"items":{"type":"string"},"type":"array"},"saved_id":{"type":"string"},"relation":{"type":"string"},"copied_to":{"type":"string"}},"additionalProperties":true,"type":"object","required":["scene","version","saved_at","starting","made_from","structure","shots","words","roster","library","sensors","written","saved_id","relation","copied_to"]},"StageEdit":{"properties":{"structure":{"$ref":"#/$defs/StageStructure"},"said":{"type":"string"},"words":{"additionalProperties":{"$ref":"#/$defs/StageWords"},"type":"object"}},"additionalProperties":true,"type":"object","required":["structure","said","words"]},"StageFigure":{"properties":{"id":{"type":"string"},"character_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"stand_in":{"type":"boolean"},"height_cm":{"type":"number"},"height_from":{"type":"string","enum":["sheet","casting","standard","owner"]},"build":{"type":"string","enum":["lean","muscular","stocky","curvy","petite","average"]},"x":{"type":"number"},"z":{"type":"number"},"facing_deg":{"type":"number"},"eyeline":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","character_id","name","stand_in","height_cm","height_from","build","x","z","facing_deg","eyeline"]},"StageLibraryItem":{"properties":{"item":{"type":"string"},"kind":{"type":"string","enum":["prop","set_piece","equipment"]},"label":{"type":"string"},"size":{"items":{"type":"number"},"type":"array"}},"additionalProperties":true,"type":"object","required":["item","kind","label","size"]},"StageOpening":{"properties":{"id":{"type":"string"},"wall":{"type":"string","enum":["north","east","south","west"]},"kind":{"type":"string","enum":["door","window","arch"]},"at_m":{"type":"number"},"width_m":{"type":"number"}},"additionalProperties":true,"type":"object","required":["id","wall","kind","at_m","width_m"]},"StageProp":{"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["prop","set_piece","equipment"]},"item":{"type":"string"},"label":{"type":"string"},"w":{"type":"number"},"d":{"type":"number"},"h":{"type":"number"},"x":{"type":"number"},"z":{"type":"number"},"rotation_deg":{"type":"number"}},"additionalProperties":true,"type":"object","required":["id","kind","item","label","w","d","h","x","z","rotation_deg"]},"StageReading":{"properties":{"scene":{"$ref":"#/$defs/StageScene"},"version":{"type":"integer"},"saved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"starting":{"type":"boolean"},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"structure":{"$ref":"#/$defs/StageStructure"},"shots":{"items":{"$ref":"#/$defs/StageShot"},"type":"array"},"words":{"additionalProperties":{"$ref":"#/$defs/StageWords"},"type":"object"},"roster":{"items":{"$ref":"#/$defs/StageRoster"},"type":"array"},"library":{"items":{"$ref":"#/$defs/StageLibraryItem"},"type":"array"},"sensors":{"items":{"$ref":"#/$defs/StageSensor"},"type":"array"}},"additionalProperties":true,"type":"object","required":["scene","version","saved_at","starting","made_from","structure","shots","words","roster","library","sensors"]},"StageRoster":{"properties":{"character_id":{"type":"string"},"name":{"type":"string"},"height_cm":{"type":"number"},"height_from":{"type":"string"},"build":{"type":"string"}},"additionalProperties":true,"type":"object","required":["character_id","name","height_cm","height_from","build"]},"StageSaved":{"properties":{"scene":{"$ref":"#/$defs/StageScene"},"version":{"type":"integer"},"saved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"starting":{"type":"boolean"},"made_from":{"anyOf":[{"type":"string"},{"type":"null"}]},"structure":{"$ref":"#/$defs/StageStructure"},"shots":{"items":{"$ref":"#/$defs/StageShot"},"type":"array"},"words":{"additionalProperties":{"$ref":"#/$defs/StageWords"},"type":"object"},"roster":{"items":{"$ref":"#/$defs/StageRoster"},"type":"array"},"library":{"items":{"$ref":"#/$defs/StageLibraryItem"},"type":"array"},"sensors":{"items":{"$ref":"#/$defs/StageSensor"},"type":"array"},"written":{"items":{"type":"string"},"type":"array"},"saved_id":{"type":"string"}},"additionalProperties":true,"type":"object","required":["scene","version","saved_at","starting","made_from","structure","shots","words","roster","library","sensors","written","saved_id"]},"StageScene":{"properties":{"id":{"type":"string"},"number":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}]},"slug":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","number","slug"]},"StageSensor":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"size_mm":{"items":{"type":"number"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","label","size_mm"]},"StageShot":{"properties":{"id":{"type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}]},"aspect":{"type":"string"},"advanced":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["id","label","aspect","advanced"]},"StageStructure":{"properties":{"schema":{"type":"string"},"scene_id":{"type":"string"},"world":{"$ref":"#/$defs/StageWorld"},"cast":{"items":{"$ref":"#/$defs/StageFigure"},"type":"array"},"props":{"items":{"$ref":"#/$defs/StageProp"},"type":"array"},"cameras":{"items":{"$ref":"#/$defs/StageCamera"},"type":"array"}},"additionalProperties":true,"type":"object","required":["schema","scene_id","world","cast","props","cameras"]},"StageWords":{"properties":{"lens_intent":{"type":"string"},"camera_height":{"type":"string"},"subject_blocking":{"anyOf":[{"type":"string"},{"type":"null"}]},"screen_direction":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["lens_intent","camera_height"]},"StageWorld":{"properties":{"kind":{"type":"string","enum":["interior","exterior"]},"width_m":{"type":"number"},"depth_m":{"type":"number"},"height_m":{"type":"number"},"openings":{"items":{"$ref":"#/$defs/StageOpening"},"type":"array"},"time_of_day":{"type":"string","enum":["day","night","dawn","dusk"]},"key_light_deg":{"type":"number"}},"additionalProperties":true,"type":"object","required":["kind","width_m","depth_m","height_m","openings","time_of_day","key_light_deg"]},"StepIn":{"properties":{"step":{"type":"string","maxLength":200},"value":{}},"additionalProperties":false,"type":"object","required":["step"]},"StereoMark":{"properties":{"layout":{"type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"images":{"anyOf":[{"type":"integer"},{"type":"null"}]},"left":{"anyOf":[{"type":"string"},{"type":"null"}]},"right":{"anyOf":[{"type":"string"},{"type":"null"}]},"eye_width":{"anyOf":[{"type":"integer"},{"type":"null"}]},"eye_height":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["layout"]},"StereoPair":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"derived_from":{"items":{"type":"string"},"type":"array"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"stereo":{"$ref":"#/$defs/StereoMark"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","derived_from","title","stereo","sentence"]},"StereoReading":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"stereo":{"anyOf":[{"$ref":"#/$defs/StereoMark"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer"},{"type":"null"}]},"height":{"anyOf":[{"type":"integer"},{"type":"null"}]},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","title","stereo","width","height","sentence"]},"StillCopy":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"derived_from":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"edit":{"$ref":"#/$defs/StillEdit"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","derived_from","title","edit","sentence"]},"StillCrop":{"properties":{"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number"},"h":{"type":"number"}},"additionalProperties":true,"type":"object","required":["x","y","w","h"]},"StillEdit":{"properties":{"from":{"type":"string"},"recipe":{"$ref":"#/$defs/StillRecipe"},"width":{"type":"integer"},"height":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["from","recipe","width","height"]},"StillOut":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"name":{"type":"string"},"type":{"type":"string"},"type_label":{"type":"string"},"source":{"type":"string"},"source_label":{"type":"string"},"source_url":{"type":"string"},"prompt":{"type":"string"},"cue":{"anyOf":[{"type":"integer"},{"type":"null"}]},"status":{"type":"string"},"selected":{"type":"boolean"},"selection_order":{"anyOf":[{"type":"integer"},{"type":"null"}]},"selection_notes":{"type":"string"},"has_picture":{"type":"boolean"},"notes":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","name","type","type_label","source","source_label","source_url","prompt","cue","status","selected","selection_order","selection_notes","has_picture","notes"]},"StillPick":{"properties":{"still":{"$ref":"#/$defs/StillOut"},"selected":{"items":{"$ref":"#/$defs/StillOut"},"type":"array"}},"additionalProperties":true,"type":"object","required":["still","selected"]},"StillPreview":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"recipe":{"$ref":"#/$defs/StillRecipe"},"width":{"type":"integer"},"height":{"type":"integer"},"preview":{"type":"string"}},"additionalProperties":true,"type":"object","required":["entity_id","recipe","width","height","preview"]},"StillRecipe":{"properties":{"turn":{"anyOf":[{"type":"integer"},{"type":"null"}]},"flip":{"anyOf":[{"type":"string","enum":["horizontal","vertical"]},{"type":"null"}]},"straighten":{"anyOf":[{"type":"number"},{"type":"null"}]},"crop":{"anyOf":[{"$ref":"#/$defs/StillCrop"},{"type":"null"}]},"exposure":{"anyOf":[{"type":"number"},{"type":"null"}]},"contrast":{"anyOf":[{"type":"number"},{"type":"null"}]},"saturation":{"anyOf":[{"type":"number"},{"type":"null"}]},"warmth":{"anyOf":[{"type":"number"},{"type":"null"}]},"sharpen":{"anyOf":[{"type":"number"},{"type":"null"}]},"long_edge":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"StitchOut":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"format":{"type":"string"},"word_count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["entity_id","title","format","word_count"]},"Storage":{"properties":{"adding_bytes":{"type":"integer"},"now_monthly_micro":{"type":"integer"},"after_monthly_micro":{"type":"integer"},"crosses_block":{"type":"boolean"},"after":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["adding_bytes","now_monthly_micro","after_monthly_micro","crosses_block","after"]},"StorageAllowed":{"properties":{"released":{"type":"integer"},"approved_monthly_micro":{"type":"integer"},"now_monthly_micro":{"type":"integer"},"ceiling_monthly_micro":{"type":"integer"},"next":{"$ref":"#/$defs/StorageNext"}},"additionalProperties":true,"type":"object","required":["released","approved_monthly_micro","now_monthly_micro","ceiling_monthly_micro","next"]},"StorageApproved":{"properties":{"released":{"type":"integer"},"approved_monthly_micro":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["released","approved_monthly_micro"]},"StorageNext":{"properties":{"monthly_micro":{"type":"integer"},"capacity_bytes":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["monthly_micro","capacity_bytes"]},"StorageReleased":{"properties":{"released":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["released"]},"StoreProbes":{"properties":{"printful":{"additionalProperties":true,"type":"object"},"woocommerce":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["printful","woocommerce"],"description":"One record per store. A store that is not connected is still listed."},"Storefront":{"properties":{"store":{"additionalProperties":true,"type":"object"},"probes":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"listings":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"by_state":{"additionalProperties":true,"type":"object"},"products":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"counts":{"additionalProperties":true,"type":"object"},"last_sync":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["store","probes","listings","by_state","products","counts","last_sync"]},"StoresMirrored":{"properties":{"channels":{"additionalProperties":true,"type":"object"},"orphans":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["channels","orphans"]},"StudioAllowanceOut":{"properties":{"byok":{"type":"boolean"},"allowance_micro":{"type":"integer"},"used_micro":{"type":"integer"},"remaining_micro":{"type":"integer"},"exhausted":{"type":"boolean"},"your_key":{"additionalProperties":true,"type":"object"}},"type":"object","required":["byok","allowance_micro","used_micro","remaining_micro","exhausted","your_key"]},"StudioCastOut":{"properties":{"total":{"type":"integer"},"with_portrait":{"type":"integer"},"written":{"type":"integer"}},"type":"object","required":["total","with_portrait","written"]},"StudioDocumentOut":{"properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"format":{"type":"string"},"word_count":{"type":"integer"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"type":"object","required":["id","title","format","word_count","updated_at","project_id"]},"StudioOperationOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"ops_type":{"type":"string"},"stage":{"type":"string"},"items":{"type":"integer"},"gate_offenders":{"type":"integer"},"offender_titles":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["id","name","ops_type","stage","items","gate_offenders","offender_titles"]},"StudioOverviewOut":{"properties":{"generated_at":{"type":"string"},"projects":{"items":{"$ref":"#/$defs/StudioProjectOut"},"type":"array"},"stale_drafts":{"type":"integer"},"recent_documents":{"items":{"$ref":"#/$defs/StudioDocumentOut"},"type":"array"},"document_count":{"type":"integer"},"operations":{"items":{"$ref":"#/$defs/StudioOperationOut"},"type":"array"},"upcoming":{"items":{"$ref":"#/$defs/StudioUpcomingOut"},"type":"array"},"cast":{"$ref":"#/$defs/StudioCastOut"},"runs":{"$ref":"#/$defs/StudioRunsOut"},"baseline":{"$ref":"#/$defs/StudioAllowanceOut"}},"type":"object","required":["generated_at","projects","stale_drafts","recent_documents","document_count","operations","upcoming","cast","runs","baseline"]},"StudioProjectOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"branch":{"type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}]},"stage":{"type":"string"},"documents":{"type":"integer"}},"type":"object","required":["id","name","branch","format","stage","documents"]},"StudioRunsOut":{"properties":{"active":{"type":"integer"},"waiting":{"type":"integer"},"failed_recent":{"type":"integer"}},"type":"object","required":["active","waiting","failed_recent"]},"StudioUpcomingOut":{"properties":{"title":{"type":"string"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"event_time":{"type":"string"},"operation_id":{"type":"string","format":"uuid"},"operation":{"type":"string"}},"type":"object","required":["title","channel","status","event_time","operation_id","operation"]},"Suggestion":{"properties":{"id":{"type":"string"},"project_id":{"type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"transcript_seq":{"anyOf":[{"type":"integer"},{"type":"null"}]},"kind":{"type":"string"},"element_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"package":{"anyOf":[{"type":"string"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","project_id","session_id","transcript_seq","kind","element_id","text","package","reason","status","model","created_at","decided_at"]},"SuggestionDecision":{"properties":{"suggestion":{"$ref":"#/$defs/Suggestion"},"project":{"$ref":"#/$defs/Project"}},"additionalProperties":true,"type":"object","required":["suggestion","project"]},"Swept":{"properties":{"deprecated":{"items":{"type":"string"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["deprecated","count"]},"SyncQueued":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["job_id","status"]},"SystemOverview":{"properties":{"adapters":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"image_keys":{"additionalProperties":true,"type":"object"},"rack":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"recent_events":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"matrix":{"additionalProperties":true,"type":"object"},"overhead_monthly_cents":{"type":"integer"},"brand_dna":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"sync_runs":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["adapters","image_keys","rack","recent_events","matrix","overhead_monthly_cents","brand_dna","sync_runs"]},"TagIn":{"properties":{"source":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"medium":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"campaign":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"additionalProperties":false,"type":"object"},"Take":{"properties":{"id":{"type":"string"},"project_id":{"type":"string"},"shot_id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"label":{"type":"string"},"source":{"type":"string"},"media_kind":{"type":"string"},"duration_ticks":{"anyOf":[{"type":"integer"},{"type":"null"}]},"meta":{"additionalProperties":true,"type":"object"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"review_state":{"type":"string"},"reviews":{"items":{"$ref":"#/$defs/Review"},"type":"array"},"selected_in":{"items":{"type":"string"},"type":"array"},"selected":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","project_id","shot_id","entity_id","label","source","media_kind","duration_ticks","meta","created_by","created_at","review_state","reviews","selected_in","selected"]},"TakeOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string"},"subject":{"type":"string"},"label":{"type":"string"},"dials":{"additionalProperties":true,"type":"object"},"notes":{"type":"string"},"slot":{"type":"string"},"status":{"type":"string"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"character_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"retry_of":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"decision_note":{"type":"string"}},"type":"object","required":["entity_id","persona_id","name","subject","label","dials","notes","slot","status","content_type","created_at","character_id","retry_of","decided_at","decision_note"]},"TalkDraft":{"properties":{"lead_id":{"type":"string"},"seller_id":{"type":"string"},"lead":{"type":"string"},"seller":{"type":"string"},"offering":{"anyOf":[{"type":"string"},{"type":"null"}]},"approach":{"additionalProperties":true,"type":"object"},"say":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"hold":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"openers":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"fit":{"additionalProperties":true,"type":"object"},"questions":{"items":{},"type":"array"},"answers":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"competition":{"additionalProperties":true,"type":"object"},"start_with":{"anyOf":[{"type":"string"},{"type":"null"}]},"way_in":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"additionalProperties":true,"type":"object"},"made_at":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["lead_id","seller_id","lead","seller","approach","say","hold","openers","fit","questions","answers","competition","words","made_at","sentence"]},"TalkRead":{"properties":{"lead_id":{"type":"string"},"drafted":{"type":"boolean"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["lead_id","drafted"]},"TallyBucket":{"properties":{"period":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}]},"disagree":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["period","value","disagree"]},"TallyFigure":{"properties":{"at":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["at","value"]},"TallyList":{"properties":{"tallies":{"items":{"$ref":"#/$defs/TallyRecord"},"type":"array"}},"additionalProperties":true,"type":"object","required":["tallies"]},"TallyPoint":{"properties":{"id":{"type":"string"},"at":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}]},"source":{"$ref":"#/$defs/TallySource"}},"additionalProperties":true,"type":"object","required":["id","at","value","source"]},"TallyPointsAdded":{"properties":{"added":{"type":"integer"},"corrected":{"type":"integer"},"points":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["added","corrected","points"]},"TallyRange":{"properties":{"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["start","end"]},"TallyReading":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"unit":{"type":"string"},"kind":{"type":"string","enum":["level","amount"]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"points":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"range":{"$ref":"#/$defs/TallyRange"},"summary":{"$ref":"#/$defs/TallySummary"},"every":{"anyOf":[{"type":"string"},{"type":"null"}]},"buckets":{"anyOf":[{"items":{"$ref":"#/$defs/TallyBucket"},"type":"array"},{"type":"null"}]},"disagreements":{"items":{"$ref":"#/$defs/TallySplit"},"type":"array"},"series":{"items":{"$ref":"#/$defs/TallyPoint"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","unit","kind","note","points","created_at","updated_at","range","summary","every","buckets","disagreements","series"]},"TallyRecord":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"unit":{"type":"string"},"kind":{"type":"string","enum":["level","amount"]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]},"points":{"type":"integer"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","unit","kind","note","points","created_at","updated_at"]},"TallyRemoved":{"properties":{"id":{"type":"string"},"removed":{"type":"boolean"},"points":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","removed","points"]},"TallySource":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"where":{"anyOf":[{"type":"string"},{"type":"null"}]},"in_graveyard":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["entity_id","title","where","in_graveyard"]},"TallySplit":{"properties":{"at":{"type":"string"},"values":{"items":{"additionalProperties":true,"type":"object"},"type":"array"}},"additionalProperties":true,"type":"object","required":["at","values"]},"TallySummary":{"properties":{"times":{"type":"integer"},"first":{"anyOf":[{"$ref":"#/$defs/TallyFigure"},{"type":"null"}]},"low":{"anyOf":[{"$ref":"#/$defs/TallyFigure"},{"type":"null"}]},"high":{"anyOf":[{"$ref":"#/$defs/TallyFigure"},{"type":"null"}]},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}]},"current":{"anyOf":[{"$ref":"#/$defs/TallyFigure"},{"type":"null"}]},"change":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["times","first","low","high","sentence"]},"TaskAnswer":{"properties":{"task":{"$ref":"#/$defs/TaskPublic"}},"additionalProperties":true,"type":"object","required":["task"]},"TaskLease":{"properties":{"executor_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"tasks":{"type":"integer"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["tasks"]},"TaskPublic":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"persona_id":{"type":"string","x-kit-id":"capsule"},"adapter":{"type":"string"},"requested_outputs":{"items":{"type":"string"},"type":"array"},"requested_words":{"type":"string"},"status":{"type":"string"},"status_words":{"type":"string"},"status_tone":{"type":"string"},"task_generation":{"type":"integer"},"attempts":{"type":"integer"},"executor_kind":{"anyOf":[{"type":"string"},{"type":"null"}]},"executor_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"lease_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"not_before":{"anyOf":[{"type":"string"},{"type":"null"}]},"outcome":{"additionalProperties":true,"type":"object"},"progress_words":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","persona_id","adapter","requested_outputs","requested_words","status","status_words","status_tone","task_generation","attempts","outcome"]},"TeachPreview":{"properties":{"amount_minor":{"type":"integer"},"currency":{"type":"string"},"purse":{"type":"string"},"purse_words":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["amount_minor","currency","purse","purse_words","sentence"]},"TeamInvite":{"properties":{"id":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"},"capsule_scopes":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"sent":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","email","role","capsule_scopes"]},"TerminalReport":{"properties":{"class_code":{"type":"string"},"failed":{"type":"integer"},"matchable":{"type":"integer"},"settled":{"type":"integer"},"by_job_type":{"additionalProperties":true,"type":"object"},"by_terminal":{"additionalProperties":true,"type":"object"},"samples":{"items":{},"type":"array"},"would_record":{"type":"integer"},"recorded":{"type":"integer"},"retired":{"type":"integer"},"applied":{"type":"boolean"},"probed":{}},"additionalProperties":true,"type":"object","required":["class_code","failed","matchable","settled","by_job_type","by_terminal","samples","would_record","recorded","retired","applied"]},"ThreadFiled":{"properties":{"thread_id":{"type":"string"},"project":{"anyOf":[{"$ref":"#/$defs/ThreadPlace"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["thread_id","project"]},"ThreadMessage":{"properties":{"id":{"type":"string"},"sender":{"type":"string"},"body":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","sender","body"]},"ThreadPlace":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"how":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","how"]},"TicketOut":{"properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"subject":{"type":"string"},"body":{"type":"string"},"status":{"type":"string"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{},"auto_response":{"anyOf":[{"type":"string"},{"type":"null"}]},"auto_sources":{"items":{},"type":"array","default":[]},"auto_answered_at":{},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator_note":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator_note_at":{}},"type":"object","required":["id","kind","subject","body","status","contact_email","created_at"]},"TicketRef":{"properties":{"number":{"type":"integer"},"label":{"type":"string"},"tracked":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["number","label"],"description":"The development ticket a failed row's class is tracked under — \"Tracked\nas #NNN\". The owner receives the number and the tracked sentence only; the\nticket itself stays with the platform team."},"TicketStatus":{"properties":{"id":{"type":"string"},"status":{"type":"string"},"operator_note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","status","operator_note"]},"TierInfo":{"properties":{"method":{"type":"string"},"model":{"type":"string"},"key_source":{"type":"string"},"available":{"type":"boolean"},"lane":{"type":"string","default":""},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["method","model","key_source","available"]},"Timebase":{"properties":{"num":{"type":"integer"},"den":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["num","den"]},"TimedDraftOut":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"words":{"type":"integer"},"target_words":{"type":"integer"},"runtime_seconds":{"type":"integer"},"target_seconds":{"type":"integer"},"meets_time":{"type":"boolean"},"timing":{"type":"string"}},"additionalProperties":true,"type":"object","required":["document_id","title","words","target_words","runtime_seconds","target_seconds","meets_time","timing"]},"Timeline":{"properties":{"project_id":{"type":"string"},"sequence_id":{"type":"string"},"revision":{"type":"string"},"stored_as_timeline":{"type":"boolean"},"rate":{"additionalProperties":true,"type":"object"},"tracks":{"items":{},"type":"array"},"clips":{"items":{},"type":"array"},"markers":{"items":{},"type":"array"},"end_frame":{"type":"integer"},"end_ticks":{"type":"integer"},"said":{"anyOf":[{"type":"string"},{"type":"null"}]},"sources":{"items":{"$ref":"#/$defs/TimelineSource"},"type":"array"},"edit_ops":{"items":{},"type":"array"},"place_modes":{"items":{},"type":"array"},"marker_colours":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["project_id","sequence_id","revision","stored_as_timeline","rate","tracks","clips","markers","end_frame","end_ticks","said","sources","edit_ops","place_modes","marker_colours"]},"TimelineItem":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"entity_type":{"type":"string"},"when":{"type":"string","format":"date-time"},"event_time_known":{"type":"boolean"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_thumb":{"type":"boolean","default":false},"has_storage":{"type":"boolean","default":false}},"type":"object","required":["entity_id","entity_type","when","event_time_known"]},"TimelineOut":{"properties":{"items":{"items":{"$ref":"#/$defs/TimelineItem"},"type":"array"},"total":{"type":"integer"},"sampled":{"type":"boolean"}},"type":"object","required":["items","total","sampled"],"description":"Bounded lens payload: the items are the requested window,\nuniformly downsampled when it exceeds the cap — ``total`` is the window's\nreal count and ``sampled`` says whether decimation happened."},"TimelineSource":{"properties":{"shot_id":{"type":"string"},"label":{"type":"string"},"scene_number":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"}]},"scene_slug":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration_frames":{"type":"integer"},"frame_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"in_cut":{"type":"integer"},"takes":{"items":{"$ref":"#/$defs/TimelineSourceTake"},"type":"array"}},"additionalProperties":true,"type":"object","required":["shot_id","label","scene_number","scene_slug","duration_frames","frame_entity_id","in_cut","takes"]},"TimelineSourceTake":{"properties":{"id":{"type":"string"},"label":{"type":"string"},"media_kind":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"review_state":{"type":"string"},"length_frames":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","label","media_kind","entity_id","review_state","length_frames"]},"TimelineWrite":{"properties":{"said":{"type":"string"},"timeline":{"$ref":"#/$defs/Timeline"},"creation":{"$ref":"#/$defs/Creation"}},"additionalProperties":true,"type":"object","required":["said","timeline","creation"]},"Toast":{"properties":{"text":{"type":"string"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"package":{"type":"string"},"hold_ms":{"type":"integer"},"expires_at":{"type":"string"},"elements":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["text","image_url","package","hold_ms","expires_at","elements"]},"ToastAnswer":{"properties":{"project":{"$ref":"#/$defs/Project"},"toast":{"$ref":"#/$defs/Toast"}},"additionalProperties":true,"type":"object","required":["project","toast"]},"TourDateOut":{"properties":{"id":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"venue":{"type":"string"},"date":{"type":"string"},"notes":{"type":"string"},"prep_status":{"type":"string"},"prepped_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"prep_basis":{"type":"string"},"bit_ids":{"items":{"type":"string"},"type":"array"}},"additionalProperties":true,"type":"object","required":["id","city","state","venue","date","notes","prep_status","prepped_at","prep_basis","bit_ids"]},"TourList":{"properties":{"tours":{"items":{},"type":"array"},"live":{"type":"integer"},"hours":{"type":"integer"},"calls":{"type":"integer"},"analyses":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["tours","live","hours","calls","analyses"]},"TourRow":{"properties":{"tour_id":{"type":"string"},"state":{"type":"string"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"started_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_by":{"anyOf":[{"type":"string"},{"type":"null"}]},"showroom_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"key_tail":{"anyOf":[{"type":"string"},{"type":"null"}]},"calls_allowed":{"anyOf":[{"type":"integer"},{"type":"null"}]},"calls_used":{"anyOf":[{"type":"integer"},{"type":"null"}]},"erase_queued_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"erase_status":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["tour_id","state","started_at","expires_at","started_by","revoked_at","revoked_by","showroom_id","sandbox_id","key_tail","calls_allowed","calls_used","erase_queued_at","erase_status"]},"TourStarted":{"properties":{"tour_id":{"type":"string"},"mcp_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"showroom_id":{"type":"string"},"sandbox_id":{"type":"string"},"expires_at":{"type":"string"},"prompts":{"items":{},"type":"array"},"note":{"type":"string"},"key":{"anyOf":[{"type":"string"},{"type":"null"}]},"credential":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["tour_id","mcp_url","showroom_id","sandbox_id","expires_at","prompts","note"]},"TranscriptState":{"properties":{"source":{},"timing":{}},"additionalProperties":true,"type":"object"},"Transfer":{"properties":{"id":{"type":"string"},"entity_id":{"type":"string","x-kit-id":"item"},"sender_email":{"anyOf":[{"type":"string"},{"type":"null"}]},"recipient_handle":{"type":"string"},"note":{"type":"string"},"material":{"$ref":"#/$defs/TransferMaterial"},"status":{"type":"string"},"claimed_persona_id":{"anyOf":[{"type":"string","x-kit-id":"capsule"},{"type":"null"}]},"claimed_entity_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","entity_id","recipient_handle","note","material","status"]},"TransferList":{"properties":{"transfers":{"items":{"$ref":"#/$defs/Transfer"},"type":"array"}},"additionalProperties":true,"type":"object","required":["transfers"]},"TransferMaterial":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"additionalProperties":true,"type":"object"},"TreatmentStepOut":{"properties":{"key":{"type":"string"},"title":{"type":"string"},"order":{"type":"integer"},"depends_on":{"items":{"type":"string"},"type":"array"},"content":{"type":"string"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"stale":{"type":"boolean"},"ready":{"type":"boolean"}},"type":"object","required":["key","title","order","depends_on","content","generated_at","stale","ready"]},"TriggerOut":{"properties":{"id":{"type":"string","format":"uuid"},"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"trigger_type":{"type":"string"},"words":{"type":"string","default":""},"enabled":{"type":"boolean"},"config":{"additionalProperties":true,"type":"object"},"interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"last_fired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","workflow_id","trigger_type","enabled","config","interval_seconds","next_run_at","last_fired_at","created_at"]},"TriggerSkipOut":{"properties":{"intended_at":{"type":"string","format":"date-time"},"reason":{"type":"string"},"message":{"type":"string"},"recorded_at":{"type":"string","format":"date-time"}},"type":"object","required":["intended_at","reason","message","recorded_at"]},"TwinQueued":{"properties":{"twin_persona_id":{"type":"string"},"twin_display_name":{"type":"string"},"job_id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["twin_persona_id","twin_display_name","job_id","status"]},"Understanding":{"properties":{"built_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"current":{"type":"boolean"},"items_since":{"type":"integer"},"refreshes":{"type":"string"}},"additionalProperties":true,"type":"object","required":["current","items_since","refreshes"]},"UnlandedListOut":{"properties":{"count":{"type":"integer"},"items":{"items":{"$ref":"#/$defs/UnlandedOut"},"type":"array"}},"type":"object","required":["count","items"]},"UnlandedOut":{"properties":{"id":{"type":"string","format":"uuid"},"filename":{"type":"string"},"path":{"type":"string"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"type":"string"},"message":{"type":"string"},"attempts":{"type":"integer"},"first_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"item"},{"type":"null"}]}},"type":"object","required":["id","filename","path","size_bytes","content_type","sha256","code","message","attempts","first_attempt_at","last_attempt_at"]},"Unlock":{"properties":{"by":{"anyOf":[{"type":"string"},{"type":"null"}]},"by_name":{"type":"string"},"at":{"anyOf":[{"type":"string"},{"type":"null"}]},"reason":{"type":"string"}},"additionalProperties":true,"type":"object","required":["by","by_name","at","reason"]},"UseIn":{"properties":{"kind":{"type":"string","maxLength":16},"what":{"type":"string","maxLength":500,"default":""}},"additionalProperties":false,"type":"object","required":["kind"]},"VaultAsset":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"filename":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string"},"kind":{"type":"string"},"role":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"items":{"type":"string"},"type":"array"},"flags":{"items":{"type":"string"},"type":"array"},"badges":{"items":{"type":"string"},"type":"array"},"hidden":{"type":"boolean"},"width":{},"height":{},"mime":{},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}]},"family_id":{},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{}},"additionalProperties":true,"type":"object","required":["entity_id","title","filename","state","kind","role","tags","flags","badges","hidden","width","height","mime","size_bytes","family_id","created_at","updated_at"]},"VaultPage":{"properties":{"assets":{"items":{"$ref":"#/$defs/VaultAsset"},"type":"array"},"total":{"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"folders":{"additionalProperties":true,"type":"object"},"tags":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"kinds":{"items":{"type":"string"},"type":"array"},"flag_vocabulary":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"roster_vocabulary":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"transitions":{"additionalProperties":true,"type":"object"}},"additionalProperties":true,"type":"object","required":["assets","total","page","per_page","folders","tags","states","kinds","flag_vocabulary","roster_vocabulary","transitions"]},"VerbRun":{"properties":{"verb":{"type":"string"},"result":{}},"additionalProperties":true,"type":"object","required":["verb","result"]},"VerdictSet":{"properties":{"option":{"anyOf":[{"$ref":"#/$defs/Option"},{"type":"null"}]},"rework_job":{"anyOf":[{"$ref":"#/$defs/LabJob"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["option","rework_job"]},"VerdictsSet":{"properties":{"updated":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["updated"]},"VfxBody":{"properties":{"take_id":{"type":"string"},"change":{"type":"string"},"looks":{"type":"string"}},"additionalProperties":true,"type":"object","required":["take_id","change","looks"]},"VfxPass":{"properties":{"said":{"type":"string"},"vfx":{"$ref":"#/$defs/VfxBody"}},"additionalProperties":true,"type":"object","required":["said","vfx"]},"ViewPrefsOut":{"properties":{"library":{"anyOf":[{"type":"string"},{"type":"null"}]},"org":{"anyOf":[{"type":"string"},{"type":"null"}]},"view":{"anyOf":[{"type":"string"},{"type":"null"}]},"spend":{"anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object","required":["library"]},"VoiceAuto":{"properties":{"autoadopt":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["autoadopt"]},"VoiceCaptureOut":{"properties":{"document":{"additionalProperties":true,"type":"object"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"}},"additionalProperties":true,"type":"object","required":["document","job_id","status"]},"VoiceCommandOut":{"properties":{"command":{"additionalProperties":true,"type":"object"},"document_id":{"anyOf":[{"type":"string","x-kit-id":"item"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"capture":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"type":"object","required":["command"]},"VoiceConsentOut":{"properties":{"consent_id":{"type":"string","format":"uuid"},"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"purpose":{"type":"string"},"granted_at":{"type":"string","format":"date-time"},"real_person":{"type":"boolean"}},"type":"object","required":["consent_id","entity_id","purpose","granted_at","real_person"]},"VoiceProfileOut":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"voice":{"type":"string"},"include_entity_ids":{"items":{},"type":"array"},"exclude_entity_ids":{"items":{},"type":"array"},"collection_id":{"anyOf":[{"type":"string","x-kit-id":"collection"},{"type":"null"}]},"updated_at":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","name","voice","include_entity_ids","exclude_entity_ids","collection_id","updated_at"]},"VoiceProposal":{"properties":{"voice":{"type":"string"},"saved":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["voice","saved"]},"VoiceRemoved":{"properties":{"deleted":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["deleted"]},"VoiceSaved":{"properties":{"voice":{"type":"string"}},"additionalProperties":true,"type":"object","required":["voice"]},"VoiceText":{"properties":{"voice":{"type":"string"},"adopted":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["voice","adopted"]},"WaitingDismissed":{"properties":{"ok":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["ok"]},"WatchRow":{"properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"category":{"anyOf":[{"type":"string"},{"type":"null"}]},"check_kind":{"type":"string"},"config":{"additionalProperties":true,"type":"object"},"cadence_hours":{"type":"integer"},"enabled":{"type":"boolean"},"depends":{},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_run_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_result":{},"last_ok_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_confirmed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"last_confirmed_note":{"anyOf":[{"type":"string"},{"type":"null"}]},"due":{"type":"boolean"},"needs_attention":{"type":"boolean"}},"additionalProperties":true,"type":"object","required":["id","slug","title","category","check_kind","config","cadence_hours","enabled","depends","notes","last_run_at","last_status","last_result","last_ok_at","last_confirmed_at","last_confirmed_note","due","needs_attention"]},"WatchedOut":{"properties":{"element":{"$ref":"#/$defs/ElementOut"},"stats":{"$ref":"#/$defs/ReferenceStatsOut"}},"type":"object","required":["element","stats"]},"WebBlock":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"public_key":{"type":"string"},"title":{"type":"string"},"live_title":{"anyOf":[{"type":"string"},{"type":"null"}]},"origins":{"items":{"type":"string"},"type":"array"},"state":{"type":"string","enum":["off","not_public","public"]},"counts":{"$ref":"#/$defs/BlockCounts"},"pieces":{"items":{"$ref":"#/$defs/BlockPiece"},"type":"array"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"snippets":{"$ref":"#/$defs/BlockSnippets"}},"additionalProperties":true,"type":"object","required":["id","persona_id","public_key","title","live_title","origins","state","counts","pieces","published_at","revoked_at","created_at","snippets"]},"WebBlockList":{"properties":{"blocks":{"items":{"$ref":"#/$defs/WebBlock"},"type":"array"}},"additionalProperties":true,"type":"object","required":["blocks"]},"WhereUsedCountsOut":{"properties":{"shots":{"type":"integer"},"clips":{"type":"integer"},"scenes_in_script":{"type":"integer"},"links":{"type":"integer"},"breaks":{"type":"integer"}},"type":"object","required":["shots","clips","scenes_in_script","links","breaks"]},"WhereUsedOut":{"properties":{"entity_id":{"type":"string","format":"uuid","x-kit-id":"item"},"project_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"has_shot_list":{"type":"boolean"},"has_cut":{"type":"boolean"},"has_breakdown":{"type":"boolean"},"shots":{"items":{"$ref":"#/$defs/ShotRefOut"},"type":"array"},"edit":{"items":{"$ref":"#/$defs/EditUseOut"},"type":"array"},"writer":{"items":{"$ref":"#/$defs/WriterUseOut"},"type":"array"},"links":{"items":{"$ref":"#/$defs/ElementLinkOut"},"type":"array"},"counts":{"$ref":"#/$defs/WhereUsedCountsOut"}},"type":"object","required":["entity_id","project_id","name","kind","has_shot_list","has_cut","has_breakdown","shots","edit","writer","links","counts"]},"WhoSees":{"properties":{"person_id":{"type":"string"},"name":{"type":"string"},"level":{"type":"string"}},"additionalProperties":true,"type":"object","required":["person_id","name","level"]},"Winner":{"properties":{"platform":{"type":"string"},"username":{"type":"string"},"message_id":{"type":"integer"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"elements":{"items":{},"type":"array"}},"additionalProperties":true,"type":"object","required":["platform","username","message_id","text","elements"]},"WinnerAnswer":{"properties":{"project":{"$ref":"#/$defs/Project"},"winner":{"$ref":"#/$defs/Winner"},"candidates":{"type":"integer"},"already_won":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["project","winner","candidates","already_won"]},"WorkCompleteness":{"properties":{"entity_id":{"type":"string","x-kit-id":"item"},"status":{"type":"string"},"layers":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"blocker":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"finish":{"additionalProperties":true,"type":"object"},"device_task":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["entity_id","status","layers","blocker","finish","device_task"]},"WorkPlanOut":{"properties":{"punch_list":{"items":{"$ref":"#/$defs/PlanItem"},"type":"array"},"progress":{"$ref":"#/$defs/PlanProgress"},"impact":{"$ref":"#/$defs/PlanImpact"},"clusters":{"items":{"$ref":"#/$defs/PlanCluster"},"type":"array"},"path":{"$ref":"#/$defs/PlanPath"}},"type":"object","required":["punch_list","progress","impact","clusters","path"]},"WorkflowOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string"},"version":{"type":"integer"},"definition":{"additionalProperties":true,"type":"object"},"persona_scope":{"items":{},"type":"array","default":[]},"provenance":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","name","kind","version","definition","created_at"]},"WriterUseOut":{"properties":{"scene_key":{"type":"string"},"scene_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"number":{"type":"string"},"heading":{"type":"string"},"excerpts":{"items":{"type":"string"},"type":"array"}},"type":"object","required":["scene_key","scene_id","number","heading","excerpts"]},"YourKey":{"properties":{"calls":{"type":"integer"},"tokens_in":{"type":"integer"},"tokens_out":{"type":"integer"},"price_minor_units":{"type":"integer"},"estimated_minor":{"type":"integer"},"unpriced_calls":{"type":"integer"},"by_model":{"items":{"$ref":"#/$defs/KeyModelRow"},"type":"array"}},"additionalProperties":true,"type":"object","required":["calls","tokens_in","tokens_out","price_minor_units","estimated_minor","unpriced_calls","by_model"]},"_Amount":{"properties":{"kind":{"type":"string","enum":["blur","sharpen","vignette","grain"]},"amount":{"type":"number","maximum":100.0,"minimum":1.0}},"additionalProperties":false,"type":"object","required":["kind","amount"]},"_Colour":{"properties":{"kind":{"type":"string","const":"colour"},"brightness":{"type":"number","maximum":0.5,"minimum":-0.5,"default":0.0},"contrast":{"type":"number","maximum":2.0,"minimum":0.5,"default":1.0},"saturation":{"type":"number","maximum":3.0,"minimum":0.0,"default":1.0},"gamma":{"type":"number","maximum":2.0,"minimum":0.5,"default":1.0}},"additionalProperties":false,"type":"object","required":["kind"]},"_Crop":{"properties":{"kind":{"type":"string","const":"crop"},"x":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},"y":{"type":"number","exclusiveMaximum":1.0,"minimum":0.0},"w":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},"h":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0}},"additionalProperties":false,"type":"object","required":["kind","x","y","w","h"]},"_Fade":{"properties":{"kind":{"type":"string","enum":["fade_in","fade_out"]},"seconds":{"type":"number","maximum":10.0,"exclusiveMinimum":0.0}},"additionalProperties":false,"type":"object","required":["kind","seconds"]},"_Plain":{"properties":{"kind":{"type":"string","enum":["black_and_white","steady","mirror","reverse"]}},"additionalProperties":false,"type":"object","required":["kind"]},"_Speed":{"properties":{"kind":{"type":"string","const":"speed"},"factor":{"type":"number","maximum":4.0,"minimum":0.25}},"additionalProperties":false,"type":"object","required":["kind","factor"]},"app__api__agents__RunOut":{"properties":{"id":{"type":"string","format":"uuid"},"agent_id":{"type":"string","format":"uuid"},"goal":{"type":"string"},"capsule_scope":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}]},"status":{"type":"string"},"transcript":{"items":{},"type":"array"},"result":{"anyOf":[{"type":"string"},{"type":"null"}]},"iterations":{"type":"integer"},"spend_micro":{"type":"integer"},"model":{"anyOf":[{"type":"string"},{"type":"null"}]},"skills_rendered":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"charge_credits":{"anyOf":[{"type":"integer"},{"type":"null"}]},"skills_line":{"anyOf":[{"type":"string"},{"type":"null"}],"readOnly":true},"tickets_filed":{"items":{"type":"string"},"type":"array","readOnly":true},"grounded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"readOnly":true},"outcome_line":{"type":"string","readOnly":true},"side_effects":{"items":{"type":"string"},"type":"array","readOnly":true},"requested_steps":{"items":{"type":"string"},"type":"array","readOnly":true},"steps":{"items":{"type":"string"},"type":"array","readOnly":true},"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"readOnly":true}},"type":"object","required":["id","agent_id","goal","status","transcript","result","iterations","spend_micro","error","created_at","finished_at","skills_line","tickets_filed","grounded","outcome_line","side_effects","requested_steps","steps","answer"]},"app__api__casting__OperationOut":{"properties":{"id":{"type":"string","format":"uuid"},"persona_id":{"type":"string","format":"uuid","x-kit-id":"capsule"},"name":{"type":"string"},"write_project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"live_project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"produce_op_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"workflow_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"consult_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"flags":{"additionalProperties":true,"type":"object"},"artifact_entity_ids":{"items":{"type":"string"},"type":"array"},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","persona_id","name","write_project_id","live_project_id","produce_op_id","workflow_run_id","consult_session_id","flags","artifact_entity_ids","created_at"]},"app__api__lead_answers__Lesson":{"properties":{"id":{"type":"string"},"kind":{"type":"string"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}]},"phase_words":{"type":"string"},"detail":{"additionalProperties":true,"type":"object"},"who":{"anyOf":[{"type":"string"},{"type":"null"}]},"occurred_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"case_id":{"type":"string"},"sentence":{"type":"string"}},"additionalProperties":true,"type":"object","required":["id","kind","phase_words","detail","case_id","sentence"]},"app__api__live_answers__ProjectList":{"properties":{"projects":{"items":{},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["projects","count"]},"app__api__merch_answers__Goal":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"target":{"type":"integer"},"period":{"type":"string"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"kind_label":{"type":"string"},"channel_label":{"anyOf":[{"type":"string"},{"type":"null"}]},"progress":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["id","name","kind","target","period","scope","notes","channel","created_at","kind_label","channel_label","progress"]},"app__api__merch_answers__JobsQueued":{"properties":{"jobs":{"items":{"$ref":"#/$defs/LabJob"},"type":"array"},"count":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["jobs","count"]},"app__api__merch_lab__PersonIn":{"properties":{"model":{"type":"string","default":""},"pieces":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":3}},"type":"object","description":"One person in a shot: a model + the pieces they wear (legacy\nShotComposer people × items)."},"app__api__operations__OperationOut":{"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"ops_type":{"type":"string"},"stage":{"type":"string"},"brief":{"type":"string"},"channels":{"items":{"type":"string"},"type":"array"},"goal":{"additionalProperties":true,"type":"object"},"persona_id":{"anyOf":[{"type":"string","format":"uuid","x-kit-id":"capsule"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"}},"type":"object","required":["id","name","ops_type","stage","brief","channels","goal","persona_id","created_at"]},"app__api__ops_answers__JobsQueued":{"properties":{"requeued_failed":{"type":"integer"},"resumed_paused":{"type":"integer"},"skipped_duplicate":{"type":"integer"},"skipped_run_ended":{"type":"integer"},"advanced_scheduled":{"type":"integer"},"blocked_untouched":{"type":"integer"},"skipped_permanent":{}},"additionalProperties":true,"type":"object","required":["requeued_failed","resumed_paused","skipped_duplicate","skipped_run_ended","advanced_scheduled","blocked_untouched","skipped_permanent"]},"app__api__persona_answers__Lesson":{"properties":{"item_id":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"lesson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["item_id"]},"app__api__project_answers__ProjectList":{"properties":{"projects":{"items":{"$ref":"#/$defs/ProjectSummary"},"type":"array"},"count":{"type":"integer"},"undated":{"type":"integer"},"undated_summary":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["projects","count","undated","undated_summary"]},"app__api__scene_answers__SceneCard":{"properties":{"id":{"type":"string"},"persona_id":{"type":"string","x-kit-id":"capsule"},"name":{"type":"string"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["id","persona_id","name","created_at","updated_at"]},"app__api__segments__RuleIn":{"properties":{"fact":{"type":"string","enum":["agreed_campaigns","has_email"]},"op":{"type":"string","enum":["is","is_not"],"default":"is"}},"additionalProperties":false,"type":"object","required":["fact"]},"app__api__single_door_answers__Goal":{"properties":{"preset":{"type":"string"},"target":{},"actual":{"anyOf":[{"type":"number"},{"type":"null"}]},"source":{"type":"string"},"measured_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"progress_pct":{"anyOf":[{"type":"number"},{"type":"null"}]},"on_pace":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["preset","target","actual","source","measured_at","progress_pct","on_pace"]},"app__api__workflows__RunOut":{"properties":{"id":{"type":"string","format":"uuid"},"workflow_id":{"type":"string","format":"uuid","x-kit-id":"workflow"},"status":{"type":"string"},"trigger":{"type":"string"},"receipt":{"additionalProperties":true,"type":"object"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"charge_credits":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"type":"object","required":["id","workflow_id","status","trigger","receipt","error","created_at","finished_at"]},"app__api__writing_answers__RoastOut":{"properties":{"document_id":{"type":"string","x-kit-id":"item"},"title":{"type":"string"},"subject":{"type":"string"},"tone":{"type":"string"},"topics":{"items":{"$ref":"#/$defs/RoastTopicOut"},"type":"array"},"jokes":{"type":"integer"},"left_out":{"type":"integer"}},"additionalProperties":true,"type":"object","required":["document_id","title","subject","tone","topics","jokes","left_out"]},"app__api__writing_projects__TreatmentOut":{"properties":{"steps":{"items":{"$ref":"#/$defs/TreatmentStepOut"},"type":"array"}},"type":"object","required":["steps"]}},"id_kinds":{"capsule_id":"capsule","persona_id":"capsule","persona_ids":"capsule","my_persona_ids":"capsule","claimed_persona_id":"capsule","entity_id":"item","claimed_entity_id":"item","entity_ids":"item","source_entity_id":"item","document_id":"item","collection_id":"collection","workflow_id":"workflow"},"fits":"A brick output fits a brick input when every type it may give is a type the input takes (a whole number fits a number), every choice it may give is one the input offers, a list's items fit, a record carries every field the input requires, and an input marked x-kit-id takes only an output marked with the same kind. Value bounds and empty (null) values are checked by the door when the step runs."},"kit_coverage":{"book_version":"2026-11-02.1","method":"a room is a page; its controls are the interactive elements its own code draws (shared components not counted); a control is bound when it is a room action naming a contract with an engine; coverage = bound / controls. Each control is an effect (it reaches a door or sends a file), a field (an input slot), a view (it changes only what is on screen; bound to the room frame's frame bricks, counted apart) or nav (it moves the person). An effect is bindable when every door it calls has a contract with an engine; one whose door is this app's own server is an app door (no book contract can bind it)","totals":{"rooms":99,"controls":3356,"bound":942,"unbound":2414,"ghost":0,"generation_routes":13,"coverage":28.1,"rooms_at_100":2,"rooms_with_controls":86,"split":{"effect":1207,"field":1059,"view":1051,"nav":39,"effect_by_status":{"bound":942,"bindable":120,"needs_contract":93,"app_door":18,"runtime_path":34}},"split_reasons":{"field: an input slot":1059,"effect: a room control naming a contract":942,"view: changes what is on screen":919,"effect: calls a door":236,"view: runs code that stays on screen":68,"nav: moves to another place":39,"view: filters or arranges what is shown":35,"view: does nothing on its own":29,"effect: sends a file":20,"effect: submits its form":9},"effect_doors":160,"effect_doors_with_engine":108,"register":{"split":{"effect":717,"field":689,"view":577,"nav":16,"effect_by_status":{"bound":617,"bindable":60,"needs_contract":25,"app_door":1,"runtime_path":14}},"apps":37,"rooms":41,"controls_summed_per_app":2662,"controls_counted_once":1999,"bound":617,"coverage":30.9,"contracts":748,"with_engine":664,"placeable":180,"engine_null":84},"book":{"contracts":1130,"with_engine":1037,"engine_null":93,"module_refused":868,"placeable":223},"shelf_outside_apps":{"contracts":382,"with_engine":373}},"ghosts":[],"apps":[{"app":"Blueprints › Merch","rooms":17,"missing_rooms":[],"contracts":101,"with_engine":101,"placeable":33,"controls":388,"bound":130,"ghost":0,"generation_routes":7,"unbound":258,"coverage":33.5,"split":{"effect":140,"field":157,"view":86,"nav":5,"effect_by_status":{"bound":130,"bindable":9,"needs_contract":0,"app_door":0,"runtime_path":1}}},{"app":"Blueprints › Deals › Pipeline","rooms":1,"missing_rooms":[],"contracts":34,"with_engine":33,"placeable":16,"controls":14,"bound":6,"ghost":0,"generation_routes":0,"unbound":8,"coverage":42.9,"split":{"effect":6,"field":5,"view":3,"nav":0,"effect_by_status":{"bound":6,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}}},{"app":"Projects › a project › Writing","rooms":1,"missing_rooms":[],"contracts":117,"with_engine":117,"placeable":37,"controls":413,"bound":141,"ghost":0,"generation_routes":4,"unbound":272,"coverage":34.1,"split":{"effect":157,"field":140,"view":115,"nav":1,"effect_by_status":{"bound":141,"bindable":10,"needs_contract":2,"app_door":0,"runtime_path":4}}},{"app":"Blueprints › Channels","rooms":1,"missing_rooms":[],"contracts":60,"with_engine":50,"placeable":11,"controls":44,"bound":16,"ghost":0,"generation_routes":1,"unbound":28,"coverage":36.4,"split":{"effect":16,"field":11,"view":17,"nav":0,"effect_by_status":{"bound":16,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}}},{"app":"Blueprints › Deals › Contracts","rooms":1,"missing_rooms":[],"contracts":31,"with_engine":30,"placeable":18,"controls":51,"bound":18,"ghost":0,"generation_routes":0,"unbound":33,"coverage":35.3,"split":{"effect":21,"field":21,"view":9,"nav":0,"effect_by_status":{"bound":18,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":2}}},{"app":"Projects › a clips project › Edit","rooms":1,"missing_rooms":[],"contracts":22,"with_engine":22,"placeable":2,"controls":100,"bound":32,"ghost":0,"generation_routes":0,"unbound":68,"coverage":32.0,"split":{"effect":36,"field":38,"view":26,"nav":0,"effect_by_status":{"bound":32,"bindable":4,"needs_contract":0,"app_door":0,"runtime_path":0}}},{"app":"Account › Your agents","rooms":1,"missing_rooms":[],"contracts":16,"with_engine":16,"placeable":0,"controls":48,"bound":12,"ghost":0,"generation_routes":0,"unbound":36,"coverage":25.0,"split":{"effect":18,"field":18,"view":12,"nav":0,"effect_by_status":{"bound":12,"bindable":1,"needs_contract":5,"app_door":0,"runtime_path":0}}},{"app":"Projects","rooms":6,"missing_rooms":[],"contracts":149,"with_engine":136,"placeable":31,"controls":1109,"bound":364,"ghost":0,"generation_routes":5,"unbound":745,"coverage":32.8,"split":{"effect":415,"field":353,"view":331,"nav":10,"effect_by_status":{"bound":364,"bindable":34,"needs_contract":6,"app_door":0,"runtime_path":11}}},{"app":"Your computer","rooms":3,"missing_rooms":[],"contracts":12,"with_engine":10,"placeable":0,"controls":10,"bound":4,"ghost":0,"generation_routes":0,"unbound":6,"coverage":40.0,"split":{"effect":6,"field":2,"view":2,"nav":0,"effect_by_status":{"bound":4,"bindable":1,"needs_contract":0,"app_door":1,"runtime_path":0}}},{"app":"Library › a capsule › Look closer","rooms":2,"missing_rooms":[],"contracts":7,"with_engine":7,"placeable":1,"controls":29,"bound":8,"ghost":0,"generation_routes":0,"unbound":21,"coverage":27.6,"split":{"effect":11,"field":11,"view":7,"nav":0,"effect_by_status":{"bound":8,"bindable":0,"needs_contract":2,"app_door":0,"runtime_path":1}}},{"app":"Projects › a project › Live","rooms":1,"missing_rooms":[],"contracts":42,"with_engine":41,"placeable":3,"controls":145,"bound":40,"ghost":0,"generation_routes":0,"unbound":105,"coverage":27.6,"split":{"effect":58,"field":48,"view":39,"nav":0,"effect_by_status":{"bound":40,"bindable":15,"needs_contract":3,"app_door":0,"runtime_path":0}}},{"app":"Inbox › Mail for reading","rooms":1,"missing_rooms":[],"contracts":13,"with_engine":13,"placeable":4,"controls":115,"bound":20,"ghost":0,"generation_routes":0,"unbound":95,"coverage":17.4,"split":{"effect":31,"field":41,"view":43,"nav":0,"effect_by_status":{"bound":20,"bindable":7,"needs_contract":4,"app_door":0,"runtime_path":0}}},{"app":"Ask","rooms":1,"missing_rooms":[],"contracts":6,"with_engine":6,"placeable":1,"controls":25,"bound":8,"ghost":0,"generation_routes":0,"unbound":17,"coverage":32.0,"split":{"effect":9,"field":7,"view":8,"nav":1,"effect_by_status":{"bound":8,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}}},{"app":"People › Network","rooms":1,"missing_rooms":[],"contracts":4,"with_engine":4,"placeable":2,"controls":13,"bound":3,"ghost":0,"generation_routes":0,"unbound":10,"coverage":23.1,"split":{"effect":4,"field":3,"view":6,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}}},{"app":"People › Organization","rooms":1,"missing_rooms":[],"contracts":31,"with_engine":31,"placeable":1,"controls":56,"bound":11,"ghost":0,"generation_routes":0,"unbound":45,"coverage":19.6,"split":{"effect":14,"field":17,"view":25,"nav":0,"effect_by_status":{"bound":11,"bindable":2,"needs_contract":1,"app_door":0,"runtime_path":0}}},{"app":"Blueprints › Make your own","rooms":2,"missing_rooms":[],"contracts":14,"with_engine":14,"placeable":1,"controls":102,"bound":17,"ghost":0,"generation_routes":0,"unbound":85,"coverage":16.7,"split":{"effect":28,"field":43,"view":31,"nav":0,"effect_by_status":{"bound":17,"bindable":4,"needs_contract":7,"app_door":0,"runtime_path":0}}}],"rooms":[{"route":"/about/legal","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/about","home":"Public","kind":"Public","app":null,"controls":18,"bound":0,"ghost":0,"generation_routes":0,"unbound":18,"coverage":0.0,"split":{"effect":3,"field":15,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":3,"app_door":0,"runtime_path":0}},"panel_kinds":["form","three_d"]},{"route":"/about/trust","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/account/activity/audit","home":"Receipts","kind":"Account","app":null,"controls":12,"bound":3,"ghost":0,"generation_routes":0,"unbound":9,"coverage":25.0,"split":{"effect":3,"field":4,"view":5,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/account/activity","home":"Account › Activity","kind":"Account","app":null,"controls":5,"bound":1,"ghost":0,"generation_routes":0,"unbound":4,"coverage":20.0,"split":{"effect":2,"field":0,"view":3,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":1}},"panel_kinds":[]},{"route":"/account/agents/cli","home":"Account › Your agents › Command line","kind":"Account","app":null,"controls":2,"bound":0,"ghost":0,"generation_routes":0,"unbound":2,"coverage":0.0,"split":{"effect":0,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/account/agents/developers","home":"Account › Your agents › For developers","kind":"Account","app":null,"controls":1,"bound":0,"ghost":0,"generation_routes":0,"unbound":1,"coverage":0.0,"split":{"effect":0,"field":0,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/account/agents","home":"Account › Your agents","kind":"Account","app":"Account › Your agents","controls":48,"bound":12,"ghost":0,"generation_routes":0,"unbound":36,"coverage":25.0,"split":{"effect":18,"field":18,"view":12,"nav":0,"effect_by_status":{"bound":12,"bindable":1,"needs_contract":5,"app_door":0,"runtime_path":0}},"panel_kinds":["chat","markdown"]},{"route":"/account/blueprint/workflows","home":"Account › Your blueprint › Workflows","kind":"Account","app":"Blueprints › Make your own","controls":90,"bound":15,"ghost":0,"generation_routes":0,"unbound":75,"coverage":16.7,"split":{"effect":23,"field":38,"view":29,"nav":0,"effect_by_status":{"bound":15,"bindable":3,"needs_contract":5,"app_door":0,"runtime_path":0}},"panel_kinds":["chat","flow_canvas","form","image_view","table"]},{"route":"/account/keys","home":"Account › Keys","kind":"Account","app":null,"controls":20,"bound":3,"ghost":0,"generation_routes":0,"unbound":17,"coverage":15.0,"split":{"effect":3,"field":7,"view":10,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/account","home":"Account","kind":"Account","app":null,"controls":218,"bound":54,"ghost":0,"generation_routes":0,"unbound":164,"coverage":24.8,"split":{"effect":96,"field":76,"view":45,"nav":1,"effect_by_status":{"bound":54,"bindable":7,"needs_contract":25,"app_door":4,"runtime_path":6}},"panel_kinds":["file_upload","form","image_view","media_player","table"]},{"route":"/account/security","home":"Account › Security","kind":"Account","app":null,"controls":17,"bound":0,"ghost":0,"generation_routes":0,"unbound":17,"coverage":0.0,"split":{"effect":4,"field":2,"view":6,"nav":5,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":4,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/ask","home":"Ask","kind":"Top bar","app":"Ask","controls":25,"bound":8,"ghost":0,"generation_routes":0,"unbound":17,"coverage":32.0,"split":{"effect":9,"field":7,"view":8,"nav":1,"effect_by_status":{"bound":8,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["chat","form"]},{"route":"/auth/callback","home":"No screen","kind":"Flow","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/beta","home":"Public","kind":"Public","app":null,"controls":11,"bound":0,"ghost":0,"generation_routes":0,"unbound":11,"coverage":0.0,"split":{"effect":1,"field":10,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/blueprints/[slug]","home":"Blueprints › one blueprint","kind":"Inside","app":null,"controls":4,"bound":4,"ghost":0,"generation_routes":0,"unbound":0,"coverage":100.0,"split":{"effect":4,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":4,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","markdown"]},{"route":"/blueprints/make","home":"Blueprints › Make your own","kind":"Inside","app":"Blueprints › Make your own","controls":12,"bound":2,"ghost":0,"generation_routes":0,"unbound":10,"coverage":16.7,"split":{"effect":5,"field":5,"view":2,"nav":0,"effect_by_status":{"bound":2,"bindable":1,"needs_contract":2,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/blueprints","home":"Blueprints","kind":"Rail","app":null,"controls":4,"bound":2,"ghost":0,"generation_routes":0,"unbound":2,"coverage":50.0,"split":{"effect":2,"field":0,"view":2,"nav":0,"effect_by_status":{"bound":2,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/channels/brand","home":"Channels › Brand","kind":"Inside","app":null,"controls":14,"bound":2,"ghost":0,"generation_routes":0,"unbound":12,"coverage":14.3,"split":{"effect":7,"field":7,"view":0,"nav":0,"effect_by_status":{"bound":2,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":4}},"panel_kinds":["table"]},{"route":"/channels","home":"Blueprints › Channels","kind":"Inside","app":"Blueprints › Channels","controls":44,"bound":16,"ghost":0,"generation_routes":1,"unbound":28,"coverage":36.4,"split":{"effect":16,"field":11,"view":17,"nav":0,"effect_by_status":{"bound":16,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view","table"]},{"route":"/channels/posting/editorial","home":"Blueprints › Channels › Posting › Editorial","kind":"Inside","app":"Blueprints › Merch","controls":111,"bound":18,"ghost":0,"generation_routes":3,"unbound":93,"coverage":16.2,"split":{"effect":18,"field":59,"view":32,"nav":2,"effect_by_status":{"bound":18,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view","media_player"]},{"route":"/computer/[capsule]","home":"Your computer","kind":"Inside","app":"Your computer","controls":7,"bound":4,"ghost":0,"generation_routes":0,"unbound":3,"coverage":57.1,"split":{"effect":4,"field":1,"view":2,"nav":0,"effect_by_status":{"bound":4,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["tabs"]},{"route":"/computer","home":"Your computer","kind":"Rail","app":"Your computer","controls":7,"bound":4,"ghost":0,"generation_routes":0,"unbound":3,"coverage":57.1,"split":{"effect":4,"field":1,"view":2,"nav":0,"effect_by_status":{"bound":4,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["tabs"]},{"route":"/deals/contracts","home":"Blueprints › Deals › Contracts","kind":"Inside","app":"Blueprints › Deals › Contracts","controls":51,"bound":18,"ghost":0,"generation_routes":0,"unbound":33,"coverage":35.3,"split":{"effect":21,"field":21,"view":9,"nav":0,"effect_by_status":{"bound":18,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":2}},"panel_kinds":["file_upload","tabs"]},{"route":"/deals/pipeline","home":"Blueprints › Deals › Pipeline","kind":"Inside","app":"Blueprints › Deals › Pipeline","controls":14,"bound":6,"ghost":0,"generation_routes":0,"unbound":8,"coverage":42.9,"split":{"effect":6,"field":5,"view":3,"nav":0,"effect_by_status":{"bound":6,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/device/gather","home":"Gather with my computer","kind":"Flow","app":null,"controls":10,"bound":4,"ghost":0,"generation_routes":0,"unbound":6,"coverage":40.0,"split":{"effect":5,"field":2,"view":3,"nav":0,"effect_by_status":{"bound":4,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":1}},"panel_kinds":["tabs"]},{"route":"/faq","home":"Help","kind":"Help","app":null,"controls":3,"bound":0,"ghost":0,"generation_routes":0,"unbound":3,"coverage":0.0,"split":{"effect":0,"field":2,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/feedback","home":"Help › Send feedback","kind":"Help","app":null,"controls":4,"bound":1,"ghost":0,"generation_routes":0,"unbound":3,"coverage":25.0,"split":{"effect":1,"field":2,"view":1,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["tabs"]},{"route":"/finances","home":"Blueprints › Finances","kind":"Inside","app":null,"controls":26,"bound":12,"ghost":0,"generation_routes":0,"unbound":14,"coverage":46.2,"split":{"effect":13,"field":7,"view":6,"nav":0,"effect_by_status":{"bound":12,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/glossary","home":"Help › Words we use","kind":"Help","app":null,"controls":2,"bound":0,"ghost":0,"generation_routes":0,"unbound":2,"coverage":0.0,"split":{"effect":0,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/inbox/conversations","home":"Inbox › Conversations","kind":"Inside","app":null,"controls":11,"bound":5,"ghost":0,"generation_routes":0,"unbound":6,"coverage":45.5,"split":{"effect":6,"field":2,"view":3,"nav":0,"effect_by_status":{"bound":5,"bindable":0,"needs_contract":0,"app_door":1,"runtime_path":0}},"panel_kinds":[]},{"route":"/inbox/mail","home":"Inbox › Mail for reading","kind":"Inside","app":"Inbox › Mail for reading","controls":115,"bound":20,"ghost":0,"generation_routes":0,"unbound":95,"coverage":17.4,"split":{"effect":31,"field":41,"view":43,"nav":0,"effect_by_status":{"bound":20,"bindable":7,"needs_contract":4,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view"]},{"route":"/inbox","home":"Inbox","kind":"Top bar","app":null,"controls":8,"bound":3,"ghost":0,"generation_routes":0,"unbound":5,"coverage":37.5,"split":{"effect":6,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":3,"runtime_path":0}},"panel_kinds":[]},{"route":"/join","home":"Joining a team from an invitation","kind":"Flow","app":null,"controls":18,"bound":0,"ghost":0,"generation_routes":0,"unbound":18,"coverage":0.0,"split":{"effect":3,"field":7,"view":3,"nav":5,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":3,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/journeys","home":"Help › Learn it by doing it","kind":"Help","app":null,"controls":6,"bound":1,"ghost":0,"generation_routes":0,"unbound":5,"coverage":16.7,"split":{"effect":2,"field":1,"view":3,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/legal/accessibility","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/legal/cookies","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/legal/copyright","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/legal/data-deletion","home":"Public","kind":"Public","app":null,"controls":2,"bound":0,"ghost":0,"generation_routes":0,"unbound":2,"coverage":0.0,"split":{"effect":0,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/legal/erasure/[jobId]","home":"A receipt","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/legal/nda","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/legal","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/legal/privacy","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/legal/terms","home":"Public","kind":"Public","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/library/[capsule]/agents","home":"Library › a capsule › What agents see","kind":"Inside","app":null,"controls":114,"bound":43,"ghost":0,"generation_routes":0,"unbound":71,"coverage":37.7,"split":{"effect":48,"field":37,"view":27,"nav":2,"effect_by_status":{"bound":43,"bindable":2,"needs_contract":3,"app_door":0,"runtime_path":0}},"panel_kinds":["file_upload","form","image_view","table","tabs"]},{"route":"/library/[capsule]/family/[id]","home":"Library › Family","kind":"Inside","app":null,"controls":1,"bound":1,"ghost":0,"generation_routes":0,"unbound":0,"coverage":100.0,"split":{"effect":1,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/library/[capsule]/items/[item]/look","home":"Library › an item › Look closer","kind":"Inside","app":"Library › a capsule › Look closer","controls":29,"bound":8,"ghost":0,"generation_routes":0,"unbound":21,"coverage":27.6,"split":{"effect":11,"field":11,"view":7,"nav":0,"effect_by_status":{"bound":8,"bindable":0,"needs_contract":2,"app_door":0,"runtime_path":1}},"panel_kinds":["file_upload","image_view"]},{"route":"/library/[capsule]/look","home":"Library › a capsule › Look closer","kind":"Inside","app":"Library › a capsule › Look closer","controls":29,"bound":8,"ghost":0,"generation_routes":0,"unbound":21,"coverage":27.6,"split":{"effect":11,"field":11,"view":7,"nav":0,"effect_by_status":{"bound":8,"bindable":0,"needs_contract":2,"app_door":0,"runtime_path":1}},"panel_kinds":["file_upload","image_view"]},{"route":"/library/[capsule]","home":"Library › a capsule","kind":"Inside","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/library/[capsule]/sources","home":"Library › a capsule › Sources","kind":"Inside","app":null,"controls":162,"bound":57,"ghost":0,"generation_routes":0,"unbound":105,"coverage":35.2,"split":{"effect":79,"field":51,"view":32,"nav":0,"effect_by_status":{"bound":57,"bindable":6,"needs_contract":9,"app_door":0,"runtime_path":7}},"panel_kinds":["file_upload","image_view","media_player"]},{"route":"/library/[capsule]/website","home":"Library › a capsule › On your website","kind":"Inside","app":null,"controls":22,"bound":4,"ghost":0,"generation_routes":0,"unbound":18,"coverage":18.2,"split":{"effect":7,"field":7,"view":8,"nav":0,"effect_by_status":{"bound":4,"bindable":1,"needs_contract":1,"app_door":0,"runtime_path":1}},"panel_kinds":["form"]},{"route":"/library/capsules","home":"Library › your capsules at a glance","kind":"Inside","app":null,"controls":174,"bound":42,"ghost":0,"generation_routes":0,"unbound":132,"coverage":24.1,"split":{"effect":60,"field":39,"view":74,"nav":1,"effect_by_status":{"bound":42,"bindable":7,"needs_contract":10,"app_door":1,"runtime_path":0}},"panel_kinds":["chart","form","image_view","media_player","pdf_view","table"]},{"route":"/library","home":"Library","kind":"Rail","app":null,"controls":336,"bound":59,"ghost":0,"generation_routes":0,"unbound":277,"coverage":17.6,"split":{"effect":99,"field":59,"view":172,"nav":6,"effect_by_status":{"bound":59,"bindable":13,"needs_contract":25,"app_door":1,"runtime_path":1}},"panel_kinds":["chart","file_upload","form","image_view","media_player","pdf_view","table","three_d"]},{"route":"/library/shared","home":"Library › Shared with others","kind":"Inside","app":null,"controls":21,"bound":13,"ghost":0,"generation_routes":0,"unbound":8,"coverage":61.9,"split":{"effect":14,"field":6,"view":1,"nav":0,"effect_by_status":{"bound":13,"bindable":0,"needs_contract":0,"app_door":1,"runtime_path":0}},"panel_kinds":[]},{"route":"/listing/[personaId]","home":"A public listing page","kind":"Public","app":null,"controls":21,"bound":5,"ghost":0,"generation_routes":0,"unbound":16,"coverage":23.8,"split":{"effect":8,"field":7,"view":6,"nav":0,"effect_by_status":{"bound":5,"bindable":0,"needs_contract":0,"app_door":3,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/market/blueprints","home":"Market › Blueprints","kind":"Inside","app":null,"controls":2,"bound":1,"ghost":0,"generation_routes":0,"unbound":1,"coverage":50.0,"split":{"effect":1,"field":1,"view":0,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/market","home":"Market › Browse","kind":"Rail","app":null,"controls":7,"bound":0,"ghost":0,"generation_routes":0,"unbound":7,"coverage":0.0,"split":{"effect":0,"field":5,"view":2,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view","media_player"]},{"route":"/market/public-data","home":"Market › Free public data to browse","kind":"Inside","app":null,"controls":3,"bound":0,"ghost":0,"generation_routes":0,"unbound":3,"coverage":0.0,"split":{"effect":0,"field":2,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/market/selling/access","home":"Market › Selling › Who has access","kind":"Inside","app":null,"controls":19,"bound":2,"ghost":0,"generation_routes":0,"unbound":17,"coverage":10.5,"split":{"effect":3,"field":8,"view":8,"nav":0,"effect_by_status":{"bound":2,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/market/selling","home":"Market › Selling","kind":"Inside","app":null,"controls":0,"bound":0,"ghost":0,"generation_routes":0,"unbound":0,"coverage":null,"split":{"effect":0,"field":0,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/merch/campaigns/[id]","home":"Blueprints › Merch › Campaigns › one campaign","kind":"Inside","app":"Blueprints › Merch","controls":20,"bound":12,"ghost":0,"generation_routes":0,"unbound":8,"coverage":60.0,"split":{"effect":12,"field":4,"view":3,"nav":1,"effect_by_status":{"bound":12,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/merch/campaigns","home":"Blueprints › Merch › Campaigns","kind":"Inside","app":"Blueprints › Merch","controls":8,"bound":2,"ghost":0,"generation_routes":0,"unbound":6,"coverage":25.0,"split":{"effect":3,"field":3,"view":1,"nav":1,"effect_by_status":{"bound":2,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/merch/catalog/[id]","home":"Blueprints › Merch › Catalog › one product","kind":"Inside","app":"Blueprints › Merch","controls":12,"bound":6,"ghost":0,"generation_routes":0,"unbound":6,"coverage":50.0,"split":{"effect":6,"field":5,"view":1,"nav":0,"effect_by_status":{"bound":6,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view","media_player"]},{"route":"/merch/catalog","home":"Blueprints › Merch › Catalog","kind":"Inside","app":"Blueprints › Merch","controls":19,"bound":6,"ghost":0,"generation_routes":0,"unbound":13,"coverage":31.6,"split":{"effect":6,"field":5,"view":8,"nav":0,"effect_by_status":{"bound":6,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view","table","tabs"]},{"route":"/merch/health","home":"Blueprints › Merch › Store health","kind":"Inside","app":"Blueprints › Merch","controls":5,"bound":3,"ghost":0,"generation_routes":0,"unbound":2,"coverage":60.0,"split":{"effect":3,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/merch/narrative","home":"Blueprints › Merch › Narrative","kind":"Inside","app":"Blueprints › Merch","controls":24,"bound":3,"ghost":0,"generation_routes":0,"unbound":21,"coverage":12.5,"split":{"effect":3,"field":14,"view":7,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]},{"route":"/merch/orders","home":"Blueprints › Merch › Orders","kind":"Inside","app":"Blueprints › Merch","controls":3,"bound":2,"ghost":0,"generation_routes":0,"unbound":1,"coverage":66.7,"split":{"effect":2,"field":0,"view":1,"nav":0,"effect_by_status":{"bound":2,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/merch","home":"Blueprints › Merch","kind":"Inside","app":"Blueprints › Merch","controls":4,"bound":1,"ghost":0,"generation_routes":0,"unbound":3,"coverage":25.0,"split":{"effect":1,"field":0,"view":3,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view","table","tabs"]},{"route":"/merch/review","home":"Blueprints › Merch › Review","kind":"Inside","app":"Blueprints › Merch","controls":25,"bound":12,"ghost":0,"generation_routes":0,"unbound":13,"coverage":48.0,"split":{"effect":12,"field":9,"view":3,"nav":1,"effect_by_status":{"bound":12,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view","tabs"]},{"route":"/merch/sheets/[id]/compile","home":"Blueprints › Merch › Sheets › one sheet › Compile","kind":"Inside","app":"Blueprints › Merch","controls":6,"bound":2,"ghost":0,"generation_routes":0,"unbound":4,"coverage":33.3,"split":{"effect":2,"field":0,"view":4,"nav":0,"effect_by_status":{"bound":2,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view","tabs"]},{"route":"/merch/sheets/[id]","home":"Blueprints › Merch › Sheets › one sheet","kind":"Inside","app":"Blueprints › Merch","controls":37,"bound":14,"ghost":0,"generation_routes":2,"unbound":23,"coverage":37.8,"split":{"effect":14,"field":13,"view":9,"nav":1,"effect_by_status":{"bound":14,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view"]},{"route":"/merch/sheets/concepts","home":"Blueprints › Merch › Sheets › Concepts","kind":"Inside","app":"Blueprints › Merch","controls":58,"bound":21,"ghost":0,"generation_routes":2,"unbound":37,"coverage":36.2,"split":{"effect":24,"field":21,"view":11,"nav":2,"effect_by_status":{"bound":21,"bindable":3,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["board","image_view","table"]},{"route":"/merch/sheets","home":"Blueprints › Merch › Sheets","kind":"Inside","app":"Blueprints › Merch","controls":14,"bound":2,"ghost":0,"generation_routes":0,"unbound":12,"coverage":14.3,"split":{"effect":2,"field":5,"view":7,"nav":0,"effect_by_status":{"bound":2,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view"]},{"route":"/merch/storefront","home":"Blueprints › Merch › Storefront","kind":"Inside","app":"Blueprints › Merch","controls":3,"bound":1,"ghost":0,"generation_routes":0,"unbound":2,"coverage":33.3,"split":{"effect":1,"field":0,"view":2,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/merch/system","home":"Blueprints › Merch › System","kind":"Inside","app":"Blueprints › Merch","controls":25,"bound":8,"ghost":0,"generation_routes":0,"unbound":17,"coverage":32.0,"split":{"effect":9,"field":15,"view":1,"nav":0,"effect_by_status":{"bound":8,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form","table"]},{"route":"/merch/vault","home":"Blueprints › Merch › Vault","kind":"Inside","app":"Blueprints › Merch","controls":42,"bound":17,"ghost":0,"generation_routes":0,"unbound":25,"coverage":40.5,"split":{"effect":22,"field":11,"view":8,"nav":1,"effect_by_status":{"bound":17,"bindable":4,"needs_contract":0,"app_door":0,"runtime_path":1}},"panel_kinds":["file_upload","form","image_view"]},{"route":"/needs-you","home":"Needs you","kind":"Top bar","app":null,"controls":14,"bound":1,"ghost":0,"generation_routes":0,"unbound":13,"coverage":7.1,"split":{"effect":4,"field":1,"view":6,"nav":3,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":3}},"panel_kinds":["image_view"]},{"route":"/onboarding","home":"First run","kind":"Flow","app":null,"controls":60,"bound":0,"ghost":0,"generation_routes":0,"unbound":60,"coverage":0.0,"split":{"effect":14,"field":18,"view":20,"nav":8,"effect_by_status":{"bound":0,"bindable":2,"needs_contract":3,"app_door":3,"runtime_path":6}},"panel_kinds":["file_upload","form","image_view","media_player","tabs"]},{"route":"/ops","home":null,"kind":"Unplaced","app":null,"controls":268,"bound":74,"ghost":0,"generation_routes":0,"unbound":194,"coverage":27.6,"split":{"effect":114,"field":52,"view":99,"nav":3,"effect_by_status":{"bound":74,"bindable":29,"needs_contract":5,"app_door":0,"runtime_path":6}},"panel_kinds":["file_upload","form","image_view","table","tabs","three_d"]},{"route":"/","home":"Home","kind":"Rail","app":null,"controls":34,"bound":3,"ghost":0,"generation_routes":0,"unbound":31,"coverage":8.8,"split":{"effect":9,"field":16,"view":4,"nav":5,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":3,"app_door":3,"runtime_path":0}},"panel_kinds":["form","three_d"]},{"route":"/pair","home":"Pairing a device","kind":"Flow","app":"Your computer","controls":3,"bound":0,"ghost":0,"generation_routes":0,"unbound":3,"coverage":0.0,"split":{"effect":2,"field":1,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":1,"needs_contract":0,"app_door":1,"runtime_path":0}},"panel_kinds":[]},{"route":"/patterns","home":"Help › Ways to set up your business","kind":"Help","app":null,"controls":2,"bound":0,"ghost":0,"generation_routes":0,"unbound":2,"coverage":0.0,"split":{"effect":0,"field":1,"view":1,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["tabs"]},{"route":"/people/network","home":"People › Network","kind":"Inside","app":"People › Network","controls":13,"bound":3,"ghost":0,"generation_routes":0,"unbound":10,"coverage":23.1,"split":{"effect":4,"field":3,"view":6,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/people/organization","home":"People › Organization","kind":"Inside","app":"People › Organization","controls":56,"bound":11,"ghost":0,"generation_routes":0,"unbound":45,"coverage":19.6,"split":{"effect":14,"field":17,"view":25,"nav":0,"effect_by_status":{"bound":11,"bindable":2,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["form","image_view","three_d"]},{"route":"/people","home":"People","kind":"Inside","app":null,"controls":5,"bound":1,"ghost":0,"generation_routes":0,"unbound":4,"coverage":20.0,"split":{"effect":1,"field":1,"view":3,"nav":0,"effect_by_status":{"bound":1,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/projects/[id]/cast","home":"Projects › a film project › Cast","kind":"Inside","app":"Projects","controls":62,"bound":25,"ghost":0,"generation_routes":4,"unbound":37,"coverage":40.3,"split":{"effect":26,"field":20,"view":16,"nav":0,"effect_by_status":{"bound":25,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view","media_player"]},{"route":"/projects/[id]/departments","home":"Projects › a project › Departments","kind":"Inside","app":"Projects","controls":75,"bound":34,"ghost":0,"generation_routes":3,"unbound":41,"coverage":45.3,"split":{"effect":36,"field":18,"view":20,"nav":1,"effect_by_status":{"bound":34,"bindable":0,"needs_contract":1,"app_door":0,"runtime_path":1}},"panel_kinds":["file_upload","image_view","media_player"]},{"route":"/projects/[id]/desk","home":"Projects › a documentary › Desk","kind":"Inside","app":null,"controls":236,"bound":87,"ghost":0,"generation_routes":3,"unbound":149,"coverage":36.9,"split":{"effect":96,"field":98,"view":42,"nav":0,"effect_by_status":{"bound":87,"bindable":5,"needs_contract":2,"app_door":0,"runtime_path":2}},"panel_kinds":["file_upload","image_view","media_player","tabs"]},{"route":"/projects/[id]/edit","home":"Projects › a clips project › Edit","kind":"Inside","app":"Projects › a clips project › Edit","controls":100,"bound":32,"ghost":0,"generation_routes":0,"unbound":68,"coverage":32.0,"split":{"effect":36,"field":38,"view":26,"nav":0,"effect_by_status":{"bound":32,"bindable":4,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["board","image_view","media_player","table"]},{"route":"/projects/[id]/live","home":"Projects › a project › Live","kind":"Inside","app":"Projects › a project › Live","controls":145,"bound":40,"ghost":0,"generation_routes":0,"unbound":105,"coverage":27.6,"split":{"effect":58,"field":48,"view":39,"nav":0,"effect_by_status":{"bound":40,"bindable":15,"needs_contract":3,"app_door":0,"runtime_path":0}},"panel_kinds":["board","chat","form","image_view"]},{"route":"/projects/[id]","home":"Projects › a film project","kind":"Inside","app":"Projects","controls":300,"bound":105,"ghost":0,"generation_routes":3,"unbound":195,"coverage":35.0,"split":{"effect":117,"field":62,"view":115,"nav":6,"effect_by_status":{"bound":105,"bindable":3,"needs_contract":1,"app_door":0,"runtime_path":8}},"panel_kinds":["board","file_upload","form","image_view","media_player","pdf_view","table","three_d","timeline_editor"]},{"route":"/projects/[id]/shots","home":"Projects › a project › Shots","kind":"Inside","app":"Projects","controls":103,"bound":26,"ghost":0,"generation_routes":0,"unbound":77,"coverage":25.2,"split":{"effect":28,"field":42,"view":33,"nav":0,"effect_by_status":{"bound":26,"bindable":2,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["table"]},{"route":"/projects/[id]/writing","home":"Projects › a project › Writing","kind":"Inside","app":"Projects › a project › Writing","controls":413,"bound":141,"ghost":0,"generation_routes":4,"unbound":272,"coverage":34.1,"split":{"effect":157,"field":140,"view":115,"nav":1,"effect_by_status":{"bound":141,"bindable":10,"needs_contract":2,"app_door":0,"runtime_path":4}},"panel_kinds":["file_upload","image_view","media_player","pdf_view","rich_text","table","tabs"]},{"route":"/projects/files","home":"Projects › Working files","kind":"Inside","app":"Projects","controls":15,"bound":8,"ghost":0,"generation_routes":0,"unbound":7,"coverage":53.3,"split":{"effect":9,"field":3,"view":3,"nav":0,"effect_by_status":{"bound":8,"bindable":1,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/projects","home":"Projects","kind":"Inside","app":"Projects","controls":1094,"bound":356,"ghost":0,"generation_routes":5,"unbound":738,"coverage":32.5,"split":{"effect":406,"field":350,"view":328,"nav":10,"effect_by_status":{"bound":356,"bindable":33,"needs_contract":6,"app_door":0,"runtime_path":11}},"panel_kinds":["board","chat","file_upload","form","image_view","media_player","pdf_view","rich_text","table","tabs","three_d","timeline_editor"]},{"route":"/styleguide","home":null,"kind":"Unplaced","app":null,"controls":58,"bound":0,"ghost":0,"generation_routes":0,"unbound":58,"coverage":0.0,"split":{"effect":0,"field":14,"view":44,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["chart","table","tabs"]},{"route":"/styleguide/room","home":null,"kind":"Unplaced","app":null,"controls":6,"bound":3,"ghost":0,"generation_routes":0,"unbound":3,"coverage":50.0,"split":{"effect":3,"field":1,"view":2,"nav":0,"effect_by_status":{"bound":3,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":[]},{"route":"/u/[handle]","home":"A public profile","kind":"Public","app":null,"controls":1,"bound":0,"ghost":0,"generation_routes":0,"unbound":1,"coverage":0.0,"split":{"effect":0,"field":1,"view":0,"nav":0,"effect_by_status":{"bound":0,"bindable":0,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["image_view"]},{"route":"/workshop","home":"Workshop","kind":"Rail","app":null,"controls":50,"bound":2,"ghost":0,"generation_routes":0,"unbound":48,"coverage":4.0,"split":{"effect":6,"field":16,"view":28,"nav":0,"effect_by_status":{"bound":2,"bindable":4,"needs_contract":0,"app_door":0,"runtime_path":0}},"panel_kinds":["form"]}]},"channels":{"version":"2.1","verified":"2026-08-10","channels":[{"id":"instagram","label":"Instagram","role":"Primary brand surface: aesthetic grid + Reels reach.","formats":[{"name":"Feed portrait","aspect":"4:5","px":"1080x1350","preferred":true,"notes":"Max feed real estate; use for product/hero shots."},{"name":"Feed square","aspect":"1:1","px":"1080x1080"},{"name":"Reel / Story","aspect":"9:16","px":"1080x1920","max_duration":"90s (Reels)","preferred":true,"notes":"Reels are the reach engine; adapt scene assets to 9:16 (letterbox if needed)."}],"caption":{"max_chars":2200,"hashtag_guidance":"3-5 targeted tags beat 30 generic ones; end of caption or first comment.","notes":"First 125 chars show before 'more' — front-load the hook."},"promo_method_ids":["ig_bio_link","ig_story_link","ig_shopping_tags","ig_collab_post","ig_live_shopping","ig_broadcast_channel"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":320,"height":320,"aspect":"1:1","format":"png","shape":"circle","safe_area":{"x":32,"y":32,"width":256,"height":256,"notes":"Inner 80% — corners are clipped by the circular crop mask"},"notes":"Displayed as a circle everywhere. Keep all important content within the inner 80% to avoid clipping. Renders as small as 40x40 in comments — ensure recognizability at small sizes."},{"id":"feed_portrait","label":"Feed portrait","category":"Feed Posts","width":1080,"height":1350,"aspect":"4:5","format":"png"},{"id":"feed_square","label":"Feed square","width":1080,"height":1080,"aspect":"1:1"},{"id":"carousel_slide","label":"Carousel Slide","category":"Feed Posts","width":1080,"height":1080,"aspect":"1:1","format":"png"},{"id":"reel_story","label":"Reel / Story","category":"Stories & Reels","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":288,"width":1080,"height":1344,"notes":"Avoids top and bottom UI overlays (username, stickers, reply bar)"},"viewports":{"story":{"x":0,"y":288,"width":1080,"height":1344},"reel":{"x":0,"y":192,"width":1080,"height":1440}},"notes":"Top 15% is covered by username, close button, and story indicators. Bottom 15% is covered by reply bar and action buttons. For Reels, bottom has like/comment/share icons. Place all text and key visuals in the center 70%."},{"id":"highlight_cover","label":"Highlight Cover","category":"Highlight Covers","width":1080,"height":1080,"aspect":"1:1","format":"png","safe_area":{"x":140,"y":140,"width":800,"height":800},"notes":"Displayed as circle crop at small size (~62px). Keep icon/subject centered in inner 74%. Text is unreadable at display size."}]},{"id":"tiktok","label":"TikTok","role":"Commerce engine (Shop) + top-of-funnel reach. Native, lo-fi, hook-driven content wins; polished ads die.","formats":[{"name":"Video","aspect":"9:16","px":"1080x1920","max_duration":"10 min (sweet spot 15-60s)","preferred":true},{"name":"Photo carousel","aspect":"9:16 or 1:1","px":"1080x1920","notes":"Photo-mode posts get music + swipe; solid for product lineups."}],"caption":{"max_chars":2200,"hashtag_guidance":"Niche community tags over giant generic ones.","notes":"Caption is secondary; the first 1.5 seconds of video do the work."},"promo_method_ids":["tt_shop_tag","tt_bio_link","tt_live_shopping","tt_creator_collab"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":200,"height":200,"aspect":"1:1","format":"png"},{"id":"photo_card","label":"Photo-mode card","width":1080,"height":1920,"aspect":"9:16"},{"id":"video_cover","label":"Video Cover","category":"Video Covers","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":192,"width":1080,"height":1344,"notes":"Avoids top status bar and bottom UI (description, music ticker, action buttons)"},"viewports":{"feed":{"x":0,"y":192,"width":1080,"height":1344},"profile_grid":{"x":0,"y":320,"width":1080,"height":1280}},"notes":"Bottom 20% is covered by description text, music ticker, and interaction buttons (like/comment/share). Top 10% is covered by status bar and Following/For You tabs. Right side has floating action icons. On profile grid, videos show as center-cropped ~1:1 thumbnails."},{"id":"ad_image","label":"Ad Image","category":"Ad Creatives","width":1200,"height":628,"aspect":"300:157","format":"png","safe_area":{"x":100,"y":14,"width":1000,"height":600},"notes":"In-feed ad format. CTA button overlays bottom-right. Keep primary message center-left."},{"id":"spark_ad","label":"Spark Ad","category":"Ad Creatives","width":720,"height":1280,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":150,"width":720,"height":980},"notes":"Vertical format. Top covered by profile info, bottom covered by CTA and engagement buttons. Keep content in middle 76%."},{"id":"video","label":"Video","width":1080,"height":1920,"aspect":"9:16","notes":"Right rail + bottom caption overlay; keep subject center-left."}]},{"id":"pinterest","label":"Pinterest","role":"Evergreen search-driven catalog traffic; niche aesthetics index well.","formats":[{"name":"Standard pin","aspect":"2:3","px":"1000x1500","preferred":true},{"name":"Idea pin / video","aspect":"9:16","px":"1080x1920","max_duration":"5 min"}],"caption":{"max_chars":500,"hashtag_guidance":"Hashtags matter little; keyword-rich titles + descriptions matter a lot (it is a search engine)."},"promo_method_ids":["pin_direct_link","pin_rich_product","pin_board_strategy"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":280,"height":280,"aspect":"1:1","format":"png"},{"id":"standard_pin","label":"Standard pin","category":"Pins","width":1000,"height":1500,"aspect":"2:3","format":"png","safe_area":{"x":0,"y":0,"width":1000,"height":1125,"notes":"Top 75% — bottom portion may be cropped in feed grid preview"},"viewports":{"feed_preview":{"x":0,"y":0,"width":1000,"height":1000},"expanded":{"x":0,"y":0,"width":1000,"height":1500}},"notes":"Feed grid crops to roughly 2:3 or 1:1 from the top. Pin title overlays the bottom in some views. Place headline text, faces, and key visuals in the top two-thirds."},{"id":"idea_pin","label":"Idea pin / video","category":"Pins","width":1080,"height":1920,"aspect":"9:16","format":"png"},{"id":"board_cover","label":"Board Cover","category":"Board Covers","width":600,"height":600,"aspect":"1:1","format":"png","safe_area":{"x":75,"y":75,"width":450,"height":450},"notes":"Displayed as square thumbnail at various sizes. Board title overlays bottom. Keep subject centered in inner 75%."}]},{"id":"facebook","label":"Facebook","role":"Syndication + retargeting infrastructure (pixel + catalog). Low organic priority.","formats":[{"name":"Feed image","aspect":"4:5 or 1:1","px":"1080x1350","preferred":true},{"name":"Reel","aspect":"9:16","px":"1080x1920","max_duration":"90s"}],"caption":{"max_chars":63206,"hashtag_guidance":"Hashtags do ~nothing here; skip or keep to 1-2.","notes":"Shorter performs better despite the huge limit."},"promo_method_ids":["fb_post_link","fb_link_carousel","fb_shop"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":320,"height":320,"aspect":"1:1","format":"png"},{"id":"page_cover","label":"Page Cover","category":"Cover Images","width":851,"height":315,"aspect":"851:315","format":"png","safe_area":{"x":106,"y":2,"width":640,"height":312,"notes":"Visible on all devices including mobile"},"viewports":{"mobile":{"x":106,"y":0,"width":640,"height":315},"desktop":{"x":16,"y":2,"width":820,"height":312}},"notes":"Profile photo overlaps the left ~170px on desktop. Keep key content right of center. Mobile crops to 640px wide centered."},{"id":"group_cover","label":"Group Cover","category":"Cover Images","width":1640,"height":856,"aspect":"205:107","format":"png","safe_area":{"x":220,"y":114,"width":1200,"height":628,"notes":"Visible on all devices; mobile crops significantly"},"viewports":{"mobile":{"x":220,"y":114,"width":1200,"height":628},"desktop":{"x":0,"y":0,"width":1640,"height":856}},"notes":"Mobile shows only the center ~1200x628 portion. Group name overlays the bottom on mobile. Design key visuals in the center-upper area."},{"id":"event_cover","label":"Event Cover","category":"Cover Images","width":1920,"height":1005,"aspect":"128:67","format":"png","safe_area":{"x":240,"y":188,"width":1440,"height":630,"notes":"Visible across desktop and mobile event pages"},"viewports":{"mobile":{"x":360,"y":188,"width":1200,"height":630},"desktop":{"x":0,"y":83,"width":1920,"height":840}},"notes":"Event title and date overlay the bottom on mobile. Keep critical visuals in the center. Desktop shows wider but crops top and bottom."},{"id":"feed_image","label":"Feed image","category":"Feed Posts","width":1080,"height":1350,"aspect":"4:5","format":"png"},{"id":"reel","label":"Reel","width":1080,"height":1920,"aspect":"9:16"},{"id":"story","label":"Story","category":"Stories","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":200,"width":1080,"height":1520},"viewports":{"with_ui":{"x":0,"y":200,"width":1080,"height":1520},"full":{"x":0,"y":0,"width":1080,"height":1920}},"notes":"Top 200px covered by profile name and timestamp. Bottom 200px covered by reply bar. Keep critical content in middle 80%."}]},{"id":"x","label":"X (Twitter)","role":"Voice channel: one-liners, meme moments, drop announcements.","formats":[{"name":"Image","aspect":"16:9 or 1:1","px":"1600x900 / 1080x1080","preferred":true},{"name":"Video","aspect":"16:9 or 1:1","px":"1280x720","max_duration":"2:20"}],"caption":{"max_chars":280,"hashtag_guidance":"0-1 hashtags; they read as spam here.","notes":"Short punchy brand-voice one-liners are the native format."},"promo_method_ids":["x_link_in_reply","x_bio_link","x_drop_thread"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":400,"height":400,"aspect":"1:1","format":"png","shape":"circle"},{"id":"header_image","label":"Header Image","category":"Header","width":1500,"height":500,"aspect":"3:1","format":"png","safe_area":{"x":150,"y":100,"width":1200,"height":300,"notes":"Visible on all devices; avoids profile photo overlap and mobile crop"},"viewports":{"mobile":{"x":0,"y":125,"width":1500,"height":250},"desktop":{"x":0,"y":0,"width":1500,"height":500}},"notes":"Profile picture (128px circle) overlaps bottom-left on desktop. Mobile crops to a narrow horizontal band (~250px tall) from center. Keep key content in center-right area."},{"id":"image_wide","label":"Image 16:9","category":"Post Images","width":1600,"height":900,"aspect":"16:9","format":"png"},{"id":"card_image","label":"Card Image","category":"Post Images","width":800,"height":418,"aspect":"400:209","format":"png"},{"id":"image_square","label":"Image square","width":1080,"height":1080,"aspect":"1:1"}]},{"id":"youtube","label":"YouTube","role":"Shorts for recycled 9:16 reach + long-form for search permanence and the deepest watch-time relationships.","formats":[{"name":"Short","aspect":"9:16","px":"1080x1920","max_duration":"3 min (60s sweet spot)","preferred":true},{"name":"Long-form video","aspect":"16:9","px":"1920x1080","max_duration":"12h upload cap; 8-15 min sweet spot","notes":"Search compounds for years; title+thumbnail decide the click."},{"name":"Thumbnail","aspect":"16:9","px":"1280x720","notes":"Custom thumbnails require a verified account; the single highest-leverage asset on the platform."}],"caption":{"max_chars":5000,"hashtag_guidance":"#shorts plus 1-2 niche tags; hashtags above the title on Shorts.","notes":"Video description cap is 5,000; Shorts lean on the title (100 chars). First 2-3 description lines show before the fold."},"promo_method_ids":["yt_pinned_comment","yt_description_link","yt_end_screen","yt_community_post"],"spec_slots":[{"id":"banner_main","label":"Channel Banner","category":"Channel Banners","width":2560,"height":1440,"aspect":"16:9","format":"png","safe_area":{"x":507,"y":508,"width":1546,"height":423,"notes":"Visible on all devices including mobile"},"viewports":{"mobile":{"x":507,"y":508,"width":1546,"height":423},"tablet":{"x":352,"y":508,"width":1855,"height":423},"desktop":{"x":0,"y":508,"width":2560,"height":423},"tv":{"x":0,"y":0,"width":2560,"height":1440}},"notes":"Design from center outward. 70%+ traffic is mobile — safe zone is critical. Bottom-right is covered by channel links on desktop."},{"id":"avatar_main","label":"Channel Avatar","category":"Profile","width":800,"height":800,"aspect":"1:1","format":"png","shape":"circle"},{"id":"thumbnail","label":"Thumbnail","category":"Thumbnail Templates","width":1280,"height":720,"aspect":"16:9","format":"png","notes":"Readable at 168px wide — big faces, 3-5 words max."},{"id":"thumb_style_b","label":"Thumbnail Style B","category":"Thumbnail Templates","width":1280,"height":720,"aspect":"16:9","format":"png"},{"id":"long_form","label":"Long-form video","width":1920,"height":1080,"aspect":"16:9"},{"id":"end_screen","label":"End Screen Template","category":"End Screens","width":1920,"height":1080,"aspect":"16:9","format":"png"},{"id":"watermark","label":"Video Watermark","category":"Branding Watermark","width":150,"height":150,"aspect":"1:1","format":"png"},{"id":"short","label":"Short","width":1080,"height":1920,"aspect":"9:16"}]},{"id":"snapchat","label":"Snapchat","role":"Young-audience reach via Stories + Spotlight; AR lenses as brand play.","formats":[{"name":"Story / Spotlight video","aspect":"9:16","px":"1080x1920","max_duration":"60s (Spotlight)","preferred":true},{"name":"Public profile story","aspect":"9:16","px":"1080x1920"}],"caption":{"max_chars":160,"hashtag_guidance":"Topic tags (#topics) on Spotlight aid discovery; 1-3 is plenty.","notes":"Spotlight description cap. On-screen text does the messaging work, not the caption."},"promo_method_ids":["snap_story_link","snap_spotlight","snap_ar_lens"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":320,"height":320,"aspect":"1:1","format":"png"},{"id":"story","label":"Story / Spotlight","width":1080,"height":1920,"aspect":"9:16","notes":"Keep text inside center ~80%; UI chrome overlays top and bottom."},{"id":"snap_ad","label":"Snap Ad","category":"Ad Creatives","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":96,"width":1080,"height":1536,"notes":"Avoids top status bar and bottom CTA / swipe-up area"},"viewports":{"with_cta":{"x":0,"y":96,"width":1080,"height":1536},"full_screen":{"x":0,"y":0,"width":1080,"height":1920}},"notes":"Bottom 15% is reserved for the CTA button and swipe-up prompt. Top 5% has status bar and Snapchat UI chrome. Place headline and key visuals in the center. Ensure CTA area has a clean background for button legibility."},{"id":"story_ad","label":"Story Ad","category":"Ad Creatives","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":96,"width":1080,"height":1536,"notes":"Avoids top status bar and bottom interaction area"},"notes":"Same safe zone as Snap Ads. Bottom has swipe-up / CTA overlay. Top has publisher name and Snapchat UI. Keep all text and CTAs within the center 70% of the frame."},{"id":"lens_icon","label":"Lens Icon","category":"Lens","width":320,"height":320,"aspect":"1:1","format":"png"}]},{"id":"linkedin","label":"LinkedIn","role":"B2B authority + professional-audience distribution; the document carousel is the native high-performer.","formats":[{"name":"Feed image","aspect":"1.91:1 or 1:1","px":"1200x627 / 1080x1080","preferred":true},{"name":"Document carousel (PDF)","aspect":"1:1 or 4:5","px":"1080x1080 pages","notes":"Upload a PDF; renders as a swipeable deck. The platform's best organic format for how-to/insight content."},{"name":"Video","aspect":"16:9 / 1:1 / 9:16","px":"1920x1080","max_duration":"15 min (under 2 min performs best)"},{"name":"Newsletter article","aspect":"-","px":"cover 1920x1080","notes":"Long-form with subscriber notifications."}],"caption":{"max_chars":3000,"hashtag_guidance":"3-5 professional tags; niche beats generic.","notes":"First ~200 chars show before 'see more' — front-load the insight."},"promo_method_ids":["li_document_post","li_link_in_comment","li_newsletter","li_company_page"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":400,"height":400,"aspect":"1:1","format":"png"},{"id":"banner","label":"Profile Banner","category":"Profile","width":1584,"height":396,"aspect":"4:1","format":"png","safe_area":{"x":117,"y":88,"width":1350,"height":220,"notes":"Visible on all devices; mobile crops top and bottom aggressively"},"viewports":{"mobile":{"x":117,"y":88,"width":1350,"height":220},"desktop":{"x":0,"y":0,"width":1584,"height":396}},"notes":"Mobile crops the top and bottom significantly, showing only a narrow horizontal band. Profile photo overlaps bottom-left on desktop. Keep text and logos in center."},{"id":"company_logo","label":"Company Logo","category":"Company Page","width":300,"height":300,"aspect":"1:1","format":"png"},{"id":"company_cover","label":"Company Cover","category":"Company Page","width":1128,"height":191,"aspect":"1128:191","format":"png","safe_area":{"x":64,"y":16,"width":1000,"height":160,"notes":"Tight safe zone — very little vertical room on any device"},"viewports":{"mobile":{"x":64,"y":16,"width":1000,"height":160},"desktop":{"x":0,"y":0,"width":1128,"height":191}},"notes":"Extremely narrow format. Company logo overlaps bottom-left on desktop. Use simple, horizontally-oriented graphics. Avoid text smaller than 24px — it will be unreadable on mobile."},{"id":"feed_image","label":"Feed image","category":"Content Images","width":1200,"height":627,"aspect":"400:209","format":"png"},{"id":"article_cover","label":"Article Cover","category":"Content Images","width":744,"height":400,"aspect":"93:50","format":"png","safe_area":{"x":72,"y":50,"width":600,"height":300},"notes":"Displayed at various sizes in feed. Title text overlays bottom third. Keep visual subject in upper two-thirds."},{"id":"document_page","label":"Document page","width":1080,"height":1080,"aspect":"1:1"},{"id":"newsletter_cover","label":"Newsletter cover","width":1920,"height":1080,"aspect":"16:9"}]},{"id":"threads","label":"Threads","role":"Conversational text reach inside the Meta graph; low-effort voice channel with Instagram cross-promotion.","formats":[{"name":"Text post","aspect":"-","px":"-","preferred":true},{"name":"Image","aspect":"1:1 or 4:5","px":"1080x1350"},{"name":"Video","aspect":"9:16 or 1:1","px":"1080x1920","max_duration":"5 min"}],"caption":{"max_chars":500,"hashtag_guidance":"One topic tag per post (Threads topics, not classic hashtags).","notes":"Conversational voice wins; threads (reply chains) extend past the cap."},"promo_method_ids":["th_post_link","th_reply_chain","th_ig_crosspost"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":320,"height":320,"aspect":"1:1","format":"png"},{"id":"image","label":"Image","category":"Feed Posts","width":1080,"height":1350,"aspect":"4:5","format":"png"},{"id":"video","label":"Video","width":1080,"height":1920,"aspect":"9:16"},{"id":"story","label":"Story","category":"Stories","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":200,"width":1080,"height":1520},"notes":"Top and bottom 200px covered by UI elements. Same safe zone as Instagram stories."}]},{"id":"reddit","label":"Reddit","role":"Community trust + high-intent niche audiences; the strictest self-promotion norms of any surface.","formats":[{"name":"Text post","aspect":"-","px":"-","preferred":true,"notes":"Title does 90% of the work (300-char cap)."},{"name":"Image / gallery","aspect":"any","px":"1200x1200+","notes":"Galleries up to 20 images."},{"name":"Video","aspect":"any","px":"1080x1920 or 1920x1080","max_duration":"15 min"},{"name":"Link post","aspect":"-","px":"-"}],"caption":{"max_chars":40000,"hashtag_guidance":"No hashtags — subreddit choice and post flair ARE the targeting.","notes":"Body cap 40,000; the 300-char TITLE decides everything. Write titles like a community member, not a marketer."},"promo_method_ids":["rd_community_participation","rd_owned_subreddit","rd_ama"],"spec_slots":[{"id":"community_icon","label":"Community Icon","category":"Community Identity","width":256,"height":256,"aspect":"1:1","format":"png"},{"id":"banner_desktop","label":"Desktop Banner","category":"Banners","width":4000,"height":192,"aspect":"125:6","format":"png","safe_area":{"x":800,"y":0,"width":2400,"height":192,"notes":"Center 60% — edges are hidden on smaller desktop viewports"},"viewports":{"wide_desktop":{"x":0,"y":0,"width":4000,"height":192},"standard_desktop":{"x":800,"y":0,"width":2400,"height":192},"small_desktop":{"x":1200,"y":0,"width":1600,"height":192}},"notes":"Extremely wide and narrow (20.8:1 aspect ratio). Most desktop users see only the center ~2400px. Community name and icon overlay the left side. Design a repeatable or center-focused pattern. Must coordinate visually with the separate mobile banner."},{"id":"banner_mobile","label":"Mobile Banner","category":"Banners","width":1600,"height":480,"aspect":"10:3","format":"png","safe_area":{"x":200,"y":60,"width":1200,"height":360,"notes":"Center area — community name overlays the bottom on mobile app"},"viewports":{"mobile_full":{"x":0,"y":0,"width":1600,"height":480},"mobile_with_overlay":{"x":200,"y":60,"width":1200,"height":360}},"notes":"Completely different aspect ratio from desktop banner (3.3:1 vs 20.8:1). Community name and subscriber count overlay the bottom. Design a companion piece to the desktop banner with the same branding but adapted for this much taller format."},{"id":"post_image","label":"Post Image","category":"Post Images","width":1200,"height":628,"aspect":"300:157","format":"png"},{"id":"image","label":"Image","width":1200,"height":1200,"aspect":"1:1"},{"id":"video","label":"Video","width":1920,"height":1080,"aspect":"16:9"}]},{"id":"tumblr","label":"Tumblr","role":"Niche-aesthetic community reach; tags drive discovery and reblogs compound for years.","formats":[{"name":"Photo / art post","aspect":"any (portrait favored)","px":"1280x1920","preferred":true,"notes":"Dashboard renders at 540px column width — design for that."},{"name":"Text post","aspect":"-","px":"-"},{"name":"GIF set","aspect":"any","px":"540px wide","notes":"GIFs under 10MB; the platform's native art form."}],"caption":{"max_chars":4096,"hashtag_guidance":"Up to 30 tags; ONLY the first 20 index in tag search. Tags are the entire discovery system — spend them deliberately.","notes":"Planning cap per text block; long-form is effectively unlimited. Casual lowercase register is the native voice."},"promo_method_ids":["tb_tag_strategy","tb_pinned_post","tb_reblog_chain"],"spec_slots":[{"id":"photo","label":"Photo post","width":1280,"height":1920,"aspect":"2:3"},{"id":"gif","label":"GIF","width":540,"height":540,"aspect":"1:1","notes":"Under 10MB."}]},{"id":"bluesky","label":"Bluesky","role":"Early-adopter/creative-community voice channel; links un-penalized, custom feeds are the native growth tool.","formats":[{"name":"Text post","aspect":"-","px":"-","preferred":true},{"name":"Image","aspect":"any","px":"1080x1350","notes":"Up to 4 images; alt text is community-expected."},{"name":"Video","aspect":"any","px":"1080x1920","max_duration":"60s"}],"caption":{"max_chars":300,"hashtag_guidance":"Hashtags exist but feeds matter more; 0-2.","notes":"Alt text on images is a strong community norm — write it."},"promo_method_ids":["bs_post_link","bs_custom_feed","bs_starter_pack"],"spec_slots":[{"id":"image","label":"Image","width":1080,"height":1350,"aspect":"4:5"}]},{"id":"mastodon","label":"Mastodon (Fediverse)","role":"Federated, algorithm-free reach to technical/independent communities; hashtags are the only discovery.","formats":[{"name":"Text post","aspect":"-","px":"-","preferred":true},{"name":"Image","aspect":"any","px":"1200x675","notes":"Up to 4 attachments; alt text strongly expected."},{"name":"Video/audio","aspect":"any","px":"1920x1080"}],"caption":{"max_chars":500,"hashtag_guidance":"Hashtags are the ENTIRE discovery mechanism (no algorithmic feed) — 2-5 relevant tags per post.","notes":"500 is the default cap; some instances raise it. Content-warning (CW) conventions matter for promotional content."},"promo_method_ids":["md_hashtag_discipline","md_profile_links","md_pinned_post"],"spec_slots":[{"id":"image","label":"Image","width":1200,"height":675,"aspect":"16:9"}]},{"id":"discord","label":"Discord","role":"Owned superfan community: announcements, events, and the tightest feedback loop you can run.","formats":[{"name":"Announcement message","aspect":"-","px":"-","preferred":true},{"name":"Embedded image","aspect":"16:9 or 1:1","px":"1920x1080"},{"name":"Event","aspect":"16:9 cover","px":"800x320"}],"caption":{"max_chars":2000,"hashtag_guidance":"No hashtags; channel structure is the organization.","notes":"2,000 chars per message (4,000 with Nitro); long announcements split into threads."},"promo_method_ids":["dc_announcement","dc_event","dc_role_gate"],"spec_slots":[{"id":"server_icon","label":"Server Icon","category":"Server Identity","width":512,"height":512,"aspect":"1:1","format":"png"},{"id":"server_banner","label":"Server Banner","category":"Server Identity","width":960,"height":540,"aspect":"16:9","format":"png","safe_area":{"x":80,"y":20,"width":800,"height":330,"notes":"Visible above channel list overlay and server name area"},"viewports":{"mobile":{"x":80,"y":20,"width":800,"height":330},"desktop":{"x":0,"y":0,"width":960,"height":380}},"notes":"Bottom portion is covered by the channel list and server name/boost status on desktop. On mobile, the banner shows in the server header with less height visible. Place key visuals in the upper-center area."},{"id":"embed_image","label":"Embed image","width":1920,"height":1080,"aspect":"16:9"},{"id":"invite_splash","label":"Invite Splash","category":"Server Identity","width":1920,"height":1080,"aspect":"16:9","format":"png","safe_area":{"x":310,"y":190,"width":1300,"height":700},"viewports":{"desktop":{"x":0,"y":0,"width":1920,"height":1080},"mobile":{"x":310,"y":190,"width":1300,"height":700}},"notes":"Center area covered by invite dialog on desktop. Design atmospheric edges — focal point should frame the invite card, not compete with it."},{"id":"role_icon","label":"Role Icon","category":"Role Icons","width":64,"height":64,"aspect":"1:1","format":"png"},{"id":"emoji","label":"Custom Emoji","category":"Custom Emojis","width":128,"height":128,"aspect":"1:1","format":"png"},{"id":"sticker","label":"Custom Sticker","category":"Stickers","width":320,"height":320,"aspect":"1:1","format":"png"},{"id":"event_cover","label":"Event cover","width":800,"height":320,"aspect":"2.5:1"}]},{"id":"telegram","label":"Telegram","role":"One-to-many broadcast channel with full-length links and the highest open rates outside email.","formats":[{"name":"Text post","aspect":"-","px":"-","preferred":true},{"name":"Image post","aspect":"any","px":"1280x1280"},{"name":"Video / GIF","aspect":"any","px":"1080x1920"}],"caption":{"max_chars":4096,"hashtag_guidance":"Hashtags work as in-channel search anchors only.","notes":"4,096 for text posts; media captions cap at 1,024 — put long copy in a text post after the media."},"promo_method_ids":["tg_channel_post","tg_pinned","tg_discussion_group"],"spec_slots":[{"id":"image","label":"Image","width":1280,"height":1280,"aspect":"1:1"}]},{"id":"whatsapp","label":"WhatsApp (Channels + Status)","role":"Highest-intimacy broadcast: Channels for one-to-many, Status for the inner circle; unbeatable open rates.","formats":[{"name":"Channel post","aspect":"-","px":"-","preferred":true},{"name":"Status (24h story)","aspect":"9:16","px":"1080x1920"},{"name":"Image post","aspect":"1:1","px":"1080x1080"}],"caption":{"max_chars":65536,"hashtag_guidance":"No hashtags; there is no search-discovery to feed.","notes":"Technical message cap is huge — keep posts to a few hundred chars; this is a chat surface."},"promo_method_ids":["wa_channel_post","wa_status","wa_catalog"],"spec_slots":[{"id":"status","label":"Status","width":1080,"height":1920,"aspect":"9:16"},{"id":"image","label":"Image post","width":1080,"height":1080,"aspect":"1:1"}]},{"id":"twitch","label":"Twitch","role":"Live process + community ritual; the stream is the event, clips are the distribution.","formats":[{"name":"Live stream","aspect":"16:9","px":"1920x1080","preferred":true},{"name":"Clip","aspect":"16:9","px":"1920x1080","max_duration":"60s","notes":"Cut vertical for Shorts/Reels/TikTok — the syndication engine."},{"name":"Offline banner / panels","aspect":"16:9 / 320px wide","px":"1920x1080 / 320x160"}],"caption":{"max_chars":140,"hashtag_guidance":"Category + tags in the dashboard are the discovery, not the title.","notes":"Stream title cap; front-load what is happening NOW."},"promo_method_ids":["tw_panels","tw_clips_syndication","tw_raid_network","tw_chat_command"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":256,"height":256,"aspect":"1:1","format":"png"},{"id":"banner","label":"Channel Banner","category":"Profile","width":1200,"height":480,"aspect":"5:2","format":"png","safe_area":{"x":150,"y":90,"width":900,"height":300,"notes":"Visible area avoiding video player overlap and mobile crop"},"viewports":{"mobile":{"x":150,"y":90,"width":900,"height":300},"desktop":{"x":0,"y":0,"width":1200,"height":480}},"notes":"Video player covers the center area when the channel is live. Profile picture overlaps bottom-left. Place branding in upper corners. Mobile shows a narrower center crop."},{"id":"offline_banner","label":"Offline banner","category":"Screens","width":1920,"height":1080,"aspect":"16:9","format":"png","safe_area":{"x":160,"y":90,"width":1600,"height":900},"viewports":{"desktop":{"x":0,"y":0,"width":1920,"height":1080},"with_chat":{"x":0,"y":0,"width":1560,"height":1080}},"notes":"Chat panel covers right 360px on desktop when open. Social links may overlay bottom. Keep CTA center-left."},{"id":"panel_320x300","label":"Info Panel","category":"Panels","width":320,"height":300,"aspect":"16:15","format":"png","notes":"max dimensions"},{"id":"emote_112","label":"Emote 112px","category":"Emotes","width":112,"height":112,"aspect":"1:1","format":"png"},{"id":"emote_56","label":"Emote 56px","category":"Emotes","width":56,"height":56,"aspect":"1:1","format":"png"},{"id":"emote_28","label":"Emote 28px","category":"Emotes","width":28,"height":28,"aspect":"1:1","format":"png"},{"id":"sub_badge","label":"Subscriber Badge","category":"Sub Badges","width":72,"height":72,"aspect":"1:1","format":"png","notes":"Displayed inline in chat at 18x18 to 72x72. Must be recognizable at 18px. Use simple shapes, high contrast, no text."},{"id":"panel","label":"Panel","width":320,"height":160,"aspect":"2:1"},{"id":"stream","label":"Stream","width":1920,"height":1080,"aspect":"16:9"}]},{"id":"vimeo","label":"Vimeo","role":"Polished video hosting for portfolio, client, and embed use — quality signal, not reach.","formats":[{"name":"Video","aspect":"16:9","px":"1920x1080 or 3840x2160","preferred":true},{"name":"Showcase page","aspect":"-","px":"-","notes":"Curated collections with custom branding."}],"caption":{"max_chars":5000,"hashtag_guidance":"Categories + a few tags help internal search slightly; treat as metadata, not discovery.","notes":"Planning cap — no meaningful enforced description limit. The audience arrives via YOUR links/embeds, not Vimeo search."},"promo_method_ids":["vm_embed","vm_showcase","vm_end_screen"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":300,"height":300,"aspect":"1:1","format":"png"},{"id":"video","label":"Video","width":1920,"height":1080,"aspect":"16:9"},{"id":"profile_cover","label":"Profile Cover","category":"Covers","width":1920,"height":1080,"aspect":"16:9","format":"png","safe_area":{"x":160,"y":90,"width":1600,"height":900},"notes":"Play button overlays center. Title text overlays bottom. Keep visual interest in upper portion and edges."},{"id":"portfolio_banner","label":"Portfolio Banner","category":"Covers","width":1280,"height":400,"aspect":"16:5","format":"png","safe_area":{"x":140,"y":50,"width":1000,"height":300},"notes":"Navigation may overlay top. Portfolio title overlays bottom. Keep branding centered in inner 78%."},{"id":"thumbnail","label":"Thumbnail","category":"Thumbnails","width":1280,"height":720,"aspect":"16:9","format":"png"}]},{"id":"podcast_rss","label":"Podcast (RSS)","role":"One RSS feed distributes everywhere (Apple, Spotify, YouTube Music, Overcast…); the deepest attention format there is.","formats":[{"name":"Audio episode","aspect":"-","px":"mp3/aac","preferred":true},{"name":"Cover art","aspect":"1:1","px":"3000x3000","notes":"Apple requires 1400-3000px square RGB."},{"name":"Audiogram clip","aspect":"9:16 or 1:1","px":"1080x1920","notes":"The social syndication asset for each episode."}],"caption":{"max_chars":4000,"hashtag_guidance":"No hashtags; episode titles are search queries — write them like answers.","notes":"Apple Podcasts description cap (4,000). Show notes with links render clickable in most apps."},"promo_method_ids":["pc_show_notes","pc_feed_swap","pc_trailer","pc_transcript_seo"],"spec_slots":[{"id":"cover_art","label":"Cover art","category":"Cover Art","width":3000,"height":3000,"aspect":"1:1","format":"png","safe_area":{"x":150,"y":150,"width":2700,"height":2400,"notes":"Avoids bottom 15% where Apple Podcasts playback UI overlays, plus small edge margins"},"viewports":{"apple_podcasts":{"x":0,"y":0,"width":3000,"height":2550},"spotify":{"x":0,"y":0,"width":3000,"height":3000},"small_thumbnail":{"x":300,"y":300,"width":2400,"height":2400}},"notes":"Bottom 15% is covered by playback UI on Apple Podcasts. Cover renders as small as 60x60px in some players — use large, bold text and high-contrast artwork. Keep podcast title in the upper two-thirds. Ensure legibility at all sizes."},{"id":"episode_art","label":"Episode Art","category":"Cover Art","width":3000,"height":3000,"aspect":"1:1","format":"png","safe_area":{"x":150,"y":150,"width":2700,"height":2400,"notes":"Same safe zone as cover art — bottom covered by playback UI"},"notes":"Same constraints as podcast cover art. Episode number and title should be in the top half. Apple Podcasts overlays playback controls on the bottom 15%."},{"id":"audiogram_square","label":"Audiogram Square","category":"Audiograms","width":1080,"height":1080,"aspect":"1:1","format":"png"},{"id":"audiogram","label":"Audiogram clip","category":"Audiograms","width":1080,"height":1920,"aspect":"9:16","format":"png","safe_area":{"x":0,"y":200,"width":1080,"height":1520},"viewports":{"instagram_story":{"x":0,"y":200,"width":1080,"height":1520},"full":{"x":0,"y":0,"width":1080,"height":1920}},"notes":"Vertical video format. Top 200px and bottom 200px covered by platform UI. Waveform animation typically placed in center."},{"id":"chapter_image","label":"Chapter Image","category":"Chapter Images","width":1400,"height":1400,"aspect":"1:1","format":"png"}]},{"id":"email_newsletter","label":"Email newsletter","role":"The strongest OWNED channel: no algorithm, portable list, direct monetization. Every rented channel should feed this one.","formats":[{"name":"HTML email","aspect":"600px wide layout","px":"hero 1200x600","preferred":true},{"name":"Plain-text email","aspect":"-","px":"-","notes":"Often out-converts designed HTML for personal-voice sends."}],"caption":{"max_chars":102000,"hashtag_guidance":"Subject line 30-50 chars; preview text ~90 chars — those two lines ARE the reach algorithm here.","notes":"Gmail clips messages over ~102KB of HTML — the one real technical cap."},"promo_method_ids":["em_broadcast","em_welcome_sequence","em_segment_send","em_referral"],"spec_slots":[{"id":"hero","label":"Hero image","width":1200,"height":600,"aspect":"2:1"},{"id":"inline","label":"Inline image","width":600,"height":600,"aspect":"1:1"}]},{"id":"substack","label":"Substack","role":"Newsletter + built-in discovery network (recommendations, Notes) + native paid subscriptions.","formats":[{"name":"Post (email + web)","aspect":"-","px":"cover 1456x1048","preferred":true},{"name":"Note (short post)","aspect":"-","px":"-","notes":"The in-network short-form feed."},{"name":"Podcast / video post","aspect":"16:9","px":"1920x1080"}],"caption":{"max_chars":102000,"hashtag_guidance":"No hashtags; section + recommendation graph drive discovery.","notes":"Planning cap (the email face inherits Gmail's ~102KB clip); web posts have no cap."},"promo_method_ids":["ss_recommendations","ss_notes","ss_paid_tier"],"spec_slots":[{"id":"logo","label":"Publication Logo","category":"Publication Branding","width":256,"height":256,"aspect":"1:1","format":"png"},{"id":"cover_1100x220","label":"Publication Cover","category":"Publication Branding","width":1100,"height":220,"aspect":"5:1","format":"png","safe_area":{"x":150,"y":20,"width":800,"height":180},"notes":"Very wide thin format. Publication name overlays below. Mobile may crop sides. Keep branding centered."},{"id":"post_hero","label":"Post Hero Image","category":"Post Images","width":1456,"height":816,"aspect":"91:51","format":"png","safe_area":{"x":128,"y":58,"width":1200,"height":700},"viewports":{"desktop":{"x":0,"y":0,"width":1456,"height":816},"mobile":{"x":128,"y":58,"width":1200,"height":700},"email":{"x":228,"y":108,"width":1000,"height":600}},"notes":"Appears differently in the web post, email newsletter, and social shares. Email version is most cropped. Keep subject centered."},{"id":"email_header","label":"Email Header","category":"Email","width":600,"height":200,"aspect":"3:1","format":"png","safe_area":{"x":50,"y":20,"width":500,"height":160},"notes":"Email clients may add padding or crop. Keep text minimal and centered. Some email clients block images by default."},{"id":"cover","label":"Post cover","width":1456,"height":1048,"aspect":"1.39:1"}]},{"id":"medium","label":"Medium","role":"Republishing + borrowed domain authority: canonical-safe syndication of owned essays to a reading network.","formats":[{"name":"Article","aspect":"-","px":"hero 1400x788","preferred":true}],"caption":{"max_chars":100000,"hashtag_guidance":"Up to 5 topic tags per story — they are the entire distribution.","notes":"Planning cap; no enforced article limit. Titles under ~60 chars survive search snippets."},"promo_method_ids":["md_canonical_import","md_publication","md_friend_link"],"spec_slots":[{"id":"hero","label":"Hero image","width":1400,"height":788,"aspect":"16:9"}]},{"id":"blog_seo","label":"Owned blog (SEO)","role":"The owned evergreen-search surface: content that compounds for years and feeds every other channel.","formats":[{"name":"Article","aspect":"-","px":"OG image 1200x630","preferred":true},{"name":"RSS feed","aspect":"-","px":"-","notes":"Free syndication to readers + a machine door for the rest of the stack."}],"caption":{"max_chars":100000,"hashtag_guidance":"No hashtags; search intent + internal linking are the distribution.","notes":"Planning cap. Meta title <=60 chars and meta description <=155 chars are the real constraints that matter."},"promo_method_ids":["blog_internal_links","blog_email_capture","blog_syndication"],"spec_slots":[{"id":"og_image","label":"OG/share image","width":1200,"height":630,"aspect":"1.91:1"},{"id":"inline","label":"Inline image","width":1600,"height":900,"aspect":"16:9"}]},{"id":"google_business","label":"Google Business Profile","role":"Local search + Maps surface: posts, offers, and products directly on your business listing.","formats":[{"name":"Update post","aspect":"4:3","px":"1200x900","preferred":true},{"name":"Offer post","aspect":"4:3","px":"1200x900","notes":"Carries start/end dates + coupon fields."},{"name":"Product entry","aspect":"1:1","px":"1200x1200"}],"caption":{"max_chars":1500,"hashtag_guidance":"No hashtags; keywords in the post body index for local queries.","notes":"Posts expire from prominence after ~7 days — cadence matters."},"promo_method_ids":["gb_update_post","gb_offer_post","gb_product_catalog"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":720,"height":720,"aspect":"1:1","format":"png"},{"id":"logo","label":"Business Logo","category":"Profile","width":250,"height":250,"aspect":"1:1","format":"png"},{"id":"cover_photo","label":"Cover Photo","category":"Cover","width":1024,"height":576,"aspect":"16:9","format":"png","safe_area":{"x":112,"y":88,"width":800,"height":400},"viewports":{"desktop":{"x":0,"y":0,"width":1024,"height":576},"mobile":{"x":112,"y":88,"width":800,"height":400},"maps":{"x":162,"y":138,"width":700,"height":300}},"notes":"Appears in Google Maps, Search, and mobile app with different crops. Center your subject. Business name overlays bottom on mobile."},{"id":"post_image","label":"Post image","category":"Post Images","width":1200,"height":900,"aspect":"4:3","format":"png"},{"id":"product","label":"Product image","width":1200,"height":1200,"aspect":"1:1"}]},{"id":"nextdoor","label":"Nextdoor","role":"Neighborhood-level local reach; trust-heavy, radius-bound, ideal for local services and events.","formats":[{"name":"Post","aspect":"any","px":"1200x900","preferred":true},{"name":"Event","aspect":"16:9 cover","px":"1200x675"}],"caption":{"max_chars":1200,"hashtag_guidance":"No hashtags; neighborhood selection is the targeting.","notes":"Planning cap — write short and neighborly; long promotional posts get reported."},"promo_method_ids":["nd_business_post","nd_event","nd_recommendation"],"spec_slots":[{"id":"post_image","label":"Post image","width":1200,"height":900,"aspect":"4:3"}]},{"id":"patreon","label":"Patreon","role":"Membership monetization for superfans: tiers, early access, and members-only feed.","formats":[{"name":"Member post","aspect":"-","px":"header 1600x400","preferred":true},{"name":"Media post (image/video/audio)","aspect":"any","px":"1920x1080"}],"caption":{"max_chars":50000,"hashtag_guidance":"No hashtags; tiers are the segmentation.","notes":"Planning cap — no meaningful enforced limit on post bodies."},"promo_method_ids":["pt_early_access","pt_bts","pt_discord_sync"],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":256,"height":256,"aspect":"1:1","format":"png"},{"id":"header","label":"Page header","category":"Profile","width":1600,"height":400,"aspect":"4:1","format":"png","safe_area":{"x":200,"y":50,"width":1200,"height":300,"notes":"Avoids profile photo overlap on left and mobile crop from edges"},"viewports":{"mobile":{"x":200,"y":50,"width":1200,"height":300},"desktop":{"x":0,"y":0,"width":1600,"height":400}},"notes":"Profile photo overlaps the left side on desktop. Mobile crops the sides. Place key branding and text in the center-right area. The narrow format limits vertical space — use horizontally-oriented designs."},{"id":"tier_image","label":"Tier Image","category":"Tier Images","width":270,"height":270,"aspect":"1:1","format":"png"},{"id":"post_image","label":"Post image","width":1920,"height":1080,"aspect":"16:9"},{"id":"about_image","label":"About Image","category":"About Section","width":1920,"height":1080,"aspect":"16:9","format":"png"}]},{"id":"behance","label":"Behance","role":"Design-portfolio network with curated-gallery reach and Adobe ecosystem placement.","formats":[{"name":"Project (case study)","aspect":"vertical scroll","px":"1400px wide modules","preferred":true},{"name":"Project cover","aspect":"4:3","px":"808x632"}],"caption":{"max_chars":10000,"hashtag_guidance":"Creative fields + tools + up to 10 tags — curators browse by field.","notes":"Planning cap for the project description; the modules carry the story."},"promo_method_ids":["be_case_study","be_field_tags","be_hire_toggle"],"spec_slots":[{"id":"cover","label":"Project cover","width":808,"height":632,"aspect":"4:3"},{"id":"module","label":"Project module","width":1400,"height":1050,"aspect":"4:3"}]},{"id":"dribbble","label":"Dribbble","role":"Design-community shots: quick visual reach among designers and the clients who browse them.","formats":[{"name":"Shot","aspect":"4:3","px":"1600x1200 (or 2800x2100 retina)","preferred":true},{"name":"Video shot","aspect":"4:3","px":"1600x1200","max_duration":"24s"}],"caption":{"max_chars":10000,"hashtag_guidance":"Up to 20 tags; the first few carry search weight.","notes":"Planning cap; shot descriptions are conventionally short."},"promo_method_ids":["dr_shot","dr_hire_status"],"spec_slots":[{"id":"shot","label":"Shot","width":1600,"height":1200,"aspect":"4:3"}]},{"id":"artstation","label":"ArtStation","role":"The portfolio standard for entertainment/concept art; industry recruiters browse it daily.","formats":[{"name":"Project","aspect":"any","px":"1920px wide","preferred":true},{"name":"Marketplace product","aspect":"-","px":"-","notes":"Brushes, tutorials, 3D assets sold natively."}],"caption":{"max_chars":10000,"hashtag_guidance":"Medium + subject-matter tags; recruiters filter by them.","notes":"Planning cap for project descriptions."},"promo_method_ids":["as_project","as_marketplace","as_prints"],"spec_slots":[{"id":"project_image","label":"Project image","width":1920,"height":1080,"aspect":"16:9"},{"id":"cover","label":"Project cover","width":600,"height":600,"aspect":"1:1"}]},{"id":"douyin","label":"Douyin (抖音)","role":"China's TikTok — a separate app, audience, and commerce stack; the door to mainland short-video reach.","formats":[{"name":"Video","aspect":"9:16","px":"1080x1920","max_duration":"15 min (15-60s sweet spot)","preferred":true}],"caption":{"max_chars":1000,"hashtag_guidance":"Topic tags (#话题) drive discovery; 2-4 relevant ones.","notes":"Planning cap. Content must be in Chinese and comply with mainland content regulations."},"promo_method_ids":["dy_shop_card","dy_live_commerce"],"spec_slots":[{"id":"video","label":"Video","width":1080,"height":1920,"aspect":"9:16"}]},{"id":"xiaohongshu","label":"Xiaohongshu / RED (小红书)","role":"China's lifestyle discovery + social-commerce platform; notes (posts) function like searchable product reviews.","formats":[{"name":"Image note","aspect":"3:4","px":"1242x1656","preferred":true,"notes":"The first image is the cover — text-overlay covers dominate."},{"name":"Video note","aspect":"9:16 or 3:4","px":"1080x1920","max_duration":"15 min"}],"caption":{"max_chars":1000,"hashtag_guidance":"Topic tags matter; titles cap at 20 chars and carry the search weight.","notes":"Body cap 1,000 chars; the 20-char title is the real headline constraint."},"promo_method_ids":["xhs_product_note","xhs_koc_seeding"],"spec_slots":[{"id":"note_cover","label":"Note cover","width":1242,"height":1656,"aspect":"3:4"}]},{"id":"wechat_channels","label":"WeChat Channels (视频号)","role":"Short video inside China's super-app; the bridge between content and WeChat's private-traffic ecosystem.","formats":[{"name":"Video","aspect":"9:16 or 1:1","px":"1080x1920","max_duration":"30 min (under 60s favored)","preferred":true}],"caption":{"max_chars":1000,"hashtag_guidance":"Topic tags aid discovery; location tags help local reach.","notes":"Planning cap. Distribution is heavily social-graph driven (shares into chats and Moments)."},"promo_method_ids":["wc_oa_link","wc_miniprogram","wc_live"],"spec_slots":[{"id":"video","label":"Video","width":1080,"height":1920,"aspect":"9:16"}]},{"id":"music_dsps","label":"Music DSPs (Spotify / Apple Music …)","role":"Streaming distribution for audio releases via a distributor; playlists and algorithmic radio are the reach.","formats":[{"name":"Track / release","aspect":"-","px":"WAV masters","preferred":true},{"name":"Cover art","aspect":"1:1","px":"3000x3000"},{"name":"Spotify Canvas","aspect":"9:16","px":"1080x1920","max_duration":"3-8s loop"}],"caption":{"max_chars":1500,"hashtag_guidance":"No hashtags; metadata (genre, mood, credits) is the discovery input.","notes":"Planning cap for release descriptions/bios across DSP profiles."},"promo_method_ids":["dsp_presave","dsp_playlist_pitch","dsp_canvas"],"spec_slots":[{"id":"profile_photo","label":"Artist Profile Photo","category":"Profile","width":750,"height":750,"aspect":"1:1","format":"png"},{"id":"header_image","label":"Artist Header","category":"Profile","width":2660,"height":1140,"aspect":"7:3","format":"png","safe_area":{"x":830,"y":370,"width":1000,"height":400,"notes":"Visible on mobile — heavily cropped to center region"},"viewports":{"mobile":{"x":830,"y":370,"width":1000,"height":400},"tablet":{"x":530,"y":270,"width":1600,"height":600},"desktop":{"x":0,"y":0,"width":2660,"height":1140}},"notes":"Mobile crops extremely aggressively — only the center ~1000x400 is visible. Artist name overlays the bottom-left. Play/shuffle buttons overlay the bottom. Design the focal point dead center. Desktop shows the full image as a background."},{"id":"canvas_loop","label":"Canvas Loop","category":"Canvas Loops","width":720,"height":720,"aspect":"1:1","format":"png","notes":"vertical video spec as image"},{"id":"playlist_cover","label":"Playlist Cover","category":"Playlist Covers","width":640,"height":640,"aspect":"1:1","format":"png","safe_area":{"x":80,"y":80,"width":480,"height":480},"notes":"Displayed at various sizes down to 60x60. Keep design simple and centered in inner 75%. Text unreadable at small sizes."},{"id":"cover_art","label":"Cover art","width":3000,"height":3000,"aspect":"1:1"},{"id":"canvas","label":"Spotify Canvas","width":1080,"height":1920,"aspect":"9:16"}]},{"id":"sms_broadcast","label":"SMS / text broadcast","role":"The most immediate owned channel: 90%+ open rates within minutes; reserved for moments that deserve it.","formats":[{"name":"SMS","aspect":"-","px":"-","preferred":true,"notes":"160 chars per segment (GSM-7); longer messages send as multiple billed segments."},{"name":"MMS","aspect":"any","px":"1080x1080","notes":"Image + up to ~1600 chars, higher per-send cost."}],"caption":{"max_chars":160,"hashtag_guidance":"No hashtags; a short link + one clear CTA.","notes":"Per-segment cap — one segment is the discipline, not just the limit."},"promo_method_ids":["sms_drop_alert","sms_keyword_optin","sms_vip_segment"],"spec_slots":[{"id":"mms_image","label":"MMS image","width":1080,"height":1080,"aspect":"1:1"}]},{"id":"amazon_seller","label":"Amazon Seller","role":"Marketplace storefront: brand store + listing imagery.","formats":[{"name":"Brand Logo","aspect":"10:3","px":"600x180"},{"name":"Brand Story Image","aspect":"10:3","px":"600x180"},{"name":"Storefront Hero","aspect":"5:1","px":"3000x600"},{"name":"Product Main Image","aspect":"1:1","px":"2000x2000"},{"name":"A+ Content Module","aspect":"97:60","px":"970x600"}],"caption":{"max_chars":75,"notes":"Title hard cap in every category except media (200) since 2026-07-27; Item Highlights adds 125 searchable chars below the title."},"promo_method_ids":[],"spec_slots":[{"id":"brand_logo","label":"Brand Logo","category":"Brand Identity","width":600,"height":180,"aspect":"10:3","format":"png"},{"id":"brand_story","label":"Brand Story Image","category":"Brand Identity","width":600,"height":180,"aspect":"10:3","format":"png","safe_area":{"x":50,"y":20,"width":500,"height":140},"notes":"Small format — keep text minimal and centered. May display at various widths depending on browser."},{"id":"storefront_hero","label":"Storefront Hero","category":"Storefront","width":3000,"height":600,"aspect":"5:1","format":"png","safe_area":{"x":500,"y":50,"width":2000,"height":500},"viewports":{"desktop":{"x":0,"y":0,"width":3000,"height":600},"mobile":{"x":500,"y":50,"width":2000,"height":500}},"notes":"Mobile crops significantly. Keep text and logos in center 2000px. Left edge may be covered by store branding on desktop."},{"id":"product_main","label":"Product Main Image","category":"Product Images","width":2000,"height":2000,"aspect":"1:1","format":"png"},{"id":"a_plus_content","label":"A+ Content Module","category":"A+ Content","width":970,"height":600,"aspect":"97:60","format":"png"}]},{"id":"etsy","label":"Etsy","role":"Handmade/POD marketplace: shop identity + listing photos.","formats":[{"name":"Shop Icon","aspect":"1:1","px":"500x500"},{"name":"Shop Banner","aspect":"38:5","px":"760x100"},{"name":"Listing Photo","aspect":"1:1","px":"2000x2000"},{"name":"About Photo","aspect":"1:1","px":"400x400"}],"caption":{"max_chars":140,"notes":"Listing TITLE hard cap; only the first ~40-55 chars show in most search cards — front-load. Descriptions are long-form."},"promo_method_ids":[],"spec_slots":[{"id":"shop_icon","label":"Shop Icon","category":"Shop Branding","width":500,"height":500,"aspect":"1:1","format":"png"},{"id":"shop_banner","label":"Shop Banner","category":"Shop Branding","width":760,"height":100,"aspect":"38:5","format":"png","safe_area":{"x":80,"y":10,"width":600,"height":80},"notes":"Extremely thin format. Mobile may crop sides. Keep all text in center 600px. Shop name overlays left side. minimum dimensions"},{"id":"listing_photo","label":"Listing Photo","category":"Listing Photos","width":2000,"height":2000,"aspect":"1:1","format":"png"},{"id":"about_photo","label":"About Photo","category":"About Section","width":400,"height":400,"aspect":"1:1","format":"png"}]},{"id":"github","label":"GitHub","role":"Developer presence: org/repo identity + social preview.","formats":[{"name":"Profile Avatar","aspect":"1:1","px":"500x500"},{"name":"Organization Logo","aspect":"1:1","px":"500x500"},{"name":"Social Preview Image","aspect":"2:1","px":"1280x640"},{"name":"README Badge","aspect":"5:1","px":"100x20"}],"caption":{"max_chars":255,"notes":"Repository description hard cap (exceeding clears on save); the README is unlimited long-form."},"promo_method_ids":[],"spec_slots":[{"id":"profile_avatar","label":"Profile Avatar","category":"Profile & Organization","width":500,"height":500,"aspect":"1:1","format":"png"},{"id":"org_logo","label":"Organization Logo","category":"Profile & Organization","width":500,"height":500,"aspect":"1:1","format":"png"},{"id":"social_preview","label":"Social Preview Image","category":"Social Preview","width":1280,"height":640,"aspect":"2:1","format":"png"},{"id":"readme_badge","label":"README Badge","category":"README Badges","width":100,"height":20,"aspect":"5:1","format":"svg","notes":"Tiny inline badge. Use high contrast. No safe zone needed — displayed at exact size."}]},{"id":"kick","label":"Kick","role":"Live-streaming surface: channel identity + stream assets.","formats":[{"name":"Profile Photo","aspect":"1:1","px":"256x256"},{"name":"Channel Banner","aspect":"4:1","px":"1920x480"},{"name":"Offline Screen","aspect":"16:9","px":"1920x1080"},{"name":"Info Panel","aspect":"16:15","px":"320x300"}],"caption":{"max_chars":60,"notes":"PLANNING cap — Kick documents no hard stream-title limit; 40-60 chars is the Browse-page sweet spot."},"promo_method_ids":[],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":256,"height":256,"aspect":"1:1","format":"png"},{"id":"channel_banner","label":"Channel Banner","category":"Banner","width":1920,"height":480,"aspect":"4:1","format":"png","safe_area":{"x":240,"y":90,"width":1440,"height":300,"notes":"Center area visible when not live — video player covers center when streaming"},"viewports":{"offline":{"x":0,"y":0,"width":1920,"height":480},"live":{"x":240,"y":90,"width":1440,"height":300},"mobile":{"x":360,"y":90,"width":1200,"height":300}},"notes":"When the channel is live, the video player covers the center area and the banner shows as a background behind the player frame. Place branding in the top corners and edges. Mobile crops the sides. The banner is most impactful when the channel is offline."},{"id":"offline_screen","label":"Offline Screen","category":"Screens","width":1920,"height":1080,"aspect":"16:9","format":"png","safe_area":{"x":160,"y":90,"width":1600,"height":900},"notes":"Overlays may cover edges. Chat panel covers right side on desktop. Keep focal point center-left."},{"id":"panel","label":"Info Panel","category":"Panels","width":320,"height":300,"aspect":"16:15","format":"png"}]},{"id":"rumble","label":"Rumble","role":"Video platform: channel identity + thumbnails.","formats":[{"name":"Profile Photo","aspect":"1:1","px":"400x400"},{"name":"Channel Banner","aspect":"16:9","px":"2560x1440"},{"name":"Video Thumbnail","aspect":"16:9","px":"1280x720"}],"caption":{"max_chars":100,"notes":"Video title cap; ~70 chars show in search — front-load."},"promo_method_ids":[],"spec_slots":[{"id":"profile_photo","label":"Profile Photo","category":"Profile","width":400,"height":400,"aspect":"1:1","format":"png"},{"id":"channel_banner","label":"Channel Banner","category":"Banner","width":2560,"height":1440,"aspect":"16:9","format":"png","safe_area":{"x":480,"y":460,"width":1600,"height":520},"viewports":{"desktop":{"x":0,"y":460,"width":2560,"height":520},"mobile":{"x":480,"y":460,"width":1600,"height":520}},"notes":"Similar to YouTube banner. Mobile shows only center strip. TV shows full image. Design from center outward."},{"id":"thumbnail","label":"Video Thumbnail","category":"Thumbnails","width":1280,"height":720,"aspect":"16:9","format":"png"}]},{"id":"shopify","label":"Shopify","role":"Owned storefront: theme/brand imagery + product media.","formats":[{"name":"Store Logo","aspect":"1:1","px":"100x100"},{"name":"Hero Image","aspect":"16:9","px":"1280x720"},{"name":"Product Photo","aspect":"1:1","px":"2048x2048"},{"name":"Collection Image","aspect":"1:1","px":"1024x1024"},{"name":"Social Share Image","aspect":"300:157","px":"1200x628"}],"caption":{"max_chars":70,"notes":"PLANNING cap — Shopify imposes no title limit; ~60-70 chars is the Google display budget."},"promo_method_ids":[],"spec_slots":[{"id":"logo","label":"Store Logo","category":"Store Branding","width":100,"height":100,"aspect":"1:1","format":"png"},{"id":"hero_image","label":"Hero Image","category":"Store Branding","width":1280,"height":720,"aspect":"16:9","format":"png","safe_area":{"x":140,"y":60,"width":1000,"height":600},"viewports":{"desktop":{"x":0,"y":0,"width":1280,"height":720},"mobile":{"x":140,"y":60,"width":1000,"height":600}},"notes":"Text overlay position varies by theme. Keep product/subject centered. Mobile crops sides significantly."},{"id":"product_photo","label":"Product Photo","category":"Product Images","width":2048,"height":2048,"aspect":"1:1","format":"png"},{"id":"collection_image","label":"Collection Image","category":"Product Images","width":1024,"height":1024,"aspect":"1:1","format":"png"},{"id":"social_share_image","label":"Social Share Image","category":"Social Sharing","width":1200,"height":628,"aspect":"300:157","format":"png"}]}]},"operation_types":{"version":"1.0","stages":["brief","plan","gather","produce","ship","measure"],"item_statuses":["draft","in_review","approved","shipped","done","dismissed"],"legal_transitions":{"draft":["in_review","dismissed"],"in_review":["approved","draft","dismissed"],"approved":["shipped","in_review"],"shipped":["done"],"done":[],"dismissed":["draft"]},"types":[{"id":"merch_drop","label":"Merch drop","summary":"A product release: design candidates -> approved line -> listings -> coordinated posts -> revenue vs goal.","item_kinds":["design","product","listing","post","asset"],"checklists":{"brief":["Name the drop concept + audience","Set the revenue/unit goal","Pick channels + scope (single product / line / brand)"],"plan":["Strategy plan per channel (playbook-grounded)","Date the posts across the drop window","Reserve promo methods the tenant has actually wired"],"gather":["Collect approved designs/assets into the operation","Verify every shipping asset is approved (gate)"],"produce":["Generate missing visuals against briefs","Write channel-fit copy (caption limits honored)","Compile listings"],"ship":["Publish listings","Hand off post kits per channel","Pin/tag per channel linking rules"],"measure":["Join revenue to the operation","Compare vs goal","Record what worked (taste feedback)"]},"goal_presets":[{"id":"drop_revenue","label":"Drop revenue","unit":"usd_minor"},{"id":"units_sold","label":"Units sold","unit":"count"}]},{"id":"event","label":"Event","summary":"A dated moment (launch night, show, appearance): announce -> build up -> live coverage -> recap.","item_kinds":["post","asset","task","milestone"],"checklists":{"brief":["Name the event + date + venue/surface","Define the success measure (attendance, signups, sales)"],"plan":["Announcement -> countdown -> day-of -> recap cadence","Channel mix per playbook roles"],"gather":["Collect approved announcement/recap assets"],"produce":["Produce countdown + day-of creative","Draft live-coverage shot list"],"ship":["Publish on the dated schedule","Day-of live surfaces (stories, threads)"],"measure":["Attendance/derived metric vs goal","Recap performance"]},"goal_presets":[{"id":"attendance","label":"Attendance","unit":"count"},{"id":"signups","label":"Signups","unit":"count"}]},{"id":"tour","label":"Tour","summary":"A sequence of dated events sharing one identity: per-stop operations under one umbrella brief.","item_kinds":["milestone","post","asset","task","product"],"checklists":{"brief":["Route + dates + the tour identity","Per-stop and whole-tour goals"],"plan":["Per-stop sub-plans off one template","Merch tie-ins per stop"],"gather":["Tour-wide identity assets approved once, reused per stop"],"produce":["Stop-localized variants of the identity creative"],"ship":["Rolling per-stop announcement/recap cycle"],"measure":["Per-stop and cumulative results vs goals"]},"goal_presets":[{"id":"tour_revenue","label":"Tour revenue","unit":"usd_minor"},{"id":"stops_completed","label":"Stops completed","unit":"count"}]},{"id":"project","label":"Project","summary":"A general deliverable-driven effort: milestones, tasks, and a definition of done.","item_kinds":["milestone","task","asset","document"],"checklists":{"brief":["State the deliverable + definition of done","Deadline + owner"],"plan":["Break into milestones with dates"],"gather":["Collect inputs/references into the operation"],"produce":["Execute tasks; attach outputs as items"],"ship":["Deliver; mark milestones shipped"],"measure":["Done vs definition; retrospective note"]},"goal_presets":[{"id":"milestones_done","label":"Milestones done","unit":"count"}]},{"id":"social_campaign","label":"Social campaign","summary":"A themed posting push across channels: dated plan -> approved visuals -> kits -> engagement vs goal.","item_kinds":["post","asset","task"],"checklists":{"brief":["Theme + audience + window","Channel mix + scope guide (single product / line / brand)"],"plan":["Dated posts with hooks + visual briefs per channel","Honor caption limits + linking rules from the registry"],"gather":["Attach approved assets to each planned post (gate)"],"produce":["Generate visuals for unmatched briefs","Write final copy per channel"],"ship":["Hand off kits in date order"],"measure":["Engagement/traffic vs goal","Feed taste feedback into the next plan"]},"goal_presets":[{"id":"posts_shipped","label":"Posts shipped","unit":"count"},{"id":"traffic","label":"Link traffic","unit":"count"}]},{"id":"rewards","label":"Rewards / community","summary":"An ongoing recognition loop: criteria -> earned rewards -> fulfillment -> participation health.","item_kinds":["task","asset","post","milestone"],"checklists":{"brief":["Define the earning criteria + reward catalog"],"plan":["Cadence for recognition moments"],"gather":["Approved reward creative/certificates"],"produce":["Personalized reward assets"],"ship":["Deliver rewards; announce where appropriate"],"measure":["Participation + repeat-engagement health"]},"goal_presets":[{"id":"rewards_fulfilled","label":"Rewards fulfilled","unit":"count"}]}]},"editorial_overlays":{"version":"1.0","block_order":["subject","moment","framing","world","palette","capture","discipline","look","correction"],"looks":[{"id":"signature","label":"Signature (brand profile)","signature":true,"notes":"Uses the tenant brand profile's world + palette unchanged. Deliberately NO directive: the default must style, never override (factory lesson — a highest-priority default directive steamrolled user scene text)."},{"id":"realistic","label":"Clean & realistic","world":"the scene rendered as a real, believable place — natural materials, everyday detail, nothing stylized; no themed signage or synthetic set-dressing","palette":"natural true-to-life color; honest whites, faithful skin tones, realistic shadows","directive":"CLEAN, CLEAR, PHOTOREALISTIC commercial photography — true-to-life color and natural lighting, sharp and believable. This is a real photograph, NOT a stylized image.","drop_brand_world":true},{"id":"natural_daylight","label":"Bright natural daylight","world":"the scene on a bright clear day — brilliant natural sunlight, deep blue sky, crisp believable detail","palette":"clean, bright, true-to-life daylight color; crisp whites, natural sky blues, honest tones","directive":"Bright, clean, photorealistic daylight photograph — crisp natural sun, realistic color, no stylization.","drop_brand_world":true},{"id":"golden_hour","label":"Golden hour (warm, cinematic)","world":"the scene at golden hour — warm low sun raking across surfaces, long soft shadows, glowing horizon; cinematic but entirely natural","palette":"warm golden-hour color; amber sunlight, soft peach highlights, long cool shadows, natural and filmic","directive":"Cinematic but PHOTOREALISTIC golden-hour photograph — warm natural light, no artificial gels.","drop_brand_world":true},{"id":"overcast_doc","label":"Overcast documentary","world":"the scene under soft flat overcast light — muted natural tones, gentle diffuse shadows, honest documentary mood","palette":"muted, natural, slightly desaturated documentary color; soft greys and true whites, no color gels","directive":"Honest DOCUMENTARY photograph in soft overcast light — realistic, understated, no stylization.","drop_brand_world":true},{"id":"film_35mm","label":"35mm film (natural grain)","world":"the scene shot on 35mm film — natural light, believable setting, subtle organic film grain and gentle halation","palette":"natural filmic color, slightly warm, gentle grain, soft filmic contrast","directive":"Shot on real 35mm film — photorealistic, natural filmic color and grain, no digital stylization.","drop_brand_world":true}],"framings":[{"id":"as_selected","label":"As selected (caller decides)"},{"id":"front_hero","label":"Front hero (facing camera)","prompt":"The subject faces the camera squarely, fully visible and centered in the frame."},{"id":"back_view","label":"Back view — from behind","prompt":"SHOOT FROM BEHIND: the subject is turned AWAY from the camera, facing into the scene, photographed from the back; the face is not visible. Do NOT rotate the subject toward the lens.","faceless":true},{"id":"three_quarter","label":"Three-quarter angle","prompt":"A dynamic 3/4 angle on the subject — turned partway so the form reads with depth and dimension."},{"id":"over_shoulder","label":"Over-the-shoulder","prompt":"An over-the-shoulder framing from behind and slightly to the side: the subject looks off into the scene so the face is mostly turned away.","faceless":true},{"id":"detail_focus","label":"Detail focus (close product/subject)","prompt":"PRODUCT-FOCUS composition with the camera moved in CLOSE: the key subject detail dominates the frame; surrounding context is secondary. The tight crop comes from a NEAR camera, not from cropping a distant figure.","faceless":true},{"id":"macro_detail","label":"Macro detail (texture)","prompt":"A macro-tight detail shot, camera inches from the surface: texture, material and fine detail crisp and edge-to-edge — like a product-detail photo, not a portrait.","faceless":true},{"id":"full_wide","label":"Full wide (whole scene)","prompt":"A full wide framing showing the entire subject with generous environment around it."}],"capture":{"lenses":[{"id":"ultrawide_16","label":"16mm ultra-wide","prompt":"a 16mm ultra-wide lens — expansive field with a touch of edge distortion and deep focus"},{"id":"wide_24","label":"24mm wide","prompt":"a 24mm wide lens — environmental framing with deep depth of field"},{"id":"street_35","label":"35mm street","prompt":"a 35mm lens — natural reportage field of view"},{"id":"normal_50","label":"50mm normal","prompt":"a 50mm lens — true-to-eye perspective, gentle subject separation"},{"id":"portrait_85","label":"85mm portrait","prompt":"an 85mm portrait lens — flattering compression and a creamy shallow depth of field"},{"id":"tele_135","label":"135mm telephoto","prompt":"a 135mm telephoto — strong compression that isolates the subject from a soft background"},{"id":"tele_200","label":"200mm long-lens","prompt":"a 200mm long-lens — heavy compression, tightly flattened background, documentary distance"},{"id":"macro_100","label":"100mm macro","prompt":"a 100mm macro lens — extreme close focus resolving fine texture"},{"id":"fisheye_8","label":"8mm fisheye","prompt":"an 8mm circular fisheye — extreme curvature and an action-sports POV feel"}],"bodies":[{"id":"canon_r5","label":"Canon EOS R5 (modern)","prompt":"a Canon EOS R5 full-frame body — clean, crisp, high-resolution digital"},{"id":"sony_a7","label":"Sony A7 (mirrorless)","prompt":"a Sony A7-series mirrorless body — sharp, neutral, high dynamic range"},{"id":"leica_m","label":"Leica M (rangefinder)","prompt":"a Leica M rangefinder — characterful micro-contrast and organic rendering"},{"id":"hasselblad","label":"Hasselblad (medium format)","prompt":"a Hasselblad medium-format camera — ultra-high resolution and unmistakable medium-format depth and clarity"},{"id":"arri_alexa","label":"ARRI Alexa (cinema)","prompt":"an ARRI Alexa cinema camera — filmic latitude, gentle highlight roll-off, motion-picture look"},{"id":"gopro","label":"GoPro (action cam)","prompt":"a GoPro action camera — wide, punchy, high-contrast first-person capture"},{"id":"smartphone","label":"Smartphone","prompt":"a modern flagship smartphone camera — clean, bright, computational-photography look"},{"id":"disposable","label":"Disposable point-and-shoot","prompt":"a cheap disposable point-and-shoot with on-camera flash — snapshot aesthetic, hard flash falloff"}],"films":[{"id":"portra_400","label":"Kodak Portra 400","prompt":"Kodak Portra 400 film emulation — soft warm skin tones, fine natural grain, gentle contrast"},{"id":"gold_200","label":"Kodak Gold 200","prompt":"Kodak Gold 200 film — nostalgic warm cast, mild grain, everyday-snapshot warmth"},{"id":"ektachrome","label":"Kodak Ektachrome (slide)","prompt":"Kodak Ektachrome slide film — crisp, slightly cool-leaning, punchy saturated color"},{"id":"cinestill_800t","label":"CineStill 800T (night)","prompt":"CineStill 800T tungsten film — moody night color with signature red halation blooming around bright lights"},{"id":"trix_bw","label":"Kodak Tri-X (B&W)","prompt":"Kodak Tri-X 400 black-and-white film — classic silver grain, rich blacks, timeless monochrome contrast"},{"id":"velvia","label":"Fujifilm Velvia","prompt":"Fujifilm Velvia — bold, saturated, high-contrast landscape color"},{"id":"polaroid","label":"Polaroid (instant)","prompt":"instant Polaroid film — soft focus, milky low contrast, faded vintage color and a square-snapshot feel"}]},"angles":[{"id":"dynamic","label":"Dynamic (Dutch + push-in)","prompt":"Shoot it EDITORIAL, not flat catalog: a slight DUTCH ANGLE (camera canted ~12–22°) and a tighter, PUSHED-IN crop so the subject fills and dominates the frame with energy."},{"id":"straight","label":"Straight-on (clean)","prompt":"Shoot straight-on and level — clean, symmetrical, classic catalog framing."},{"id":"dutch","label":"Dutch tilt","prompt":"Cant the camera into a bold DUTCH ANGLE (horizon ~15–25° askew) for kinetic edge."},{"id":"zoom","label":"Zoomed-in (tight crop)","prompt":"ZOOM IN tight — a bold close crop where the key detail dominates the frame and the edges run out of frame."},{"id":"low","label":"Low angle (hero)","prompt":"Shoot from a LOW ANGLE looking up at the subject for a heroic, powerful stance."},{"id":"high","label":"High angle","prompt":"Shoot from a HIGH ANGLE looking down for a graphic, modern top-down feel."}],"camera_moves":[{"group":"push_pull","label":"Push / Pull (dolly)","moves":[{"id":"push_in","label":"Push in","group":"push_pull","prompt":"Camera slowly PUSHES IN — physically dollying closer to the subject so perspective deepens (a move, not a lens zoom), building emotional intimacy."},{"id":"pull_out","label":"Pull out","group":"push_pull","prompt":"Camera PULLS OUT — dollying steadily backward away from the subject to reveal the surrounding environment and release the moment."},{"id":"dolly_zoom_in","label":"Dolly zoom in (Vertigo)","group":"push_pull","prompt":"A DOLLY ZOOM (Vertigo effect): the camera dollies toward the subject while simultaneously zooming out to keep them the exact same size, so the background warps and compresses for surreal, unsettling tension."},{"id":"dolly_zoom_out","label":"Dolly zoom out","group":"push_pull","prompt":"A reverse DOLLY ZOOM: the camera pulls back while zooming in, holding the subject the same size as the background stretches and expands behind them — a jolt of realization."}]},{"group":"orbit_track","label":"Orbit / Track","moves":[{"id":"orbit_360","label":"360° orbit","group":"orbit_track","prompt":"A smooth 360° ORBIT: the camera arcs all the way around the subject on a level circular path, keeping them centered — immersive and dramatic."},{"id":"arc","label":"Arc (half orbit)","group":"orbit_track","prompt":"A sweeping ARC: the camera curves partway around the subject, revealing them from a new side."},{"id":"truck_left","label":"Truck left","group":"orbit_track","prompt":"A lateral TRUCK LEFT: the camera glides sideways to the left, tracking parallel to the subject while holding framing."},{"id":"truck_right","label":"Truck right","group":"orbit_track","prompt":"A lateral TRUCK RIGHT: the camera glides sideways to the right, tracking parallel to the subject while holding framing."},{"id":"tracking_follow","label":"Tracking follow","group":"orbit_track","prompt":"A TRACKING FOLLOW: the camera moves with the subject, matching their speed and direction with smooth Steadicam energy."}]},{"group":"pan_tilt","label":"Pan / Tilt","moves":[{"id":"pan_left","label":"Pan left","group":"pan_tilt","prompt":"A PAN LEFT: the camera pivots horizontally to the left on a fixed axis, revealing the scene like turning your head."},{"id":"pan_right","label":"Pan right","group":"pan_tilt","prompt":"A PAN RIGHT: the camera pivots horizontally to the right on a fixed axis, revealing new scene information."},{"id":"whip_pan","label":"Whip pan","group":"pan_tilt","prompt":"A fast WHIP PAN: the camera snaps horizontally in a motion-blurred swish — an energetic transition beat."},{"id":"tilt_up","label":"Tilt up","group":"pan_tilt","prompt":"A TILT UP: the camera pivots vertically upward from a fixed position, revealing scale and grandeur."},{"id":"tilt_down","label":"Tilt down","group":"pan_tilt","prompt":"A TILT DOWN: the camera pivots vertically downward, grounding the scene and moving from grandeur to intimate detail."}]},{"group":"zoom","label":"Zoom","moves":[{"id":"zoom_in","label":"Zoom in","group":"zoom","prompt":"A ZOOM IN: the lens magnifies the subject while the camera body stays put, snapping attention onto a key detail."},{"id":"zoom_out","label":"Zoom out","group":"zoom","prompt":"A ZOOM OUT: the lens widens while the camera stays put, the subject shrinking into a growing environment."},{"id":"micro_zoom","label":"Micro zoom","group":"zoom","prompt":"A MICRO ZOOM: an almost-imperceptible slow creep of zoom that quietly draws the eye — documentary intimacy."}]},{"group":"pov","label":"POV","moves":[{"id":"pov","label":"POV (first person)","group":"pov","prompt":"A first-person POV: the camera becomes the subject's own eyes — immersive, with natural handheld head motion and the world reacting in front of the lens."}]},{"group":"angle","label":"Angle","moves":[{"id":"high_angle","label":"High angle (crane down)","group":"angle","prompt":"A HIGH ANGLE looking down on the subject, optionally craning down toward them from above."},{"id":"low_angle","label":"Low angle (crane up)","group":"angle","prompt":"A LOW ANGLE from below looking up at the subject, making them tower with power and authority."}]}],"studio":{"shot_types":[{"id":"packshot","label":"Packshot (front, squared)","prompt":"as a crisp front-facing PACKSHOT — squared to camera, floating on the seamless backdrop, edges clean"},{"id":"ghost","label":"Ghost mannequin","prompt":"as a GHOST-MANNEQUIN shot — the product holds its worn three-dimensional shape with no person and no mannequin visible"},{"id":"flat_lay","label":"Flat lay (top-down)","prompt":"as a FLAT LAY — arranged neatly and photographed exactly top-down"},{"id":"floating","label":"Floating (dynamic)","prompt":"FLOATING in mid-air with natural drape and a soft shadow below — dynamic but believable"},{"id":"macro","label":"Macro detail","prompt":"as a MACRO DETAIL shot — camera inches away, material texture and key detail crisp and dominant"}],"backdrops":[{"id":"seamless_white","label":"Seamless white (high key)","prompt":"a bright seamless white cyclorama, high-key soft light, faint contact shadow — clean e-commerce standard"},{"id":"seamless_grey","label":"Seamless grey (neutral)","prompt":"a neutral mid-grey seamless backdrop with soft directional key light and gentle falloff"},{"id":"charcoal_moody","label":"Charcoal (moody)","prompt":"a deep charcoal backdrop, low-key dramatic lighting, sculpted rim light carving the subject from the dark"},{"id":"warm_paper","label":"Warm paper (editorial)","prompt":"a warm kraft-paper toned backdrop with soft window-style light — tactile editorial warmth"},{"id":"concrete","label":"Concrete (industrial)","prompt":"a raw concrete surface and wall, diffuse overcast-style light — understated industrial texture"}],"on_model_framings":[{"id":"full","label":"Full length","prompt":"a full-length studio shot, head-to-toe, the whole outfit in frame"},{"id":"three_quarter","label":"Three-quarter","prompt":"a three-quarter-length crop from mid-thigh up"},{"id":"waist_up","label":"Waist-up","prompt":"a waist-up crop centered on the chest"},{"id":"detail","label":"Worn detail","prompt":"a tight worn-detail crop on the key detail; the face is out of frame"}]}},"casting":{"version":"1.0","dials":[{"id":"age","label":"Age","group":"Identity","options":[{"id":"child","label":"Child (6-11)","prompt":"a child around 8-10 years old"},{"id":"teen","label":"Teen (12-17)","prompt":"a teenager around 15"},{"id":"20s","label":"20s","prompt":"in their mid-20s"},{"id":"30s","label":"30s","prompt":"in their early 30s"},{"id":"40s","label":"40s","prompt":"in their 40s"},{"id":"50s","label":"50s","prompt":"in their 50s"},{"id":"60plus","label":"60+","prompt":"in their 60s"}]},{"id":"gender","label":"Gender presentation","group":"Identity","options":[{"id":"man","label":"Man","prompt":"man"},{"id":"woman","label":"Woman","prompt":"woman"},{"id":"androgynous","label":"Androgynous","prompt":"androgynous person"},{"id":"nonbinary","label":"Non-binary","prompt":"non-binary person"}]},{"id":"heritage","label":"Heritage","group":"Identity","hint":"Broad visual heritage - not a stereotype","options":[{"id":"black","label":"Black / African","prompt":"Black"},{"id":"east_asian","label":"East Asian","prompt":"East Asian"},{"id":"south_asian","label":"South Asian","prompt":"South Asian"},{"id":"se_asian","label":"Southeast Asian","prompt":"Southeast Asian"},{"id":"latino","label":"Latino / Hispanic","prompt":"Latino"},{"id":"white","label":"White / European","prompt":"White"},{"id":"middle_eastern","label":"Middle Eastern","prompt":"Middle Eastern"},{"id":"indigenous","label":"Indigenous","prompt":"Indigenous"},{"id":"pacific","label":"Pacific Islander","prompt":"Pacific Islander"},{"id":"mixed","label":"Mixed heritage","prompt":"mixed-heritage"}]},{"id":"skin_tone","label":"Skin tone","group":"Identity","options":[{"id":"fair","label":"Fair","prompt":"fair skin"},{"id":"light","label":"Light","prompt":"light skin"},{"id":"olive","label":"Olive","prompt":"olive skin"},{"id":"tan","label":"Tan","prompt":"tan skin"},{"id":"brown","label":"Brown","prompt":"brown skin"},{"id":"deep","label":"Deep","prompt":"deep rich complexion"}]},{"id":"complexion","label":"Complexion / weathering","group":"Identity","options":[{"id":"fresh","label":"Fresh & clear","prompt":"fresh clear skin"},{"id":"weathered","label":"Sun-weathered","prompt":"sun-weathered outdoors skin"},{"id":"windbitten","label":"Wind-bitten","prompt":"ruddy wind-bitten cheeks"},{"id":"freckled","label":"Freckled","prompt":"freckles across the nose and cheeks"}]},{"id":"build","label":"Body build","group":"Build","options":[{"id":"lean","label":"Lean athletic","prompt":"lean athletic build"},{"id":"muscular","label":"Muscular","prompt":"muscular powerful build"},{"id":"stocky","label":"Stocky","prompt":"stocky solid build"},{"id":"curvy","label":"Curvy","prompt":"curvy build"},{"id":"petite","label":"Petite","prompt":"petite frame"},{"id":"average","label":"Average","prompt":"average build"}]},{"id":"height","label":"Height","group":"Build","options":[{"id":"short","label":"Short","prompt":"short"},{"id":"average_h","label":"Average","prompt":"average height"},{"id":"tall","label":"Tall","prompt":"tall"}]},{"id":"hair_length","label":"Hair length","group":"Hair & face","options":[{"id":"bald","label":"Bald / shaved","prompt":"shaved bald head"},{"id":"buzz","label":"Buzzed","prompt":"buzzed"},{"id":"short","label":"Short","prompt":"short"},{"id":"medium","label":"Medium","prompt":"medium-length"},{"id":"shoulder","label":"Shoulder-length","prompt":"shoulder-length"},{"id":"long","label":"Long","prompt":"long"}]},{"id":"hair_style","label":"Hair texture / style","group":"Hair & face","options":[{"id":"straight","label":"Straight","prompt":"straight"},{"id":"wavy","label":"Wavy","prompt":"wavy"},{"id":"curly","label":"Curly","prompt":"curly"},{"id":"coily","label":"Coily","prompt":"coily"},{"id":"locs","label":"Locs / dreadlocks","prompt":"in locs"},{"id":"braided","label":"Braided","prompt":"braided"},{"id":"tied","label":"Tied back","prompt":"tied back in a bun"},{"id":"messy","label":"Messy","prompt":"tousled messy"}]},{"id":"hair_color","label":"Hair color","group":"Hair & face","options":[{"id":"black","label":"Black","prompt":"black"},{"id":"darkbrown","label":"Dark brown","prompt":"dark brown"},{"id":"chestnut","label":"Chestnut","prompt":"chestnut-brown"},{"id":"blonde","label":"Blonde","prompt":"blonde"},{"id":"ginger","label":"Red / ginger","prompt":"ginger-red"},{"id":"grey","label":"Grey / silver","prompt":"grey"},{"id":"platinum","label":"Platinum","prompt":"bleached platinum"},{"id":"dyed","label":"Dyed neon","prompt":"dyed a bold neon color"}]},{"id":"facial_hair","label":"Facial hair","group":"Hair & face","options":[{"id":"clean","label":"Clean-shaven","prompt":"clean-shaven"},{"id":"stubble","label":"Stubble","prompt":"light stubble"},{"id":"beard","label":"Full beard","prompt":"a full beard"},{"id":"moustache","label":"Moustache","prompt":"a moustache"},{"id":"goatee","label":"Goatee","prompt":"a goatee"}]},{"id":"eye_color","label":"Eye color","group":"Hair & face","options":[{"id":"brown","label":"Brown","prompt":"brown eyes"},{"id":"hazel","label":"Hazel","prompt":"hazel eyes"},{"id":"green","label":"Green","prompt":"green eyes"},{"id":"blue","label":"Blue","prompt":"blue eyes"},{"id":"grey","label":"Grey","prompt":"grey eyes"},{"id":"dark","label":"Dark","prompt":"dark eyes"}]},{"id":"face_shape","label":"Face shape","group":"Hair & face","options":[{"id":"angular","label":"Angular","prompt":"an angular face"},{"id":"round","label":"Round","prompt":"a round face"},{"id":"square","label":"Square-jawed","prompt":"a strong square jaw"},{"id":"oval","label":"Oval","prompt":"an oval face"},{"id":"heart","label":"Heart-shaped","prompt":"a heart-shaped face"},{"id":"cheekbones","label":"High cheekbones","prompt":"high cheekbones"}]},{"id":"feature","label":"Distinguishing feature","group":"Hair & face","options":[{"id":"freckles","label":"Freckles","prompt":"a scatter of freckles"},{"id":"tattoos","label":"Visible tattoos","prompt":"visible neck/shoulder tattoos"},{"id":"nosering","label":"Nose ring","prompt":"a small nose ring"},{"id":"gap","label":"Gap-toothed","prompt":"a charming gap-toothed smile"},{"id":"scar","label":"Eyebrow scar","prompt":"a small scar through one eyebrow"},{"id":"dimples","label":"Dimples","prompt":"deep dimples"},{"id":"gauges","label":"Ear gauges","prompt":"stretched ear gauges"}]},{"id":"headwear","label":"Headwear","group":"Styling","options":[{"id":"beanie","label":"Beanie","prompt":"a black beanie"},{"id":"cap","label":"Cap","prompt":"a simple cap"},{"id":"hood","label":"Hood up","prompt":"a hood up"},{"id":"headscarf","label":"Headscarf","prompt":"a headscarf"},{"id":"wide_brim","label":"Wide-brim hat","prompt":"a wide-brim hat"}]},{"id":"eyewear","label":"Eyewear","group":"Styling","options":[{"id":"shades","label":"Sunglasses","prompt":"mirrored sunglasses"},{"id":"glasses","label":"Clear glasses","prompt":"clear-framed glasses"},{"id":"round_glasses","label":"Round glasses","prompt":"round wire-frame glasses"}]},{"id":"wardrobe","label":"Wardrobe vibe","group":"Styling","hint":"Styling energy - domain wardrobe belongs to the brand profile","options":[{"id":"street","label":"Streetwear","prompt":"streetwear energy"},{"id":"technical","label":"Technical / outdoor","prompt":"technical outdoor energy"},{"id":"retro","label":"Retro","prompt":"retro vintage energy"},{"id":"rugged","label":"Rugged","prompt":"rugged workwear energy"},{"id":"luxe","label":"Luxe","prompt":"luxe polished energy"},{"id":"minimal","label":"Minimal black","prompt":"minimal all-black energy"}]},{"id":"expression","label":"Expression","group":"Vibe","options":[{"id":"halfsmile","label":"Confident half-smile","prompt":"a warm confident half-smile"},{"id":"grin","label":"Joyful grin","prompt":"a joyful open grin"},{"id":"stoic","label":"Calm & stoic","prompt":"a calm stoic expression"},{"id":"intense","label":"Intense gaze","prompt":"an intense focused gaze"},{"id":"smirk","label":"Mischievous smirk","prompt":"a mischievous smirk"},{"id":"serene","label":"Serene","prompt":"a serene peaceful expression"}]},{"id":"energy","label":"Energy","group":"Vibe","options":[{"id":"playful","label":"Playful","prompt":"playful irreverent energy"},{"id":"zen","label":"Grounded / zen","prompt":"grounded zen energy"},{"id":"adrenaline","label":"High-energy","prompt":"high-energy adrenaline presence"},{"id":"cool","label":"Cool & aloof","prompt":"cool aloof presence"},{"id":"warm","label":"Warm & approachable","prompt":"warm approachable presence"}]}],"portrait_scaffold":"Professional studio portrait of {subject}. Head-and-shoulders framing, plain dark neutral backdrop, soft even key light, sharp focus on the face, photorealistic. This is a FICTIONAL person generated for creative work - not a depiction of any real individual.","fictional_only":true},"writing_branches":{"version":"1.7","stages":["concept","prep","outline","drafting","revision"],"tracks":[{"id":"creative","label":"Creative","tagline":"Stories, performance, and editorial voice — screenplays to articles. Grounded in your capsule, shaped by craft doctrine."},{"id":"technical","label":"Technical & business","tagline":"Decision-grade documents — reports, research, procedures, contracts. Written to the industry standards, held to your evidence."}],"element_kinds":[{"id":"character","label":"Character","entity_type":"character","hint":"Who is in the story. The anchor sentence + voice + never-does lines are injected verbatim into every generation for consistency.","fields":[{"id":"role","label":"Role","kind":"select","options":["protagonist","antagonist","supporting","minor"],"hint":"Dramatic function."},{"id":"archetype","label":"Archetype","kind":"text","hint":"e.g. reluctant mentor, trickster."},{"id":"anchor_sentence","label":"Anchor sentence","kind":"text","hint":"One sentence that pins who they are — appearance + essence."},{"id":"appearance","label":"Visual description","kind":"textarea","hint":"What the camera sees — age, build, hair, face, signature look. Shot prompts and the storyboard read this word for word; Film readiness asks for it."},{"id":"bio","label":"Bio","kind":"textarea","hint":"Backstory in brief."},{"id":"goals","label":"Goals","kind":"textarea","hint":"External want + internal need."},{"id":"flaws","label":"Flaws / wound","kind":"textarea","hint":"The ghost, the lie they believe, what trips them."},{"id":"arc","label":"Arc","kind":"textarea","hint":"How they change (or refuse to)."},{"id":"voice","label":"Voice","kind":"text","hint":"Speech patterns, vocabulary, rhythm."},{"id":"never_does","label":"Never does","kind":"text","hint":"Hard consistency rule — things this character would never say or do."}]},{"id":"location","label":"Location","entity_type":"story_location","hint":"Where the story lives. Atmosphere and significance ground scene generation.","fields":[{"id":"description","label":"Description","kind":"textarea","hint":"What it looks and feels like."},{"id":"atmosphere","label":"Atmosphere","kind":"text","hint":"The mood the place imposes on scenes set there."},{"id":"significance","label":"Significance","kind":"textarea","hint":"Why the story needs this place."},{"id":"inspiration","label":"Inspiration","kind":"text","hint":"Real-world references or comps."}]},{"id":"theme","label":"Theme","entity_type":"story_theme","hint":"What the story is ABOUT underneath the plot. Themes and motifs steer every generation's choices of image, subtext, and ending.","fields":[{"id":"statement","label":"Thematic statement","kind":"text","hint":"One sentence — e.g. 'love demands the surrender of control'."},{"id":"motifs","label":"Motifs","kind":"text","hint":"Recurring images/objects/sounds that carry the theme."},{"id":"expression","label":"How it shows","kind":"textarea","hint":"Where the theme surfaces — character choices, visual echoes, the ending."},{"id":"tone_words","label":"Tone words","kind":"text","hint":"3–6 adjectives the whole piece should feel like."}]},{"id":"wardrobe","label":"Wardrobe","entity_type":"wardrobe_design","hint":"Costume design per character or group — what they wear tells who they are before a line is spoken.","fields":[{"id":"character","label":"Character / group","kind":"text","hint":"Who wears this (a project character's name, or 'ensemble')."},{"id":"description","label":"Description","kind":"textarea","hint":"The look — silhouette, key garments, condition, how it evolves."},{"id":"palette","label":"Palette","kind":"text","hint":"The colors this wardrobe lives in."},{"id":"era_style","label":"Era / style","kind":"text","hint":"Period, subculture, or fashion reference."},{"id":"significance","label":"Significance","kind":"textarea","hint":"What the clothes say about the character or story."}]},{"id":"production_design","label":"Production design","entity_type":"production_design","hint":"Set design, props, and the built world — the physical environment scenes are staged in.","fields":[{"id":"scope","label":"Scope","kind":"select","options":["set","props","vehicles","environment","overall"],"hint":"What this design note covers."},{"id":"description","label":"Description","kind":"textarea","hint":"The designed space or objects — materials, condition, scale."},{"id":"era_period","label":"Era / period","kind":"text","hint":"When the world is set — governs everything built."},{"id":"key_props","label":"Key props","kind":"text","hint":"Objects the story depends on."},{"id":"references","label":"References","kind":"text","hint":"Real places, films, images that nail the look."}]},{"id":"art_direction","label":"Art direction","entity_type":"art_direction","hint":"The overall visual language — palette, light, texture. Grounds every storyboard frame, portrait, and illustration cue.","fields":[{"id":"visual_style","label":"Visual style","kind":"text","hint":"The one-line look — e.g. 'sun-bleached 70mm naturalism', 'ink-and-watercolor storybook'."},{"id":"palette","label":"Palette","kind":"text","hint":"Dominant colors and what they mean."},{"id":"lighting","label":"Light & atmosphere","kind":"text","hint":"How scenes are lit — hard/soft, warm/cold, practical/expressionist."},{"id":"texture","label":"Texture & materials","kind":"text","hint":"Grain, surfaces, the tactile quality of the world."},{"id":"references","label":"References","kind":"textarea","hint":"Films, painters, photographers, ingested capsule images that define the look."}]},{"id":"hair_makeup","label":"Hair & makeup","entity_type":"hair_makeup_design","hint":"How a character's hair, makeup and any prosthetics look, and how that changes scene to scene.","fields":[{"id":"character","label":"Character / group","kind":"text","hint":"Who this look belongs to."},{"id":"description","label":"Description","kind":"textarea","hint":"Hair, makeup, wounds, ageing, prosthetics — what the camera sees."},{"id":"continuity","label":"Continuity changes","kind":"textarea","hint":"How the look changes across scenes (wet, bruised, older)."}]},{"id":"prop","label":"Prop","entity_type":"story_prop","hint":"An object a character handles or the story depends on. One prop keeps one identity even when its state changes from scene to scene.","fields":[{"id":"description","label":"Description","kind":"textarea","hint":"Shape, material, scale, identifying features."},{"id":"condition","label":"Condition","kind":"text","hint":"New, worn, broken — and how it changes."},{"id":"handling","label":"Handling","kind":"text","hint":"Who carries it and how it is used."}]},{"id":"vehicle_animal","label":"Vehicle / animal","entity_type":"story_vehicle","hint":"A vehicle or animal the scene needs on screen.","fields":[{"id":"type","label":"Type","kind":"select","options":["vehicle","animal"],"hint":"What it is."},{"id":"description","label":"Description","kind":"textarea","hint":"Make, model, colour, breed, condition."},{"id":"handling","label":"Handling","kind":"text","hint":"Driven, moving, parked; trained behaviour."}]},{"id":"set_decoration","label":"Set dressing","entity_type":"set_decoration","hint":"What dresses a set — furniture, signage, clutter — the things that make a place lived in.","fields":[{"id":"set","label":"Set / location","kind":"text","hint":"Where this dressing lives."},{"id":"description","label":"Description","kind":"textarea","hint":"The pieces and how they are arranged."},{"id":"period","label":"Era / period","kind":"text","hint":"When the pieces are from."}]},{"id":"effect","label":"Effect","entity_type":"story_effect","hint":"A practical effect on set (rain, smoke, a breakaway) or a visual effect added after (a screen insert, an impossible shot).","fields":[{"id":"type","label":"Type","kind":"select","options":["practical","visual"],"hint":"Made on set, or added in the picture afterwards."},{"id":"description","label":"Description","kind":"textarea","hint":"What happens on screen."}]},{"id":"sound","label":"Sound & ambience","entity_type":"sound_design","hint":"The sound of a place or a moment — rain on glass, a station announcement, a door slam.","fields":[{"id":"description","label":"Description","kind":"textarea","hint":"What we hear and where it comes from."},{"id":"intent","label":"Intent","kind":"text","hint":"What the sound does for the scene."}]},{"id":"music","label":"Music","entity_type":"music_cue","hint":"A music intent or cue — source music in the scene or score over it.","fields":[{"id":"kind","label":"Kind","kind":"select","options":["score","source"],"hint":"Score over the picture, or music playing in the scene."},{"id":"description","label":"Description","kind":"textarea","hint":"Mood, instrumentation, a reference, where it starts and stops."}]},{"id":"research","label":"Research note","entity_type":"research_note","hint":"A claim with its evidence and source — research the draft can rely on, verifiable by a human.","fields":[{"id":"claim","label":"Claim","kind":"text","hint":"The single factual statement."},{"id":"question","label":"Question it answers","kind":"text","hint":"The story fact this note settles, e.g. “When did the ship sail?”. Notes that answer the same question with different claims are kept side by side as a disagreement, never merged."},{"id":"evidence","label":"Evidence","kind":"textarea","hint":"What supports it."},{"id":"source","label":"Source","kind":"text","hint":"Where it came from (URL, book, interview). A URL source can be gathered — fetched, read, and summarized."},{"id":"summary","label":"Source summary","kind":"textarea","hint":"What the source actually says — gathered from the URL, or written by you. Joins the project canon so drafts rely on the content, not just the claim."},{"id":"confidence","label":"Confidence","kind":"select","options":["unverified","verified","disputed"],"hint":"Verified means a human checked the source."},{"id":"verification_notes","label":"How it was checked","kind":"textarea","hint":"What you looked at to confirm it, written when you mark the note verified."}]},{"id":"subject","label":"Subject","entity_type":"documentary_subject","hint":"A real person the documentary is about or speaks to. Who they are, why they matter, and how to reach them.","fields":[{"id":"role","label":"Role","kind":"text","hint":"Who they are in the story, e.g. witness, expert, the family."},{"id":"relevance","label":"Relevance","kind":"textarea","hint":"Why the film needs them."},{"id":"status","label":"Living or deceased","kind":"select","options":["alive","deceased","unknown"],"hint":"A deceased subject is told through archive and the people who knew them."},{"id":"priority","label":"Priority","kind":"select","options":["essential","key","optional"],"hint":"Essential means the film does not work without them."},{"id":"contact","label":"Contact","kind":"text","hint":"How to reach them or their representative."}]},{"id":"reference","label":"Reference","entity_type":"reference_work","hint":"A film, book, archive or piece of writing to study before you write. Mark it watched as you go.","fields":[{"id":"type","label":"Type","kind":"select","options":["documentary","feature_film","short_film","book","article","academic_paper","archive","interview","podcast","website","other"],"hint":"What kind of work it is."},{"id":"priority","label":"Priority","kind":"select","options":["essential","key","context","parallel"],"hint":"Essential: watch before writing. Parallel: a film that tells a similar story."},{"id":"year","label":"Year","kind":"text","hint":"When it came out."},{"id":"creator","label":"Made by","kind":"text","hint":"Director, author or publisher."},{"id":"where","label":"Where to find it","kind":"text","hint":"A link, a streaming service, or an archive."},{"id":"licensing_contact","label":"Licensing contact","kind":"text","hint":"Who to ask if you want to use a clip from it."},{"id":"watched","label":"Watched","kind":"select","options":["no","yes"],"hint":"Set when you mark it watched."},{"id":"rating","label":"Rating","kind":"select","options":["1","2","3","4","5"],"hint":"How useful it was, out of five."}]},{"id":"research_doc","label":"Research document","entity_type":"research_document","hint":"A piece of research you are working through: a deep dive, a fact check, interview prep, a timeline. Attach the sources you read to it.","fields":[{"id":"research_type","label":"Type","kind":"select","options":["deep_dive","fact_check","background","interview_prep","timeline","source_verification"],"default":"deep_dive","hint":"What this research is for."},{"id":"status","label":"Status","kind":"select","options":["draft","in_progress","completed","needs_review"],"default":"draft","hint":"Where you are with it."},{"id":"question","label":"What you are looking into","kind":"text","hint":"The person, event or question this research is about."},{"id":"summary","label":"Summary","kind":"textarea","hint":"What you found, in a few lines. Joins the project canon."},{"id":"content","label":"Working notes","kind":"textarea","hint":"Everything else you are keeping as you go."}]},{"id":"source","label":"Source","entity_type":"research_source","hint":"Something you read or watched for a research document: who made it, where it appeared, and how far you trust it.","fields":[{"id":"url","label":"Link","kind":"text","hint":"Where to find it again."},{"id":"author","label":"Author","kind":"text","hint":"Who wrote or made it."},{"id":"publication","label":"Published in","kind":"text","hint":"The paper, journal, site, broadcaster or publisher."},{"id":"published","label":"Date","kind":"text","hint":"When it came out."},{"id":"credibility","label":"How far you trust it","kind":"select","options":["1","2","3","4","5"],"hint":"1 is a lead to check; 5 is a source you would stand behind on screen."}]},{"id":"still","label":"Still","entity_type":"documentary_still","hint":"A picture for a documentary: a storyboard frame, reference, b-roll, archival image, title card or animation, with where it came from and whether it made the cut.","fields":[{"id":"image_type","label":"Type","kind":"select","options":["storyboard","reference","b_roll","archival","title_card","animation"],"default":"storyboard"},{"id":"source","label":"Comes from","kind":"select","options":["upload","generated","web","archival","stock","placeholder"],"default":"placeholder"},{"id":"source_url","label":"Link","kind":"text","hint":"Where the picture came from."},{"id":"rights","label":"Your right to use it","kind":"select","options":["mine","licensed","made_elsewhere"]},{"id":"prompt","label":"Prompt","kind":"textarea","hint":"What a generated still was asked to show."},{"id":"cue","label":"Cue","kind":"text","hint":"The cue number this still belongs to."},{"id":"status","label":"Status","kind":"select","options":["pending","selected","rejected"],"default":"pending"},{"id":"selected","label":"Selected","kind":"select","options":["yes","no"],"default":"no"},{"id":"selection_order","label":"Place in the storyboard","kind":"text"},{"id":"selection_notes","label":"Why","kind":"textarea"}]}],"branches":[{"id":"screen_stage","track":"creative","label":"Screen & Stage","tagline":"Screenplays, treatments, and the pre-production cascade — logline to shooting draft.","formats":["screenplay","treatment","beat_sheet","outline"],"default_format":"screenplay","element_kinds":["character","location","theme","wardrobe","production_design","art_direction","research"],"params":[{"id":"genre","label":"Genre","kind":"text","hint":"e.g. neo-noir thriller, romantic comedy."},{"id":"tone","label":"Tone","kind":"select","options":["serious","light","dark","humorous","mysterious","romantic","tense","inspirational"]},{"id":"target_audience","label":"Audience","kind":"text","hint":"Who it is for."},{"id":"screen_format","label":"Screen format","kind":"select","options":["feature_film","short_film","tv_pilot","tv_series","web_series","stage_play"],"hint":"Governs expected length and act shape."},{"id":"target_length","label":"Target length","kind":"number","unit":"pages (film) / minutes per episode (episodic)","default":110},{"id":"inspirations","label":"Inspirations","kind":"text","hint":"Comparable titles, links, references."},{"id":"entry","label":"How this project began","kind":"select","options":["develop_an_idea","bring_a_screenplay"],"default":"develop_an_idea","stamped":true,"hint":"Set by the door that opened the project: developed from an idea here, or an imported screenplay. Not a creative setting."}]},{"id":"prose","track":"creative","label":"Prose & Fiction","tagline":"Novels and stories — POV, tense, and word-count math drive the chapter chains.","formats":["novel_chapter","outline"],"default_format":"novel_chapter","element_kinds":["character","location","theme","research"],"params":[{"id":"genre","label":"Genre","kind":"text","default":"Literary fiction"},{"id":"subgenre","label":"Subgenre","kind":"text"},{"id":"pov_type","label":"Point of view","kind":"select","options":["first","third_limited","third_omniscient","second"],"default":"third_limited"},{"id":"tense","label":"Tense","kind":"select","options":["past","present"],"default":"past"},{"id":"target_word_count","label":"Target word count","kind":"number","unit":"words (whole work)","default":80000},{"id":"age_category","label":"Age category","kind":"select","options":["adult","young_adult","middle_grade"],"default":"adult"}]},{"id":"nonfiction","track":"creative","label":"Documentary & Journalism","tagline":"Research-first storytelling — documentaries, articles, and bulletins with claims, sources, and discipline.","formats":["documentary","article","bulletin","outline"],"default_format":"documentary","element_kinds":["character","location","theme","research","subject","reference","research_doc"],"params":[{"id":"subject","label":"Subject","kind":"text","hint":"The real story being told."},{"id":"target_length_minutes","label":"Target runtime","kind":"number","unit":"minutes","default":45},{"id":"tone","label":"Tone","kind":"select","options":["investigative","observational","essayistic","celebratory","elegiac"]},{"id":"target_audience","label":"Audience","kind":"text"}]},{"id":"performance","track":"creative","label":"Live Performance & Comedy","tagline":"Stand-up sets, speeches, and dated engagements — material built for a room.","formats":["comedy_set","sketch_comedy","podcast_rant","monologue","speech","outline"],"default_format":"comedy_set","element_kinds":["character","theme","research"],"params":[{"id":"style","label":"Style","kind":"select","options":["standup","storytelling","sketch","speech","toast"],"default":"standup"},{"id":"persona_voice","label":"Stage persona","kind":"text","hint":"The performed voice — may differ from the writing voice."},{"id":"occasion","label":"Occasion","kind":"text","hint":"Club set, wedding toast, keynote…"},{"id":"audience_description","label":"The room","kind":"text","hint":"Who is listening."},{"id":"duration_minutes","label":"Duration","kind":"number","unit":"minutes","default":10},{"id":"desired_feeling","label":"Desired feeling","kind":"text","hint":"What the audience should walk out with."}]},{"id":"childrens","track":"creative","label":"Children's Books","tagline":"Picture books and early readers — visual-first, read-aloud rhythm.","formats":["childrens_book","outline"],"default_format":"childrens_book","element_kinds":["character","location","theme","wardrobe","production_design","art_direction","research"],"params":[{"id":"age_range","label":"Age range","kind":"select","options":["0-3","4-8","8-12"],"default":"4-8"},{"id":"target_page_count","label":"Page count","kind":"number","unit":"pages","default":32},{"id":"art_style","label":"Art style","kind":"text","hint":"Guides the illustration cues in generated spreads."},{"id":"lesson","label":"Lesson / feeling","kind":"text","hint":"The gentle takeaway."}]},{"id":"graphic","track":"creative","label":"Graphic Novels & Comics","tagline":"Panel scripts — page by page, panel by panel, with captions, balloons, and art direction the storyboard pipeline can draw.","formats":["graphic_novel","outline"],"default_format":"graphic_novel","element_kinds":["character","location","theme","wardrobe","production_design","art_direction","research"],"params":[{"id":"genre","label":"Genre","kind":"text","hint":"e.g. noir crime, coming-of-age, sci-fi epic."},{"id":"tone","label":"Tone","kind":"select","options":["serious","light","dark","humorous","mysterious","romantic","tense","inspirational"]},{"id":"art_style","label":"Art style","kind":"text","hint":"The visual language — ink-heavy noir, clean ligne claire, painted… Guides every panel's art direction."},{"id":"target_page_count","label":"Page count","kind":"number","unit":"pages (this chapter/issue)","default":22},{"id":"panel_density","label":"Panel density","kind":"select","options":["sparse_cinematic","standard","dense"],"default":"standard","hint":"Roughly panels per page — sparse (2–3), standard (4–6), dense (7+)."},{"id":"age_category","label":"Age category","kind":"select","options":["all_ages","teen","mature"],"default":"teen"}]},{"id":"business","track":"technical","label":"Business & Comms","tagline":"Memos, pitches, announcements, performance reports, and contract drafts — audience, ask, and constraints up front.","formats":["business_comms","performance_report","contract_draft","outline"],"default_format":"business_comms","element_kinds":["research"],"params":[{"id":"audience","label":"Audience","kind":"text","hint":"Who reads it and what they already know."},{"id":"objective","label":"Objective","kind":"text","hint":"The decision or action you want."},{"id":"tone","label":"Tone","kind":"select","options":["professional","warm","urgent","celebratory"],"default":"professional"},{"id":"constraints","label":"Constraints","kind":"text","hint":"Length, formality, legal review, embargo…"}]},{"id":"technical","track":"technical","label":"Technical & Scientific","tagline":"Reports, research, statistics, case studies, SOPs, incident and interagency work — written to the industry reporting standards (Z39.18, IMRaD, JARS/SAMPL, CARE, ISO 9001/15489, NIST 800-61, NIH/NSF).","formats":["technical_report","research_paper","statistical_report","case_study","sop","incident_report","grant_proposal","interagency_report","outline"],"default_format":"technical_report","element_kinds":["research"],"params":[{"id":"field","label":"Field / discipline","kind":"text","hint":"e.g. civil engineering, clinical medicine, public health, data science, social science, public administration — the framework language adapts to it."},{"id":"audience","label":"Audience","kind":"select","options":["expert_peers","management","regulators","cross_agency","general_public"],"default":"expert_peers","hint":"Governs depth, jargon budget, and what the executive summary must carry."},{"id":"rigor","label":"Evidence rigor","kind":"select","options":["exploratory","standard","regulatory_grade"],"default":"standard","hint":"Exploratory tolerates open questions; regulatory-grade demands full traceability and declared unknowns."},{"id":"citation_style","label":"Citation style","kind":"select","options":["apa7","ieee","vancouver","chicago","house_style"],"default":"apa7"},{"id":"parties","label":"Agencies / parties","kind":"text","hint":"For joint or multi-discipline work: the participating organizations and their roles."},{"id":"record_keeping","label":"Record keeping","kind":"select","options":["none","document_control","full_records_schedule"],"default":"document_control","hint":"Document-control block (ID, version, approvals) up to a full records-retention schedule (ISO 15489-informed)."},{"id":"constraints","label":"Constraints","kind":"text","hint":"Length limits, template mandates, submission deadlines, classification/handling caveats."}]},{"id":"open","track":"open","label":"Open Notebook","tagline":"Start unformed. Capture the idea first; commit to a branch when it firms up.","formats":["note","outline"],"default_format":"note","element_kinds":["character","location","theme","research"],"params":[{"id":"spark","label":"The spark","kind":"textarea","hint":"Whatever the idea is right now — no structure required."}]}]},"domain_packs":{"finance":{"status":"live","document_classes":["invoice","receipt","statement"],"detection":"automatic — deterministic document_class heuristic over the item's consolidated text, OR caller-set entity_type (receipt/invoice/expense/statement)","attributes":{"document_class":"the detection verdict + matched signal evidence","line_items":{"items_schema":{"type":"object","properties":{"description":{"type":["string","null"]},"amount":{"type":"string","description":"decimal as printed, no currency symbol"},"category":{"type":"string"},"source":{"type":"string","description":"ocr_llm | textract | text_llm"}},"required":["amount","category","source"]}},"financial_rollup":"deterministic totals {currency,total,counted,skipped,by_category,line_count} — computed by code, never LLM arithmetic"},"observations":["total_amount (gauge, source=idp)"],"verbs":["finance_rollup","get_metric","list_metrics"]},"legal":{"status":"live","document_classes":["contract"],"detection":"automatic — deterministic document_class heuristic over the item's consolidated text","attributes":{"document_class":"the detection verdict + matched signal evidence","contract_terms":{"schema":{"type":"object","properties":{"parties":{"type":"array","items":{"type":"string"}},"effective_date":{"type":["string","null"]},"term":{"type":["string","null"]},"renewal":{"type":["string","null"]},"termination":{"type":["string","null"]},"governing_law":{"type":["string","null"]},"payment_terms":{"type":["string","null"]},"obligations":{"type":"array","items":{"type":"string"}},"red_flags":{"type":"array","items":{"type":"string"}}},"required":["parties","obligations","red_flags"]}}},"verbs":["search_entities","get_entity_intelligence"],"notes":"analytical support, not legal advice; extraction is reviewable and supersedable by a human attribute write (method=human)"},"medical":{"status":"deferred","notes":"Not offered. The platform's medical posture is protective: the sensitivity taxonomy flags health identifiers at the listing boundary. There is no clinical analysis layer and no HIPAA program."}},"graph":{"relations":[{"id":"member_of","label":"Member of","description":"An item belongs to a collection (imports, works, projects).","domain":["entity"],"range":["collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"part_of","label":"Part of","description":"A component of a parent item (an attachment is part of its email). Direction: component → parent.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":true,"inverse":null},{"id":"keeps","label":"Keeps","description":"A writing project's file cabinet keeps a library item to read, with its reading status in metadata. Direction: project → item, so deleting the project drops the edge and never the item.","domain":["collection"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":null},{"id":"derived_from","label":"Derived from","description":"Produced from a source (a GEDCOM person derives from the .ged file). Direction: derivative → source. Transitive: a derivation chain grounds out at the original.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":true,"inverse":null},{"id":"references","label":"References","description":"Mentions or cites, without derivation.","domain":["entity"],"range":["entity","collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"same_event","label":"Same event","description":"Captures of one real-world event (equivalence-like: symmetric and transitive).","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":true,"inverse":null},{"id":"same_work","label":"Same work","description":"Two records of ONE work — a podcast episode and its transcript file, a duplicate upload. Equivalence-like (symmetric, transitive). Emitted by the arrival reflex with a merge proposal alongside; auto-merge never happens. Also emitted by the cross-platform family clustering pass (caption/date/duration signals — link only, no merge proposal: renditions are deliberately distinct records).","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":true,"inverse":null},{"id":"related","label":"Related","description":"Generic undirected relatedness; the embedding-KNN inference emits these with confidence = 1 - cosine distance.","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":false,"inverse":null},{"id":"excerpt_of","label":"Excerpt of","description":"A clip of a parent work, with time offsets in metadata. Direction: excerpt → work.","domain":["entity"],"range":["entity","collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"version_of","label":"Version of","description":"An edit/cut/rerelease of a work. Direction: version → parent (fingerprint/external-id matches may emit either way; treat as near-equivalence when traversing).","domain":["entity"],"range":["entity","collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"rendition_of","label":"Rendition of","description":"A re-encode/proxy/format variant carrying the same content. Direction: rendition → source.","domain":["entity"],"range":["entity","collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"proxy_of","label":"Proxy of","description":"A lightweight playable copy the owner rendered on their own computer and uploaded in place of the master, whose bytes stay on their drive (custody=edge). Direction: proxy → master. Distinct from rendition_of: the master was never hosted.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":null},{"id":"promotes","label":"Promotes","description":"A promotional item for a work (trailer, teaser, poster).","domain":["entity"],"range":["entity","collection"],"symmetric":false,"transitive":false,"inverse":null},{"id":"copy_of","label":"Copy of","description":"Same essence, same cut, same presentation — bytes may differ (container, re-mux, re-download) but decoded audio/picture are the same (S0/S1). Direction: copy → earliest / owner-preferred instance. Metadata: variant (identical_bytes | remux), signals. Copies are linked and SHOWN, never merged away.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":true,"inverse":null},{"id":"twin_of","label":"Twin of","description":"Read-model name for an ALTERED TWIN (same cut, presentation altered: captions, re-encode, ad placements, draft vs print). Stored as rendition_of / version_of per the license; get_kin projects both as `twin`. Registered so the vocabulary is closed; no ingest path writes it directly.","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":false,"inverse":null},{"id":"sibling_of","label":"Sibling of","description":"Two items share a parent. People: derived from child_of premises (graph_reason). Media (Law K): MEASURED only for the angle case — same audio, different picture — where the shared parent is not yet known (metadata.parent = 'unknown'); once a parent edge exists the sibling is DERIVED from it and this edge is redundant. Symmetric: one stored edge, lower UUID first.","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":false,"inverse":null},{"id":"used_in","label":"Used in","description":"A media source placed on a project file's timeline (Premiere / FCP / XMEML / EDL / Resolve register). Direction: source media → project file. Metadata carries the placement: {timeline_in_s, in_s, out_s, sequence}. The authoritative S★ derivation signal — stronger than any fingerprint once the named file is identified in the capsule.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":null},{"id":"spouse_of","label":"Spouse of","description":"Marriage/partnership between two person entities; marriage date/place in metadata. Symmetric: one stored edge means both.","domain":["entity"],"range":["entity"],"symmetric":true,"transitive":false,"inverse":null},{"id":"child_of","label":"Child of","description":"Child → parent (one edge per parent).","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":"parent_of"},{"id":"parent_of","label":"Parent of","description":"Declared inverse of child_of. No ingest path emits it yet — registered so the vocabulary is closed under inverses and a future inference pass has a name to materialize.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":"child_of"},{"id":"grandparent_of","label":"Grandparent of","description":"Derived: X is a parent of a parent of Y (child_of chain). Direction: grandparent → grandchild.","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":"grandchild_of"},{"id":"grandchild_of","label":"Grandchild of","description":"Declared inverse of grandparent_of; not emitted (traversal reads grandparent_of in both directions).","domain":["entity"],"range":["entity"],"symmetric":false,"transitive":false,"inverse":"grandparent_of"}],"relations_hash":"85a2842f18739bff","conformance":"reported (GET /api/v1/graph/lint), never enforced"},"catalog_hash":"sha256:edbe1a432e89bcab"}