{"openapi":"3.1.0","info":{"title":"HUD Platform","version":"2.0.0"},"x-hud-contract-scope":"datavendor_buyer","paths":{"/v2/vendor/notifications":{"get":{"tags":["notifications"],"summary":"List Notifications","description":"The caller team's notification feed, newest first, with unread count.","operationId":"list_notifications_v2_vendor_notifications_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse":{"get":{"tags":["listings"],"summary":"Browse Listings","description":"Published listings from all teams (buyer-facing).\n\nFiltered/sorted in SQL, keyset-paginated from the publication snapshot;\nthe first page carries tab counts and text-universe facets. A team behind\nthe browse gate reads only the first unfiltered page (``locked`` is true);\nsearch, filters, another sort, or a cursor answer 403 ``listing_browse_locked``.","operationId":"browse_listings_v2_listings_browse_get","parameters":[{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tags"}},{"name":"tag_slugs","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tag Slugs"}},{"name":"asset_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Asset Types"}},{"name":"owned","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Owned"}},{"name":"verified_only","in":"query","required":false,"schema":{"type":"boolean","description":"When true, only DV quality certified listings.","default":false,"title":"Verified Only"},"description":"When true, only DV quality certified listings."},{"name":"min_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Buy-now price floor.","title":"Min Price"},"description":"Buy-now price floor."},{"name":"max_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Buy-now price ceiling.","title":"Max Price"},"description":"Buy-now price ceiling."},{"name":"has_active_bids","in":"query","required":false,"schema":{"type":"boolean","description":"Only listings with at least one submitted bid.","default":false,"title":"Has Active Bids"},"description":"Only listings with at least one submitted bid."},{"name":"sample_available","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"True: only listings offering a sample; False: only listings without; omit: any.","title":"Sample Available"},"description":"True: only listings offering a sample; False: only listings without; omit: any."},{"name":"min_sample_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Sample price floor (implies sample available).","title":"Min Sample Price"},"description":"Sample price floor (implies sample available)."},{"name":"max_sample_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Sample price ceiling (implies sample available).","title":"Max Sample Price"},"description":"Sample price ceiling (implies sample available)."},{"name":"min_vendor_tier","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":3,"minimum":1},{"type":"null"}],"title":"Min Vendor Tier"}},{"name":"vendor_tiers","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"integer"}},{"type":"null"}],"description":"Exact seller vendor tiers.","title":"Vendor Tiers"},"description":"Exact seller vendor tiers."},{"name":"min_tasks","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum HUD taskset plus Harbor bundle task count.","title":"Min Tasks"},"description":"Minimum HUD taskset plus Harbor bundle task count."},{"name":"max_tasks","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum HUD taskset plus Harbor bundle task count.","title":"Max Tasks"},"description":"Maximum HUD taskset plus Harbor bundle task count."},{"name":"min_price_per_task","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Floor on buy-now price divided by task count; listings without tasks never match.","title":"Min Price Per Task"},"description":"Floor on buy-now price divided by task count; listings without tasks never match."},{"name":"max_price_per_task","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Ceiling on buy-now price divided by task count; listings without tasks never match.","title":"Max Price Per Task"},"description":"Ceiling on buy-now price divided by task count; listings without tasks never match."},{"name":"min_loc","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Min Loc"}},{"name":"max_loc","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Max Loc"}},{"name":"min_zip_files","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Min Zip Files"}},{"name":"max_zip_files","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Max Zip Files"}},{"name":"min_zip_size_gb","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Zip Size Gb"}},{"name":"max_zip_size_gb","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Max Zip Size Gb"}},{"name":"min_codebases","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum attached codebases.","title":"Min Codebases"},"description":"Minimum attached codebases."},{"name":"max_codebases","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum attached codebases.","title":"Max Codebases"},"description":"Maximum attached codebases."},{"name":"min_tasksets","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum attached HUD tasksets plus Harbor bundles.","title":"Min Tasksets"},"description":"Minimum attached HUD tasksets plus Harbor bundles."},{"name":"max_tasksets","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum attached HUD tasksets plus Harbor bundles.","title":"Max Tasksets"},"description":"Maximum attached HUD tasksets plus Harbor bundles."},{"name":"min_environments","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum attached environments.","title":"Min Environments"},"description":"Minimum attached environments."},{"name":"max_environments","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum attached environments.","title":"Max Environments"},"description":"Maximum attached environments."},{"name":"min_robotics_datasets","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum attached robotics datasets.","title":"Min Robotics Datasets"},"description":"Minimum attached robotics datasets."},{"name":"max_robotics_datasets","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum attached robotics datasets.","title":"Max Robotics Datasets"},"description":"Maximum attached robotics datasets."},{"name":"min_raw_data","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum attached Raw data zips.","title":"Min Raw Data"},"description":"Minimum attached Raw data zips."},{"name":"max_raw_data","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum attached Raw data zips.","title":"Max Raw Data"},"description":"Maximum attached Raw data zips."},{"name":"languages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Codebase languages.","title":"Languages"},"description":"Codebase languages."},{"name":"rare_languages_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only listings whose codebases are at most 40% JavaScript, TypeScript, and Python combined, by language bytes; listings without a language byte breakdown never match.","default":false,"title":"Rare Languages Only"},"description":"Only listings whose codebases are at most 40% JavaScript, TypeScript, and Python combined, by language bytes; listings without a language byte breakdown never match."},{"name":"file_extensions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Raw data file extensions, lowercase without the dot.","title":"File Extensions"},"description":"Raw data file extensions, lowercase without the dot."},{"name":"robotics_formats","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["lerobot_v3","lerobot_v2","ego_exo","other"],"type":"string"}},{"type":"null"}],"description":"Declared robotics dataset formats.","title":"Robotics Formats"},"description":"Declared robotics dataset formats."},{"name":"capabilities","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Environment capabilities.","title":"Capabilities"},"description":"Environment capabilities."},{"name":"sort","in":"query","required":false,"schema":{"enum":["recommended","recent","price_low","price_high"],"type":"string","description":"recommended prefers DV quality certified, then recency; with no filters it leads with the admin-featured listings in their curated order.","default":"recommended","title":"Sort"},"description":"recommended prefers DV quality certified, then recency; with no filters it leads with the admin-featured listings in their curated order."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":24,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Keyset position from the previous page's next_cursor; omit for the first page (which also carries counts and facets).","title":"Cursor"},"description":"Keyset position from the previous page's next_cursor; omit for the first page (which also carries counts and facets)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowseListingsResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/access":{"get":{"tags":["listings"],"summary":"Get Browse Access","description":"The caller's catalog gate state.\n\nReports published-listing progress toward the vendor browse threshold, and whether browse\nis unlocked. The gate itself is enforced on catalog page reads.","operationId":"get_browse_access_v2_listings_browse_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingBrowseAccessResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/by-ids":{"get":{"tags":["listings"],"summary":"Browse Listings By Ids","description":"Resolve specific published listings by id (saved-tab fetch), ordered like browse.\n\nIds absent from the response are stale (unpublished/deleted) and the caller prunes them.","operationId":"browse_listings_by_ids_v2_listings_browse_by_ids_get","parameters":[{"name":"ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Ids"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["recommended","recent","price_low","price_high"],"type":"string","default":"recent","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/purchases":{"get":{"tags":["listings"],"summary":"List Buyer Purchase History","description":"List the caller team's completed listing purchases.","operationId":"list_buyer_purchase_history_v2_listings_browse_purchases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingPurchaseHistoryResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/offers":{"get":{"tags":["listings"],"summary":"List Buyer Offer History","description":"List the caller team's submitted offers across all listings.","operationId":"list_buyer_offer_history_v2_listings_browse_offers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingOfferHistoryResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/{listing_id}":{"get":{"tags":["listings"],"summary":"Browse Listing Detail","description":"Detail of a published listing (buyer-facing).","operationId":"browse_listing_detail_v2_listings_browse__listing_id__get","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingDetailResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/{listing_id}/quality":{"get":{"tags":["listings"],"summary":"Browse Listing Quality","description":"The evidence behind the DV quality badge (buyer-redacted).","operationId":"browse_listing_quality_v2_listings_browse__listing_id__quality_get","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingQualityEvidenceResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/{listing_id}/tasksets/{taskset_id}":{"get":{"tags":["listings"],"summary":"Browse Listing Taskset","description":"Preview one of a published listing's tasksets (buyer-facing).","operationId":"browse_listing_taskset_v2_listings_browse__listing_id__tasksets__taskset_id__get","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listing Id"}},{"name":"taskset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Taskset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingTasksetResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/listings/browse/{listing_id}/tasksets/{taskset_id}/tasks":{"get":{"tags":["listings"],"summary":"Browse Listing Taskset Tasks","description":"First-page task preview for a published listing's taskset (buyer-facing).","operationId":"browse_listing_taskset_tasks_v2_listings_browse__listing_id__tasksets__taskset_id__tasks_get","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listing Id"}},{"name":"taskset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Taskset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TasksWithStatsResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/domains":{"get":{"tags":["domains"],"summary":"List Domains","description":"List the marketplace domain taxonomy.","operationId":"list_domains_v2_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/asset-types":{"get":{"tags":["asset-types"],"summary":"List Asset Types","description":"Enabled asset types — the catalog a vendor may compose from — and every deprecated one.","operationId":"list_asset_types_v2_asset_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetTypeListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/asset-types/{slug}":{"get":{"tags":["asset-types"],"summary":"Get Asset Type","description":"One asset type with its ingestion channels and metadata field contract.\n\n``fields`` says, per field, whether the vendor states it (``vendor``) or\nHUD derives it after the data object is attached (``derived``), and per\nchannel what HUD reads it from; a SKU without typed metadata lists none.\n``deprecation`` is set once the SKU is deprecated: it accepts no new\nassets or edits, and listings carrying it are archived at ``retires_at``.","operationId":"get_asset_type_v2_asset_types__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetTypeDetailResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/content-tags":{"get":{"tags":["content-tags"],"summary":"List Content Tags","description":"Enabled content tags only — what a vendor may declare on an Others asset.","operationId":"list_content_tags_v2_content_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTagListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/inventory-tags":{"get":{"tags":["inventory-tags"],"summary":"List Inventory Tags","description":"Enabled inventory tags only — what vendors may apply and buyers may filter by.","operationId":"list_inventory_tags_v2_inventory_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryTagListResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/buyer/opportunities":{"get":{"tags":["buyer"],"summary":"List Opportunities","description":"Listing opportunities owned by the caller's team, newest first.","operationId":"list_opportunities_v2_buyer_opportunities_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":2147483647,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse_OpportunityAdminResponse_"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/buyer/opportunities/{opportunity_id}":{"get":{"tags":["buyer"],"summary":"Get Opportunity","description":"A single opportunity the caller's team owns.","operationId":"get_opportunity_v2_buyer_opportunities__opportunity_id__get","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityAdminResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/buyer/project-opportunities":{"get":{"tags":["buyer"],"summary":"List Project Opportunities","description":"List the owning team's project opportunity history.","operationId":"list_project_opportunities_v2_buyer_project_opportunities_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":2147483647,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse_ProjectOpportunityAdminResponse_"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/buyer/project-opportunities/{opportunity_id}":{"get":{"tags":["buyer"],"summary":"Get Project Opportunity","description":"Read one owned project opportunity.","operationId":"get_project_opportunity_v2_buyer_project_opportunities__opportunity_id__get","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectOpportunityAdminResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/buyer/project-opportunities/{opportunity_id}/bids":{"get":{"tags":["buyer"],"summary":"List Opportunity Bids","description":"List vendor bids on an owned project opportunity.","operationId":"list_opportunity_bids_v2_buyer_project_opportunities__opportunity_id__bids_get","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":2147483647,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse_BuyerOpportunityBidResponse_"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v2/wallet":{"get":{"tags":["wallet"],"summary":"Get Wallet","description":"The caller team's credits balance and earnings balances.\n\nEarnings are zero for teams that never sold.","operationId":"get_wallet_v2_wallet_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletResponse"}}}},"400":{"description":"Invalid or malformed request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Caller may not access this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Referenced entity does not exist","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The server is at capacity; retry after Retry-After seconds","headers":{"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"AppliedTag":{"properties":{"slug":{"type":"string","title":"Slug"},"source":{"type":"string","enum":["vendor","admin","auto"],"title":"Source"},"category":{"type":"string","title":"Category","default":"sku"}},"type":"object","required":["slug","source"],"title":"AppliedTag","description":"One tag application on an asset, with its source and vocabulary category."},"AssetTypeChannelResponse":{"properties":{"channel":{"type":"string","title":"Channel"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["channel","enabled"],"title":"AssetTypeChannelResponse","description":"One way data may be attached to this SKU's assets and whether it is open right now."},"AssetTypeDetailResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"is_enabled":{"type":"boolean","title":"Is Enabled"},"supports_proposals":{"type":"boolean","title":"Supports Proposals"},"deprecation":{"anyOf":[{"$ref":"#/components/schemas/SkuDeprecationResponse"},{"type":"null"}]},"channels":{"items":{"$ref":"#/components/schemas/AssetTypeChannelResponse"},"type":"array","title":"Channels"},"fields":{"items":{"$ref":"#/components/schemas/AssetTypeFieldResponse"},"type":"array","title":"Fields"}},"type":"object","required":["slug","label","is_enabled","supports_proposals","channels","fields"],"title":"AssetTypeDetailResponse","description":"The catalog row plus its ingestion channels and metadata field contract."},"AssetTypeFieldResponse":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"source":{"type":"string","title":"Source"},"required":{"type":"boolean","title":"Required"},"derived_from":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Derived From"}},"type":"object","required":["name","kind","source","required","derived_from"],"title":"AssetTypeFieldResponse","description":"One metadata field of the SKU: who fills it and, per channel, what HUD reads it from."},"AssetTypeListResponse":{"properties":{"asset_types":{"items":{"$ref":"#/components/schemas/AssetTypeResponse"},"type":"array","title":"Asset Types"},"deprecated_asset_types":{"items":{"$ref":"#/components/schemas/DeprecatedAssetTypeResponse"},"type":"array","title":"Deprecated Asset Types"}},"type":"object","required":["asset_types","deprecated_asset_types"],"title":"AssetTypeListResponse"},"AssetTypeResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"is_enabled":{"type":"boolean","title":"Is Enabled"},"supports_proposals":{"type":"boolean","title":"Supports Proposals"},"deprecation":{"anyOf":[{"$ref":"#/components/schemas/SkuDeprecationResponse"},{"type":"null"}]}},"type":"object","required":["slug","label","is_enabled","supports_proposals"],"title":"AssetTypeResponse","description":"One catalog row; ``deprecation`` is set once the SKU is deprecated."},"BidAttachmentResponse":{"properties":{"name":{"type":"string","title":"Name"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"storage_url":{"type":"string","title":"Storage Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["name","storage_url"],"title":"BidAttachmentResponse","description":"Bid attachment with separate download and durable storage URLs."},"BrowseListingsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListingResponse"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"counts":{"anyOf":[{"$ref":"#/components/schemas/ListingBrowseCounts"},{"type":"null"}]},"facets":{"anyOf":[{"$ref":"#/components/schemas/ListingBrowseFacets"},{"type":"null"}]},"locked":{"type":"boolean","title":"Locked","description":"True when the caller's team is behind the browse gate: this first page of the unfiltered catalog is all it can read, and next_cursor stays null even when more listings exist.","default":false}},"type":"object","required":["items","limit"],"title":"BrowseListingsResponse","description":"One keyset page of the catalog.\n\n``counts`` and ``facets`` are computed for the first page only (no\ncursor) and null on subsequent pages; ``next_cursor`` is null when the\npage is the last one, or when ``locked`` is true."},"BuyerOpportunityBidActivity":{"properties":{"vendor_events":{"items":{"$ref":"#/components/schemas/BuyerOpportunityBidActivityEvent"},"type":"array","title":"Vendor Events","default":[]},"hud_events":{"items":{"$ref":"#/components/schemas/BuyerOpportunityBidActivityEvent"},"type":"array","title":"Hud Events","default":[]}},"type":"object","title":"BuyerOpportunityBidActivity"},"BuyerOpportunityBidActivityEvent":{"properties":{"event":{"type":"string","title":"Event"},"at":{"type":"string","format":"date-time","title":"At"},"by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"By"},"by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By Name"},"by_role":{"anyOf":[{"type":"string","enum":["buyer","vendor"]},{"type":"null"}],"title":"By Role"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"done":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Done"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"taskset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Taskset Id"},"task_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Label"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["event","at"],"title":"BuyerOpportunityBidActivityEvent"},"BuyerOpportunityBidResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"opportunity_id":{"type":"string","format":"uuid","title":"Opportunity Id"},"team_id":{"type":"string","format":"uuid","title":"Team Id"},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"},"team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Avatar Url"},"opportunity_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Title"},"opportunity_owner_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Owner Team Name"},"opportunity_owner_team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Owner Team Avatar Url"},"num_tasks":{"type":"integer","title":"Num Tasks"},"expected_timeline_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Timeline Days"},"fixed_price":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Fixed Price"},"variable_price_per_task":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Variable Price Per Task"},"delivery_taskset_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Delivery Taskset Ids","default":[]},"delivery_taskset_names":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Delivery Taskset Names","default":{}},"project_taskset_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Project Taskset Ids","default":[]},"project_taskset_names":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Project Taskset Names","default":{}},"status":{"type":"string","title":"Status"},"selected_fixed_price":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Selected Fixed Price"},"selected_variable_price_per_task":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Selected Variable Price Per Task"},"selected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Selected At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"selected_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Selected By User Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"attachments":{"items":{"$ref":"#/components/schemas/BidAttachmentResponse"},"type":"array","title":"Attachments","default":[]},"revision_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revision Requested At"},"revision_request_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision Request Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"task_overview":{"anyOf":[{"$ref":"#/components/schemas/BuyerOpportunityBidTaskOverview"},{"type":"null"}]},"activity":{"anyOf":[{"$ref":"#/components/schemas/BuyerOpportunityBidActivity"},{"type":"null"}]}},"type":"object","required":["id","opportunity_id","team_id","num_tasks","status","created_at","updated_at"],"title":"BuyerOpportunityBidResponse"},"BuyerOpportunityBidTaskOverview":{"properties":{"total_tasks":{"type":"integer","title":"Total Tasks","default":0},"pending":{"type":"integer","title":"Pending","default":0},"verified":{"type":"integer","title":"Verified","default":0},"in_review":{"type":"integer","title":"In Review","default":0},"revision":{"type":"integer","title":"Revision","default":0},"rejected":{"type":"integer","title":"Rejected","default":0}},"type":"object","title":"BuyerOpportunityBidTaskOverview"},"ContentTagListResponse":{"properties":{"content_tags":{"items":{"$ref":"#/components/schemas/ContentTagResponse"},"type":"array","title":"Content Tags"}},"type":"object","required":["content_tags"],"title":"ContentTagListResponse"},"ContentTagResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"}},"type":"object","required":["slug","label"],"title":"ContentTagResponse"},"DeprecatedAssetTypeResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"is_enabled":{"type":"boolean","title":"Is Enabled"},"deprecation":{"$ref":"#/components/schemas/SkuDeprecationResponse"},"listing_kinds":{"items":{"type":"string"},"type":"array","title":"Listing Kinds"}},"type":"object","required":["slug","label","is_enabled","deprecation","listing_kinds"],"title":"DeprecatedAssetTypeResponse","description":"A deprecated SKU, enabled or not, with the listing kinds it governs."},"DerivedColumnValue":{"properties":{"mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean"},"rewards":{"items":{"type":"number"},"type":"array","title":"Rewards"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["mean","rewards","count"],"title":"DerivedColumnValue"},"DomainListResponse":{"properties":{"domains":{"items":{"$ref":"#/components/schemas/DomainResponse"},"type":"array","title":"Domains"}},"type":"object","required":["domains"],"title":"DomainListResponse"},"DomainResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"}},"type":"object","required":["slug","label"],"title":"DomainResponse"},"EnvironmentAssetMetadata":{"properties":{"build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Version"},"built_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Built At"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"task_count":{"type":"integer","minimum":0.0,"title":"Task Count","default":0}},"additionalProperties":false,"type":"object","title":"EnvironmentAssetMetadata"},"ErrorResponse":{"properties":{"error":{"type":"string","title":"Error"},"source":{"$ref":"#/components/schemas/ErrorSource"},"detail":{"type":"string","title":"Detail"}},"type":"object","required":["error","source","detail"],"title":"ErrorResponse","description":"The uniform `{error, source, detail}` envelope returned for every 4xx/5xx."},"ErrorSource":{"type":"string","enum":["user","platform","provider"],"title":"ErrorSource","description":"Who is at fault for a failure.\n\n``user``: the customer's input, account, environment, or agent code.\n``platform``: HUD infrastructure or a broken platform invariant.\n``provider``: a third-party dependency (cloud runtime, upstream LLM API)."},"ExternalOrigin":{"properties":{"system":{"$ref":"#/components/schemas/ExternalSystem"},"external_id":{"type":"string","title":"External Id"}},"type":"object","required":["system","external_id"],"title":"ExternalOrigin","description":"Where an imported entity comes from: a system and the entity's id in it."},"ExternalSystem":{"type":"string","enum":["harbor"],"title":"ExternalSystem","description":"A system HUD imports environments and runs from."},"FileAssetMetadata":{"properties":{"size_bytes":{"type":"integer","minimum":0.0,"title":"Size Bytes"},"size_display":{"type":"string","title":"Size Display","readOnly":true}},"additionalProperties":false,"type":"object","required":["size_bytes","size_display"],"title":"FileAssetMetadata","description":"Frozen stat of an uploaded file Asset, read from storage (HEAD, never the bytes)."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"error":{"type":"string","const":"validation_error","title":"Error"},"source":{"type":"string","enum":["user","platform","provider"],"title":"Source"},"detail":{"type":"string","title":"Detail"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"},"title":"Errors"}},"required":["error","source","detail","errors"]},"HarborAssetMetadata":{"properties":{"task_count":{"type":"integer","minimum":0.0,"title":"Task Count"}},"additionalProperties":false,"type":"object","required":["task_count"],"title":"HarborAssetMetadata","description":"Frozen shape of an uploaded Harbor bundle.\n\n``task_count`` is priced (Per Harbor task multiplier), so it is always\nserver-derived from the bundle itself — never taken from the client."},"InventoryTagListResponse":{"properties":{"inventory_tags":{"items":{"$ref":"#/components/schemas/InventoryTagResponse"},"type":"array","title":"Inventory Tags"}},"type":"object","required":["inventory_tags"],"title":"InventoryTagListResponse"},"InventoryTagResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"type":"string","title":"Category"}},"type":"object","required":["slug","label","description","category"],"title":"InventoryTagResponse"},"ListingAssetMetadata":{"properties":{"taskset":{"anyOf":[{"$ref":"#/components/schemas/TasksetAssetMetadata"},{"type":"null"}]},"environment":{"anyOf":[{"$ref":"#/components/schemas/EnvironmentAssetMetadata"},{"type":"null"}]},"repo":{"anyOf":[{"$ref":"#/components/schemas/RepoAssetMetadata"},{"type":"null"}]},"zip":{"anyOf":[{"$ref":"#/components/schemas/ZipAssetMetadata"},{"type":"null"}]},"file":{"anyOf":[{"$ref":"#/components/schemas/FileAssetMetadata"},{"type":"null"}]},"harbor":{"anyOf":[{"$ref":"#/components/schemas/HarborAssetMetadata"},{"type":"null"}]},"robotics":{"anyOf":[{"$ref":"#/components/schemas/RoboticsAssetMetadata"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"ListingAssetMetadata","description":"Kind-keyed bag. A row normally carries exactly one kind key."},"ListingAssetResponse":{"properties":{"kind":{"type":"string","enum":["taskset","environment","repo","zip","file","harbor_tasks","robotics_dataset"],"title":"Kind","default":"file"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"taskset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Taskset Id"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"repo_full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo Full Name"},"repo_forge":{"type":"string","enum":["github","gitlab","bitbucket"],"title":"Repo Forge","default":"github"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"hf_dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Dataset Id"},"hf_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Revision"},"source_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Uri"},"robotics_format":{"anyOf":[{"type":"string","enum":["lerobot_v3","lerobot_v2","ego_exo","other"]},{"type":"null"}],"title":"Robotics Format"},"content_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Tag"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"redacted_paths":{"items":{"type":"string"},"type":"array","title":"Redacted Paths"},"manifest_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Url"},"tag_slugs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tag Slugs"},"metadata":{"$ref":"#/components/schemas/ListingAssetMetadata"},"applied_tags":{"items":{"$ref":"#/components/schemas/AppliedTag"},"type":"array","title":"Applied Tags"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"inventory_asset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Inventory Asset Id"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"},"structure_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Structure Snapshot"},"structure_max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Structure Max Depth"},"repo_stats_summary":{"anyOf":[{"$ref":"#/components/schemas/RepoStatsSummary"},{"type":"null"}]},"freshness_status":{"type":"string","enum":["unknown","fresh","stale"],"title":"Freshness Status","default":"unknown"},"freshness_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Freshness Checked At"},"freshness_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Freshness Note"},"source_role_arn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Role Arn"},"source_external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source External Id"},"ingest_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ingest Status"},"ingest_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ingest Error"},"ingest_copied_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ingest Copied Bytes"},"ingest_total_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ingest Total Bytes"}},"type":"object","title":"ListingAssetResponse","description":"Asset row on listing responses, with the stored locator and a presigned link.\n\n``url`` is the stored ``storage://`` locator (what an edit writes back);\n``download_url`` is a short-lived presigned link. Both are stripped on\nbuyer-facing responses before purchase to prevent free downloads.\n\nBrowse catalog cards reuse this shape with the buyer redaction and no\n``structure_snapshot``."},"ListingBrowseAccessResponse":{"properties":{"published_count":{"type":"integer","title":"Published Count"},"required_count":{"type":"integer","title":"Required Count"},"unlocked":{"type":"boolean","title":"Unlocked"}},"type":"object","required":["published_count","required_count","unlocked"],"title":"ListingBrowseAccessResponse","description":"The caller's catalog gate state.\n\nVendor-only teams unlock browse by publishing ``required_count`` listings;\nbuyer teams and platform admins are always unlocked."},"ListingBrowseCounts":{"properties":{"all":{"type":"integer","title":"All"},"owned":{"type":"integer","title":"Owned"}},"type":"object","required":["all","owned"],"title":"ListingBrowseCounts","description":"All/owned match counts under the active browse filters."},"ListingBrowseFacets":{"properties":{"tags":{"additionalProperties":{"type":"integer"},"type":"object","title":"Tags"},"tag_slugs":{"additionalProperties":{"type":"integer"},"type":"object","title":"Tag Slugs"},"asset_types":{"additionalProperties":{"type":"integer"},"type":"object","title":"Asset Types"},"lifecycle_stages":{"additionalProperties":{"type":"integer"},"type":"object","title":"Lifecycle Stages"},"languages":{"additionalProperties":{"type":"integer"},"type":"object","title":"Languages"},"file_extensions":{"additionalProperties":{"type":"integer"},"type":"object","title":"File Extensions"},"robotics_formats":{"additionalProperties":{"type":"integer"},"type":"object","title":"Robotics Formats"},"capabilities":{"additionalProperties":{"type":"integer"},"type":"object","title":"Capabilities"}},"type":"object","required":["tags","asset_types"],"title":"ListingBrowseFacets","description":"Per-value counts over the text-search universe.\n\nSelections are excluded, so chip counts stay stable as the user toggles\nthem. The publication facets (languages through capabilities) are filled on\nbuyer browse only."},"ListingCatalogScale":{"properties":{"task_count":{"type":"integer","title":"Task Count","default":0},"loc":{"type":"integer","title":"Loc","default":0},"zip_file_count":{"type":"integer","title":"Zip File Count","default":0},"zip_size_bytes":{"type":"integer","title":"Zip Size Bytes","default":0},"asset_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Asset Counts"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"}},"type":"object","title":"ListingCatalogScale","description":"Publication-frozen card aggregates.\n\nWhat catalog cards render instead of hydrated assets: totals per scale\ndimension, attached asset counts by kind, and the frozen language union."},"ListingDeprecatedType":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"retires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retires At"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["slug","label"],"title":"ListingDeprecatedType","description":"A deprecated asset type a listing carries."},"ListingDeprecation":{"properties":{"types":{"items":{"$ref":"#/components/schemas/ListingDeprecatedType"},"type":"array","title":"Types"},"retires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retires At"}},"type":"object","required":["types"],"title":"ListingDeprecation","description":"The deprecated asset types a listing carries and the earliest retirement among them."},"ListingDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"title":{"type":"string","title":"Title"},"review_status":{"type":"string","title":"Review Status"},"catalog_status":{"type":"string","title":"Catalog Status"},"is_listed":{"type":"boolean","title":"Is Listed","default":false},"visibility":{"type":"string","title":"Visibility","default":"public"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"one_liner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"One Liner"},"executive_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executive Summary"},"asset_types":{"items":{"type":"string"},"type":"array","title":"Asset Types"},"domain_tags":{"items":{"type":"string"},"type":"array","title":"Domain Tags"},"tag_slugs":{"items":{"type":"string"},"type":"array","title":"Tag Slugs"},"total_value":{"type":"number","title":"Total Value","default":0.0},"purchase_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchase Price"},"sample_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sample Price"},"sample_available":{"type":"boolean","title":"Sample Available","default":false},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"},"team_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Slug"},"team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Avatar Url"},"team_profile_visibility":{"type":"string","enum":["public","invite","private"],"title":"Team Profile Visibility","default":"public"},"vendor_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vendor Tier"},"is_owned":{"type":"boolean","title":"Is Owned","default":false},"has_sample":{"type":"boolean","title":"Has Sample","default":false},"sale_count":{"type":"integer","title":"Sale Count","default":0},"pending_offer_count":{"type":"integer","title":"Pending Offer Count","default":0},"top_bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Top Bid Amount"},"submitted_bid_count":{"type":"integer","title":"Submitted Bid Count","default":0},"has_buyer_activity":{"type":"boolean","title":"Has Buyer Activity","default":false},"carries_retired_sku":{"type":"boolean","title":"Carries Retired Sku","default":false},"deprecation":{"anyOf":[{"$ref":"#/components/schemas/ListingDeprecation"},{"type":"null"}]},"dv_quality_certified":{"type":"boolean","title":"Dv Quality Certified","default":false},"review_feedback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Feedback"},"assets":{"items":{"$ref":"#/components/schemas/ListingAssetResponse"},"type":"array","title":"Assets","default":[]},"catalog_scale":{"anyOf":[{"$ref":"#/components/schemas/ListingCatalogScale"},{"type":"null"}]},"qc_verdicts":{"items":{"$ref":"#/components/schemas/QcCheckVerdict"},"type":"array","title":"Qc Verdicts","default":[]},"qc_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Qc Checked At"},"supported_languages":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supported Languages"},"technical_approach_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Approach Url"},"technical_approach_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Approach Download Url"},"technical_approach_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technical Approach Name"},"taskset_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Taskset Ids","default":[]},"taskset_notes":{"additionalProperties":{"type":"string"},"type":"object","title":"Taskset Notes"},"tasksets":{"items":{"$ref":"#/components/schemas/ListingTasksetSummary"},"type":"array","title":"Tasksets","default":[]},"environment_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Environment Ids","default":[]},"environments":{"items":{"$ref":"#/components/schemas/ListingEnvironment"},"type":"array","title":"Environments","default":[]},"github_repos":{"items":{"type":"string"},"type":"array","title":"Github Repos"},"repo_archives":{"items":{"$ref":"#/components/schemas/ListingRepoArchive"},"type":"array","title":"Repo Archives","default":[]},"pricing_items":{"items":{"$ref":"#/components/schemas/ListingPricingLine"},"type":"array","title":"Pricing Items","default":[]},"available_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Available From"},"setup_duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Duration"},"delivery_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Details"},"terms_ownership_accepted":{"type":"boolean","title":"Terms Ownership Accepted","default":false},"bundle_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bundle Url"},"bundle_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bundle Download Url"},"bundle_manifest":{"additionalProperties":true,"type":"object","title":"Bundle Manifest"},"has_bundle":{"type":"boolean","title":"Has Bundle","default":false},"submissions":{"items":{"$ref":"#/components/schemas/ListingSubmissionSummary"},"type":"array","title":"Submissions","default":[]},"quality_certification":{"anyOf":[{"$ref":"#/components/schemas/ListingQualityCertification"},{"type":"null"}]}},"type":"object","required":["id","title","review_status","catalog_status","created_at"],"title":"ListingDetailResponse","description":"Full listing detail response; URL fields come in stored-locator / download pairs.\n\n``technical_approach_url`` / ``bundle_url`` / ``assets[].url`` hold the\nstored ``storage://`` locators — exactly what the create/update requests\naccept, so an edit form can echo them back — while the ``*_download_url``\nfields carry short-lived presigned links and are never accepted on writes.\nBuyer responses null the locators and gate the download links on\nentitlement."},"ListingEnvironment":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"name_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Display"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"copied_environment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copied Environment Id"}},"type":"object","required":["id","name"],"title":"ListingEnvironment"},"ListingListResponse":{"properties":{"listings":{"items":{"$ref":"#/components/schemas/ListingResponse"},"type":"array","title":"Listings"}},"type":"object","required":["listings"],"title":"ListingListResponse"},"ListingOfferHistoryItem":{"properties":{"offer":{"$ref":"#/components/schemas/ListingOfferResponse"},"listing":{"$ref":"#/components/schemas/ListingResponse"},"listing_detail_available":{"type":"boolean","title":"Listing Detail Available"}},"type":"object","required":["offer","listing","listing_detail_available"],"title":"ListingOfferHistoryItem"},"ListingOfferHistoryResponse":{"properties":{"offers":{"items":{"$ref":"#/components/schemas/ListingOfferHistoryItem"},"type":"array","title":"Offers"}},"type":"object","required":["offers"],"title":"ListingOfferHistoryResponse"},"ListingOfferResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"listing_id":{"type":"string","format":"uuid","title":"Listing Id"},"status":{"type":"string","enum":["submitted","accepted","rejected","withdrawn","paid","refunded"],"title":"Status"},"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["id","listing_id","status","amount","currency","created_at","updated_at"],"title":"ListingOfferResponse","description":"A bid as shown to either side of the marketplace.\n\nDeliberately carries no buyer or vendor identity: bids are anonymous, each\nside only ever sees amounts, timestamps, and status."},"ListingPricingLine":{"properties":{"unit":{"type":"string","title":"Unit"},"price":{"type":"string","title":"Price"},"count":{"type":"integer","title":"Count"},"subtotal":{"type":"number","title":"Subtotal"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"}},"type":"object","required":["unit","price","count","subtotal"],"title":"ListingPricingLine","description":"A resolved pricing row on buyer/detail responses.\n\n``subtotal`` is the vendor's ``price`` times the resolved ``count`` (the\nunit's live count for a rate unit, 1 for a per-repo row). ``ref`` names the\nspecific repo for a Per Repo row. The grand total is ``total_value`` /\n``purchase_price``."},"ListingPurchaseHistoryItem":{"properties":{"purchase":{"$ref":"#/components/schemas/ListingPurchaseResponse"},"listing":{"$ref":"#/components/schemas/ListingResponse"},"listing_detail_available":{"type":"boolean","title":"Listing Detail Available"}},"type":"object","required":["purchase","listing","listing_detail_available"],"title":"ListingPurchaseHistoryItem"},"ListingPurchaseHistoryResponse":{"properties":{"purchases":{"items":{"$ref":"#/components/schemas/ListingPurchaseHistoryItem"},"type":"array","title":"Purchases"}},"type":"object","required":["purchases"],"title":"ListingPurchaseHistoryResponse"},"ListingPurchaseResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"listing_id":{"type":"string","format":"uuid","title":"Listing Id"},"status":{"type":"string","title":"Status"},"purchase_kind":{"type":"string","title":"Purchase Kind"},"asset_scope":{"additionalProperties":true,"type":"object","title":"Asset Scope"},"offer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Offer Id"},"price":{"type":"number","title":"Price"},"buyer_fee":{"type":"number","title":"Buyer Fee"},"total":{"type":"number","title":"Total"},"currency":{"type":"string","title":"Currency"},"payment_rail":{"type":"string","enum":["card","invoice"],"title":"Payment Rail","default":"card"},"agreement_document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agreement Document Id"},"agreement_signed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Agreement Signed At"},"po_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Po Number"},"invoice_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invoice Due At"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"refunded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Refunded At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","listing_id","status","purchase_kind","asset_scope","price","buyer_fee","total","currency","created_at"],"title":"ListingPurchaseResponse","description":"A buyer's purchase record for a listing (status reconciliation).\n\n``price`` is the vendor's asset price, ``buyer_fee`` the transaction fee\nsnapshot, ``total`` what the buyer pays."},"ListingQualityCertification":{"properties":{"environment_checks_passed":{"type":"integer","title":"Environment Checks Passed"},"environment_checks_total":{"type":"integer","title":"Environment Checks Total"},"certified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Certified At"}},"type":"object","required":["environment_checks_passed","environment_checks_total"],"title":"ListingQualityCertification","description":"Buyer-visible trust summary behind the DV verified badge.\n\nCovers how many recommended environment checks passed and when the\ncertifying run completed. Never the report contents."},"ListingQualityCheckEvidence":{"properties":{"check_key":{"type":"string","title":"Check Key"},"check_label":{"type":"string","title":"Check Label"},"check_kind":{"type":"string","title":"Check Kind"},"mandatory":{"type":"boolean","title":"Mandatory"},"certification_only":{"type":"boolean","title":"Certification Only"},"informational":{"type":"boolean","title":"Informational"},"asset_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Type"},"asset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Name"},"status":{"type":"string","title":"Status"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"pass_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pass Threshold"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["check_key","check_label","check_kind","mandatory","certification_only","informational","status"],"title":"ListingQualityCheckEvidence","description":"One check behind the badge, stripped to what a buyer may see.\n\nNever the run contents: no summaries, results, errors, judge traces,\nregistry internals, or pricing. Task-scope rows stay vendor-side."},"ListingQualityEvidenceResponse":{"properties":{"certified":{"type":"boolean","title":"Certified"},"certified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Certified At"},"environment_checks_passed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Environment Checks Passed"},"environment_checks_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Environment Checks Total"},"checks":{"items":{"$ref":"#/components/schemas/ListingQualityCheckEvidence"},"type":"array","title":"Checks","default":[]}},"type":"object","required":["certified"],"title":"ListingQualityEvidenceResponse","description":"The evidence behind a listing's DV quality badge.\n\nCertified listings expose the certifying run's listing- and asset-scope\ncheck rows; uncertified listings expose nothing beyond the flag, so the\ncatalog never doubles as a vendor report card."},"ListingRepoArchive":{"properties":{"full_name":{"type":"string","title":"Full Name"},"status":{"type":"string","enum":["archived","failed"],"title":"Status"},"storage_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Url"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Sha"}},"type":"object","required":["full_name","status"],"title":"ListingRepoArchive","description":"A snapshot of one of a listing's ``github_repos`` entries.\n\nArchived to the vendor's storage by the ``archive_listing_repos`` worker.\n``storage_url`` is the stored locator and ``download_url`` its presigned\nlink; both are stripped on buyer-facing responses until purchase, like the\nbundle. A repo that couldn't be archived carries ``status='failed'`` and an\n``error`` instead."},"ListingResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Id"},"title":{"type":"string","title":"Title"},"review_status":{"type":"string","title":"Review Status"},"catalog_status":{"type":"string","title":"Catalog Status"},"is_listed":{"type":"boolean","title":"Is Listed","default":false},"visibility":{"type":"string","title":"Visibility","default":"public"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"one_liner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"One Liner"},"executive_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executive Summary"},"asset_types":{"items":{"type":"string"},"type":"array","title":"Asset Types"},"domain_tags":{"items":{"type":"string"},"type":"array","title":"Domain Tags"},"tag_slugs":{"items":{"type":"string"},"type":"array","title":"Tag Slugs"},"total_value":{"type":"number","title":"Total Value","default":0.0},"purchase_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchase Price"},"sample_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sample Price"},"sample_available":{"type":"boolean","title":"Sample Available","default":false},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"},"team_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Slug"},"team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Avatar Url"},"team_profile_visibility":{"type":"string","enum":["public","invite","private"],"title":"Team Profile Visibility","default":"public"},"vendor_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vendor Tier"},"is_owned":{"type":"boolean","title":"Is Owned","default":false},"has_sample":{"type":"boolean","title":"Has Sample","default":false},"sale_count":{"type":"integer","title":"Sale Count","default":0},"pending_offer_count":{"type":"integer","title":"Pending Offer Count","default":0},"top_bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Top Bid Amount"},"submitted_bid_count":{"type":"integer","title":"Submitted Bid Count","default":0},"has_buyer_activity":{"type":"boolean","title":"Has Buyer Activity","default":false},"carries_retired_sku":{"type":"boolean","title":"Carries Retired Sku","default":false},"deprecation":{"anyOf":[{"$ref":"#/components/schemas/ListingDeprecation"},{"type":"null"}]},"dv_quality_certified":{"type":"boolean","title":"Dv Quality Certified","default":false},"review_feedback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Feedback"},"assets":{"items":{"$ref":"#/components/schemas/ListingAssetResponse"},"type":"array","title":"Assets","default":[]},"catalog_scale":{"anyOf":[{"$ref":"#/components/schemas/ListingCatalogScale"},{"type":"null"}]}},"type":"object","required":["id","title","review_status","catalog_status","created_at"],"title":"ListingResponse"},"ListingSubmissionSummary":{"properties":{"submission_id":{"type":"string","format":"uuid","title":"Submission Id"},"opportunity_id":{"type":"string","format":"uuid","title":"Opportunity Id"},"opportunity_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["submission_id","opportunity_id","created_at"],"title":"ListingSubmissionSummary","description":"An active opportunity submission on the vendor's own listing (owner detail)."},"ListingTasksetResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"columns":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Columns"},"column_order":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Column Order"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","created_at"],"title":"ListingTasksetResponse","description":"Buyer preview of one of a published listing's tasksets."},"ListingTasksetSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"task_count":{"type":"integer","title":"Task Count","default":0}},"type":"object","required":["id","name"],"title":"ListingTasksetSummary","description":"One taskset attached to a listing, with display metadata."},"NotificationListResponse":{"properties":{"notifications":{"items":{"$ref":"#/components/schemas/NotificationResponse"},"type":"array","title":"Notifications"},"unread_count":{"type":"integer","title":"Unread Count"}},"type":"object","required":["notifications","unread_count"],"title":"NotificationListResponse"},"NotificationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"team_id":{"type":"string","format":"uuid","title":"Team Id"},"type":{"$ref":"#/components/schemas/NotificationType"},"title":{"type":"string","title":"Title"},"message":{"type":"string","title":"Message"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"opportunity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Opportunity Id"},"project_opportunity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Opportunity Id"},"opportunity_bid_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Opportunity Bid Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"read":{"type":"boolean","title":"Read"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","team_id","type","title","message","read","created_at"],"title":"NotificationResponse"},"NotificationType":{"type":"string","enum":["opportunity_published","opportunity_updated","opportunity_listing_submitted","deadline_extended","bid_selected","bid_rejected","bid_completed","deadline_approaching","proposal_received","comment_received","task_ready_for_review","task_review_decision","stage_reached","task_flagged","revision_requested","stale_review_nudge_buyer","stale_review_nudge_vendor","listing_offer_received","listing_offer_accepted","listing_offer_rejected","listing_offer_removed"],"title":"NotificationType"},"OpportunityAdminResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"requirements":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Requirements"},"status":{"type":"string","title":"Status"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"owner_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Name"},"owner_team_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Slug"},"owner_team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Avatar Url"},"owner_team_profile_visibility":{"anyOf":[{"type":"string","enum":["public","invite","private"]},{"type":"null"}],"title":"Owner Team Profile Visibility"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"accepted_asset_types":{"items":{"type":"string"},"type":"array","title":"Accepted Asset Types"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"stage":{"type":"string","enum":["draft","in_review","open","select","closed"],"title":"Stage","default":"draft"},"qc_pipelines":{"items":{"$ref":"#/components/schemas/OpportunityQcPipelineRequirementResponse"},"type":"array","title":"Qc Pipelines"},"visibility_mode":{"type":"string","title":"Visibility Mode"},"required_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Required Tier"},"included_team_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Included Team Ids","default":[]},"excluded_team_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Excluded Team Ids","default":[]}},"type":"object","required":["id","title","status","owner_id","created_at","updated_at","visibility_mode"],"title":"OpportunityAdminResponse","description":"A listing request with its buyer-owned audience configuration."},"OpportunityQcPipelineRequirementResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"owner_team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Owner Team Id"},"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kind":{"type":"string","enum":["deterministic","environment"],"title":"Kind"},"scope":{"type":"string","enum":["listing","asset","task"],"title":"Scope"},"asset_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Type"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"pass_threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pass Threshold"},"credit_price":{"type":"number","title":"Credit Price","default":0},"mandatory":{"type":"boolean","title":"Mandatory"}},"type":"object","required":["id","key","label","kind","scope","mandatory"],"title":"OpportunityQcPipelineRequirementResponse","description":"An opportunity attachment with requirement semantics."},"PaginatedResponse_BuyerOpportunityBidResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuyerOpportunityBidResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"PaginatedResponse[BuyerOpportunityBidResponse]"},"PaginatedResponse_OpportunityAdminResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OpportunityAdminResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"PaginatedResponse[OpportunityAdminResponse]"},"PaginatedResponse_ProjectOpportunityAdminResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ProjectOpportunityAdminResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"PaginatedResponse[ProjectOpportunityAdminResponse]"},"ProjectOpportunityAdminResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"requirements":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Requirements"},"status":{"type":"string","title":"Status"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"owner_team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Name"},"owner_team_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Slug"},"owner_team_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Team Avatar Url"},"owner_team_profile_visibility":{"anyOf":[{"type":"string","enum":["public","invite","private"]},{"type":"null"}],"title":"Owner Team Profile Visibility"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"accepted_asset_types":{"items":{"type":"string"},"type":"array","title":"Accepted Asset Types"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"stage":{"type":"string","enum":["draft","in_review","open","select","ongoing","finished","closed"],"title":"Stage","default":"draft"},"evaluation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Evaluation Date"},"skip_proposal":{"type":"boolean","title":"Skip Proposal","default":false},"visibility_mode":{"type":"string","title":"Visibility Mode"},"required_tier":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Required Tier"},"included_team_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Included Team Ids","default":[]},"excluded_team_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Excluded Team Ids","default":[]},"opportunity_bid_count":{"type":"integer","title":"Opportunity Bid Count","default":0},"internal_goal_task_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Internal Goal Task Count"},"internal_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Internal Deadline"},"internal_deadline_tz":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Internal Deadline Tz"}},"type":"object","required":["id","title","status","owner_id","created_at","updated_at","visibility_mode"],"title":"ProjectOpportunityAdminResponse","description":"A historical project request with audience, bid counts, and internal targets."},"QcCheckVerdict":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"mandatory":{"type":"boolean","title":"Mandatory"},"status":{"type":"string","enum":["pending","passed","failed"],"title":"Status"}},"type":"object","required":["key","label","mandatory","status"],"title":"QcCheckVerdict","description":"One check's buyer-visible verdict: the title, what it checks, and whether it passed.\n\nThe canonical shape for every buyer-facing QC readout. ``description`` is\nthe pipeline's own copy, never the run's output. Never a summary, score,\nor reason — those stay on the vendor's own report."},"RepoActionsStats":{"properties":{"window_days":{"type":"integer","title":"Window Days"},"counted_runs":{"type":"integer","minimum":0.0,"title":"Counted Runs"},"total_runs_reported":{"type":"integer","minimum":0.0,"title":"Total Runs Reported"},"truncated":{"type":"boolean","title":"Truncated"},"conclusion_counts":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["success","failure","cancelled","skipped","other"]},"type":"object","title":"Conclusion Counts"}},"additionalProperties":false,"type":"object","required":["window_days","counted_runs","total_runs_reported","truncated","conclusion_counts"],"title":"RepoActionsStats","description":"Workflow-run conclusions within the capture window."},"RepoArchiveAnalyses":{"properties":{"complexity":{"anyOf":[{"$ref":"#/components/schemas/RepoComplexityMetrics"},{"type":"null"}]},"churn_complexity":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/RepoChurnComplexityMetrics"},{"$ref":"#/components/schemas/RepoChurnComplexityNoHistory"}],"discriminator":{"propertyName":"history_present","mapping":{"False":"#/components/schemas/RepoChurnComplexityNoHistory","True":"#/components/schemas/RepoChurnComplexityMetrics"}}},{"type":"null"}],"title":"Churn Complexity"},"coverage":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/RepoCoverageMetrics"},{"$ref":"#/components/schemas/RepoCoverageNoReport"}],"discriminator":{"propertyName":"report_present","mapping":{"False":"#/components/schemas/RepoCoverageNoReport","True":"#/components/schemas/RepoCoverageMetrics"}}},{"type":"null"}],"title":"Coverage"},"documentation":{"anyOf":[{"$ref":"#/components/schemas/RepoDocumentationMetrics"},{"type":"null"}]},"doc_graph":{"anyOf":[{"$ref":"#/components/schemas/RepoDocGraphMetrics"},{"type":"null"}]},"production_shape":{"anyOf":[{"$ref":"#/components/schemas/RepoProductionShapeFacts"},{"type":"null"}]},"review_activity":{"anyOf":[{"$ref":"#/components/schemas/RepoReviewActivityMetrics"},{"type":"null"}]},"commit_distribution":{"anyOf":[{"$ref":"#/components/schemas/RepoCommitDistributionMetrics"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"RepoArchiveAnalyses","description":"Analysis summaries derived from the asset's stored archive.\n\nArchive-derived like ``total_loc``: the bytes behind a storage URL are\nimmutable, so each slot is derived once and re-derived only when missing or\nwhen its ``analyzer_version`` no longer matches the analyzer. A slot left\nNone was not readable on the last attempt and is retried; the QC checks\ngrade from these summaries and never read the archive themselves."},"RepoAssetMetadata":{"properties":{"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"total_loc":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Total Loc"},"stats":{"anyOf":[{"$ref":"#/components/schemas/RepoStats"},{"type":"null"}]},"git_stats":{"anyOf":[{"$ref":"#/components/schemas/RepoStats"},{"type":"null"}]},"manifest_stats":{"anyOf":[{"$ref":"#/components/schemas/RepoStats"},{"type":"null"}]},"archive_analyses":{"anyOf":[{"$ref":"#/components/schemas/RepoArchiveAnalyses"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"RepoAssetMetadata","description":"Frozen repo slice.\n\n``stats`` is the capture consumers read: the GitHub App's, the vendor\nmanifest's, or either merged over ``git_stats``. ``git_stats`` is the\nhistory derived from the archive's own ``.git`` and is archive-derived like\n``total_loc`` — kept on its own key so it survives the manifest re-parse\nthat rewrites ``stats`` on every freeze. ``archive_analyses`` carries the\nremaining archive-derived summaries and survives re-freezes the same way.\n``manifest_stats`` is the vendor manifest's capture as parsed, before the\nmerge, so a claim the merge dropped in favour of a measurement can still be\nchecked against it."},"RepoChurnComplexityMetrics":{"properties":{"history_present":{"type":"boolean","const":true,"title":"History Present"},"analyzer_version":{"type":"integer","title":"Analyzer Version"},"churn_source":{"type":"string","enum":["git_archive","forge"],"title":"Churn Source","default":"git_archive"},"complexity_anchor":{"type":"integer","title":"Complexity Anchor"},"churn_anchor":{"type":"integer","title":"Churn Anchor"},"window_days":{"type":"integer","title":"Window Days"},"commits_in_window":{"type":"integer","title":"Commits In Window"},"score_percent":{"type":"number","title":"Score Percent"},"median_complexity":{"type":"integer","title":"Median Complexity"},"p90_complexity":{"type":"integer","title":"P90 Complexity"},"median_churn":{"type":"integer","title":"Median Churn"},"p90_churn":{"type":"integer","title":"P90 Churn"},"substantial_files":{"type":"integer","title":"Substantial Files"},"substantial_loc_share":{"type":"number","title":"Substantial Loc Share"},"files_measured":{"type":"integer","title":"Files Measured"},"files_unmeasured":{"type":"integer","title":"Files Unmeasured"},"files_excluded":{"additionalProperties":{"type":"integer"},"type":"object","title":"Files Excluded"},"code_loc":{"type":"integer","title":"Code Loc"},"parse_coverage":{"type":"number","title":"Parse Coverage"},"unmeasurable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["history_present","analyzer_version","complexity_anchor","churn_anchor","window_days","commits_in_window","score_percent","median_complexity","p90_complexity","median_churn","p90_churn","substantial_files","substantial_loc_share","files_measured","files_unmeasured","code_loc","parse_coverage"],"title":"RepoChurnComplexityMetrics","description":"Churn x complexity summary of an archive scored against a window of history.\n\n``churn_source`` says which side supplied the commit counts. It defaults to\nthe bundled ``.git`` because every capture stored before the forge could\nanswer was read from one."},"RepoChurnComplexityNoHistory":{"properties":{"history_present":{"type":"boolean","const":false,"title":"History Present"},"analyzer_version":{"type":"integer","title":"Analyzer Version"}},"additionalProperties":false,"type":"object","required":["history_present","analyzer_version"],"title":"RepoChurnComplexityNoHistory","description":"Recorded when an archive bundles no ``.git`` and no forge counts answered.\n\nDurable for as long as both inputs stay that way, so enrichment never\nre-downloads an archive that has nothing left to yield. Counts arriving from\nthe forge later are a new input and do reopen it. An unreadable history\nstores nothing and is retried instead."},"RepoCommitDistributionMetrics":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"commits_total":{"type":"integer","minimum":0.0,"title":"Commits Total","default":0},"year_buckets":{"items":{"$ref":"#/components/schemas/RepoCommitYearBucket"},"type":"array","title":"Year Buckets"},"peak_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Peak Year"},"pre_2023_commits":{"type":"integer","minimum":0.0,"title":"Pre 2023 Commits","default":0},"pre_2023_percent":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Pre 2023 Percent","default":0},"contributors_total":{"type":"integer","minimum":0.0,"title":"Contributors Total","default":0},"median_commits_per_contributor":{"type":"number","minimum":0.0,"title":"Median Commits Per Contributor","default":0},"top_author_share_percent":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Top Author Share Percent","default":0},"top_five_authors_share_percent":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Top Five Authors Share Percent","default":0},"ranked_author_commit_counts":{"items":{"type":"integer"},"type":"array","title":"Ranked Author Commit Counts"},"other_authors":{"type":"integer","minimum":0.0,"title":"Other Authors","default":0},"other_commits":{"type":"integer","minimum":0.0,"title":"Other Commits","default":0},"unmeasurable_reason":{"anyOf":[{"type":"string","enum":["not_in_archive","shallow_clone"]},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["analyzer_version"],"title":"RepoCommitDistributionMetrics","description":"Commit timing and anonymized author concentration from bundled Git history."},"RepoCommitStats":{"properties":{"ref":{"type":"string","title":"Ref"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Head Sha"},"head_committed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Head Committed At"},"root_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Root Sha"}},"additionalProperties":false,"type":"object","required":["ref","total"],"title":"RepoCommitStats","description":"Commit history reachable from ``ref``."},"RepoCommitYearBucket":{"properties":{"year":{"type":"integer","title":"Year"},"commits":{"type":"integer","minimum":0.0,"title":"Commits"}},"additionalProperties":false,"type":"object","required":["year","commits"],"title":"RepoCommitYearBucket"},"RepoComplexityMetrics":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"complexity_anchor":{"type":"integer","title":"Complexity Anchor"},"score_percent":{"type":"number","title":"Score Percent"},"median_complexity":{"type":"integer","title":"Median Complexity"},"p90_complexity":{"type":"integer","title":"P90 Complexity"},"max_complexity":{"type":"integer","title":"Max Complexity"},"complex_loc_share":{"type":"number","title":"Complex Loc Share"},"files_measured":{"type":"integer","title":"Files Measured"},"files_unmeasured":{"type":"integer","title":"Files Unmeasured"},"files_excluded":{"additionalProperties":{"type":"integer"},"type":"object","title":"Files Excluded"},"code_loc":{"type":"integer","title":"Code Loc"},"parse_coverage":{"type":"number","title":"Parse Coverage"},"grammar_drift":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Grammar Drift"},"silent_languages":{"items":{"type":"string"},"type":"array","title":"Silent Languages"},"unmeasurable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["analyzer_version","complexity_anchor","score_percent","median_complexity","p90_complexity","max_complexity","complex_loc_share","files_measured","files_unmeasured","code_loc","parse_coverage"],"title":"RepoComplexityMetrics","description":"Complexity summary of an archived snapshot's own source.\n\n``score_percent`` is meaningful only when ``unmeasurable_reason`` is None;\nthe counts are stored either way so a withheld verdict stays auditable."},"RepoContributorStats":{"properties":{"total":{"type":"integer","minimum":0.0,"title":"Total"}},"additionalProperties":false,"type":"object","required":["total"],"title":"RepoContributorStats","description":"Contributor count from ``/contributors?anon=1``, anonymous included."},"RepoCoreStats":{"properties":{"size_kb":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Size Kb"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"pushed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pushed At"},"default_branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Branch"},"is_private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Private"},"is_fork":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fork"},"is_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Archived"},"is_disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Disabled"},"has_wiki":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Wiki"},"has_pages":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Pages"},"has_discussions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Discussions"},"stars_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Stars Count"},"forks_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Forks Count"},"watchers_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Watchers Count"},"open_issues_and_prs_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Open Issues And Prs Count","description":"REST open_issues_count renamed: it includes pull requests and must never be presented as an issue count. RepoIssueStats is the issue-count surface."},"topics":{"items":{"type":"string"},"type":"array","title":"Topics"},"license_spdx":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Spdx"},"license_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Name"},"homepage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Homepage"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"additionalProperties":false,"type":"object","title":"RepoCoreStats","description":"Repository profile from ``GET /repos/{owner}/{repo}``."},"RepoCoverageMetrics":{"properties":{"report_present":{"type":"boolean","const":true,"title":"Report Present"},"analyzer_version":{"type":"integer","title":"Analyzer Version"},"line_coverage_percent":{"type":"number","title":"Line Coverage Percent"},"branch_coverage_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Branch Coverage Percent"},"lines_found":{"type":"integer","title":"Lines Found"},"lines_hit":{"type":"integer","title":"Lines Hit"},"files_claimed":{"type":"integer","title":"Files Claimed"},"files_matched":{"type":"integer","title":"Files Matched"},"report_paths":{"items":{"type":"string"},"type":"array","title":"Report Paths"},"unmeasurable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["report_present","analyzer_version","line_coverage_percent","lines_found","lines_hit","files_claimed","files_matched"],"title":"RepoCoverageMetrics","description":"Totals merged from the coverage reports an archived snapshot carries.\n\n``line_coverage_percent`` is meaningful only when ``unmeasurable_reason``\nis None."},"RepoCoverageNoReport":{"properties":{"report_present":{"type":"boolean","const":false,"title":"Report Present"},"analyzer_version":{"type":"integer","title":"Analyzer Version"}},"additionalProperties":false,"type":"object","required":["report_present","analyzer_version"],"title":"RepoCoverageNoReport","description":"Recorded when an archive was read and carries no coverage report."},"RepoDocGraphMetrics":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"coverage_percent":{"type":"number","title":"Coverage Percent"},"documents":{"type":"integer","title":"Documents"},"source_files":{"type":"integer","title":"Source Files"},"source_loc":{"type":"integer","title":"Source Loc"},"documented_source_files":{"type":"integer","title":"Documented Source Files"},"documented_source_loc":{"type":"integer","title":"Documented Source Loc"},"document_edges":{"type":"integer","title":"Document Edges"},"source_edges":{"type":"integer","title":"Source Edges"},"broken_links":{"type":"integer","title":"Broken Links"},"external_links":{"type":"integer","title":"External Links"},"link_integrity_percent":{"type":"number","title":"Link Integrity Percent"},"orphan_documents":{"type":"integer","title":"Orphan Documents"},"reachable_documents":{"type":"integer","title":"Reachable Documents"},"reachable_share_percent":{"type":"number","title":"Reachable Share Percent"},"has_root_document":{"type":"boolean","title":"Has Root Document"},"unmeasurable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["analyzer_version","coverage_percent","documents","source_files","source_loc","documented_source_files","documented_source_loc","document_edges","source_edges","broken_links","external_links","link_integrity_percent","orphan_documents","reachable_documents","reachable_share_percent","has_root_document"],"title":"RepoDocGraphMetrics","description":"Documentation-graph summary of an archived snapshot.\n\n``coverage_percent`` is meaningful only when ``unmeasurable_reason`` is\nNone."},"RepoDocumentationMetrics":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"lines_per_kloc":{"type":"number","title":"Lines Per Kloc"},"documentation_files":{"type":"integer","title":"Documentation Files"},"documentation_lines":{"type":"integer","title":"Documentation Lines"},"in_code_documentation_lines":{"type":"integer","title":"In Code Documentation Lines"},"source_lines":{"type":"integer","title":"Source Lines"},"unmeasured_files":{"type":"integer","title":"Unmeasured Files"},"decision_records":{"type":"integer","title":"Decision Records"},"root_documents":{"items":{"type":"string"},"type":"array","title":"Root Documents"},"has_pull_request_template":{"type":"boolean","title":"Has Pull Request Template"},"has_issue_template":{"type":"boolean","title":"Has Issue Template"},"tracker_key_count":{"type":"integer","title":"Tracker Key Count"},"tracker_keys":{"items":{"type":"string"},"type":"array","title":"Tracker Keys"},"reference_hosts":{"items":{"type":"string"},"type":"array","title":"Reference Hosts"},"unmeasurable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["analyzer_version","lines_per_kloc","documentation_files","documentation_lines","in_code_documentation_lines","source_lines","unmeasured_files","decision_records","has_pull_request_template","has_issue_template","tracker_key_count"],"title":"RepoDocumentationMetrics","description":"Delivered-documentation summary of an archived snapshot.\n\n``documentation_lines`` counts standalone documents and the comments and\ndocstrings inside the source together; ``in_code_documentation_lines`` is\nthe second of those alone, and ``source_lines`` has it removed.\n``lines_per_kloc`` is meaningful only when ``unmeasurable_reason`` is None."},"RepoFileCommitCount":{"properties":{"path":{"type":"string","title":"Path"},"commit_count":{"type":"integer","minimum":0.0,"title":"Commit Count"}},"additionalProperties":false,"type":"object","required":["path","commit_count"],"title":"RepoFileCommitCount","description":"Commit count for one file path."},"RepoFileHistoryStats":{"properties":{"ref":{"type":"string","title":"Ref"},"tree_file_count":{"type":"integer","minimum":0.0,"title":"Tree File Count"},"truncated":{"type":"boolean","title":"Truncated"},"entries":{"items":{"$ref":"#/components/schemas/RepoFileCommitCount"},"type":"array","title":"Entries"}},"additionalProperties":false,"type":"object","required":["ref","tree_file_count","truncated","entries"],"title":"RepoFileHistoryStats","description":"Per-file commit counts.\n\n``history(path:)`` does NOT follow renames; counts undercount recently\nrenamed files and must not be presented as exact lifetime counts."},"RepoIssueStats":{"properties":{"total":{"type":"integer","minimum":0.0,"title":"Total"},"open":{"type":"integer","minimum":0.0,"title":"Open"},"closed":{"type":"integer","minimum":0.0,"title":"Closed"}},"additionalProperties":false,"type":"object","required":["total","open","closed"],"title":"RepoIssueStats","description":"Issue counts from GraphQL ``issues(states:)`` — PR-free by construction."},"RepoLanguageStats":{"properties":{"bytes_by_language":{"additionalProperties":{"type":"integer"},"type":"object","title":"Bytes By Language"}},"additionalProperties":false,"type":"object","required":["bytes_by_language"],"title":"RepoLanguageStats","description":"GitHub Linguist byte counts keyed by language."},"RepoManifestLock":{"properties":{"manifest":{"type":"string","title":"Manifest"},"lockfile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lockfile"}},"additionalProperties":false,"type":"object","required":["manifest"],"title":"RepoManifestLock","description":"One dependency manifest and the lockfile found beside it, if any."},"RepoProductionShapeFacts":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"source_files":{"type":"integer","minimum":0.0,"title":"Source Files"},"test_files":{"type":"integer","minimum":0.0,"title":"Test Files"},"manifests":{"items":{"$ref":"#/components/schemas/RepoManifestLock"},"type":"array","title":"Manifests"},"ci_configs":{"items":{"type":"string"},"type":"array","title":"Ci Configs"},"deploy_configs":{"items":{"type":"string"},"type":"array","title":"Deploy Configs"},"migration_paths":{"items":{"type":"string"},"type":"array","title":"Migration Paths"},"database_dependencies":{"items":{"type":"string"},"type":"array","title":"Database Dependencies"},"readme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Readme"},"changelog":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Changelog"},"git_present":{"type":"boolean","title":"Git Present"},"release_tags":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Release Tags"},"truncated":{"type":"boolean","title":"Truncated"}},"additionalProperties":false,"type":"object","required":["analyzer_version","source_files","test_files","git_present","truncated"],"title":"RepoProductionShapeFacts","description":"Run-readiness artifacts one archive read found, unweighted.\n\nPaths are relative to the repository root. ``release_tags`` is None when\nthe archive bundled no ``.git``, so tags could not be counted."},"RepoPullRequestStats":{"properties":{"total":{"type":"integer","minimum":0.0,"title":"Total"},"open":{"type":"integer","minimum":0.0,"title":"Open"},"merged":{"type":"integer","minimum":0.0,"title":"Merged"},"closed_without_merge":{"type":"integer","minimum":0.0,"title":"Closed Without Merge"}},"additionalProperties":false,"type":"object","required":["total","open","merged","closed_without_merge"],"title":"RepoPullRequestStats","description":"Mutually exclusive pull-request state counts from one snapshot."},"RepoReviewActivityMetrics":{"properties":{"analyzer_version":{"type":"integer","title":"Analyzer Version"},"pull_requests_total":{"type":"integer","minimum":0.0,"title":"Pull Requests Total","default":0},"pull_requests_with_human_activity":{"type":"integer","minimum":0.0,"title":"Pull Requests With Human Activity","default":0},"reviews_total":{"type":"integer","minimum":0.0,"title":"Reviews Total","default":0},"human_reviews":{"type":"integer","minimum":0.0,"title":"Human Reviews","default":0},"approvals":{"type":"integer","minimum":0.0,"title":"Approvals","default":0},"changes_requested":{"type":"integer","minimum":0.0,"title":"Changes Requested","default":0},"conversation_comments_total":{"type":"integer","minimum":0.0,"title":"Conversation Comments Total","default":0},"human_conversation_comments":{"type":"integer","minimum":0.0,"title":"Human Conversation Comments","default":0},"review_comments_total":{"type":"integer","minimum":0.0,"title":"Review Comments Total","default":0},"human_review_comments":{"type":"integer","minimum":0.0,"title":"Human Review Comments","default":0},"commit_comments_total":{"type":"integer","minimum":0.0,"title":"Commit Comments Total","default":0},"human_commit_comments":{"type":"integer","minimum":0.0,"title":"Human Commit Comments","default":0},"distinct_human_participants":{"type":"integer","minimum":0.0,"title":"Distinct Human Participants","default":0},"ai_comments_total":{"type":"integer","minimum":0.0,"title":"Ai Comments Total","default":0},"ai_identities":{"items":{"type":"string"},"type":"array","title":"Ai Identities"},"unmeasurable_reason":{"anyOf":[{"type":"string","enum":["not_in_archive","capture_unreadable","capture_too_large","unsupported_forge"]},{"type":"null"}],"title":"Unmeasurable Reason"}},"additionalProperties":false,"type":"object","required":["analyzer_version"],"title":"RepoReviewActivityMetrics","description":"Human review activity and known AI comments from a GitHub API export."},"RepoStats":{"properties":{"schema_version":{"type":"integer","minimum":1.0,"title":"Schema Version","default":1},"full_name":{"type":"string","title":"Full Name"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"},"public_findable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public Findable"},"core":{"anyOf":[{"$ref":"#/components/schemas/RepoCoreStats"},{"type":"null"}]},"languages":{"anyOf":[{"$ref":"#/components/schemas/RepoLanguageStats"},{"type":"null"}]},"pull_requests":{"anyOf":[{"$ref":"#/components/schemas/RepoPullRequestStats"},{"type":"null"}]},"issues":{"anyOf":[{"$ref":"#/components/schemas/RepoIssueStats"},{"type":"null"}]},"commits":{"anyOf":[{"$ref":"#/components/schemas/RepoCommitStats"},{"type":"null"}]},"contributors":{"anyOf":[{"$ref":"#/components/schemas/RepoContributorStats"},{"type":"null"}]},"actions":{"anyOf":[{"$ref":"#/components/schemas/RepoActionsStats"},{"type":"null"}]},"file_history":{"anyOf":[{"$ref":"#/components/schemas/RepoFileHistoryStats"},{"type":"null"}]},"sections":{"$ref":"#/components/schemas/RepoStatsSections"}},"additionalProperties":false,"type":"object","required":["full_name","ref","fetched_at","public_findable","sections"],"title":"RepoStats","description":"One capture of a repository's GitHub-side statistics.\n\nEach payload-bearing section is present iff its ``sections`` outcome is\n``\"ok\"``, so consumers never null-check individual payload fields."},"RepoStatsSections":{"properties":{"core":{"$ref":"#/components/schemas/SectionOutcome"},"visibility":{"$ref":"#/components/schemas/SectionOutcome"},"languages":{"$ref":"#/components/schemas/SectionOutcome"},"pull_requests":{"$ref":"#/components/schemas/SectionOutcome"},"issues":{"$ref":"#/components/schemas/SectionOutcome"},"commits":{"$ref":"#/components/schemas/SectionOutcome"},"contributors":{"$ref":"#/components/schemas/SectionOutcome"},"actions":{"$ref":"#/components/schemas/SectionOutcome"},"file_history":{"$ref":"#/components/schemas/SectionOutcome"}},"additionalProperties":false,"type":"object","required":["core","visibility","languages","pull_requests","issues","commits","contributors","actions","file_history"],"title":"RepoStatsSections","description":"Per-section fetch outcomes for one capture."},"RepoStatsSummary":{"properties":{"commits_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Commits Total"},"commits_provenance":{"anyOf":[{"type":"string","enum":["verified","claimed"]},{"type":"null"}],"title":"Commits Provenance"},"contributors_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Contributors Total"},"contributors_provenance":{"anyOf":[{"type":"string","enum":["verified","claimed"]},{"type":"null"}],"title":"Contributors Provenance"},"pull_requests_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pull Requests Total"},"pull_requests_provenance":{"anyOf":[{"type":"string","enum":["verified","claimed"]},{"type":"null"}],"title":"Pull Requests Provenance"},"ci_pass_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ci Pass Rate"},"ci_provenance":{"anyOf":[{"type":"string","enum":["verified","claimed"]},{"type":"null"}],"title":"Ci Provenance"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"pushed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pushed At"},"license_spdx":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Spdx"},"core_provenance":{"anyOf":[{"type":"string","enum":["verified","claimed"]},{"type":"null"}],"title":"Core Provenance"}},"type":"object","title":"RepoStatsSummary","description":"Buyer-safe projection of a codebase's frozen stats capture.\n\nThe raw capture never reaches buyers (its file history names real repo\npaths); this carries the aggregate facts, each tagged with who supplied\nit: \"verified\" for platform captures from GitHub, \"claimed\" for numbers\nthe vendor's manifest asserted."},"RoboticsAssetMetadata":{"properties":{"format":{"type":"string","enum":["lerobot_v3","lerobot_v2","ego_exo","other"],"title":"Format"}},"additionalProperties":false,"type":"object","required":["format"],"title":"RoboticsAssetMetadata","description":"Vendor-declared robotics format subtype.\n\nNot server-derived: the attach UI sets ``format`` so QC can skip checks\nthat do not apply (LeRobot schema vs ego/exo layout)."},"ScenarioArgument":{"properties":{"name":{"type":"string","title":"Name"},"required":{"type":"boolean","title":"Required","default":false},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"default":{"anyOf":[{},{"type":"null"}],"title":"Default"},"inputSchema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputschema"}},"type":"object","required":["name"],"title":"ScenarioArgument"},"SectionOutcome":{"properties":{"status":{"type":"string","enum":["ok","unavailable_permission","unavailable_auth","not_found","rate_limited","error","skipped"],"title":"Status"},"source":{"type":"string","enum":["forge","git_archive","archive_capture","vendor_manifest"],"title":"Source","default":"forge"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"additionalProperties":false,"type":"object","required":["status"],"title":"SectionOutcome","description":"How one stats section's fetch concluded.\n\n``source`` is who produced the section, and it decides precedence when two\ncaptures hold the same one. It defaults to ``forge`` because the App is the\ndefault producer; every other source stamps itself. A section no source\nproduced — a slot cleared for a re-read — carries the default and is never\nread for provenance, since it holds no payload."},"SkuDeprecationResponse":{"properties":{"deprecated_at":{"type":"string","format":"date-time","title":"Deprecated At"},"retires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retires At"},"retired":{"type":"boolean","title":"Retired"},"accepts_new_listings":{"type":"boolean","title":"Accepts New Listings"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["deprecated_at","retires_at","retired","accepts_new_listings","message"],"title":"SkuDeprecationResponse","description":"A deprecated SKU: it accepts no new assets, and listings carrying it are archived at ``retires_at``."},"StoredAttachment":{"properties":{"name":{"type":"string","title":"Name"},"upload_url":{"type":"string","title":"Upload Url"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"status":{"type":"string","enum":["staged","archived","failed"],"title":"Status","default":"staged"},"storage_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Url"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"}},"type":"object","required":["name","upload_url"],"title":"StoredAttachment","description":"One attachment as persisted in the owning entity's JSONB list.\n\n``upload_url`` is the staged upload locator the uploader attached. The\narchive worker copies it under the entity's own prefix and records the\noutcome: ``status='archived'`` with ``storage_url``/``size``, or\n``status='failed'`` with ``error``."},"TaskActivityEvent":{"properties":{"event":{"type":"string","title":"Event"},"at":{"type":"string","title":"At"},"by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"By"},"by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By Name"},"by_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By Avatar Url"},"by_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By Role"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"done":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Done"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","required":["event","at"],"title":"TaskActivityEvent"},"TaskBrief":{"properties":{"prompt":{"type":"string","title":"Prompt"},"attachments":{"items":{"$ref":"#/components/schemas/StoredAttachment"},"type":"array","title":"Attachments"}},"type":"object","required":["prompt"],"title":"TaskBrief","description":"The persisted shape of ``task_versions.brief``.\n\nDrafts are no longer authored; the brief-archive worker is the only\nremaining writer."},"TaskEnvironmentBrief":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Version"},"origin":{"anyOf":[{"$ref":"#/components/schemas/ExternalOrigin"},{"type":"null"}]}},"type":"object","required":["id","name"],"title":"TaskEnvironmentBrief","description":"Environment holding the build a task version targets."},"TaskResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"taskset_id":{"type":"string","format":"uuid","title":"Taskset Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"latest_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Latest Version Id"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"column_values":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"items":{"type":"string"},"type":"array"},{"type":"null"}]},"type":"object","title":"Column Values"},"binarized":{"type":"boolean","title":"Binarized","default":false},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assignee User Id"},"activity_log":{"items":{"$ref":"#/components/schemas/TaskActivityEvent"},"type":"array","title":"Activity Log"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","taskset_id","name","created_at"],"title":"TaskResponse"},"TaskScenarioBrief":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"registry_id":{"type":"string","format":"uuid","title":"Registry Id"},"build_id":{"type":"string","format":"uuid","title":"Build Id"},"sdk_generation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sdk Generation"},"arguments":{"items":{"$ref":"#/components/schemas/ScenarioArgument"},"type":"array","title":"Arguments","default":[]},"registry_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registry Display Name"},"build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Version"},"has_workspace":{"type":"boolean","title":"Has Workspace","default":false}},"type":"object","required":["id","name","registry_id","build_id"],"title":"TaskScenarioBrief"},"TaskState":{"type":"string","enum":["draft","pending","ready","verified","revision","rejected"],"title":"TaskState","description":"Canonical task workflow state.\n\nLives in the kernel so both the DB layer (orm.py pg enum) and the decision\ncore (tasks.state) depend downward on it."},"TaskVersionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"build_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Build Id"},"scenario_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Name"},"version":{"type":"integer","title":"Version"},"validation":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Validation"},"scenario_args":{"additionalProperties":true,"type":"object","title":"Scenario Args"},"system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Prompt"},"agent_config":{"additionalProperties":true,"type":"object","title":"Agent Config"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"status":{"type":"string","title":"Status","default":"active"},"current_state":{"$ref":"#/components/schemas/TaskState","default":"pending"},"lifecycle_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lifecycle Stage"},"brief":{"anyOf":[{"$ref":"#/components/schemas/TaskBrief"},{"type":"null"}]},"internally_reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Internally Reviewed At"},"internally_reviewed_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Internally Reviewed By"},"previous_review_decision":{"anyOf":[{"$ref":"#/components/schemas/TaskState"},{"type":"null"}]},"previous_review_decision_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous Review Decision Version Number"},"revision_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revision Requested At"},"scenario":{"anyOf":[{"$ref":"#/components/schemas/TaskScenarioBrief"},{"type":"null"}]},"environment":{"anyOf":[{"$ref":"#/components/schemas/TaskEnvironmentBrief"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","task_id","version","created_at"],"title":"TaskVersionResponse"},"TaskVersionTraceStats":{"properties":{"task_version_id":{"type":"string","format":"uuid","title":"Task Version Id"},"traces":{"items":{"$ref":"#/components/schemas/TraceStatsItem"},"type":"array","title":"Traces"},"last_run_build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Run Build Version"},"latest_env_build_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Env Build Version"}},"type":"object","required":["task_version_id","traces"],"title":"TaskVersionTraceStats"},"TaskWithVersionResponse":{"properties":{"task":{"$ref":"#/components/schemas/TaskResponse"},"version":{"$ref":"#/components/schemas/TaskVersionResponse"}},"type":"object","required":["task","version"],"title":"TaskWithVersionResponse"},"TasksWithStatsResponse":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/TaskWithVersionResponse"},"type":"array","title":"Tasks"},"task_stats":{"items":{"$ref":"#/components/schemas/TaskVersionTraceStats"},"type":"array","title":"Task Stats"},"derived_column_values":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/DerivedColumnValue"},"propertyNames":{"format":"uuid"},"type":"object"},"type":"object","title":"Derived Column Values"}},"type":"object","required":["tasks","task_stats"],"title":"TasksWithStatsResponse"},"TasksetAssetMetadata":{"properties":{"task_count":{"type":"integer","minimum":0.0,"title":"Task Count"}},"additionalProperties":false,"type":"object","required":["task_count"],"title":"TasksetAssetMetadata"},"TraceStatsItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reward":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reward"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"model_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Id"},"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"}},"type":"object","required":["id","created_at"],"title":"TraceStatsItem"},"ValidationError":{"title":"ValidationError","type":"object","properties":{"type":{"type":"string","title":"Error Type"},"loc":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location"},"msg":{"type":"string","title":"Message"}},"required":["type","loc","msg"]},"WalletBalances":{"properties":{"total":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total"},"pending":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending"},"available":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available"}},"type":"object","required":["total","pending","available"],"title":"WalletBalances","description":"Derived earnings balances.\n\n``total`` is the full signed ledger sum, ``available`` counts entries\nwhose ``available_at`` has passed, and ``pending`` is the remainder still\nsettling. Refund clawbacks share the reversed sale's availability date."},"WalletResponse":{"properties":{"credits_balance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Credits Balance"},"earnings":{"$ref":"#/components/schemas/WalletBalances"},"currency":{"type":"string","title":"Currency","default":"usd"}},"type":"object","required":["credits_balance","earnings"],"title":"WalletResponse","description":"The team's money surfaces: HUD credits plus vendor earnings balances.\n\nEarnings are all zero for teams that never sold anything."},"ZipAssetMetadata":{"properties":{"entry_count":{"type":"integer","minimum":0.0,"title":"Entry Count"},"total_uncompressed_bytes":{"type":"integer","minimum":0.0,"title":"Total Uncompressed Bytes"},"top_level_entries":{"items":{"type":"string"},"type":"array","title":"Top Level Entries"},"extensions":{"additionalProperties":{"type":"integer"},"type":"object","title":"Extensions"},"size_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size Display","description":"Human-readable uncompressed size; None until a manifest read lands one.","readOnly":true}},"additionalProperties":false,"type":"object","required":["entry_count","total_uncompressed_bytes","size_display"],"title":"ZipAssetMetadata"}}}}