{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-form-submission-rest10-schema.json",
  "title": "QueryResultFormSubmission",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-1-0-form-data-api-openapi.yml#/components/schemas/QueryResultFormSubmissionRest10",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of form data elements.",
      "items": {
        "$ref": "#/$defs/FormDataRest10"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "FieldValueRest10": {
      "title": "FieldValue",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "value": {
          "type": "string",
          "description": "The value to set the corresponding field id to. Date values must be submitted as a unix timestamp."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "The id of the field to be set to the corresponding value."
        }
      }
    },
    "FormDataRest10": {
      "title": "FormData",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property"
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "ID of the form submit if synchronous or ID of the form submission job if async. This is a read-only property"
        },
        "currentStatus": {
          "type": "string",
          "description": "Current status of form submission when submitted through asynchronous submission"
        },
        "submittedAt": {
          "type": "string",
          "description": "Unix timestamp for the date and time the form data was submitted. This is a read-only property"
        },
        "submittedByContactId": {
          "type": "string",
          "description": "ID of the contact that submitted the form. This is a read-only property"
        },
        "fieldValues": {
          "type": "array",
          "description": "A list of key/value pairs identifying the form data (field name / value)",
          "items": {
            "$ref": "#/$defs/FieldValueRest10"
          }
        },
        "processingStepErrors": {
          "type": "array",
          "description": "A list of Processing Step Errors occurred in current form submission. This is a read-only property",
          "items": {
            "$ref": "#/$defs/ProcessingStepErrorRest10"
          }
        },
        "processedAt": {
          "type": "string",
          "description": "Unix timestamp for the date and time the form data was processed if submitted through asynchronous submission. This is a read-only property"
        },
        "rowId": {
          "type": "integer",
          "description": "In case of asynchronous form submission if processed then submit ID of form submission. This is a read-only property"
        },
        "validationErrors": {
          "type": "array",
          "description": "Validation errors if any occured in form submission. This is a read-only property",
          "items": {
            "$ref": "#/$defs/ObjectValidationErrorRest10"
          }
        }
      }
    },
    "ObjectKeyRest10": {
      "title": "ObjectKey",
      "properties": {
        "type": {
          "type": "string"
        },
        "objectType": {
          "type": "string"
        },
        "objectId": {
          "type": "string"
        },
        "container": {
          "$ref": "#/$defs/ObjectKeyRest10"
        }
      }
    },
    "ObjectValidationErrorRest10": {
      "title": "ObjectValidationError",
      "properties": {
        "type": {
          "type": "string"
        },
        "container": {
          "$ref": "#/$defs/ObjectKeyRest10"
        },
        "property": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "requirement": {
          "$ref": "#/$defs/RequirementRest10"
        }
      }
    },
    "ProcessingStepErrorRest10": {
      "title": "ProcessingStepError",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua."
        },
        "processingStepId": {
          "type": "string",
          "description": "Processing step id during which error ocurred"
        },
        "processingStepTypeId": {
          "type": "string",
          "description": "Type of the processing step during which error ocurred"
        },
        "processingStepDisplayName": {
          "type": "string",
          "description": "DisplayName of the processing step including description (if configured)"
        },
        "errorCode": {
          "type": "integer",
          "description": "Unique Error Code for current error"
        },
        "errorMessage": {
          "type": "string",
          "description": "Error message for current error code"
        },
        "errorDescription": {
          "type": "string",
          "description": "Detailed information about current error"
        }
      }
    },
    "RequirementRest10": {
      "title": "Requirement",
      "properties": {
        "type": {
          "type": "string"
        }
      }
    }
  }
}