{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ctlsurf-com/json-schema/ctlsurf-com-folder-share-create-schema.json",
  "title": "FolderShareCreate",
  "description": "Create a folder share by email.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ctlsurf-com-shares-api-openapi.yml#/components/schemas/FolderShareCreate",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "permission": {
      "$ref": "#/$defs/app__schemas__share__SharePermission",
      "default": "view"
    },
    "include_pages": {
      "type": "boolean",
      "title": "Include Pages",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "email"
  ],
  "$defs": {
    "app__schemas__share__SharePermission": {
      "type": "string",
      "enum": [
        "view",
        "edit",
        "admin"
      ],
      "title": "SharePermission",
      "description": "Permission levels for shared resources."
    }
  }
}