{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-rule-rest20-schema.json",
  "title": "QueryResultRule",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-signature-rules-api-openapi.yml#/components/schemas/QueryResultRuleRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of signature rules.",
      "items": {
        "$ref": "#/$defs/EmailSignatureRuleRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "EmailSignatureRuleRest20": {
      "title": "EmailSignatureRule",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the signature rule. This is a read-only property."
        },
        "name": {
          "type": "string",
          "description": "The name of the signature rule."
        },
        "permissions": {
          "type": "array",
          "description": "The permissions for the signature rule granted to your current instance. This is a read-only property.",
          "items": {
            "type": "string"
          }
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the signature rule."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the signature rule."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the signature rule was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who last updated the signature rule."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the signature rule."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the signature rule was last updated, expressed in Unix time."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "defaultSenderId": {
          "type": "string",
          "description": "The id of the user that will be used as the default sender if no mappings are matched."
        },
        "contactFieldId": {
          "type": "string",
          "description": "The id for the contact field to be used when matching a contact to a mapping."
        },
        "customObjectFieldId": {
          "type": "string",
          "description": "The id for the custom object field to be used when matching a contact to a mapping."
        },
        "eventRegistrationFieldId": {
          "type": "string",
          "description": "The id for the event field to be used when matching a contact to a mapping."
        },
        "isPersonalizeFromName": {
          "type": "string",
          "description": "Flag to enable personalizing the from name."
        },
        "isPersonalizeFromAddress": {
          "type": "string",
          "description": "Flag to enable personalizing the from address."
        },
        "isPersonalizeReplyName": {
          "type": "string",
          "description": "Flag to enable personalizing the reply to name."
        },
        "isPersonalizeReplyAddress": {
          "type": "string",
          "description": "Flag to enable personalizing the reply to address."
        }
      }
    }
  }
}