{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-lookup-table-rest20-schema.json",
  "title": "QueryResultLookupTable",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-lookup-tables-api-openapi.yml#/components/schemas/QueryResultLookupTableRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The lookup table field's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of the lookup table fields.",
      "items": {
        "$ref": "#/$defs/LookupTableRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "LookupTableRest20": {
      "title": "LookupTable",
      "properties": {
        "type": {
          "type": "string",
          "description": "The lookup table type"
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the lookup table. This is a read-only property."
        },
        "currentStatus": {
          "type": "string",
          "description": "The status of the lookup table."
        },
        "name": {
          "type": "string",
          "description": "The name of the lookup table."
        },
        "description": {
          "type": "string",
          "description": "The description of the lookup table."
        },
        "permissions": {
          "type": "array",
          "description": "The permissions for the lookup table granted to your current instance. This is a read-only property.",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true,
          "description": "The folder id of the folder which contains the lookup table."
        },
        "sourceTemplateId": {
          "type": "string",
          "description": "The Id for the source template of the lookup table."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the lookup table."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the lookup table."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the lookup table was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who last updated the lookup table."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the lookup table."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the lookup table was last updated, expressed in Unix time."
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true,
          "description": "The date the lookup table is scheduled."
        },
        "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>."
        },
        "lookupFieldName": {
          "type": "string",
          "description": "The lookup field of the lookup table."
        },
        "replacementFieldName": {
          "type": "string",
          "description": "The replacement field of the lookup table."
        },
        "valuesAreCaseSensitive": {
          "type": "string",
          "description": "While compare lookup field with case sensitive rule or not."
        }
      }
    }
  }
}