{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-form-schema.json",
  "title": "QueryResultForm",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-forms-api-openapi.yml#/components/schemas/QueryResultForm",
  "type": "object",
  "properties": {
    "elements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Form"
      }
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "$defs": {
    "Form": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the form",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Form name"
        },
        "description": {
          "type": "string",
          "description": "Form description"
        },
        "htmlName": {
          "type": "string",
          "description": "HTML name attribute"
        },
        "currentStatus": {
          "type": "string",
          "description": "Current form status",
          "readOnly": true
        },
        "archived": {
          "type": "boolean",
          "description": "Whether the form is archived"
        },
        "elements": {
          "type": "array",
          "description": "Form field elements",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "htmlName": {
                "type": "string"
              }
            }
          }
        },
        "processingSteps": {
          "type": "array",
          "description": "Form processing steps",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          }
        },
        "folderId": {
          "type": "string",
          "description": "Containing folder identifier",
          "readOnly": true
        },
        "createdAt": {
          "type": "string",
          "description": "Creation timestamp (Unix time)",
          "readOnly": true
        },
        "updatedAt": {
          "type": "string",
          "description": "Last update timestamp (Unix time)",
          "readOnly": true
        },
        "depth": {
          "type": "string",
          "description": "Level of detail returned",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Asset type in Eloqua",
          "readOnly": true
        }
      }
    }
  }
}