{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zeblink-io/json-schema/zeblink-io-convert-smart-to-manual-response-schema.json",
  "title": "ConvertSmartToManualResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/zeblink-io-v1-openapi.json#/components/schemas/ConvertSmartToManualResponse",
  "type": "object",
  "properties": {
    "collection": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^col_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"
        },
        "spaceId": {
          "type": "string",
          "pattern": "^spc_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "manual"
          ]
        },
        "rules": {
          "type": "null"
        },
        "createdBy": {
          "type": "string",
          "pattern": "^usr_[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$"
        },
        "createdVia": {
          "type": "string",
          "enum": [
            "web",
            "import",
            "api",
            "chat",
            "mcp"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "id",
        "spaceId",
        "name",
        "description",
        "type",
        "rules",
        "createdBy",
        "createdVia",
        "createdAt",
        "updatedAt"
      ]
    },
    "materialized": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of current matching links captured in the collection."
    }
  },
  "required": [
    "collection",
    "materialized"
  ]
}