{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dataassist-io/json-schema/dataassist-io-create-type-request-schema.json",
  "title": "CreateTypeRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dataassist-io-openapi.json#/components/schemas/CreateTypeRequest",
  "properties": {
    "source_type": {
      "type": "string",
      "title": "Source Type"
    },
    "label": {
      "type": "string",
      "title": "Label"
    },
    "default_query_engine_id": {
      "type": "integer",
      "title": "Default Query Engine Id",
      "default": 1
    },
    "can_schedule": {
      "type": "boolean",
      "title": "Can Schedule",
      "default": false
    },
    "can_browse": {
      "type": "boolean",
      "title": "Can Browse",
      "default": false
    },
    "is_live_query": {
      "type": "boolean",
      "title": "Is Live Query",
      "default": false
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active",
      "default": true
    },
    "config_schema": {
      "additionalProperties": true,
      "type": "object",
      "title": "Config Schema",
      "default": {}
    },
    "supported_dialects": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Supported Dialects",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "source_type",
    "label"
  ]
}