> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Validation Rule Assignment Object

<div class="prose dark:prose-invert custom-html">
  <h2 id="validation-rule-assignment">Validation Rule Assignment</h2>

  <table>
    <thead>
      <tr>
        <th>Attributes</th>
        <th>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>
          <p>
            id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Validation rule assignment ID.</p>

          <p>
            <strong>Example:</strong>
            asgm\_74F7QZoYbUoljwQO
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            rule\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Validation rule ID.</p>

          <p>
            <strong>Example:</strong>
            val\_4j7DCRm2IS59
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_id

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The resource ID to which the validation rule was assigned.</p>

          <p>
            <strong>Example:</strong>
            v\_JtWunK6jUo7X2qOFj0SyRHq4p9tgENlT
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            related\_object\_type

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of resource to which the validation rule was assigned.</p>

          <p>
            Available values:
            <code>voucher</code>,
            <code>campaign</code>,
            <code>earning\_rule</code>,
            <code>reward\_assignment</code>,
            <code>promotion\_tier</code>,
            <code>distribution</code>
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            created\_at

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>Timestamp representing the date and time when the validation rule assignment was created. The value is shown in the ISO 8601 format.</p>

          <p>
            <strong>Example:</strong>
            2022-02-17T08:18:15.085Z
          </p>
        </td>
      </tr>

      <tr>
        <td>
          <p>
            object

            <br />

            <code>string</code>
          </p>
        </td>

        <td>
          <p>The type of the object represented by the ID.</p>

          <p>
            Available values:
            <code>validation\_rules\_assignment</code>
          </p>
        </td>
      </tr>
    </tbody>
  </table>
</div>
