type Facet implements Node {
    id: ID!
    createdAt: DateTime!
    updatedAt: DateTime!
    languageCode: LanguageCode!
    name: String!
    code: String!
    values: [FacetValue!]!
    """
    Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0.
    """
    valueList(options: FacetValueListOptions): FacetValueList!
    translations: [FacetTranslation!]!
}

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

type FacetList implements PaginatedList {
    items: [Facet!]!
    totalItems: Int!
}

# generated by generateListOptions function
input FacetValueListOptions

type FacetValueList implements PaginatedList {
    items: [FacetValue!]!
    totalItems: Int!
}
