{"openapi":"3.0.1","info":{"title":"Search","description":"Service designed to ingest search data into Elasticsearch.\n <b><h1>Deprecated endpoints:</h1></b><table border=\"1px;\"><tr><th style=\"text-align: center; vertical-align: middle;\"><b><h3>Uri</b></h3></th><th><b>Method</b></th><th><b><h3>Since</h3></b></th><th><b><h3>End of life</h3></b></th></tr></table>","version":"1-core"},"servers":[{"url":"api.test.bluestonepim.com/search","description":"Default Server URL."}],"tags":[{"name":"Imports","description":"To manage import data."},{"name":"Full-text search","description":"To manage full-text search."},{"name":"Search","description":"To search data using an Elasticsearch."}],"paths":{"/products/search":{"post":{"tags":["Search"],"summary":"Search for products using an Elasticsearch query.","operationId":"productsSearch","parameters":[{"name":"archiveState","in":"query","description":"Archive state.","required":false,"schema":{"type":"string","enum":["ACTIVE","ARCHIVED"]}},{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PimProductSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductSearchResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"PRODUCTS","accessType":"DETAILS"}]}},"/products/scroll/search":{"post":{"tags":["Search"],"summary":"Search for products using an Elasticsearch query and scroll. Prefer using POST products/cursor instead.","operationId":"productsSearchWithScroll","parameters":[{"name":"archiveState","in":"query","description":"Archive state.","required":false,"schema":{"type":"string","enum":["ACTIVE","ARCHIVED"]}},{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PimProductSearchScrollRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductSearchScrollResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"PRODUCTS","accessType":"DETAILS"}]}},"/products/cursor":{"post":{"tags":["Search"],"summary":"Search for products using cursor-based pagination with default sorting.","operationId":"productsSearchWithCursor","parameters":[{"name":"archiveState","in":"query","description":"Archive state.","required":false,"schema":{"type":"string","enum":["ACTIVE","ARCHIVED"]}},{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PimProductSearchCursorRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductSearchCursorResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"PRODUCTS","accessType":"DETAILS"}]}},"/products/count":{"post":{"tags":["Search"],"summary":"Count for products using an Elasticsearch query.","operationId":"productsCount","parameters":[{"name":"archiveState","in":"query","description":"Archive state.","required":false,"schema":{"type":"string","enum":["ACTIVE","ARCHIVED"]}},{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PimProductCountRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCountResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"PRODUCTS","accessType":"DETAILS"}]}},"/assets/search":{"post":{"tags":["Search"],"summary":"Search for assets using an Elasticsearch query.","operationId":"assetsSearch","parameters":[{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediabankAssetSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetSearchResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"MEDIA","accessType":"READ"}]}},"/assets/cursor":{"post":{"tags":["Search"],"summary":"Search for assets using cursor-based pagination.","operationId":"assetsSearchWithCursor","parameters":[{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediabankAssetSearchCursorRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetSearchCursorResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"MEDIA","accessType":"READ"}]}},"/assets/count":{"post":{"tags":["Search"],"summary":"Count for assets using an Elasticsearch query.","operationId":"assetsCount","parameters":[{"name":"context","in":"header","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string","default":"en"}},{"name":"context-fallback","in":"header","description":"Specifies whether to enable the fallback mechanism for the context. If omitted, the default value `true` will be used. When set to `true`, the system will provide a default translation or relevant information if the requested context's specific translation is missing.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** Setting the `context-fallback` parameter to `false` disables the fallback mechanism. In this configuration, if a translation or specific context information is not available, the system will not provide an alternative or default content. This ensures that only content that matches the exact context ID requested is returned, potentially leading to cases where no content is available if the specific translation is missing.","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediabankAssetCountRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetCountResponse"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"MEDIA","accessType":"READ"}]}},"/find":{"get":{"tags":["Full-text search"],"summary":"Execute the search query.","operationId":"find","parameters":[{"name":"context","in":"query","description":"Specifies the context in which to operate. If omitted, the default context `en` is used.\n\nIn Bluestone PIM, the context is generally synonymous with the language setting. The context determines how product information is tailored and presented based on language or other local specifications.\n\nFor more detailed information on how context relates to language settings in Bluestone PIM, refer to the [Languages and Context documentation](https://help.bluestonepim.com/languages-and-context).\n\n**Note:** The default context is identified by the ID `\"en\"`. IDs for additional contexts begin with a lowercase `\"L\"`, **not** with the digit `\"1\"`, followed by a number. This naming convention helps distinguish between default and custom contexts within Bluestone PIM.","required":false,"schema":{"type":"string"}},{"name":"query","in":"query","description":"Search query.","required":false,"schema":{"type":"string"}},{"name":"searchableFields","in":"query","description":"List of searchable fields with optional field boosting\nFormat: <field_name>[:<field_boosting>]\nAvailable fields: PRODUCT_NAME, PRODUCT_DESCRIPTION, PRODUCT_NUMBER, PRODUCT_ATTRIBUTES","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"archiveState","in":"query","description":"Archive state.","required":false,"schema":{"type":"string","default":"ACTIVE","enum":["ACTIVE","ARCHIVED"]}},{"name":"highlight","in":"query","description":"Enable or disable highlighting.","required":false,"schema":{"type":"boolean"}},{"name":"fragmentSize","in":"query","description":"The size of the highlighted fragment in characters.","required":false,"schema":{"maximum":1000,"minimum":0,"type":"integer","format":"int32","default":20}},{"name":"fuzziness","in":"query","description":"The fuzziness maximum edit distance.","required":false,"schema":{"type":"string","default":"AUTO","enum":["ZERO","ONE","TWO","AUTO"]}},{"name":"page","in":"query","description":"Page to be returned.","required":false,"schema":{"minimum":0,"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","description":"Number of items to be returned.","required":false,"schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindResponseList"}}}},"400":{"description":"Bad Request\n\nThis response indicates that the server could not understand the request due to invalid syntax. It is typically triggered by client-side input errors such as improperly formatted requests, missing required fields, or invalid data values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}],"x-bluestone-allowed-user-types":["RESTRICTED","STANDARD"],"x-bluestone-permission":[{"module":"SEARCH","accessType":"READ"}]}}},"components":{"schemas":{"AssetFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Asset filter type.","type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN","ASSIGNED_TO_ANY","ASSIGNED_TO_ALL","NOT_HAVE_LABEL","HAVE_LABEL"]},"labelsIds":{"title":"Asset label Id values.","type":"array","nullable":true,"items":{"title":"Asset label Id values.","type":"string"}},"assetCount":{"title":"Asset count.","type":"integer","format":"int32","nullable":true},"assetIds":{"title":"Asset Id values.","type":"array","nullable":true,"items":{"title":"Asset Id values.","type":"string"}}}},"AttributeFilter":{"required":["attributeDefinitionId","type"],"type":"object","properties":{"type":{"title":"Attribute filter type.","type":"string","enum":["CONTAINS","NOT_CONTAINS","EQUALS","NOT_EQUALS","EMPTY","NOT_EMPTY","BETWEEN","NOT_BETWEEN","GREATER_THAN","GREATER_OR_EQUALS_TO","SMALLER_THAN","SMALLER_OR_EQUALS_TO","DOES_HAVE_SOME","DOESNT_HAVE_ANY","DOES_HAVE_ALL","DOESNT_HAVE_ALL","ASSOCIATED","NOT_ASSOCIATED","IN","DATE_RELATIVE"]},"attributeDefinitionId":{"title":"Attribute definition Id.","minLength":1,"type":"string"},"values":{"title":"Attribute values.","type":"array","nullable":true,"items":{"title":"Attribute values.","type":"string"}},"unit":{"title":"Attribute unit.","type":"string","nullable":true,"enum":["DAYS_AGO","DAYS_FROM_NOW"]}}},"BaseFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Product base filter type.","type":"string","enum":["NAME_IS","NAME_CONTAINS","NAME_NOT_CONTAINS","NAME_STARTS_WITH","NAME_ENDS_WITH","NAME_EMPTY","NAME_NOT_EMPTY","NUMBER_IS","NUMBER_CONTAINS","NUMBER_NOT_CONTAINS","NUMBER_STARTS_WITH","NUMBER_ENDS_WITH","NUMBER_IN","DESCRIPTION_IS","DESCRIPTION_CONTAINS","DESCRIPTION_NOT_CONTAINS","DESCRIPTION_STARTS_WITH","DESCRIPTION_ENDS_WITH","DESCRIPTION_EMPTY","DESCRIPTION_NOT_EMPTY","ID_IN","NUMBER_NOT_IN","LAST_MODIFIED_BY_IS","LAST_MODIFIED_BY_CURRENT_USER"]},"values":{"title":"Values to use for filtering.","type":"array","nullable":true,"items":{"title":"Values to use for filtering.","type":"string"}}}},"BundleFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Bundle filter type.","type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN"]},"bundleCount":{"title":"Bundle count.","type":"integer","format":"int32","nullable":true}}},"CategoryFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Category filter type.","type":"string","enum":["IN_ANY_CHILD","IN_CATEGORY","WITHOUT_CATEGORY"]},"categoryId":{"title":"Category Id.","type":"string","nullable":true}}},"CreateDateFilter":{"required":["dateMilis","type"],"type":"object","properties":{"type":{"title":"Date filter type.","type":"string","enum":["GREATER_EQUAL","LESS_EQUAL"]},"dateMilis":{"title":"Date in milliseconds to use for filtering.","minimum":0,"type":"integer","format":"int64"}}},"CreateDateRelativeFilter":{"required":["type","value"],"type":"object","properties":{"type":{"title":"Create date relative filter type.","type":"string","enum":["DAYS_AGO"]},"value":{"title":"Value to use for filtering.","minimum":0,"type":"integer","format":"int64"}}},"GroupFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Group filter type.","type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN"]},"groupCount":{"title":"Group count.","type":"integer","format":"int32","nullable":true}}},"LabelFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Label filter type.","type":"string","enum":["ALL","SOME","NOT","EMPTY"]},"labelsIds":{"title":"Label Id values.","type":"array","nullable":true,"items":{"title":"Label Id values.","type":"string"}}}},"LastSyncStateFilter":{"required":["lastSyncState","type"],"type":"object","properties":{"type":{"title":"Product last sync state filter type.","type":"string","enum":["IS"]},"lastSyncState":{"title":"Product last sync state value.","type":"string","enum":["SUCCESSFUL","FAILED"]}}},"LastUpdateFilter":{"required":["dateMilis","type"],"type":"object","properties":{"type":{"title":"Date filter type.","type":"string","enum":["GREATER_EQUAL","LESS_EQUAL"]},"dateMilis":{"title":"Date in milliseconds to use for filtering.","minimum":0,"type":"integer","format":"int64"}}},"LastUpdateRelativeFilter":{"required":["type","value"],"type":"object","properties":{"type":{"title":"Last update date relative filter type.","type":"string","enum":["DAYS_AGO"]},"value":{"title":"Value to use for filtering.","minimum":0,"type":"integer","format":"int64"}}},"OutOfSyncFilter":{"required":["outOfSync","type"],"type":"object","properties":{"type":{"title":"Product out of sync filter type.","type":"string","enum":["IS"]},"outOfSync":{"title":"Product out of sync flag value.","type":"boolean"}}},"PimProductSearchRequest":{"required":["page","pageSize"],"type":"object","properties":{"page":{"title":"A number sequence representing a block of items to return as a result set.","maximum":10000,"minimum":0,"type":"integer","format":"int32"},"pageSize":{"title":"Size of a block of items to return. It corresponds with the page parameter.","maximum":100,"minimum":1,"type":"integer","format":"int32"},"column":{"title":"Sort column.","type":"string","nullable":true,"enum":["PRODUCT_NAME","PRODUCT_NUMBER","PRODUCT_TYPE","ATTRIBUTE","LAST_UPDATE","CREATE_DATE"]},"sortDirection":{"title":"Sort direction.","type":"string","nullable":true,"enum":["ASC","DESC"]},"attributeIdToSortBy":{"title":"Attribute Id to use for sorting (if column type ATTRIBUTE was used).","type":"string","nullable":true},"typeFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypeFilter"}]},"typesFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypesFilter"}]},"productCreateDateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateFilter"}},"productCreateDateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateRelativeFilter"}},"productLastUpdateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateFilter"}},"productLastUpdateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateRelativeFilter"}},"baseFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BaseFilter"}},"publishStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PublishStateFilter"}]},"validationStatusFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ValidationStatusFilter"}]},"attributeFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AttributeFilter"}},"labelFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LabelFilter"}},"relationsFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/RelationsFilter"}]},"assetFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AssetFilter"}},"variantFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VariantFilter"}},"bundleFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BundleFilter"}},"categoryFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CategoryFilter"}},"scoreFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ScoreFilter"}]},"scoreRequirementResultFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ScoreRequirementResultFilter"}},"outOfSyncFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OutOfSyncFilter"}]},"lastSyncStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LastSyncStateFilter"}]},"groupFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GroupFilter"}}}},"PublishStateFilter":{"required":["publishStates","type"],"type":"object","properties":{"type":{"title":"Publish state filter type.","type":"string","enum":["IN"]},"publishStates":{"title":"Publish state values.","minItems":1,"type":"array","items":{"title":"Publish state values.","type":"string","enum":["PLAYGROUND_ONLY","TO_BE_PUBLISHED","CONNECTED","TO_BE_UNPUBLISHED","NOT_CONNECTED","TO_BE_ARCHIVED","ARCHIVED"]}}}},"RelationsFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Relation filter type.","type":"string","enum":["EMPTY","HAVE","NOT"]},"relationId":{"title":"Relation Id.","type":"string","nullable":true},"productIds":{"title":"List of product ids from given relation.","maxItems":100,"minItems":1,"type":"array","nullable":true,"items":{"title":"List of product ids from given relation.","type":"string"}},"reverse":{"title":"Reverse.","type":"boolean","nullable":true}}},"ScoreFilter":{"required":["scores","type"],"type":"object","properties":{"type":{"title":"Score filter type.","type":"string","enum":["BETWEEN"]},"scores":{"title":"Score values.","type":"array","items":{"title":"Score values.","type":"number"}}}},"ScoreRequirementResultFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Score requirement result filter type.","type":"string","enum":["NOT_MEET_ALL"]},"requirementIds":{"title":"Requirement Id values.","type":"array","nullable":true,"items":{"title":"Requirement Id values.","type":"string"}}}},"TypeFilter":{"required":["type"],"type":"object","properties":{"groupIds":{"title":"Group ids.","type":"array","nullable":true,"items":{"title":"Group ids.","type":"string"}},"familyIds":{"title":"Family ids.","type":"array","nullable":true,"items":{"title":"Family ids.","type":"string"}},"type":{"title":"Product type.","type":"string","enum":["BUNDLE","GROUP","VARIANT","SINGLE","FAMILY"]}}},"TypesFilter":{"required":["productTypes","type"],"type":"object","properties":{"productTypes":{"title":"Product types.","type":"array","items":{"title":"Product types.","type":"string","enum":["BUNDLE","GROUP","VARIANT","SINGLE","FAMILY"]}},"type":{"title":"Filter type for product types.","type":"string","enum":["IN"]}}},"ValidationStatusFilter":{"required":["type","validationStatus"],"type":"object","properties":{"type":{"title":"Validation status filter type.","type":"string","enum":["IN"]},"validationStatus":{"title":"Validation status values.","minItems":1,"type":"array","items":{"title":"Validation status values.","type":"string","enum":["VALID","INVALID"]}}}},"VariantFilter":{"required":["type"],"type":"object","properties":{"type":{"title":"Variant filter type.","type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN"]},"variantCount":{"title":"Variant count.","type":"integer","format":"int32","nullable":true}}},"MatchedProduct":{"title":"List of products, sorted.","required":["id"],"type":"object","properties":{"id":{"title":"Product id.","type":"string"}}},"ProductSearchResponse":{"required":["data"],"type":"object","properties":{"data":{"title":"List of products, sorted.","type":"array","items":{"$ref":"#/components/schemas/MatchedProduct"}}}},"PimProductSearchScrollRequest":{"required":["pageSize"],"type":"object","properties":{"pageSize":{"title":"Size of a block of items to return. It corresponds with the page parameter.","type":"integer","format":"int32","example":10},"scrollId":{"title":"Scroll ID.","type":"string","nullable":true},"column":{"title":"Sort column.","type":"string","nullable":true,"enum":["PRODUCT_NAME","PRODUCT_NUMBER","PRODUCT_TYPE","ATTRIBUTE","LAST_UPDATE","CREATE_DATE"]},"sortDirection":{"title":"Sort direction.","type":"string","nullable":true,"enum":["ASC","DESC"]},"attributeIdToSortBy":{"title":"Attribute Id to use for sorting (if column type ATTRIBUTE was used).","type":"string","nullable":true},"typeFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypeFilter"}]},"typesFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypesFilter"}]},"productCreateDateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateFilter"}},"productCreateDateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateRelativeFilter"}},"productLastUpdateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateFilter"}},"productLastUpdateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateRelativeFilter"}},"baseFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BaseFilter"}},"publishStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PublishStateFilter"}]},"validationStatusFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ValidationStatusFilter"}]},"attributeFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AttributeFilter"}},"labelFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LabelFilter"}},"relationsFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/RelationsFilter"}]},"assetFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AssetFilter"}},"variantFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VariantFilter"}},"bundleFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BundleFilter"}},"categoryFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CategoryFilter"}},"scoreFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ScoreFilter"}]},"scoreRequirementResultFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ScoreRequirementResultFilter"}},"outOfSyncFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OutOfSyncFilter"}]},"lastSyncStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LastSyncStateFilter"}]},"groupFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GroupFilter"}}}},"ProductSearchScrollResponse":{"required":["data"],"type":"object","properties":{"data":{"title":"List of products, sorted.","type":"array","items":{"$ref":"#/components/schemas/MatchedProduct"}},"scrollId":{"title":"Scroll ID.","type":"string","nullable":true}}},"PimProductSearchCursorRequest":{"required":["count"],"type":"object","properties":{"count":{"title":"Size of a block of items to return.","maximum":1000,"type":"integer","format":"int32","example":50},"cursor":{"title":"Cursor for pagination. Null for first page.","type":"string","nullable":true},"typeFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypeFilter"}]},"typesFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypesFilter"}]},"productCreateDateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateFilter"}},"productCreateDateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateRelativeFilter"}},"productLastUpdateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateFilter"}},"productLastUpdateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateRelativeFilter"}},"baseFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BaseFilter"}},"publishStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PublishStateFilter"}]},"validationStatusFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ValidationStatusFilter"}]},"attributeFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AttributeFilter"}},"labelFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LabelFilter"}},"relationsFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/RelationsFilter"}]},"assetFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AssetFilter"}},"variantFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VariantFilter"}},"bundleFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BundleFilter"}},"categoryFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CategoryFilter"}},"scoreFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ScoreFilter"}]},"scoreRequirementResultFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ScoreRequirementResultFilter"}},"outOfSyncFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OutOfSyncFilter"}]},"lastSyncStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LastSyncStateFilter"}]},"groupFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GroupFilter"}}}},"ProductSearchCursorResponse":{"required":["data"],"type":"object","properties":{"data":{"title":"List of matched products.","type":"array","items":{"$ref":"#/components/schemas/MatchedProduct"}},"cursor":{"title":"Cursor for the next page. Null if no more results.","type":"string","nullable":true}}},"PimProductCountRequest":{"type":"object","properties":{"typeFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypeFilter"}]},"typesFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TypesFilter"}]},"productCreateDateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateFilter"}},"productCreateDateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CreateDateRelativeFilter"}},"productLastUpdateFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateFilter"}},"productLastUpdateRelativeFilter":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LastUpdateRelativeFilter"}},"baseFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BaseFilter"}},"publishStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PublishStateFilter"}]},"validationStatusFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ValidationStatusFilter"}]},"attributeFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AttributeFilter"}},"labelFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/LabelFilter"}},"relationsFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/RelationsFilter"}]},"assetFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/AssetFilter"}},"variantFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/VariantFilter"}},"bundleFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/BundleFilter"}},"categoryFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CategoryFilter"}},"scoreFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ScoreFilter"}]},"scoreRequirementResultFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ScoreRequirementResultFilter"}},"outOfSyncFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OutOfSyncFilter"}]},"lastSyncStateFilter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LastSyncStateFilter"}]},"groupFilters":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GroupFilter"}}}},"ProductCountResponse":{"required":["count"],"type":"object","properties":{"count":{"title":"Count of products.","type":"integer","format":"int64"}}},"AssetIdsParams":{"type":"object","properties":{"ids":{"title":"Asset ids list.","type":"array","nullable":true,"items":{"title":"Asset ids list.","type":"string"}},"idsMatch":{"title":"Asset ids matching condition.","type":"string","nullable":true,"enum":["HAS_ALL","HAS_SOME","MISSING_ANY","NO_BINDINGS","WITH_BINDINGS"]}}},"AssetsCategoriesParams":{"type":"object","properties":{"categories":{"title":"Assets assigned to categories.","type":"array","nullable":true,"items":{"title":"Assets assigned to categories.","type":"string"}},"categoriesMatch":{"title":"Categories matching condition.","type":"string","nullable":true,"enum":["HAS_ALL","HAS_SOME","MISSING_ANY","NO_BINDINGS","WITH_BINDINGS"]}}},"AssetsCreatedAtParams":{"type":"object","properties":{"after":{"title":"Assets created after (start) provided date. Date could be in ISO_LOCAL_DATE format ('yyyy-MM-dd' - calculated on the start of the provided day) or in ISO_LOCAL_DATE_TIME with or without milliseconds ('yyyy-MM-ddTHH:mm:ss.SSS')","type":"string","nullable":true},"before":{"title":"Assets created before (end date) provided date. Date format is the same as in 'after' param.","type":"string","nullable":true}}},"AssetsCreatedRelative":{"type":"object","properties":{"daysAgo":{"title":"Assets created in the last given days.","minimum":0,"type":"integer","format":"int64","nullable":true}}},"AssetsDescriptionParams":{"type":"object","properties":{"description":{"title":"Assets with description.","type":"string","nullable":true},"descriptionMatch":{"title":"Description matching condition.","type":"string","nullable":true,"enum":["CONTAINS","NOT_CONTAINS","BEGINS","ENDS","EMPTY","NOT_EMPTY","EQUALS","CASE_SENSITIVE_EQUALS"]}}},"AssetsFileParams":{"type":"object","properties":{"fileName":{"title":"Assets uploaded with filename.","type":"string","nullable":true},"fileNameMatch":{"title":"Filename matching condition.","type":"string","nullable":true,"enum":["CONTAINS","NOT_CONTAINS","BEGINS","ENDS","EMPTY","NOT_EMPTY","EQUALS","CASE_SENSITIVE_EQUALS"]}}},"AssetsLabelsParams":{"type":"object","properties":{"labels":{"title":"Assets with labels.","type":"array","nullable":true,"items":{"title":"Assets with labels.","type":"string"}},"labelsMatch":{"title":"Labels matching condition.","type":"string","nullable":true,"enum":["HAS_ALL","HAS_SOME","MISSING_ANY","NO_BINDINGS","WITH_BINDINGS"]}}},"AssetsNameParams":{"type":"object","properties":{"name":{"title":"Assets with name.","type":"string","nullable":true},"nameMatch":{"title":"Name matching condition.","type":"string","nullable":true,"enum":["CONTAINS","NOT_CONTAINS","BEGINS","ENDS","EMPTY","NOT_EMPTY","EQUALS","CASE_SENSITIVE_EQUALS"]}}},"AssetsNumbersParams":{"type":"object","properties":{"numbers":{"title":"Asset numbers list.","type":"array","nullable":true,"items":{"title":"Asset numbers list.","type":"string"}},"numbersMatch":{"title":"Asset numbers matching condition.","type":"string","nullable":true,"enum":["HAS_ALL","HAS_SOME","MISSING_ANY","NO_BINDINGS","WITH_BINDINGS"]}}},"AssetsProductsParams":{"type":"object","properties":{"products":{"title":"Assets assigned to products.","type":"array","nullable":true,"items":{"title":"Assets assigned to products.","type":"string"}},"productsMatch":{"title":"Products matching condition.","type":"string","nullable":true,"enum":["HAS_ALL","HAS_SOME","MISSING_ANY","NO_BINDINGS","WITH_BINDINGS"]}}},"AssetsUpdatedAtParams":{"type":"object","properties":{"after":{"title":"Assets updated after (start date) provided date.","type":"string","nullable":true},"before":{"title":"Assets updated before (end date) provided date.","type":"string","nullable":true}}},"AssetsUpdatedRelative":{"type":"object","properties":{"daysAgo":{"title":"Assets updated in the last given day.","minimum":0,"type":"integer","format":"int64","nullable":true}}},"MediabankAssetSearchRequest":{"required":["page","resultsPerPage"],"type":"object","properties":{"page":{"title":"A number sequence representing a block of items to return as a result set.","maximum":10000,"minimum":0,"type":"integer","format":"int32","example":0},"resultsPerPage":{"title":"Size of a block of items to return. It corresponds with the page parameter.","maximum":100,"minimum":1,"type":"integer","format":"int32","example":50},"sortField":{"title":"Assets sort field.","type":"string","nullable":true,"enum":["NAME","FILE_SIZE","CREATED_AT","ATTRIBUTE"]},"attributeIdToSortBy":{"title":"Attribute Id to use for sorting (if field type ATTRIBUTE was used).","type":"string","nullable":true},"sortOrder":{"title":"Assets sort order.","type":"string","nullable":true,"enum":["ASC","DESC"]},"quickSearch":{"title":"Quick search.","type":"string","nullable":true},"asset":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankAssetsParams"}]},"mediaInfo":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankMediaInfoParams"}]}}},"MediabankAssetsParams":{"type":"object","properties":{"uploader":{"title":"Assets uploaded by given user.","type":"string","nullable":true},"internal":{"title":"Assets set up as internal.","type":"boolean","nullable":true,"example":false},"published":{"title":"Assets set up as published.","type":"boolean","nullable":true,"example":false},"idsParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetIdsParams"}]},"numbersParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsNumbersParams"}]},"nameParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsNameParams"}]},"descriptionParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsDescriptionParams"}]},"productsParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsProductsParams"}]},"categoriesParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsCategoriesParams"}]},"labelsParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsLabelsParams"}]},"fileParams":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsFileParams"}]},"created":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsCreatedAtParams"}]},"updated":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsUpdatedAtParams"}]},"createdRelative":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsCreatedRelative"}]},"updatedRelative":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AssetsUpdatedRelative"}]},"attributeFilters":{"type":"array","description":"Asset attribute filters.","nullable":true,"items":{"$ref":"#/components/schemas/AttributeFilter"}}}},"MediabankMediaInfoParams":{"type":"object","properties":{"mediaType":{"title":"Assets media type.","type":"string","nullable":true,"enum":["IMAGE","VIDEO","AUDIO","TEXT","DOCUMENT","OTHER"]},"mediaTypes":{"title":"Assets media types.","type":"array","nullable":true,"items":{"title":"Assets media types.","type":"string","enum":["IMAGE","VIDEO","AUDIO","TEXT","DOCUMENT","OTHER"]}},"dimensionsCondition":{"title":"Dimensions matching condition.","type":"string","nullable":true,"enum":["ICON","SMALL","MEDIUM","LARGE","XL"]},"fileMinimumSize":{"title":"Asset file minimum size in bytes ('greater equal').","pattern":"\\d{1,19}","type":"string","nullable":true},"fileMaximumSize":{"title":"Asset file maximum size in bytes ('less equal').","pattern":"\\d{1,19}","type":"string","nullable":true},"fileExtension":{"title":"Asset media file extension.","type":"string","nullable":true}}},"AssetSearchResponse":{"required":["data"],"type":"object","properties":{"data":{"type":"array","description":"List of assets, sorted.","items":{"$ref":"#/components/schemas/MatchedAsset"}}}},"MatchedAsset":{"required":["id"],"type":"object","properties":{"id":{"title":"Asset id.","type":"string"}},"description":"List of assets, sorted."},"MediabankAssetSearchCursorRequest":{"required":["count"],"type":"object","properties":{"count":{"title":"Size of a block of items to return.","maximum":100,"type":"integer","format":"int32","example":10},"cursor":{"title":"Cursor ID for pagination.","type":"string","nullable":true},"quickSearch":{"title":"Quick search.","type":"string","nullable":true},"asset":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankAssetsParams"}]},"mediaInfo":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankMediaInfoParams"}]}}},"AssetSearchCursorResponse":{"required":["data"],"type":"object","properties":{"data":{"type":"array","description":"List of assets, sorted by create date descending.","items":{"$ref":"#/components/schemas/MatchedAsset"}},"cursor":{"type":"string","description":"Cursor for next page. Null if no more results.","nullable":true}}},"MediabankAssetCountRequest":{"type":"object","properties":{"quickSearch":{"title":"Quick search.","type":"string","nullable":true},"asset":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankAssetsParams"}]},"mediaInfo":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/MediabankMediaInfoParams"}]}}},"AssetCountResponse":{"required":["count"],"type":"object","properties":{"count":{"title":"Count of assets.","type":"integer","format":"int64"}}},"FindResponse":{"title":"Response data.","type":"object","properties":{"id":{"title":"Id of the entity.","type":"string","nullable":true},"name":{"title":"Entity name.","type":"string","nullable":true},"archiveState":{"title":"Entity archive State.","type":"string","nullable":true,"enum":["ACTIVE","ARCHIVED"]},"highlights":{"title":"Highlighted snippets.","type":"array","nullable":true,"items":{"$ref":"#/components/schemas/HighlightResponse"}}}},"FindResponseList":{"required":["total"],"type":"object","properties":{"data":{"title":"Response data.","type":"array","nullable":true,"items":{"$ref":"#/components/schemas/FindResponse"}},"total":{"title":"Total number of records.","type":"integer","format":"int64"}}},"HighlightResponse":{"title":"Highlighted snippets.","type":"object","properties":{"field":{"title":"Filed name.","type":"string","nullable":true},"fragment":{"title":"Fragment with highlighting.","type":"string","nullable":true}}},"ErrorResponse":{"type":"object","properties":{"status":{"title":"Error status code.","type":"integer","format":"int32"},"error":{"title":"General error description.","type":"string"},"errorDetails":{"title":"List of errors details.","type":"array","items":{"$ref":"#/components/schemas/ErrorDetails"}},"requestId":{"title":"Request ID used for logging.","type":"string"},"timestamp":{"title":"Error timestamp.","type":"integer","format":"int64"},"conflictingEntities":{"title":"Additional entity id list related to error","type":"array","items":{"$ref":"#/components/schemas/ConflictingEntity"}},"quotaLimitExceededDetails":{"title":"Additional details related to quota limit exceeded errors","type":"array","items":{"$ref":"#/components/schemas/LimitExceededDetails"}}}},"ErrorDetails":{"type":"object","properties":{"message":{"title":"Error message.","type":"string"},"field":{"title":"Error related field.","type":"string"},"rejectedValue":{"title":"Invalid value causing error.","type":"string"},"entityId":{"title":"Identifier of the entity related to the error.","type":"string"},"entityType":{"title":"Type of the entity related to the error.","type":"string"}}},"ConflictingEntity":{"type":"object","properties":{"entityId":{"title":"Identifier of the related entity causing the conflict","type":"string"},"entityType":{"title":"Type of the related entity causing the conflict","type":"string"}}},"LimitExceededDetails":{"type":"object","properties":{"message":{"title":"Detailed quota error message","type":"string"},"quota":{"title":"Unique quota identifier","type":"string"},"limit":{"title":"Allowed limit","type":"integer","format":"int32"},"entityId":{"title":"ID of the entity that violated the quota","type":"string","nullable":true},"entityType":{"title":"Type of the entity that violated the quota","type":"string","nullable":true}}}},"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://idp.test.bluestonepim.com/op/token","scopes":{"openid profile systemRoles permissions organization email name nickname":"All needed scopes."}}}}}},"x-amazon-apigateway-api-key-source":"AUTHORIZER"}