{"openapi":"3.0.0","components":{"examples":{},"headers":{},"parameters":{},"requestBodies":{},"responses":{},"schemas":{"AssetFilterTypes":{"type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN","ASSIGNED_TO_ANY","ASSIGNED_TO_ALL","DO_NOT_FILTER"]},"AssetFilter":{"properties":{"assetCount":{"type":"number","format":"double"},"assetIds":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/AssetFilterTypes"}},"required":["type"],"type":"object","additionalProperties":false},"AssetLabelsFilterTypes":{"type":"string","enum":["NOT_HAVE_LABEL","HAVE_LABEL","DO_NOT_FILTER"]},"AssetLabelsFilter":{"properties":{"labelsIds":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/AssetLabelsFilterTypes"}},"required":["type"],"type":"object","additionalProperties":false},"AttributeFilterTypes":{"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","DO_NOT_FILTER","IN","DATE_RELATIVE"]},"RelativeAttributeUnitTypes":{"type":"string","enum":["DAYS_AGO","DAYS_FROM_NOW"]},"AttributeFilterValue":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number","format":"double"}]},"AttributeFilter":{"properties":{"attributeDefinitionId":{"type":"string"},"type":{"$ref":"#/components/schemas/AttributeFilterTypes"},"unit":{"$ref":"#/components/schemas/RelativeAttributeUnitTypes"},"values":{"items":{"$ref":"#/components/schemas/AttributeFilterValue"},"type":"array"}},"required":["attributeDefinitionId","type","values"],"type":"object","additionalProperties":false},"BaseFiltersTypes":{"type":"string","enum":["NAME_IS","NUMBER_IS","DESCRIPTION_IS","NAME_CONTAINS","NUMBER_CONTAINS","DESCRIPTION_CONTAINS","NAME_STARTS_WITH","NUMBER_STARTS_WITH","DESCRIPTION_STARTS_WITH","NAME_ENDS_WITH","NUMBER_ENDS_WITH","DESCRIPTION_ENDS_WITH","NUMBER_IN","NAME_NOT_CONTAINS","NUMBER_NOT_CONTAINS","DESCRIPTION_NOT_CONTAINS","ID_IN","NUMBER_NOT_IN","NAME_EMPTY","NAME_NOT_EMPTY","DESCRIPTION_EMPTY","DESCRIPTION_NOT_EMPTY","LAST_SYNC_STATE_IS","LAST_MODIFIED_BY_IS","LAST_MODIFIED_BY_CURRENT_USER"]},"BaseFilter":{"properties":{"type":{"$ref":"#/components/schemas/BaseFiltersTypes"},"values":{"items":{"type":"string"},"type":"array"}},"required":["type","values"],"type":"object","additionalProperties":false},"CategoryFiltersTypes":{"type":"string","enum":["IN_ANY_CHILD","IN_CATEGORY","WITHOUT_CATEGORY"]},"CategoryFilter":{"properties":{"type":{"$ref":"#/components/schemas/CategoryFiltersTypes"},"categoryId":{"type":"string"}},"required":["type"],"type":"object","additionalProperties":false},"ColumnFieldTypes":{"type":"string","enum":["PRODUCT_NAME","PRODUCT_NUMBER","PRODUCT_TYPE","ATTRIBUTE","LAST_UPDATE","CREATE_DATE"]},"ProductCreateDateFilterTypes":{"type":"string","enum":["GREATER_EQUAL","LESS_EQUAL"]},"ProductCreateDateFilter":{"properties":{"type":{"$ref":"#/components/schemas/ProductCreateDateFilterTypes"},"dateMilis":{"type":"number","format":"double"}},"required":["type","dateMilis"],"type":"object","additionalProperties":false},"ProductUpdateDateFilterTypes":{"type":"string","enum":["GREATER_EQUAL","LESS_EQUAL"]},"ProductUpdateDateFilter":{"properties":{"type":{"$ref":"#/components/schemas/ProductUpdateDateFilterTypes"},"dateMilis":{"type":"number","format":"double"}},"required":["type","dateMilis"],"type":"object","additionalProperties":false},"RelativeDateFilterType":{"type":"string","enum":["DAYS_AGO"],"nullable":false},"RelativeDateFilter":{"properties":{"type":{"$ref":"#/components/schemas/RelativeDateFilterType"},"value":{"type":"number","format":"double"}},"required":["type","value"],"type":"object","additionalProperties":false},"LabelFilterTypes":{"type":"string","enum":["ALL","SOME","NOT","EMPTY","DO_NOT_FILTER"]},"LabelFilter":{"properties":{"type":{"$ref":"#/components/schemas/LabelFilterTypes"},"labelsIds":{"items":{"type":"string"},"type":"array"}},"required":["type","labelsIds"],"type":"object","additionalProperties":false},"PublishStateFilterTypes":{"type":"string","enum":["IN"],"nullable":false},"ProductStatus":{"type":"string","enum":["PLAYGROUND_ONLY","TO_BE_PUBLISHED","CONNECTED","NOT_CONNECTED","TO_BE_ARCHIVED","TO_BE_UNPUBLISHED","ARCHIVED"]},"PublishStates":{"$ref":"#/components/schemas/ProductStatus"},"PublishStateFilter":{"properties":{"type":{"$ref":"#/components/schemas/PublishStateFilterTypes"},"publishStates":{"items":{"$ref":"#/components/schemas/ProductStatus"},"type":"array"}},"required":["type","publishStates"],"type":"object","additionalProperties":false},"ValidationStatusFilterTypes":{"type":"string","enum":["IN"],"nullable":false},"ValidationStatusState":{"type":"string","enum":["VALID","INVALID"]},"ValidationStatusFilter":{"properties":{"type":{"$ref":"#/components/schemas/ValidationStatusFilterTypes"},"validationStatus":{"items":{"$ref":"#/components/schemas/ValidationStatusState"},"type":"array"}},"required":["type","validationStatus"],"type":"object","additionalProperties":false},"RelationsFilterTypes":{"type":"string","enum":["EMPTY","HAVE","NOT","DO_NOT_FILTER","HAVE_WITH_PRODUCTS"]},"RelationsFilter":{"properties":{"type":{"$ref":"#/components/schemas/RelationsFilterTypes"},"reverse":{"type":"boolean"},"relationId":{"type":"string"},"productIds":{"items":{"type":"string"},"type":"array"}},"required":["type","reverse"],"type":"object","additionalProperties":false},"ScoreFilterTypes":{"type":"string","enum":["BETWEEN"],"nullable":false},"ScoreFilter":{"properties":{"scores":{"items":{"type":"number","format":"double"},"type":"array"},"type":{"$ref":"#/components/schemas/ScoreFilterTypes"}},"required":["scores","type"],"type":"object","additionalProperties":false},"ScoreRequirementResultFiltersTypes":{"type":"string","enum":["NOT_MEET_ALL"],"nullable":false},"ScoreRequirementResultFilters":{"properties":{"requirementIds":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/ScoreRequirementResultFiltersTypes"}},"required":["requirementIds","type"],"type":"object","additionalProperties":false},"SortDirectionTypes":{"type":"string","enum":["ASC","DESC"]},"ProductType":{"type":"string","enum":["VARIANT","GROUP","SINGLE","BUNDLE"]},"TypeFilterTypes":{"$ref":"#/components/schemas/ProductType"},"TypeFilter":{"properties":{"type":{"$ref":"#/components/schemas/ProductType"},"groupIds":{"items":{"type":"string"},"type":"array"}},"required":["type","groupIds"],"type":"object","additionalProperties":false},"TypesFilterTypes":{"type":"string","enum":["IN"],"nullable":false},"TypesFilter":{"properties":{"productTypes":{"items":{"$ref":"#/components/schemas/ProductType"},"type":"array"},"type":{"$ref":"#/components/schemas/TypesFilterTypes"}},"required":["productTypes","type"],"type":"object","additionalProperties":false},"OutOfSyncFilterTypes":{"type":"string","enum":["IS"],"nullable":false},"OutOfSyncFilter":{"properties":{"type":{"$ref":"#/components/schemas/OutOfSyncFilterTypes"},"outOfSync":{"type":"boolean"}},"required":["type","outOfSync"],"type":"object","additionalProperties":false},"LastSyncStateFilterTypes":{"type":"string","enum":["IS"],"nullable":false},"LastSyncStateFilter":{"properties":{"type":{"$ref":"#/components/schemas/LastSyncStateFilterTypes"},"lastSyncState":{"type":"string","enum":["FAILED","SUCCESSFUL"]}},"required":["type","lastSyncState"],"type":"object","additionalProperties":false},"VariantFilterTypes":{"type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN","DO_NOT_FILTER"]},"VariantFilter":{"properties":{"type":{"$ref":"#/components/schemas/VariantFilterTypes"},"variantCount":{"type":"number","format":"double"}},"required":["type"],"type":"object","additionalProperties":false},"BundleFilterTypes":{"type":"string","enum":["HAVE_NONE","HAVE_ANY","HAVE_MORE_THAN","HAVE_LESS_THAN","DO_NOT_FILTER"]},"BundleFilter":{"properties":{"type":{"$ref":"#/components/schemas/BundleFilterTypes"},"bundleCount":{"type":"number","format":"double"}},"required":["type","bundleCount"],"type":"object","additionalProperties":false},"PureProductFilters":{"properties":{"assetFilters":{"items":{"anyOf":[{"$ref":"#/components/schemas/AssetFilter"},{"$ref":"#/components/schemas/AssetLabelsFilter"}]},"type":"array"},"attributeFilters":{"items":{"$ref":"#/components/schemas/AttributeFilter"},"type":"array"},"attributeIdToSortBy":{"type":"string"},"baseFilters":{"items":{"$ref":"#/components/schemas/BaseFilter"},"type":"array"},"categoryFilters":{"items":{"$ref":"#/components/schemas/CategoryFilter"},"type":"array"},"column":{"$ref":"#/components/schemas/ColumnFieldTypes"},"productCreateDateFilter":{"items":{"$ref":"#/components/schemas/ProductCreateDateFilter"},"type":"array"},"productLastUpdateFilter":{"items":{"$ref":"#/components/schemas/ProductUpdateDateFilter"},"type":"array"},"productLastUpdateRelativeFilter":{"items":{"$ref":"#/components/schemas/RelativeDateFilter"},"type":"array"},"productCreateDateRelativeFilter":{"items":{"$ref":"#/components/schemas/RelativeDateFilter"},"type":"array"},"labelFilters":{"items":{"$ref":"#/components/schemas/LabelFilter"},"type":"array"},"publishStateFilter":{"$ref":"#/components/schemas/PublishStateFilter"},"validationStatusFilter":{"$ref":"#/components/schemas/ValidationStatusFilter"},"relationsFilter":{"$ref":"#/components/schemas/RelationsFilter"},"scoreFilter":{"$ref":"#/components/schemas/ScoreFilter"},"scoreRequirementResultFilters":{"items":{"$ref":"#/components/schemas/ScoreRequirementResultFilters"},"type":"array"},"sortDirection":{"$ref":"#/components/schemas/SortDirectionTypes"},"typeFilter":{"$ref":"#/components/schemas/TypeFilter"},"typesFilter":{"$ref":"#/components/schemas/TypesFilter"},"outOfSyncFilter":{"$ref":"#/components/schemas/OutOfSyncFilter"},"lastSyncStateFilter":{"$ref":"#/components/schemas/LastSyncStateFilter"},"variantFilters":{"items":{"$ref":"#/components/schemas/VariantFilter"},"type":"array"},"bundleFilters":{"items":{"$ref":"#/components/schemas/BundleFilter"},"type":"array"}},"type":"object","additionalProperties":false},"MatchRule":{"type":"string","enum":["all","any"]},"QueryGroupChild":{"anyOf":[{"$ref":"#/components/schemas/QueryGroup"},{"$ref":"#/components/schemas/QueryTerm"},{"$ref":"#/components/schemas/QueryGroupWithAssociation"}]},"QueryGroup":{"properties":{"matchRule":{"$ref":"#/components/schemas/MatchRule"},"children":{"items":{"$ref":"#/components/schemas/QueryGroupChild"},"type":"array"},"not":{"type":"boolean"}},"required":["matchRule","children"],"type":"object","additionalProperties":false},"QueryTermIdIs":{"properties":{"termType":{"type":"string","enum":["id"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"EqualsTermId":{"$ref":"#/components/schemas/QueryTermIdIs"},"QueryTermIdIn":{"properties":{"termType":{"type":"string","enum":["id"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"SubsetTermId":{"$ref":"#/components/schemas/QueryTermIdIn"},"QueryTermId":{"anyOf":[{"$ref":"#/components/schemas/QueryTermIdIs"},{"$ref":"#/components/schemas/QueryTermIdIn"}]},"ValueDefinedTypes":{"type":"string","enum":["defined"],"nullable":false},"QueryTermNameIs":{"properties":{"termType":{"type":"string","enum":["name"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"EqualsTermName":{"$ref":"#/components/schemas/QueryTermNameIs"},"QueryTermNameContains":{"properties":{"termType":{"type":"string","enum":["name"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["contains"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"QueryTermNameStartsWith":{"properties":{"termType":{"type":"string","enum":["name"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"QueryTermNameEndsWith":{"properties":{"termType":{"type":"string","enum":["name"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"WildcardTermName":{"anyOf":[{"$ref":"#/components/schemas/QueryTermNameContains"},{"$ref":"#/components/schemas/QueryTermNameStartsWith"},{"$ref":"#/components/schemas/QueryTermNameEndsWith"}]},"QueryTermNameDefined":{"properties":{"termType":{"type":"string","enum":["name"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["defined"],"nullable":false},"context":{"type":"string"}},"required":["termType","filterType","context"],"type":"object","additionalProperties":false},"DefinedTermName":{"$ref":"#/components/schemas/QueryTermNameDefined"},"QueryTermName":{"anyOf":[{"$ref":"#/components/schemas/QueryTermNameIs"},{"$ref":"#/components/schemas/WildcardTermName"},{"$ref":"#/components/schemas/QueryTermNameDefined"}]},"QueryTermNumberContains":{"properties":{"termType":{"type":"string","enum":["number"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermNumberStartsWith":{"properties":{"termType":{"type":"string","enum":["number"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermNumberEndsWith":{"properties":{"termType":{"type":"string","enum":["number"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"WildcardTermNumber":{"anyOf":[{"$ref":"#/components/schemas/QueryTermNumberContains"},{"$ref":"#/components/schemas/QueryTermNumberStartsWith"},{"$ref":"#/components/schemas/QueryTermNumberEndsWith"}]},"QueryTermNumberIs":{"properties":{"termType":{"type":"string","enum":["number"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"EqualsTermNumber":{"$ref":"#/components/schemas/QueryTermNumberIs"},"QueryTermNumberIn":{"properties":{"termType":{"type":"string","enum":["number"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"SubsetTermNumber":{"$ref":"#/components/schemas/QueryTermNumberIn"},"QueryTermNumber":{"anyOf":[{"$ref":"#/components/schemas/WildcardTermNumber"},{"$ref":"#/components/schemas/QueryTermNumberIs"},{"$ref":"#/components/schemas/QueryTermNumberIn"}]},"QueryTermDescriptionContains":{"properties":{"termType":{"type":"string","enum":["description"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["contains"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"QueryTermDescriptionStartsWith":{"properties":{"termType":{"type":"string","enum":["description"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"QueryTermDescriptionEndsWith":{"properties":{"termType":{"type":"string","enum":["description"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"WildcardTermDescription":{"anyOf":[{"$ref":"#/components/schemas/QueryTermDescriptionContains"},{"$ref":"#/components/schemas/QueryTermDescriptionStartsWith"},{"$ref":"#/components/schemas/QueryTermDescriptionEndsWith"}]},"QueryTermDescriptionIs":{"properties":{"termType":{"type":"string","enum":["description"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"EqualsTermDescription":{"$ref":"#/components/schemas/QueryTermDescriptionIs"},"QueryTermDescriptionDefined":{"properties":{"termType":{"type":"string","enum":["description"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["defined"],"nullable":false},"context":{"type":"string"}},"required":["termType","filterType","context"],"type":"object","additionalProperties":false},"DefinedTermDescription":{"$ref":"#/components/schemas/QueryTermDescriptionDefined"},"QueryTermDescription":{"anyOf":[{"$ref":"#/components/schemas/WildcardTermDescription"},{"$ref":"#/components/schemas/QueryTermDescriptionIs"},{"$ref":"#/components/schemas/QueryTermDescriptionDefined"}]},"QueryTermStateIn":{"properties":{"termType":{"type":"string","enum":["state"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["in"],"nullable":false},"context":{"type":"string"},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"SubsetTermState":{"$ref":"#/components/schemas/QueryTermStateIn"},"QueryTermState":{"$ref":"#/components/schemas/QueryTermStateIn"},"QueryTermProductTypeIn":{"properties":{"termType":{"type":"string","enum":["type"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"SubsetTermProductType":{"$ref":"#/components/schemas/QueryTermProductTypeIn"},"QueryTermProductType":{"$ref":"#/components/schemas/QueryTermProductTypeIn"},"ValidationStatusValues":{"type":"string","enum":["VALID","INVALID"]},"QueryTermValidationStatusIs":{"properties":{"termType":{"type":"string","enum":["validation_status"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"context":{"type":"string"},"value":{"$ref":"#/components/schemas/ValidationStatusValues"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"EqualsTermValidationStatus":{"$ref":"#/components/schemas/QueryTermValidationStatusIs"},"QueryTermValidationStatus":{"$ref":"#/components/schemas/QueryTermValidationStatusIs"},"QueryTermPapiOutOfSyncIs":{"properties":{"termType":{"type":"string","enum":["papi_out_of_sync"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"context":{"type":"string"},"value":{"type":"boolean"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"EqualsTermPapiOutOfSync":{"$ref":"#/components/schemas/QueryTermPapiOutOfSyncIs"},"QueryTermPapiOutOfSync":{"$ref":"#/components/schemas/QueryTermPapiOutOfSyncIs"},"QueryTermLastModifiedByIs":{"properties":{"termType":{"type":"string","enum":["last_modified_by"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"EqualsTermLastModifiedBy":{"$ref":"#/components/schemas/QueryTermLastModifiedByIs"},"QueryTermLastModifiedByCurrentUser":{"properties":{"termType":{"type":"string","enum":["last_modified_by"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is_current_user"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"CurrentUserTermLastModifiedBy":{"$ref":"#/components/schemas/QueryTermLastModifiedByCurrentUser"},"QueryTermLastModifiedBy":{"anyOf":[{"$ref":"#/components/schemas/QueryTermLastModifiedByIs"},{"$ref":"#/components/schemas/QueryTermLastModifiedByCurrentUser"}]},"QueryTermLastSyncStateIs":{"properties":{"termType":{"type":"string","enum":["last_sync_state"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"context":{"type":"string"},"value":{"type":"string"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"EqualsTermLastSyncState":{"$ref":"#/components/schemas/QueryTermLastSyncStateIs"},"QueryTermLastSyncState":{"$ref":"#/components/schemas/QueryTermLastSyncStateIs"},"QueryTermCreatedDateBetween":{"properties":{"termType":{"type":"string","enum":["created_date"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["date_between"],"nullable":false},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermCreatedDateStatic":{"$ref":"#/components/schemas/QueryTermCreatedDateBetween"},"QueryTermUpdatedDateBetween":{"properties":{"termType":{"type":"string","enum":["updated_date"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["date_between"],"nullable":false},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermUpdatedDateStatic":{"$ref":"#/components/schemas/QueryTermUpdatedDateBetween"},"ProductLabelsValues":{"items":{"type":"string"},"type":"array"},"QueryTermProductLabelsDoesHaveAll":{"properties":{"termType":{"type":"string","enum":["labels"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_all"],"nullable":false},"value":{"$ref":"#/components/schemas/ProductLabelsValues"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermProductLabelsDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["labels"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/ProductLabelsValues"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermProductLabelsDoesHaveNone":{"properties":{"termType":{"type":"string","enum":["labels"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"CollectionTermProductLabels":{"anyOf":[{"$ref":"#/components/schemas/QueryTermProductLabelsDoesHaveAll"},{"$ref":"#/components/schemas/QueryTermProductLabelsDoesHaveSome"},{"$ref":"#/components/schemas/QueryTermProductLabelsDoesHaveNone"}]},"QueryTermProductLabels":{"$ref":"#/components/schemas/CollectionTermProductLabels"},"QueryTermCategoryDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["category"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermCategoryDoesHaveSomeWithChildren":{"properties":{"termType":{"type":"string","enum":["category"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some_with_children"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermCategoryDoesHaveAll":{"properties":{"termType":{"type":"string","enum":["category"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_all"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermCategoryDoesHaveAllWithChildren":{"properties":{"termType":{"type":"string","enum":["category"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_all_with_children"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermCategoryDoesHaveNone":{"properties":{"termType":{"type":"string","enum":["category"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"CollectionTermCategory":{"anyOf":[{"$ref":"#/components/schemas/QueryTermCategoryDoesHaveSome"},{"$ref":"#/components/schemas/QueryTermCategoryDoesHaveSomeWithChildren"},{"$ref":"#/components/schemas/QueryTermCategoryDoesHaveAll"},{"$ref":"#/components/schemas/QueryTermCategoryDoesHaveAllWithChildren"},{"$ref":"#/components/schemas/QueryTermCategoryDoesHaveNone"}]},"QueryTermCategory":{"$ref":"#/components/schemas/CollectionTermCategory"},"AttributeAssignmentTypes":{"type":"string","enum":["assigned"],"nullable":false},"AttributeTypes":{"type":"string","enum":["time","date","date_time","text","integer","decimal","formatted_text","pattern","multiline","boolean","multi_select","single_select","dictionary","assigned_variant","matrix","column"]},"QueryTermAttributeTextNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeTextContains":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeTextIn":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeTextEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeTextStartsWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeTextEndsWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["text"],"nullable":false},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeText":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeTextNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeTextContains"},{"$ref":"#/components/schemas/QueryTermAttributeTextIn"},{"$ref":"#/components/schemas/QueryTermAttributeTextEquals"},{"$ref":"#/components/schemas/QueryTermAttributeTextStartsWith"},{"$ref":"#/components/schemas/QueryTermAttributeTextEndsWith"}]},"OpenedRangeFilterTypes":{"type":"string","enum":["smaller_or_equal_than","smaller_than","greater_than","greater_or_equal_than"]},"ClosedRangeFilterTypes":{"type":"string","enum":["between"],"nullable":false},"QueryTermAttributeIntegerNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeIntegerOpenedRange":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"$ref":"#/components/schemas/OpenedRangeFilterTypes"},"value":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeIntegerClosedRange":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"$ref":"#/components/schemas/ClosedRangeFilterTypes"},"from":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]},"to":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","from","to"],"type":"object","additionalProperties":false},"QueryTermAttributeIntegerEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeIntegerSubset":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"anyOf":[{"items":{"type":"number","format":"double"},"type":"array"},{"items":{"type":"string"},"type":"array"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"IntegerValues":{"items":{"type":"string"},"type":"array"},"QueryTermAttributeIntegerDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["integer"],"nullable":false},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/IntegerValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeInteger":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeIntegerNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeIntegerOpenedRange"},{"$ref":"#/components/schemas/QueryTermAttributeIntegerClosedRange"},{"$ref":"#/components/schemas/QueryTermAttributeIntegerEquals"},{"$ref":"#/components/schemas/QueryTermAttributeIntegerSubset"},{"$ref":"#/components/schemas/QueryTermAttributeIntegerDoesHaveSome"}]},"QueryTermAttributeDecimalNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDecimalOpenedRange":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"$ref":"#/components/schemas/OpenedRangeFilterTypes"},"value":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDecimalClosedRange":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"$ref":"#/components/schemas/ClosedRangeFilterTypes"},"from":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]},"to":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","from","to"],"type":"object","additionalProperties":false},"QueryTermAttributeDecimalEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDecimalSubset":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"anyOf":[{"items":{"type":"number","format":"double"},"type":"array"},{"items":{"type":"string"},"type":"array"}]}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"DecimalValues":{"items":{"type":"string"},"type":"array"},"QueryTermAttributeDecimalDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["decimal"],"nullable":false},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/DecimalValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDecimal":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeDecimalNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeDecimalOpenedRange"},{"$ref":"#/components/schemas/QueryTermAttributeDecimalClosedRange"},{"$ref":"#/components/schemas/QueryTermAttributeDecimalEquals"},{"$ref":"#/components/schemas/QueryTermAttributeDecimalSubset"},{"$ref":"#/components/schemas/QueryTermAttributeDecimalDoesHaveSome"}]},"QueryTermAttributeFormattedTextNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["formatted_text"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeFormattedTextContains":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["formatted_text"],"nullable":false},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeFormattedTextStartWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["formatted_text"],"nullable":false},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeFormattedTextEndsWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["formatted_text"],"nullable":false},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeFormattedTextEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["formatted_text"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeFormattedText":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeFormattedTextNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeFormattedTextContains"},{"$ref":"#/components/schemas/QueryTermAttributeFormattedTextStartWith"},{"$ref":"#/components/schemas/QueryTermAttributeFormattedTextEndsWith"},{"$ref":"#/components/schemas/QueryTermAttributeFormattedTextEquals"}]},"QueryTermAttributePatternNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["pattern"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributePatternContains":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["pattern"],"nullable":false},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributePatternEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["pattern"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributePattern":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributePatternNonValue"},{"$ref":"#/components/schemas/QueryTermAttributePatternContains"},{"$ref":"#/components/schemas/QueryTermAttributePatternEquals"}]},"QueryTermAttributeMultilineNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeMultilineContains":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultilineStartsWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"type":"string","enum":["starts_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultilineEndsWith":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"type":"string","enum":["ends_with"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultilineEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultilineIn":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multiline"],"nullable":false},"filterType":{"type":"string","enum":["in"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultiline":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeMultilineNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeMultilineContains"},{"$ref":"#/components/schemas/QueryTermAttributeMultilineStartsWith"},{"$ref":"#/components/schemas/QueryTermAttributeMultilineEndsWith"},{"$ref":"#/components/schemas/QueryTermAttributeMultilineEquals"},{"$ref":"#/components/schemas/QueryTermAttributeMultilineIn"}]},"QueryTermAttributeBooleanNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["boolean"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeBooleanEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["boolean"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"boolean"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeBoolean":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeBooleanNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeBooleanEquals"}]},"QueryTermAttributeMatrixAssigned":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["matrix"],"nullable":false},"filterType":{"type":"string","enum":["assigned"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeMatrix":{"$ref":"#/components/schemas/QueryTermAttributeMatrixAssigned"},"QueryTermAttributeColumnAssigned":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["column"],"nullable":false},"filterType":{"type":"string","enum":["assigned"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeColumn":{"$ref":"#/components/schemas/QueryTermAttributeColumnAssigned"},"QueryTermAttributeDateNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDateBetween":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date"],"nullable":false},"filterType":{"type":"string","enum":["date_between"],"nullable":false},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDateEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDateStatic":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeDateNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeDateBetween"},{"$ref":"#/components/schemas/QueryTermAttributeDateEquals"}]},"QueryTermAttributeDateTimeNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date_time"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDateTimeBetween":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date_time"],"nullable":false},"filterType":{"type":"string","enum":["date_between"],"nullable":false},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDateTimeEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date_time"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDateTimeStatic":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeDateTimeNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeDateTimeBetween"},{"$ref":"#/components/schemas/QueryTermAttributeDateTimeEquals"}]},"QueryTermAttributeTimeNonValue":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["time"],"nullable":false},"filterType":{"anyOf":[{"$ref":"#/components/schemas/AttributeAssignmentTypes"},{"$ref":"#/components/schemas/ValueDefinedTypes"}]}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeTimeClosedRange":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["time"],"nullable":false},"filterType":{"type":"string","enum":["between"],"nullable":false},"from":{"type":"string"},"to":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeTimeEquals":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["time"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeTime":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeTimeNonValue"},{"$ref":"#/components/schemas/QueryTermAttributeTimeClosedRange"},{"$ref":"#/components/schemas/QueryTermAttributeTimeEquals"}]},"QueryTermAttributeDictionaryAssigned":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["dictionary"],"nullable":false},"filterType":{"type":"string","enum":["assigned"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeDictionaryDefined":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["dictionary"],"nullable":false},"filterType":{"type":"string","enum":["defined"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"DictionaryValues":{"items":{"type":"string"},"type":"array"},"QueryTermAttributeDictionaryDoesHaveAll":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["dictionary"],"nullable":false},"filterType":{"type":"string","enum":["have_all"],"nullable":false},"value":{"$ref":"#/components/schemas/DictionaryValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDictionaryDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["dictionary"],"nullable":false},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/DictionaryValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDictionaryIs":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["dictionary"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"$ref":"#/components/schemas/DictionaryValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDictionary":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeDictionaryAssigned"},{"$ref":"#/components/schemas/QueryTermAttributeDictionaryDefined"},{"$ref":"#/components/schemas/QueryTermAttributeDictionaryDoesHaveAll"},{"$ref":"#/components/schemas/QueryTermAttributeDictionaryDoesHaveSome"},{"$ref":"#/components/schemas/QueryTermAttributeDictionaryIs"}]},"QueryTermAttributeSingleSelectAssigned":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["single_select"],"nullable":false},"filterType":{"type":"string","enum":["assigned"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeSingleSelectDefined":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["single_select"],"nullable":false},"filterType":{"type":"string","enum":["defined"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"SingleSelectValues":{"items":{"type":"string"},"type":"array"},"QueryTermAttributeSingleSelectDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["single_select"],"nullable":false},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/SingleSelectValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeSingleSelectIs":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["single_select"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"type":"string"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeSingleSelect":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeSingleSelectAssigned"},{"$ref":"#/components/schemas/QueryTermAttributeSingleSelectDefined"},{"$ref":"#/components/schemas/QueryTermAttributeSingleSelectDoesHaveSome"},{"$ref":"#/components/schemas/QueryTermAttributeSingleSelectIs"}]},"QueryTermAttributeMultiselectAssigned":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multi_select"],"nullable":false},"filterType":{"type":"string","enum":["assigned"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"QueryTermAttributeMultiselectDefined":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multi_select"],"nullable":false},"filterType":{"type":"string","enum":["defined"],"nullable":false}},"required":["termType","context","attributeId","attributeType","filterType"],"type":"object","additionalProperties":false},"MultiselectValues":{"items":{"type":"string"},"type":"array"},"QueryTermAttributeMultiselectDoesHaveAll":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multi_select"],"nullable":false},"filterType":{"type":"string","enum":["have_all"],"nullable":false},"value":{"$ref":"#/components/schemas/MultiselectValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultiselectDoesHaveSome":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multi_select"],"nullable":false},"filterType":{"type":"string","enum":["have_some"],"nullable":false},"value":{"$ref":"#/components/schemas/MultiselectValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultiselectIs":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["multi_select"],"nullable":false},"filterType":{"type":"string","enum":["is"],"nullable":false},"value":{"$ref":"#/components/schemas/MultiselectValues"}},"required":["termType","context","attributeId","attributeType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAttributeMultiselect":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeMultiselectAssigned"},{"$ref":"#/components/schemas/QueryTermAttributeMultiselectDefined"},{"$ref":"#/components/schemas/QueryTermAttributeMultiselectDoesHaveAll"},{"$ref":"#/components/schemas/QueryTermAttributeMultiselectDoesHaveSome"},{"$ref":"#/components/schemas/QueryTermAttributeMultiselectIs"}]},"StaticQueryTermAttribute":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeText"},{"$ref":"#/components/schemas/QueryTermAttributeInteger"},{"$ref":"#/components/schemas/QueryTermAttributeDecimal"},{"$ref":"#/components/schemas/QueryTermAttributeFormattedText"},{"$ref":"#/components/schemas/QueryTermAttributePattern"},{"$ref":"#/components/schemas/QueryTermAttributeMultiline"},{"$ref":"#/components/schemas/QueryTermAttributeBoolean"},{"$ref":"#/components/schemas/QueryTermAttributeMatrixAssigned"},{"$ref":"#/components/schemas/QueryTermAttributeColumnAssigned"},{"$ref":"#/components/schemas/QueryTermAttributeDateStatic"},{"$ref":"#/components/schemas/QueryTermAttributeDateTimeStatic"},{"$ref":"#/components/schemas/QueryTermAttributeTime"},{"$ref":"#/components/schemas/QueryTermAttributeDictionary"},{"$ref":"#/components/schemas/QueryTermAttributeSingleSelect"},{"$ref":"#/components/schemas/QueryTermAttributeMultiselect"}]},"QueryTermAssignedAssetsMoreThan":{"properties":{"termType":{"type":"string","enum":["assigned_assets"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["greater_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAssignedAssetsLessThan":{"properties":{"termType":{"type":"string","enum":["assigned_assets"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["smaller_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAssignedAssetsAmount":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedAssetsMoreThan"},{"$ref":"#/components/schemas/QueryTermAssignedAssetsLessThan"}]},"QueryTermAssignedAssetsAny":{"properties":{"termType":{"type":"string","enum":["assigned_assets"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermAssignedAssetsNone":{"properties":{"termType":{"type":"string","enum":["assigned_assets"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermAssignedAssetsQuantifiers":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedAssetsAny"},{"$ref":"#/components/schemas/QueryTermAssignedAssetsNone"}]},"QueryTermAssignedAssets":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedAssetsAmount"},{"$ref":"#/components/schemas/QueryTermAssignedAssetsQuantifiers"}]},"QueryTermAssignedVariantsMoreThan":{"properties":{"termType":{"type":"string","enum":["assigned_variant"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["greater_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAssignedVariantsLessThan":{"properties":{"termType":{"type":"string","enum":["assigned_variant"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["smaller_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAssignedVariantsAmount":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedVariantsMoreThan"},{"$ref":"#/components/schemas/QueryTermAssignedVariantsLessThan"}]},"QueryTermAssignedVariantsAny":{"properties":{"termType":{"type":"string","enum":["assigned_variant"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermAssignedVariantsNone":{"properties":{"termType":{"type":"string","enum":["assigned_variant"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermAssignedVariantsQuantifiers":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedVariantsAny"},{"$ref":"#/components/schemas/QueryTermAssignedVariantsNone"}]},"QueryTermAssignedVariants":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAssignedVariantsAmount"},{"$ref":"#/components/schemas/QueryTermAssignedVariantsQuantifiers"}]},"QueryTermAssignedAssetLabelsSome":{"properties":{"termType":{"type":"string","enum":["asset_labels"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["contains"],"nullable":false},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermAssetLabels":{"$ref":"#/components/schemas/QueryTermAssignedAssetLabelsSome"},"QueryTermRelationsBaseIs":{"properties":{"termType":{"type":"string","enum":["relations"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is"],"nullable":false},"reverse":{"type":"boolean"},"value":{"type":"string"}},"required":["termType","filterType","reverse","value"],"type":"object","additionalProperties":false},"QueryTermRelationsBaseHaveWithProducts":{"properties":{"termType":{"type":"string","enum":["relations"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["is_with_products"],"nullable":false},"reverse":{"type":"boolean"},"value":{"type":"string"},"productIds":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","reverse","value","productIds"],"type":"object","additionalProperties":false},"EqualsTermRelations":{"anyOf":[{"$ref":"#/components/schemas/QueryTermRelationsBaseIs"},{"$ref":"#/components/schemas/QueryTermRelationsBaseHaveWithProducts"}]},"QueryTermRelationsBaseNoRelations":{"properties":{"termType":{"type":"string","enum":["relations"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermRelations":{"anyOf":[{"$ref":"#/components/schemas/EqualsTermRelations"},{"$ref":"#/components/schemas/QueryTermRelationsBaseHaveWithProducts"},{"$ref":"#/components/schemas/QueryTermRelationsBaseNoRelations"}]},"QueryTermCompletenessRequirementsNotMeetAll":{"properties":{"termType":{"type":"string","enum":["completeness_requirements"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["not_meet_all"],"nullable":false},"context":{"type":"string"},"value":{"items":{"type":"string"},"type":"array"}},"required":["termType","filterType","context","value"],"type":"object","additionalProperties":false},"NotMeetAllTermCompletenessRequirements":{"$ref":"#/components/schemas/QueryTermCompletenessRequirementsNotMeetAll"},"QueryTermCompletenessRequirements":{"$ref":"#/components/schemas/QueryTermCompletenessRequirementsNotMeetAll"},"QueryTermCompletenessScoreBetween":{"properties":{"termType":{"type":"string","enum":["completeness_score"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["between"],"nullable":false},"context":{"type":"string"},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["termType","filterType","context"],"type":"object","additionalProperties":false},"ClosedRangeTermCompletenessScore":{"$ref":"#/components/schemas/QueryTermCompletenessScoreBetween"},"QueryTermCompletenessScore":{"$ref":"#/components/schemas/QueryTermCompletenessScoreBetween"},"QueryTermBundleMoreThan":{"properties":{"termType":{"type":"string","enum":["bundle"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["greater_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermBundleLessThan":{"properties":{"termType":{"type":"string","enum":["bundle"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["smaller_than"],"nullable":false},"value":{"type":"number","format":"double"}},"required":["termType","filterType","value"],"type":"object","additionalProperties":false},"QueryTermBundleAmount":{"anyOf":[{"$ref":"#/components/schemas/QueryTermBundleMoreThan"},{"$ref":"#/components/schemas/QueryTermBundleLessThan"}]},"QueryTermBundleAny":{"properties":{"termType":{"type":"string","enum":["bundle"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_some"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermBundleNone":{"properties":{"termType":{"type":"string","enum":["bundle"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["have_none"],"nullable":false}},"required":["termType","filterType"],"type":"object","additionalProperties":false},"QueryTermBundleQuantifiers":{"anyOf":[{"$ref":"#/components/schemas/QueryTermBundleAny"},{"$ref":"#/components/schemas/QueryTermBundleNone"}]},"QueryTermBundle":{"anyOf":[{"$ref":"#/components/schemas/QueryTermBundleAmount"},{"$ref":"#/components/schemas/QueryTermBundleQuantifiers"}]},"StaticQueryTerm":{"anyOf":[{"$ref":"#/components/schemas/QueryTermId"},{"$ref":"#/components/schemas/QueryTermName"},{"$ref":"#/components/schemas/QueryTermNumber"},{"$ref":"#/components/schemas/QueryTermDescription"},{"$ref":"#/components/schemas/QueryTermStateIn"},{"$ref":"#/components/schemas/QueryTermProductTypeIn"},{"$ref":"#/components/schemas/QueryTermValidationStatusIs"},{"$ref":"#/components/schemas/QueryTermPapiOutOfSyncIs"},{"$ref":"#/components/schemas/QueryTermLastModifiedBy"},{"$ref":"#/components/schemas/QueryTermLastSyncStateIs"},{"$ref":"#/components/schemas/QueryTermCreatedDateBetween"},{"$ref":"#/components/schemas/QueryTermUpdatedDateBetween"},{"$ref":"#/components/schemas/CollectionTermProductLabels"},{"$ref":"#/components/schemas/CollectionTermCategory"},{"$ref":"#/components/schemas/StaticQueryTermAttribute"},{"$ref":"#/components/schemas/QueryTermAssignedAssets"},{"$ref":"#/components/schemas/QueryTermAssignedVariants"},{"$ref":"#/components/schemas/QueryTermAssignedAssetLabelsSome"},{"$ref":"#/components/schemas/QueryTermRelations"},{"$ref":"#/components/schemas/QueryTermCompletenessRequirementsNotMeetAll"},{"$ref":"#/components/schemas/QueryTermCompletenessScoreBetween"},{"$ref":"#/components/schemas/QueryTermBundle"}]},"DateRelativeFilterUnits":{"type":"string","enum":["days_ago","days_from_now"]},"QueryTermCreatedDateRelative":{"properties":{"termType":{"type":"string","enum":["created_date"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["date_relative"],"nullable":false},"unit":{"$ref":"#/components/schemas/DateRelativeFilterUnits"},"value":{"type":"number","format":"double"}},"required":["termType","filterType","unit","value"],"type":"object","additionalProperties":false},"QueryTermCreatedDateDynamic":{"$ref":"#/components/schemas/QueryTermCreatedDateRelative"},"QueryTermUpdatedDateRelative":{"properties":{"termType":{"type":"string","enum":["updated_date"],"nullable":false},"not":{"type":"boolean"},"filterType":{"type":"string","enum":["date_relative"],"nullable":false},"unit":{"$ref":"#/components/schemas/DateRelativeFilterUnits"},"value":{"type":"number","format":"double"}},"required":["termType","filterType","unit","value"],"type":"object","additionalProperties":false},"QueryTermUpdatedDateDynamic":{"$ref":"#/components/schemas/QueryTermUpdatedDateRelative"},"QueryTermAttributeDateRelative":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date"],"nullable":false},"filterType":{"type":"string","enum":["date_relative"],"nullable":false},"unit":{"$ref":"#/components/schemas/DateRelativeFilterUnits"},"value":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType","unit","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDateDynamic":{"$ref":"#/components/schemas/QueryTermAttributeDateRelative"},"QueryTermAttributeDateTimeRelative":{"properties":{"termType":{"type":"string","enum":["attribute"],"nullable":false},"not":{"type":"boolean"},"context":{"type":"string"},"attributeId":{"type":"string"},"attributeType":{"type":"string","enum":["date_time"],"nullable":false},"filterType":{"type":"string","enum":["date_relative"],"nullable":false},"unit":{"$ref":"#/components/schemas/DateRelativeFilterUnits"},"value":{"type":"number","format":"double"}},"required":["termType","context","attributeId","attributeType","filterType","unit","value"],"type":"object","additionalProperties":false},"QueryTermAttributeDateTimeDynamic":{"$ref":"#/components/schemas/QueryTermAttributeDateTimeRelative"},"DynamicQueryTermAttribute":{"anyOf":[{"$ref":"#/components/schemas/QueryTermAttributeDateRelative"},{"$ref":"#/components/schemas/QueryTermAttributeDateTimeRelative"}]},"DynamicQueryTerm":{"anyOf":[{"$ref":"#/components/schemas/QueryTermCreatedDateRelative"},{"$ref":"#/components/schemas/QueryTermUpdatedDateRelative"},{"$ref":"#/components/schemas/DynamicQueryTermAttribute"},{"$ref":"#/components/schemas/QueryTermLastModifiedBy"}]},"QueryTerm":{"anyOf":[{"$ref":"#/components/schemas/StaticQueryTerm"},{"$ref":"#/components/schemas/DynamicQueryTerm"}]},"QueryGroupAssociationType":{"type":"string","enum":["variant_group","variant","bundle","product_in_bundle"]},"QueryGroupWithAssociation":{"allOf":[{"$ref":"#/components/schemas/QueryGroup"},{"properties":{"association":{"$ref":"#/components/schemas/QueryGroupAssociationType"}},"required":["association"],"type":"object"}]},"MainQueryGroup":{"properties":{"matchRule":{"$ref":"#/components/schemas/MatchRule"},"children":{"items":{"$ref":"#/components/schemas/QueryGroupChild"},"type":"array"},"not":{"type":"boolean"},"contextFallback":{"type":"boolean","description":"The context fallback functionality is true by default and can be disabled using this parameter or by using the context-fallback header. The value from the header will override this parameter."}},"required":["matchRule","children"],"type":"object","additionalProperties":false},"ProductFiltersOrQuery":{"anyOf":[{"$ref":"#/components/schemas/PureProductFilters"},{"$ref":"#/components/schemas/MainQueryGroup"}]},"GetValidFilterResponse":{"properties":{"filter":{"$ref":"#/components/schemas/ProductFiltersOrQuery"},"isOriginalValid":{"type":"boolean"}},"required":["filter","isOriginalValid"],"type":"object","additionalProperties":false},"PersistedProductQueryId":{"type":"string"},"PersistedProductQueryStatusTypes":{"type":"string","enum":["inserted","updated","deleted","no_change"]},"PersistedProductQueryStatusBase":{"properties":{"statusType":{"$ref":"#/components/schemas/PersistedProductQueryStatusTypes"},"message":{"type":"string"}},"required":["statusType","message"],"type":"object","additionalProperties":false},"PersistedProductQueryInsertResponse":{"properties":{"status":{"$ref":"#/components/schemas/PersistedProductQueryStatusBase"},"data":{"properties":{"id":{"$ref":"#/components/schemas/PersistedProductQueryId"}},"required":["id"],"type":"object"}},"type":"object","additionalProperties":false},"StaticQueryGroupChild":{"anyOf":[{"$ref":"#/components/schemas/StaticQueryGroup"},{"$ref":"#/components/schemas/StaticQueryTerm"}]},"StaticQueryGroup":{"properties":{"matchRule":{"$ref":"#/components/schemas/MatchRule"},"children":{"items":{"$ref":"#/components/schemas/StaticQueryGroupChild"},"type":"array"},"not":{"type":"boolean"}},"required":["matchRule","children"],"type":"object","additionalProperties":false},"MainStaticQueryGroup":{"properties":{"matchRule":{"$ref":"#/components/schemas/MatchRule"},"children":{"items":{"$ref":"#/components/schemas/StaticQueryGroupChild"},"type":"array"},"not":{"type":"boolean"},"contextFallback":{"type":"boolean","description":"The context fallback functionality is true by default and can be disabled using this parameter."}},"required":["matchRule","children"],"type":"object","additionalProperties":false},"PersistedProductQuery":{"$ref":"#/components/schemas/MainStaticQueryGroup"},"PersistedProductQueryTypes":{"type":"string","enum":["product_category_assign","product_relation_assign"]},"PersistedProductQueryInsertRequest":{"properties":{"queryType":{"$ref":"#/components/schemas/PersistedProductQueryTypes"},"query":{"$ref":"#/components/schemas/MainStaticQueryGroup"},"queryId":{"$ref":"#/components/schemas/PersistedProductQueryId"},"useOnlyNewIndex":{"type":"boolean"}},"required":["queryType","query"],"type":"object","additionalProperties":false},"PersistedProductQueryResponseBase":{"properties":{"status":{"$ref":"#/components/schemas/PersistedProductQueryStatusBase"}},"type":"object","additionalProperties":false},"PersistedProductQueryUpdateResponse":{"$ref":"#/components/schemas/PersistedProductQueryResponseBase"},"PersistedProductQueryUpdateRequest":{"properties":{"queryType":{"$ref":"#/components/schemas/PersistedProductQueryTypes"},"query":{"$ref":"#/components/schemas/MainStaticQueryGroup"},"queryId":{"$ref":"#/components/schemas/PersistedProductQueryId"}},"required":["queryType","query","queryId"],"type":"object","additionalProperties":false},"PersistedProductQueryDeleteResponse":{"$ref":"#/components/schemas/PersistedProductQueryResponseBase"},"PersistedProductQueryDeleteRequest":{"properties":{"queryType":{"$ref":"#/components/schemas/PersistedProductQueryTypes"},"queryId":{"$ref":"#/components/schemas/PersistedProductQueryId"}},"required":["queryType","queryId"],"type":"object","additionalProperties":false},"PersistedProductQueryListResponseItem":{"properties":{"id":{"$ref":"#/components/schemas/PersistedProductQueryId"},"query":{"$ref":"#/components/schemas/MainStaticQueryGroup"}},"required":["id"],"type":"object","additionalProperties":false},"PersistedProductQueryListResponse":{"properties":{"status":{"$ref":"#/components/schemas/PersistedProductQueryStatusBase"},"data":{"items":{"$ref":"#/components/schemas/PersistedProductQueryListResponseItem"},"type":"array"}},"type":"object","additionalProperties":false},"Paging":{"properties":{"pageSize":{"type":"number","format":"double"},"page":{"type":"number","format":"double"}},"type":"object"},"PersistedProductQueryListRequest":{"properties":{"queryType":{"$ref":"#/components/schemas/PersistedProductQueryTypes"},"paging":{"$ref":"#/components/schemas/Paging"}},"required":["queryType"],"type":"object","additionalProperties":false},"PersistedProductQuerySearchResponseItem":{"properties":{"id":{"$ref":"#/components/schemas/PersistedProductQueryId"}},"required":["id"],"type":"object","additionalProperties":false},"PersistedProductQuerySearchResponse":{"properties":{"status":{"$ref":"#/components/schemas/PersistedProductQueryStatusBase"},"data":{"items":{"$ref":"#/components/schemas/PersistedProductQuerySearchResponseItem"},"type":"array"}},"type":"object","additionalProperties":false},"ProductId":{"type":"string"},"PersistedProductQuerySearchRequest":{"properties":{"queryType":{"$ref":"#/components/schemas/PersistedProductQueryTypes"},"productId":{"$ref":"#/components/schemas/ProductId"},"paging":{"$ref":"#/components/schemas/Paging"}},"required":["queryType","productId"],"type":"object","additionalProperties":false},"QueryPartLocation":{"type":"string"},"ProductSearchQueryError":{"properties":{"errorType":{"type":"string","enum":["over_limit"],"nullable":false},"message":{"type":"string"},"location":{"$ref":"#/components/schemas/QueryPartLocation"}},"required":["errorType","message","location"],"type":"object","additionalProperties":false},"ProductsSearchResponse":{"properties":{"data":{"items":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"type":"array"},"errors":{"items":{"$ref":"#/components/schemas/ProductSearchQueryError"},"type":"array"}},"required":["data"],"type":"object","additionalProperties":false},"Direction":{"type":"string","enum":["asc","desc"]},"SortingAttribute":{"properties":{"direction":{"$ref":"#/components/schemas/Direction"},"termType":{"type":"string","enum":["attribute"],"nullable":false},"context":{"type":"string"},"attributeType":{"$ref":"#/components/schemas/AttributeTypes"},"attributeId":{"type":"string"}},"required":["direction","termType","context","attributeType","attributeId"],"type":"object","additionalProperties":false},"BasicTermType":{"type":"string","enum":["name","number","type","created_date","updated_date"]},"SortingBasicFields":{"properties":{"direction":{"$ref":"#/components/schemas/Direction"},"termType":{"$ref":"#/components/schemas/BasicTermType"},"context":{"type":"string"}},"required":["direction","termType","context"],"type":"object","additionalProperties":false},"SortingBody":{"anyOf":[{"$ref":"#/components/schemas/SortingAttribute"},{"$ref":"#/components/schemas/SortingBasicFields"}]},"ProductsSearchRequest":{"properties":{"query":{"$ref":"#/components/schemas/MainQueryGroup"},"sorting":{"$ref":"#/components/schemas/SortingBody"},"paging":{"$ref":"#/components/schemas/Paging"}},"required":["query"],"type":"object","additionalProperties":false,"example":{"query":{"matchRule":"all","children":[]},"paging":{"page":0,"pageSize":10}}},"ArchiveState":{"type":"string","enum":["ARCHIVED","ACTIVE"]},"ProductsCountResponse":{"properties":{"count":{"type":"number","format":"double"}},"required":["count"],"type":"object","additionalProperties":false},"ProductsScrollSearchResponse":{"properties":{"data":{"items":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"type":"array"},"scrollId":{"type":"string"}},"required":["data"],"type":"object","additionalProperties":false},"ScrollPagingInitiation":{"properties":{"pageSize":{"type":"number","format":"double"}},"type":"object"},"ProductsScrollSearchRequestInitiation":{"properties":{"query":{"$ref":"#/components/schemas/MainQueryGroup"},"sorting":{"$ref":"#/components/schemas/SortingBody"},"paging":{"$ref":"#/components/schemas/ScrollPagingInitiation"}},"required":["query"],"type":"object","additionalProperties":false},"ScrollPagingScrolling":{"properties":{"scrollId":{"type":"string"}},"required":["scrollId"],"type":"object"},"ProductsScrollSearchRequestScrolling":{"properties":{"paging":{"$ref":"#/components/schemas/ScrollPagingScrolling"}},"required":["paging"],"type":"object","additionalProperties":false},"ProductsScrollSearchRequest":{"anyOf":[{"$ref":"#/components/schemas/ProductsScrollSearchRequestInitiation"},{"$ref":"#/components/schemas/ProductsScrollSearchRequestScrolling"}],"example":{"query":{"matchRule":"all","children":[]},"paging":{"pageSize":100}}},"DeleteReport":{"properties":{"dryrun":{"type":"boolean"},"result":{"items":{"properties":{"deleteCount":{"type":"number","format":"double"},"type":{"type":"string"},"name":{"type":"string"}},"required":["deleteCount","type","name"],"type":"object"},"type":"array"}},"required":["dryrun","result"],"type":"object","additionalProperties":false}},"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."}}}}}},"info":{"title":"Query builder","version":"1-core","description":"<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>"},"paths":{"/savedViews/getValidView":{"post":{"operationId":"GetValidView","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetValidFilterResponse"}}}}},"summary":"Validate passed view","tags":["savedView"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFiltersOrQuery"}}}}}},"/products/persistedQueries":{"post":{"operationId":"CreatePersistedProductQuery","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryInsertResponse"}}}}},"summary":"Create a new persisted product query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryInsertRequest"}}}}},"put":{"operationId":"UpdatePersistedProductQuery","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryResponseBase"}}}}},"summary":"Update persisted product query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryUpdateRequest"}}}}},"delete":{"operationId":"DeletePersistedProductQuery","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryResponseBase"}}}}},"summary":"Delete persisted product query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryDeleteRequest"}}}}}},"/products/persistedQueries/list":{"post":{"operationId":"ListPersistedProductQueries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryListResponse"}}}}},"summary":"List persisted product queries.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQueryListRequest"}}}}}},"/products/persistedQueries/search":{"post":{"operationId":"SearchPersistedProductQueries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQuerySearchResponse"}}}}},"summary":"Search for persisted queries for given product.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersistedProductQuerySearchRequest"}}}}}},"/products/search":{"post":{"operationId":"Search","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsSearchResponse"}}}},"400":{"description":"Search Error"},"422":{"description":"Validation Error"}},"summary":"Search for products for given query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[{"in":"query","name":"failOnAssociationQueryLimit","required":false,"schema":{"default":true,"type":"boolean"}},{"in":"query","name":"archiveState","required":false,"schema":{"$ref":"#/components/schemas/ArchiveState"}},{"description":"context fallback functionality is true by default and can be disabled using this header. This header will override any other context fallback settings in the query.","in":"header","name":"context-fallback","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsSearchRequest"}}}}}},"/products/count":{"post":{"operationId":"GetCount","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsCountResponse"}}}},"422":{"description":"Validation Error"}},"summary":"Get number of products for given query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[{"in":"query","name":"failOnAssociationQueryLimit","required":false,"schema":{"default":true,"type":"boolean"}},{"in":"query","name":"archiveState","required":false,"schema":{"$ref":"#/components/schemas/ArchiveState"}},{"description":"context fallback functionality is true by default and can be disabled using this header. This header will override any other context fallback settings in the query.","in":"header","name":"context-fallback","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsSearchRequest"}}}}}},"/products/scroll/search":{"post":{"operationId":"ScrollSearch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsScrollSearchResponse"}}}}},"description":"This endpoint is using scroll functionality. To get to further pages, use scroll id returned from each request. Scroll is active only limited time - after 10 seconds of inactivity, scroll is removed and further requests with related scroll ids are unavailable.","summary":"Scroll products for given query.","tags":["Products"],"security":[{"oauth2":[]}],"parameters":[{"in":"query","name":"archiveState","required":false,"schema":{"$ref":"#/components/schemas/ArchiveState"}},{"description":"context fallback functionality is true by default and can be disabled using this header. This header will override any other context fallback settings in the query.","in":"header","name":"context-fallback","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsScrollSearchRequest"}}}}}},"/organization":{"delete":{"operationId":"DeleteOrganization","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteReport"}}}}},"description":"Delete all data for an organization. This endpoint can only be called if the organization in the context of this request is archived and the user has the system role ORG_DELETE_ADMIN.","tags":["Organization"],"security":[{"oauth2":[]}],"parameters":[{"description":"If true, only return the report without deleting anything","in":"query","name":"dryrun","required":false,"schema":{"default":true,"type":"boolean"}}]}}},"servers":[{"url":"api.test.bluestonepim.com/query-builder"}],"x-amazon-apigateway-api-key-source":"AUTHORIZER"}