{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/formester-com/json-schema/formester-com-get-api-v2-forms-id-response-schema.json",
  "title": "GetApiV2FormsIdResponse",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/formester-com-openapi-generated.yml#/components/schemas/GetApiV2FormsIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Numeric form identifier"
    },
    "name": {
      "type": "string",
      "description": "Form name"
    },
    "createdAt": {
      "type": "string",
      "description": "ISO 8601 creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "description": "ISO 8601 last update timestamp"
    },
    "submissionsCount": {
      "type": "integer",
      "description": "Total number of submissions"
    },
    "elements": {
      "type": "array",
      "description": "Form's element tree (flattened to the fields below)"
    },
    "elements[].id": {
      "type": "string",
      "description": "Element ID — use this as prefill_data[].id when prefilling this field"
    },
    "elements[].label": {
      "type": "string",
      "description": "Element label"
    },
    "elements[].type": {
      "type": "string",
      "description": "Element type"
    },
    "elements[].options": {
      "type": "array",
      "description": "Choices for choice‑based types"
    }
  }
}