{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-contract-object-rest20-schema.json",
  "title": "QueryResultContractObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-campaign-folders-api-openapi.yml#/components/schemas/QueryResultContractObjectRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of generic objects.",
      "items": {
        "$ref": "#/$defs/MinimalRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "MinimalRest20": {
      "title": "Minimal",
      "properties": {
        "type": {
          "type": "string"
        },
        "id": {
          "type": "string",
          "readOnly": true
        },
        "currentStatus": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "permissions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true
        },
        "sourceTemplateId": {
          "type": "string"
        },
        "createdBy": {
          "type": "string",
          "readOnly": true
        },
        "createdByName": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "readOnly": true
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true
        },
        "updatedByName": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true
        },
        "depth": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}