{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-form-submission-schema.json",
  "title": "FormSubmission",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-forms-api-openapi.yml#/components/schemas/FormSubmission",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Submission id."
    },
    "formId": {
      "type": "string",
      "description": "The form this was submitted through."
    },
    "pagePath": {
      "type": [
        "string",
        "null"
      ],
      "description": "Path of the page the visitor submitted from, when known."
    },
    "fields": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "What the visitor filled in: field name to value. Personal data lives here."
    },
    "replyTo": {
      "type": [
        "string",
        "null"
      ],
      "description": "The visitor's email address, when the form has one. Use it to search."
    },
    "meta": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {},
      "description": "Extra facts about the submission, such as a hash of the visitor's IP address (`ip_hash`)."
    },
    "sizeBytes": {
      "type": "integer",
      "description": "Size of the stored submission in bytes."
    },
    "createdAt": {
      "type": "integer",
      "description": "When it was submitted, Unix ms."
    }
  },
  "required": [
    "id",
    "formId",
    "pagePath",
    "fields",
    "replyTo",
    "meta",
    "sizeBytes",
    "createdAt"
  ]
}