{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/copyright01-com/json-schema/copyright01-com-create-deposit-request-schema.json",
  "title": "CreateDepositRequest",
  "description": "Request body to create a new copyright deposit. For 'text' type, provide content_text. For all other types (website, youtube, social, github), provide website_url.\n",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/copyright01-com-openapi.yml#/components/schemas/CreateDepositRequest",
  "type": "object",
  "required": [
    "type",
    "title"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "text",
        "website",
        "youtube",
        "social",
        "github"
      ],
      "description": "Type of content to protect"
    },
    "title": {
      "type": "string",
      "minLength": 3,
      "maxLength": 255,
      "description": "Title for the deposit"
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "content_text": {
      "type": "string",
      "minLength": 10,
      "maxLength": 1000000,
      "description": "The text content to protect. Required when type is 'text'."
    },
    "website_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 500,
      "description": "URL to protect. Required when type is website, youtube, social, or github."
    },
    "is_public": {
      "type": "boolean",
      "default": true,
      "description": "Whether the deposit should be publicly verifiable"
    }
  }
}