{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "formId": {
      "type": "string"
    },
    "formVersionId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "final",
        "replaced",
        "voided"
      ]
    },
    "validationResult": {
      "type": "object",
      "additionalProperties": true
    },
    "values": {
      "type": "object",
      "description": "Raw submitted values. Requires commentary.forms.read.",
      "additionalProperties": true
    },
    "sourceContext": {
      "$ref": "#/components/schemas/FormSourceContext"
    },
    "sourceContextSummary": {
      "type": "object",
      "additionalProperties": true
    },
    "submissionOrigin": {
      "type": "string",
      "enum": [
        "web",
        "api",
        "mcp",
        "cli",
        "agent_api"
      ]
    },
    "submitterViewerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "submitterLogin": {
      "type": [
        "string",
        "null"
      ]
    },
    "agentAlias": {
      "type": [
        "string",
        "null"
      ]
    },
    "clientName": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "submittedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "additionalProperties": true
}