{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-list-suggestions-response-schema.json",
  "title": "ListSuggestionsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-forms-api-openapi.yml#/components/schemas/ListSuggestionsResponse",
  "type": "object",
  "properties": {
    "suggestions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "replyTo": {
            "type": [
              "string",
              "null"
            ]
          },
          "pagePath": {
            "type": [
              "string",
              "null"
            ]
          },
          "signedIn": {
            "type": "boolean"
          },
          "duplicates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "votes": {
                  "type": "number"
                }
              },
              "required": [
                "key",
                "title"
              ]
            }
          }
        },
        "required": [
          "id",
          "createdAt",
          "title",
          "details",
          "status",
          "replyTo",
          "pagePath",
          "signedIn",
          "duplicates"
        ]
      }
    }
  },
  "required": [
    "suggestions"
  ]
}