{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/epicdirectories/json-schema/epicdirectories-create-submission-dto-schema.json",
  "title": "CreateSubmissionDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/epicdirectories-submissions-api-openapi.yml#/components/schemas/CreateSubmissionDto",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Name of the thing being suggested",
      "maxLength": 200
    },
    "url": {
      "type": "string",
      "description": "Its website"
    },
    "description": {
      "type": "string",
      "description": "What it is, in the submitter's words",
      "maxLength": 2000
    },
    "category": {
      "type": "string",
      "description": "Suggested category, as free text. NOT resolved to a taxonomy term here — an operator decides that on review, optionally via the taxonomy resolve endpoints.",
      "maxLength": 100
    },
    "email": {
      "type": "string",
      "description": "Submitter email, for follow-up. Never published."
    },
    "turnstileToken": {
      "type": "string",
      "description": "Cloudflare Turnstile token from the widget. Required when Turnstile is configured."
    },
    "website2": {
      "type": "string",
      "description": "Honeypot. Leave empty. A real browser never fills it, so a non-empty value is accepted with 202 and recorded as spam — silently, so bots get no signal to adapt."
    }
  },
  "required": [
    "title",
    "url"
  ]
}