Implement Webdoc: Open Document Format Based on Web Standards (HTML5, JSON-LD, RDFa) #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Implements Webdoc v1.0.0 - een open, uitbreidbaar documentformaat op basis van webstandaarden (HTML5, JSON-LD, RDFa) dat inhoud, metadata, stijl, semantiek en AI-agents in één container samenbrengt.
What is Webdoc?
Webdoc is a modern document format that:
Implementation
📋 Core Specification
🏗️ JSON Schemas
Two schemas for validation:
schema/metadata.schema.json- Validates document metadata structureschema/ai-config.schema.json- Validates AI-agent configuration📚 Example Documents
Three complete working examples:
🛠️ Tools
Three Node.js utilities with CLI interfaces:
validate.js - Validates documents against specification
extract-metadata.js - Extracts JSON-LD metadata
generate-template.js - Generates new documents from templates
📖 Documentation
Comprehensive documentation for all skill levels:
Features
Web Standards Integration
AI-Agent Configuration
{ "@context": "https://webdoc.org/context/ai/v1", "@type": "AIAgentConfiguration", "agents": [ { "@type": "ContentExtractor", "name": "content-extractor", "purpose": "Extract main content" } ] }Screenshots
Basic Webdoc Document
Clean, responsive design with semantic structure:

AI-Integrated Webdoc Document
Advanced features with AI-agent configuration:

Testing
All components verified and working:
Quick Start
Technical Details
Benefits
This implementation provides a complete, production-ready document format that fulfills all requirements from the problem statement.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.