{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rippit-com/json-schema/rippit-com-dataset-edit-schema.json",
  "title": "DatasetEdit",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rippit-com-bulk-openapi.json#/components/schemas/DatasetEdit",
  "properties": {
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "New display name for the table."
    },
    "columns": {
      "additionalProperties": {
        "$ref": "#/$defs/ColumnEdit"
      },
      "type": "object",
      "title": "Columns",
      "description": "Per column: new `label` and/or `hidden`."
    },
    "conversation_link_column": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Link Column",
      "description": "Column holding conversation_ids; clicking a value opens that conversation. Replaces any previous link column."
    },
    "active": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Active",
      "description": "false hides the table from list_data_sources by default (includeInactive shows it); the next upload sets it back to true."
    }
  },
  "type": "object",
  "$defs": {
    "ColumnEdit": {
      "properties": {
        "label": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "hidden": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hidden"
        }
      },
      "type": "object",
      "title": "ColumnEdit"
    }
  }
}