type Collection implements Node {
    id: ID!
    createdAt: DateTime!
    updatedAt: DateTime!
    languageCode: LanguageCode
    name: String!
    breadcrumbs: [CollectionBreadcrumb!]!
    position: Int!
    description: String!
    featuredAsset: Asset
    assets: [Asset!]!
    parent: Collection
    children: [Collection!]
    filters: [ConfigurableOperation!]!
    translations: [CollectionTranslation!]!
    productVariants(options: ProductVariantListOptions): ProductVariantList!
}

type CollectionBreadcrumb {
    id: ID!
    name: String!
}

type CollectionTranslation {
    id: ID!
    createdAt: DateTime!
    updatedAt: DateTime!
    languageCode: LanguageCode!
    name: String!
    description: String!
}

type CollectionList implements PaginatedList {
    items: [Collection!]!
    totalItems: Int!
}


type ProductVariantList implements PaginatedList {
    items: [ProductVariant!]!
    totalItems: Int!
}

input ProductVariantListOptions
