type : object
description: >-
  Inner Hit query object that will cause the specified nested type to be returned as the result matching the supplied query.
required: ["query", "type"]
properties:
  query:
    description: >-
      The search query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries.
    type: string
    example: 'source.name:\"Active Directory\"'
  type:
    description: >-
      The nested type to use in the inner hits query. 
      The nested type [Nested Type](https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html) refers to a document "nested" within another document.
      For example, an identity can have nested documents for access, accounts, and apps.
    type: string
    example: 'access'
