{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apache-drill/json-schema/apache-drill-post-storage-myplugin-json-request-schema.json",
  "title": "PostStorageMypluginJsonRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apache-drill-openapi-generated.yml#/components/schemas/PostStorageMypluginJsonRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "connection": {
          "type": "string"
        },
        "workspaces": {
          "type": "object",
          "properties": {
            "root": {
              "type": "object",
              "properties": {
                "location": {
                  "type": "string"
                },
                "writable": {
                  "type": "boolean"
                },
                "defaultInputFormat": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          }
        },
        "formats": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}