{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaheroesph-com/json-schema/vaheroesph-com-submission-receipt-schema.json",
  "title": "SubmissionReceipt",
  "description": "Confirmation that a submission was stored. Deliberately echoes none of the submitted personal data and exposes no internal database fields.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaheroesph-com-openapi.json#/components/schemas/SubmissionReceipt",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Receipt for the stored submission. Never echoes the submitted content.",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "description": "Identifier of the stored submission."
        },
        "createdAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "When the submission was stored."
        },
        "status": {
          "type": "string",
          "enum": [
            "received"
          ],
          "description": "Always \"received\"."
        },
        "duplicate": {
          "type": "boolean",
          "description": "True when an identical submission already existed; no new record was created."
        }
      },
      "required": [
        "id",
        "createdAt",
        "status",
        "duplicate"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}