{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ctlsurf-com/json-schema/ctlsurf-com-selection-task-create-schema.json",
  "title": "SelectionTaskCreate",
  "description": "Create a new selection task.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ctlsurf-com-selection-tasks-api-openapi.yml#/components/schemas/SelectionTaskCreate",
  "properties": {
    "page_id": {
      "type": "string",
      "format": "uuid",
      "title": "Page Id"
    },
    "block_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Block Id"
    },
    "selection_type": {
      "type": "string",
      "title": "Selection Type"
    },
    "selection_data": {
      "additionalProperties": true,
      "type": "object",
      "title": "Selection Data"
    },
    "selection_display": {
      "type": "string",
      "title": "Selection Display"
    },
    "prompt": {
      "type": "string",
      "title": "Prompt"
    }
  },
  "type": "object",
  "required": [
    "page_id",
    "selection_type",
    "selection_data",
    "selection_display",
    "prompt"
  ]
}