contact_queries_002:
  id: 2
  project_id: 1
  visibility: 2
  type: ContactQuery
  name: Private contacts query for cookbook
  filters: |
    ---
    first_name:
      :values:
      - "Ivan"
      :operator: "="
    last_name:
      :values:
      - "Ivanov"
      :operator: "="

  user_id: 3
contact_queries_003:
  id: 3
  project_id:
  visibility: 2
  type: ContactQuery
  name: Private query for all projects
  filters: |
    ---
    first_name:
      :values:
      - "Ivan"
      :operator: "="

  user_id: 3
contact_queries_004:
  id: 4
  project_id:
  visibility: 0
  type: ContactQuery
  name: Public query for all projects
  filters: |
    ---
    first_name:
      :values:
      - "Ivan"
      :operator: "="

  user_id: 2
contact_queries_005:
  id: 5
  project_id:
  visibility: 0
  type: ContactQuery
  name: Open contacts by tags
  filters: |
    ---
    tags:
      :values:
      - "main"
      :operator: "="

  user_id: 1
  sort_criteria: |
    ---
    - - first_name
      - desc
    - - last_name
      - asc