{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intely/json-schema/intely-form-submission-schema.json",
  "title": "FormSubmission",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intely-forms-api-openapi.yml#/components/schemas/FormSubmission",
  "type": "object",
  "properties": {
    "ip": {
      "type": "string",
      "format": "ipv4"
    },
    "rating": {
      "type": "number",
      "format": "float"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FormSubmissionElement"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "FormSubmissionElement": {
      "type": "object",
      "properties": {
        "elementID": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "isHippa": {
          "type": "boolean"
        },
        "textValue": {
          "type": "string"
        },
        "other": {
          "type": "object"
        }
      }
    }
  }
}