{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uservane-com/json-schema/uservane-com-privacy-export-response-schema.json",
  "title": "PrivacyExportResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uservane-com-openapi.yaml#/components/schemas/PrivacyExportResponse",
  "type": "object",
  "required": [
    "projectId",
    "exportedAt",
    "count",
    "responses"
  ],
  "properties": {
    "projectId": {
      "type": "string"
    },
    "exportedAt": {
      "type": "string",
      "format": "date-time"
    },
    "count": {
      "type": "integer"
    },
    "responses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "surveyId": {
            "type": "string"
          },
          "surveyVersion": {
            "type": "integer"
          },
          "respondentId": {
            "type": "string"
          },
          "rating": {
            "type": [
              "number",
              "null"
            ]
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "followUpRequested": {
            "type": "boolean"
          },
          "at": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "enum": [
              "measured",
              "imported"
            ]
          },
          "traits": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          }
        }
      }
    }
  }
}