{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chorusresearch-io/json-schema/chorusresearch-io-post-surveys-request-schema.json",
  "title": "PostSurveysRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/chorusresearch-io-openapi-generated.yml#/components/schemas/PostSurveysRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Survey name (1-255 characters)"
    },
    "survey": {
      "type": "object",
      "description": "Survey definition in Chorus Research format"
    },
    "targetCompletes": {
      "type": "integer",
      "description": "Target number of completed responses (min: 5, $5 minimum purchase)"
    },
    "description": {
      "type": "string",
      "description": "Survey description (max 1000 characters)"
    }
  },
  "required": [
    "name",
    "survey"
  ]
}