{
  "schema_version": "1.0",
  "name": "PasteToPrint",
  "description": "Paste, edit, draw, print and export PDF in a browser document editor with text, tables, shapes, layers, images and AI document handoff.",
  "homepage": "https://www.pastetoprint.com/",
  "documentation": "https://www.pastetoprint.com/ai-agents.html",
  "entity": {
    "id": "https://www.pastetoprint.com/#application",
    "type": "WebApplication",
    "canonical_about": "https://www.pastetoprint.com/about-pastetoprint.html",
    "website": "https://www.pastetoprint.com/#website",
    "creator": {
      "id": "https://www.pastetoprint.com/about-pastetoprint.html#creator",
      "name": "Elektroinštalácie a servis s.r.o.",
      "url": "https://www.elektrikarprievidza.sk/contact.html"
    },
    "public_facts": {
      "basic_account_required": false,
      "basic_price_eur": 0,
      "free_output": [
        "A4 printing",
        "TXT export"
      ],
      "regular_editing_storage": "browser",
      "direct_drawing_on_page": true,
      "drawing_storage": "browser",
      "server_transfer_requires_explicit_action": true,
      "external_import_requires_human_confirmation": true
    }
  },
  "citation_sources": [
    "https://www.pastetoprint.com/about-pastetoprint.html",
    "https://www.pastetoprint.com/ai-agents.html",
    "https://www.pastetoprint.com/url-import-for-ai.html",
    "https://www.pastetoprint.com/ai-dokument.html",
    "https://www.pastetoprint.com/mcp.html",
    "https://www.pastetoprint.com/PTDF-1.0.md",
    "https://www.pastetoprint.com/ptdf-ai-chat-prompt.txt",
    "https://www.pastetoprint.com/api/v2/openapi.yaml",
    "https://www.pastetoprint.com/api/document-schema/v1/schema.json",
    "https://www.pastetoprint.com/HANDOFF-SECURITY-RELEASE.md",
    "https://www.pastetoprint.com/DRAWING-STAGE-7.md",
    "https://www.pastetoprint.com/DRAWING-ADAPTIVE-LAYERS.md",
    "https://www.pastetoprint.com/drawing/",
    "https://www.pastetoprint.com/coloring-book/"
  ],
  "editor_capabilities": {
    "documentation": "https://www.pastetoprint.com/DRAWING-STAGE-7.md",
    "capacity_documentation": "https://www.pastetoprint.com/DRAWING-ADAPTIVE-LAYERS.md",
    "visual_guide": "https://www.pastetoprint.com/drawing/",
    "coloring_book_education_guide": "https://www.pastetoprint.com/coloring-book/",
    "direct_drawing_on_selected_paper_format": true,
    "coloring_book_protected_original_reference": true,
    "input_methods": [
      "mouse",
      "touch",
      "pen"
    ],
    "drawing_tools": [
      "pens and brushes",
      "eraser, blur brush and fill",
      "color picker and magnifier",
      "editable text",
      "geometric shapes",
      "selection and transforms",
      "quick Move tool for vector objects and raster images (V, arrow keys, Shift+arrow)"
    ],
    "precision_tools": [
      "zoom",
      "grid",
      "rulers",
      "snap to grid",
      "pointer coordinates"
    ],
    "layers": [
      "editable vector layers",
      "editable raster image layers"
    ],
    "layer_capacity": {
      "schema": "ptp.drawing-capacity/1",
      "scene_layers_per_page": 256,
      "vector_layers_per_page": 256,
      "raster_layers_per_page": 64,
      "decoded_raster_memory": "adaptive per open drawing session",
      "warning_ratio": 0.8,
      "device_budget_mib": [128, 256, 512, 768],
      "runtime_diagnostics": "window.pasteToPrintDrawing.getCapacity()"
    },
    "image_tools": [
      "file, clipboard and drag-and-drop import",
      "opacity",
      "rotation and flip",
      "grayscale, sepia and invert filters",
      "solid background removal",
      "restore original"
    ],
    "undo_redo": true,
    "history": {
      "schema": "ptp.drawing-history/2",
      "encoding": "object-delta-v1",
      "maximum_states": 1001,
      "durable_across_reload": true,
      "legacy_read": "ptp.drawing-history/1"
    },
    "editable_after_save": true
  },
  "quickstart": "https://www.pastetoprint.com/ai-agents.html#quickstart",
  "html_css_forms": "https://www.pastetoprint.com/html-css-forms.html",
  "openapi": "https://www.pastetoprint.com/api/v2/openapi.yaml",
  "agent_import_openapi": "https://www.pastetoprint.com/api/agent-import/openapi.yaml",
  "mcp": "https://www.pastetoprint.com/MCP-SERVER.md",
  "mcp_overview": "https://www.pastetoprint.com/mcp.html",
  "sdk": "https://www.pastetoprint.com/external-import-button.html",
  "json_schema": "https://www.pastetoprint.com/api/document-schema/v1/schema.json",
  "document_capabilities": "https://www.pastetoprint.com/api/document-schema/v1/capabilities.json",
  "document_format": "https://www.pastetoprint.com/PTDF-1.0.md",
  "ordinary_ai_chat_ptdf": {
    "user_guide": "https://www.pastetoprint.com/ai-dokument.html",
    "prompt": "https://www.pastetoprint.com/ptdf-ai-chat-prompt.txt",
    "requires_web_fetch_after_copy": false,
    "requires_api": false,
    "schema_version": "ptp.document/1",
    "workflow": [
      "collect_missing_facts",
      "generate_utf8_json",
      "validate_in_pastetoprint",
      "human_review_and_confirm"
    ],
    "html_fallback": false
  },
  "document_examples": {
    "basic": "https://www.pastetoprint.com/api/document-schema/v1/example.json",
    "semantic_business": "https://www.pastetoprint.com/api/document-schema/v1/semantic-example.json",
    "landscape": "https://www.pastetoprint.com/api/document-schema/v1/landscape-example.json",
    "coloring_drawing": "https://www.pastetoprint.com/api/document-schema/v1/coloring-drawing-example.json"
  },
  "license": {
    "scope": "https://www.pastetoprint.com/PTDF-LICENSE.md",
    "specification": "CC-BY-4.0",
    "schema_and_reference_code": "MIT"
  },
  "reference_renderer": {
    "documentation": "https://www.pastetoprint.com/PTDF-REFERENCE-RENDERER.md",
    "javascript": "https://www.pastetoprint.com/assets/js/document-schema.js",
    "stylesheet": "https://www.pastetoprint.com/assets/css/ptdf.css",
    "license": "MIT"
  },
  "deep_links": "https://www.pastetoprint.com/DEEP-LINKS.md",
  "url_import": {
    "supported": true,
    "guide": "https://www.pastetoprint.com/url-import-for-ai.html",
    "mcp_required": false,
    "api_required": false,
    "active_browser_tab_access_required": false,
    "fragment_sent_in_http_request": false,
    "processing": "browser-local fragment decoding followed by human preview and confirmation",
    "formats": [
      "https://www.pastetoprint.com/#text={percentEncodedUtf8Text}",
      "https://www.pastetoprint.com/#ptdf={unpaddedBase64UrlUtf8PtdfJson}"
    ]
  },
  "inline_text_deep_link": {
    "version": "1",
    "documentation": "https://www.pastetoprint.com/INLINE-TEXT-DEEP-LINK-V1.md",
    "interoperability_tests": "https://www.pastetoprint.com/INLINE-TEXT-CHATBOT-QA.md",
    "pattern": "https://www.pastetoprint.com/#text={percentEncodedUtf8Text}",
    "markdown_pattern": "[Open in pasteToPrint](https://www.pastetoprint.com/#text={percentEncodedUtf8Text})",
    "content_type": "text/plain; charset=utf-8",
    "encoding": "encodeURIComponent",
    "http_post_required": false,
    "server_session_required": false,
    "document_content_sent_to_server": false,
    "portable_max_url_characters": 8000,
    "max_fragment_characters": 65536,
    "max_decoded_utf8_bytes": 32768,
    "requires_user_click": true,
    "requires_user_confirmation": true
  },
  "inline_ptdf_deep_link": {
    "version": "1",
    "documentation": "https://www.pastetoprint.com/INLINE-PTDF-DEEP-LINK-V1.md",
    "interoperability_tests": "https://www.pastetoprint.com/INLINE-PTDF-CHATBOT-QA.md",
    "pattern": "https://www.pastetoprint.com/#ptdf={unpaddedBase64UrlUtf8PtdfJson}",
    "markdown_pattern": "[Open structured document in pasteToPrint](https://www.pastetoprint.com/#ptdf={unpaddedBase64UrlUtf8PtdfJson})",
    "content_type": "application/vnd.pastetoprint.ptdf+json",
    "schema_version": "ptp.document/1",
    "serialization": "UTF-8 JSON",
    "encoding": "RFC 4648 base64url without padding",
    "compression": "none",
    "http_post_required": false,
    "server_session_required": false,
    "document_content_sent_to_server": false,
    "portable_max_url_characters": 8000,
    "max_fragment_characters": 131200,
    "max_encoded_payload_characters": 131072,
    "max_decoded_utf8_bytes": 96000,
    "requires_deterministic_encoding": true,
    "requires_round_trip_verification": true,
    "requires_user_click": true,
    "requires_user_confirmation": true
  },
  "long_document_handoff": {
    "version": "1",
    "documentation": "https://www.pastetoprint.com/LONG-DOCUMENT-HANDOFF.md",
    "http_post_required": false,
    "server_session_required": false,
    "requires_user_action": true,
    "requires_user_confirmation": true,
    "ptdf_file": {
      "media_type": "application/vnd.pastetoprint.ptdf+json",
      "extensions": [
        ".ptdf",
        ".ptdf.json"
      ],
      "encoding": "UTF-8 JSON",
      "max_source_bytes": 5242880,
      "supports_file_picker": true,
      "supports_drag_and_drop": true,
      "pwa_file_handler": "https://www.pastetoprint.com/assets/favicon/site.webmanifest"
    },
    "browser_extension": {
      "version": "1.0.0",
      "source_directory": "integrations/browser-extension",
      "manifest": "https://www.pastetoprint.com/integrations/browser-extension/manifest.json",
      "transport": "window.postMessage",
      "protocol_version": 1,
      "structured_message_type": "pasteToPrint.document",
      "plain_text_message_type": "pasteToPrint.import",
      "supported_ai_chats": [
        "ChatGPT",
        "Gemini",
        "Claude",
        "Microsoft Copilot"
      ],
      "reads_cookies": false,
      "reads_clipboard": false,
      "background_worker": false,
      "transfers_only_after_click": true
    }
  },
  "handoff_security": {
    "version": "2",
    "documentation": "https://www.pastetoprint.com/HANDOFF-SECURITY-RELEASE.md",
    "release_gate": "scripts/test-handoff-release.ps1",
    "fragment_removed_before_analytics": true,
    "analytics_disabled_for_import_requests": true,
    "content_in_console_or_error_reports": false,
    "html_sanitization_required": true,
    "ptdf_validation_required": true,
    "automatic_document_mutation": true,
    "automatic_document_mutation_scope": "managed_editable_ptdf_empty_editor_only",
    "automatic_overwrite": false,
    "automatic_import_undo": true,
    "automatic_print_or_export": false,
    "requires_user_confirmation": true,
    "content_bearing_query_cache": false,
    "service_worker_cache": "pasteToPrint-runtime-v143"
  },
  "llms": "https://www.pastetoprint.com/llms.txt",
  "api": {
    "type": "openapi",
    "url": "https://www.pastetoprint.com/api/v2/openapi.yaml",
    "anonymous_access": true,
    "optional_authentication": "bearer"
  },
  "mcp_server": {
    "version": "1.2.0",
    "transport": "stdio",
    "package": "@pastetoprint/mcp-server",
    "overview": "https://www.pastetoprint.com/mcp.html",
    "documentation": "https://www.pastetoprint.com/MCP-SERVER.md",
    "tools": [
      "list_templates",
      "get_document_schema",
      "validate_document",
      "create_document",
      "update_document",
      "get_document_links"
    ]
  },
  "format": {
    "name": "PTDF",
    "version": "1.0",
    "contract_revision": "2026-08-01",
    "wire_identifier": "ptp.document/1",
    "media_type": "application/vnd.pastetoprint.ptdf+json",
    "specification_license": "CC-BY-4.0",
    "schema_license": "MIT"
  },
  "capabilities": [
    "create_temporary_document",
    "manage_temporary_document",
    "upload_session_asset",
    "open_read_only_document",
    "list_templates",
    "validate_structured_document",
    "get_document_schema",
    "update_temporary_document",
    "get_document_links",
    "open_specification",
    "reference_renderer",
    "open_document_editor",
    "create_inline_text_deep_link",
    "create_inline_ptdf_deep_link",
    "create_ptdf_file",
    "import_ai_response_with_browser_extension",
    "generate_printable_html_css_form"
  ],
  "human_confirmation_required": true,
  "discovery": "https://www.pastetoprint.com/.well-known/ai.json",
  "aliases": [
    "https://www.pastetoprint.com/ai-plugin.json"
  ],
  "logo_url": "https://www.pastetoprint.com/assets/images/logo.png",
  "contact_url": "https://www.elektrikarprievidza.sk/contact.html"
}
