{"openapi":"3.1.0","info":{"title":"yugmalib API","description":"Industrial automation 3D library — public REST API","version":"0.2.0"},"paths":{"/v1/health":{"get":{"summary":"Health","description":"Liveness. Deliberately touches nothing.","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/health/ready":{"get":{"summary":"Ready","description":"Readiness: the store answers and the catalog is non-empty.\n\nAn empty catalog is reported as not-ready on purpose. A store that responds\nwith zero categories means the publish pipeline has not run (or pointed at\nthe wrong project) — serving an empty catalog looks \"up\" while being\nuseless, which is the failure mode hardest to notice.\n\nThe store is resolved **inside** the try block rather than via\n`Depends(get_store)`. Constructing a `FirestoreStore` can itself fail (bad\ncredentials, unreachable project), and with `Depends` that failure happens\nduring dependency resolution — before this handler runs — so it surfaced as\nan opaque 500 instead of a readiness 503. Verified against a container with\nno Firestore credentials: `Depends` → 500, this form → 503.\n`dependency_overrides` is consulted explicitly so tests can still inject a\nfake store.","operationId":"ready_v1_health_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/version":{"get":{"summary":"Version","description":"Build identity — what is actually running.\n\n`git_sha` / `build_time` are injected as environment variables at deploy\ntime (see docs/DEPLOY.md); they are empty in a local run, which is itself\nthe signal that this is not a deployed build.","operationId":"version_v1_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/categories":{"get":{"summary":"List Categories","operationId":"list_categories_v1_categories_get","parameters":[{"name":"with_counts","in":"query","required":false,"schema":{"type":"boolean","description":"annotate each category with model/manufacturer counts","default":false,"title":"With Counts"},"description":"annotate each category with model/manufacturer counts"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/categories/{cat_id}":{"get":{"summary":"Get Category","operationId":"get_category_v1_categories__cat_id__get","parameters":[{"name":"cat_id","in":"path","required":true,"schema":{"type":"string","title":"Cat Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategorySchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/manufacturers":{"get":{"summary":"List Manufacturers","operationId":"list_manufacturers_v1_manufacturers_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"enum":["name","country"],"type":"string"},{"type":"null"}],"description":"field to sort by","title":"Sort"},"description":"field to sort by"},{"name":"order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","default":"asc","title":"Order"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManufacturerListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/manufacturers/{mfr_id}":{"get":{"summary":"Get Manufacturer","operationId":"get_manufacturer_v1_manufacturers__mfr_id__get","parameters":[{"name":"mfr_id","in":"path","required":true,"schema":{"type":"string","title":"Mfr Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManufacturerSchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models":{"get":{"summary":"List Models","operationId":"list_models_v1_models_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"manufacturer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manufacturer Id"}},{"name":"has_ygm","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"true → only models with a 3D YGM asset; false → only those without","title":"Has Ygm"},"description":"true → only models with a 3D YGM asset; false → only those without"},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"enum":["payload_kg","reach_mm","axes","weight_kg","model_number"],"type":"string"},{"type":"null"}],"description":"field to sort by","title":"Sort"},"description":"field to sort by"},{"name":"order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","default":"asc","title":"Order"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models/{model_id}":{"get":{"summary":"Get Model","operationId":"get_model_v1_models__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search":{"get":{"summary":"Search","operationId":"search_v1_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"enum":["model","manufacturer"],"type":"string"},{"type":"null"}],"description":"Scope results to one doc type; omit for both.","title":"Type"},"description":"Scope results to one doc type; omit for both."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"1-based page over the ranked matches","default":1,"title":"Page"},"description":"1-based page over the ranked matches"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/assets/{model_id}/sign":{"get":{"summary":"Sign","operationId":"sign_v1_assets__model_id__sign_get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["ygm","gltf","glb","usd"],"type":"string","description":"asset flavour to resolve","default":"ygm","title":"Kind"},"description":"asset flavour to resolve"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sign V1 Assets  Model Id  Sign Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/urdf/assemble":{"get":{"summary":"Assemble","operationId":"assemble_v1_urdf_assemble_get","parameters":[{"name":"model","in":"query","required":true,"schema":{"type":"string","description":"model id","title":"Model"},"description":"model id"},{"name":"state","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"description":"Joint value as '<joint>:<value>', repeatable (?state=joint_1:0.5&state=joint_2:-1.2). Radians for revolute/continuous joints, metres for prismatic. Values outside a joint's <limit> are clamped, and the applied values are echoed back in `states`. Omit for the zero pose.","default":[],"title":"State"},"description":"Joint value as '<joint>:<value>', repeatable (?state=joint_1:0.5&state=joint_2:-1.2). Radians for revolute/continuous joints, metres for prismatic. Values outside a joint's <limit> are clamped, and the applied values are echoed back in `states`. Omit for the zero pose."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Assemble V1 Urdf Assemble Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/datasheet/{model_id}":{"get":{"summary":"Redirect To Cached","description":"Redirect to /v1/datasheet/{id}/raw — cached the first time it hits.","operationId":"redirect_to_cached_v1_datasheet__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/datasheet/{model_id}/raw":{"get":{"summary":"Serve Cached","operationId":"serve_cached_v1_datasheet__model_id__raw_get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/stats":{"get":{"tags":["library-v2"],"summary":"Stats","operationId":"stats_v2_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2StatsSchema"}}}}}}},"/v2/packs":{"get":{"tags":["library-v2"],"summary":"List Packs","operationId":"list_packs_v2_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2PackListResponse"}}}}}}},"/v2/collections":{"get":{"tags":["library-v2"],"summary":"List Collections","operationId":"list_collections_v2_collections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2CollectionListResponse"}}}}}}},"/v2/countries":{"get":{"tags":["library-v2"],"summary":"List Countries","operationId":"list_countries_v2_countries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2CountryListResponse"}}}}}}},"/v2/sectors":{"get":{"tags":["library-v2"],"summary":"List Sectors","operationId":"list_sectors_v2_sectors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2SectorListResponse"}}}}}}},"/v2/assets":{"get":{"tags":["library-v2"],"summary":"List Assets","operationId":"list_assets_v2_assets_get","parameters":[{"name":"pack","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"primary or secondary pack id, e.g. P23","title":"Pack"},"description":"primary or secondary pack id, e.g. P23"},{"name":"collection","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"collection id, e.g. C03","title":"Collection"},"description":"collection id, e.g. C03"},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO-3166 alpha-2, e.g. IN","title":"Country"},"description":"ISO-3166 alpha-2, e.g. IN"},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"industry lens, e.g. aerospace","title":"Sector"},"description":"industry lens, e.g. aerospace"},{"name":"namespace","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"forma | atlas | forge | yugma","title":"Namespace"},"description":"forma | atlas | forge | yugma"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"articulated","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"true → only assets with bound joints","title":"Articulated"},"description":"true → only assets with bound joints"},{"name":"new_only","in":"query","required":false,"schema":{"type":"boolean","description":"only assets new in this release","default":false,"title":"New Only"},"description":"only assets new in this release"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2AssetListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/search":{"get":{"tags":["library-v2"],"summary":"Search","operationId":"search_v2_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"pack","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pack"}},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/assets/{asset_id}":{"get":{"tags":["library-v2"],"summary":"Get Asset","operationId":"get_asset_v2_assets__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2AssetSchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CategoryListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CategorySchema"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"CategoryListResponse"},"CategorySchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"model_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Model Count"},"manufacturer_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Manufacturer Count"}},"additionalProperties":true,"type":"object","required":["id"],"title":"CategorySchema"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ManufacturerListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/ManufacturerSchema"},"type":"array","title":"Results"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["results","page","limit","total"],"title":"ManufacturerListResponse"},"ManufacturerSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"category":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Category"}},"additionalProperties":true,"type":"object","required":["id"],"title":"ManufacturerSchema"},"ModelListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/ModelSchema"},"type":"array","title":"Results"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["results","page","limit","total"],"title":"ModelListResponse"},"ModelSchema":{"properties":{"id":{"type":"string","title":"Id"},"model_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Number"},"manufacturer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Manufacturer"},"category":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Category"},"payload_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payload Kg"},"reach_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reach Mm"},"axes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Axes"},"assets":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Assets"}},"additionalProperties":true,"type":"object","required":["id"],"title":"ModelSchema"},"SearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"type":{"anyOf":[{"type":"string","enum":["model","manufacturer"]},{"type":"null"}],"title":"Type"},"limit":{"type":"integer","title":"Limit"},"page":{"type":"integer","title":"Page","default":1},"total":{"type":"integer","title":"Total"},"doc_type_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Doc Type Counts"},"category_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Category Counts","default":{}},"truncated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Truncated"},"results":{"items":{"$ref":"#/components/schemas/SearchResultSchema"},"type":"array","title":"Results"}},"type":"object","required":["query","limit","total","doc_type_counts","results"],"title":"SearchResponse"},"SearchResultSchema":{"properties":{"objectID":{"type":"string","title":"Objectid"},"doc_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Type"}},"additionalProperties":true,"type":"object","required":["objectID"],"title":"SearchResultSchema"},"V2AssetListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/V2AssetSummarySchema"},"type":"array","title":"Results"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["results","page","limit","total"],"title":"V2AssetListResponse"},"V2AssetSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"namespace":{"type":"string","title":"Namespace"},"kind":{"type":"string","title":"Kind"},"primary_pack":{"type":"string","title":"Primary Pack"},"secondary_packs":{"items":{"type":"string"},"type":"array","title":"Secondary Packs","default":[]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"},"mount":{"type":"string","title":"Mount","default":"floor"},"description":{"type":"string","title":"Description","default":""},"dimensions":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Dimensions"},"parts":{"type":"integer","title":"Parts","default":0},"joints":{"type":"integer","title":"Joints","default":0},"available_quality":{"items":{"type":"string"},"type":"array","title":"Available Quality","default":[]},"new_this_release":{"type":"boolean","title":"New This Release","default":false},"version":{"type":"string","title":"Version","default":""},"manifest_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Hash"},"module":{"type":"string","title":"Module"},"factory":{"type":"string","title":"Factory"},"snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snapshot Id"},"source_closure_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Closure Hash"},"review_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review State"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities","default":[]},"parameters":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Parameters","default":[]},"defaults":{"additionalProperties":true,"type":"object","title":"Defaults","default":{}},"materials":{"additionalProperties":{"type":"string"},"type":"object","title":"Materials","default":{}},"approval":{"type":"string","title":"Approval","default":""},"license":{"type":"string","title":"License","default":""},"extra":{"additionalProperties":true,"type":"object","title":"Extra","default":{}}},"additionalProperties":true,"type":"object","required":["id","name","namespace","kind","primary_pack","module","factory"],"title":"V2AssetSchema"},"V2AssetSummarySchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"namespace":{"type":"string","title":"Namespace"},"kind":{"type":"string","title":"Kind"},"primary_pack":{"type":"string","title":"Primary Pack"},"secondary_packs":{"items":{"type":"string"},"type":"array","title":"Secondary Packs","default":[]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"},"mount":{"type":"string","title":"Mount","default":"floor"},"description":{"type":"string","title":"Description","default":""},"dimensions":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Dimensions"},"parts":{"type":"integer","title":"Parts","default":0},"joints":{"type":"integer","title":"Joints","default":0},"available_quality":{"items":{"type":"string"},"type":"array","title":"Available Quality","default":[]},"new_this_release":{"type":"boolean","title":"New This Release","default":false},"version":{"type":"string","title":"Version","default":""},"manifest_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Hash"}},"additionalProperties":true,"type":"object","required":["id","name","namespace","kind","primary_pack"],"title":"V2AssetSummarySchema"},"V2CollectionListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/V2CollectionSchema"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"V2CollectionListResponse"},"V2CollectionSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"families":{"items":{"type":"string"},"type":"array","title":"Families","default":[]}},"additionalProperties":true,"type":"object","required":["id","name","slug"],"title":"V2CollectionSchema"},"V2CountryListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/V2CountrySchema"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"V2CountryListResponse"},"V2CountrySchema":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"asset_count":{"type":"integer","title":"Asset Count","default":0}},"additionalProperties":true,"type":"object","required":["code","name"],"title":"V2CountrySchema"},"V2PackListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/V2PackSchema"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"V2PackListResponse"},"V2PackSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"short_name":{"type":"string","title":"Short Name"},"slug":{"type":"string","title":"Slug"},"collection_id":{"type":"string","title":"Collection Id"},"asset_count":{"type":"integer","title":"Asset Count","default":0}},"additionalProperties":true,"type":"object","required":["id","name","short_name","slug","collection_id"],"title":"V2PackSchema"},"V2SearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"results":{"items":{"$ref":"#/components/schemas/V2AssetSummarySchema"},"type":"array","title":"Results"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["query","results","total"],"title":"V2SearchResponse"},"V2SectorListResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/V2SectorSchema"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"V2SectorListResponse"},"V2SectorSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"asset_count":{"type":"integer","title":"Asset Count","default":0}},"additionalProperties":true,"type":"object","required":["id","name"],"title":"V2SectorSchema"},"V2StatsSchema":{"properties":{"release":{"type":"string","title":"Release"},"schema":{"type":"string","title":"Schema","default":""},"managed":{"additionalProperties":true,"type":"object","title":"Managed","default":{}},"pinned":{"type":"integer","title":"Pinned","default":0},"assets":{"type":"integer","title":"Assets"},"packs":{"type":"integer","title":"Packs"},"collections":{"type":"integer","title":"Collections"},"countries":{"type":"integer","title":"Countries"},"sectors":{"type":"integer","title":"Sectors"}},"additionalProperties":true,"type":"object","required":["release","assets","packs","collections","countries","sectors"],"title":"V2StatsSchema"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}