{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-form-schema.json",
  "title": "Form",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-forms-api-openapi.yml#/components/schemas/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
    }
  }
}