Document Name: BEJSON Schemas
Schema Repository
The official architectural reference for BEJSON format topologies. This repository defines the strict structures required for high-throughput records, contextual registries, and relational text databases.
01. Format 104: Heavy Payloads
The purest implementation of positional integrity. Format 104 is engineered for monolithic, high-throughput data streams. It permits no custom metadata headers and mandates exactly one entity type in
Records_Type
. It supports complex inner types (arrays/objects) for rich payload packaging.
1.1 AI Agent Profile
Defines the cognitive parameters, personality archetypes, and technical constraints of an LLM agent. Complex arrays handle tone parameters and supported parsing languages.
{
"Format": "BEJSON",
"Format_Version": "104",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["AI_Profile"],
"Fields": [
{"name": "Record_Type_Parent", "type": "string"},
{"name": "Name", "type": "string"},
{"name": "Archetype", "type": "string"},
{"name": "SystemInstruction", "type": "string"},
{"name": "ForbiddenTopics", "type": "array"},
{"name": "MaxResponseTokens", "type": "integer"},
{"name": "Creativity", "type": "number"},
{"name": "CodeInterpreter_Enabled", "type": "boolean"},
{"name": "CodeParsing_Languages", "type": "array"}
],
"Values": [
[
"AI_Profile",
"BEJSON_Certified_Architect",
"Ecosystem_Architect",
"You are an elite level 3 technical authority...",
["Politics", "Pop Culture"],
16384,
0.1,
true,
["python", "json", "javascript"]
]
]
}
1.2 Vector Embeddings Dump
Designed for Machine Learning pipelines. Notice how effortlessly BEJSON 104 handles dense mathematical arrays (tensors) without duplicating keys.
{
"Format": "BEJSON",
"Format_Version": "104",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["DocumentEmbedding"],
"Fields": [
{"name": "chunk_id", "type": "string"},
{"name": "source_file", "type": "string"},
{"name": "tensor_array", "type": "array"},
{"name": "dimensions", "type": "integer"}
],
"Values": [
["CHK_8829", "mfdb_core_spec.md", [-0.015, 0.824, -0.331, 0.992], 4],
["CHK_8830", "mfdb_core_spec.md", [0.112, -0.551, 0.404, 0.187], 4],
["CHK_8831", "bejson_intro.md", [0.771, 0.005, -0.118, -0.902], 4]
]
}
1.3 High-Density Traffic Logs
A standard web server log. In standard JSON, this file would be 60% larger just from repeating `ip_address` and `user_agent` strings on every line.
{
"Format": "BEJSON",
"Format_Version": "104",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["AccessLog"],
"Fields": [
{"name": "timestamp", "type": "integer"},
{"name": "ip_address", "type": "string"},
{"name": "endpoint", "type": "string"},
{"name": "status_code", "type": "integer"},
{"name": "response_ms", "type": "number"}
],
"Values": [
[1715588100, "192.168.1.104", "/api/v1/users", 200, 45.2],
[1715588101, "10.0.0.55", "/api/v1/auth", 401, 12.0],
[1715588105, "192.168.1.104", "/api/v1/items", 200, 88.9]
]
}
02. Format 104a: Context Registries
The architectural registry format. 104a introduces custom `PascalCase` root metadata headers, allowing developers to wrap the positional data array in crucial environmental context. To maintain parsing predictability, 104a strictly forbids complex arrays or objects within the data cells.
2.1 API Key Round-Robin Registry
A secure template for holding API keys. Notice the
Schema_Name
root header identifying the purpose of the document before parsing the array.
{
"Format": "BEJSON",
"Format_Version": "104a",
"Format_Creator": "Elton Boehnen",
"Schema_Name": "GeminiKeyTemplate",
"Records_Type": ["ApiKey"],
"Fields": [
{"name": "key_slot", "type": "integer"},
{"name": "key", "type": "string"}
],
"Values": [
[1, "YOUR_GEMINI_KEY_1_HERE"],
[2, "YOUR_GEMINI_KEY_2_HERE"],
[3, "YOUR_GEMINI_KEY_3_HERE"],
[4, "YOUR_GEMINI_KEY_4_HERE"],
[5, "YOUR_GEMINI_KEY_5_HERE"],
[6, "YOUR_GEMINI_KEY_6_HERE"],
[7, "YOUR_GEMINI_KEY_7_HERE"],
[8, "YOUR_GEMINI_KEY_8_HERE"],
[9, "YOUR_GEMINI_KEY_9_HERE"],
[10, "YOUR_GEMINI_KEY_10_HERE"]
]
}
2.2 LLM Model Roster
A toggle registry to handle active model routing within a server application. The data strictly utilizes primitives (string, string, boolean).
{
"Format": "BEJSON",
"Format_Version": "104a",
"Format_Creator": "Elton Boehnen",
"Schema_Name": "GroqModelRegistry",
"Records_Type": ["GroqModel"],
"Fields": [
{"name": "model_name", "type": "string"},
{"name": "model_id", "type": "string"},
{"name": "currently_active", "type": "boolean"}
],
"Values": [
["Llama 4 Scout 17B (MoE)", "meta-llama/llama-4-scout-17b-16e-instruct", true],
["Llama 3.3 70B Versatile", "llama-3.3-70b-versatile", false],
["Llama 3.1 8B Instant", "llama-3.1-8b-instant", false],
["Mixtral 8x7b Instruct", "mixtral-8x7b-32768", false],
["Gemma 2 9b It", "gemma2-9b-it", false],
["Whisper Large V3 Turbo", "whisper-large-v3-turbo", false]
]
}
2.3 Microservice Endpoints
A routing manifest mapping abstract service names to physical internal IP addresses for a containerized backend.
{
"Format": "BEJSON",
"Format_Version": "104a",
"Format_Creator": "Elton Boehnen",
"Cluster_Name": "Alpha-K8s-Prod",
"Internal_DNS_Active": true,
"Records_Type": ["ServiceRoute"],
"Fields": [
{"name": "service", "type": "string"},
{"name": "internal_ip", "type": "string"},
{"name": "port", "type": "integer"}
],
"Values": [
["auth-service", "10.0.1.5", 8080],
["billing-core", "10.0.1.12", 9000],
["image-storage", "10.0.2.55", 80]
]
}
2.4 Multi-Hierarchical List
A robust hierarchical list schema. Notice the custom headers (
List_Title
,
List_Category
) that provide context to the entire document. The data itself utilizes a
parent_id
primitive to create deep, multi-tier nested structures without violating the strict primitive-only rule of 104a.
{
"Format": "BEJSON",
"Format_Version": "104a",
"Format_Creator": "Elton Boehnen",
"Schema_Version": "v1.0",
"List_Title": "List Example",
"List_Category": "Example",
"List_Description": "Example schema of a list and that's multi-hierarchical",
"Records_Type": [
"ListItem"
],
"Fields": [
{"name": "id", "type": "string"},
{"name": "parent_id", "type": "string"},
{"name": "title", "type": "string"},
{"name": "description", "type": "string"}
],
"Values": [
["item_001", null, "Software Development Overview", "Comprehensive guide to the lifecycle and components of modern software development, demonstrating multi-tier hierarchy capabilities of the list schema."],
["item_002", "item_001", "Frontend Development", "Focuses on the user-facing aspects of web and mobile applications, showcasing children items."],
["item_003", "item_002", "UI/UX Design Principles", "Key concepts for creating intuitive and aesthetically pleasing user interfaces and experiences."],
["item_004", "item_003", "Wireframing & Prototyping", "Techniques for sketching and building preliminary models of interfaces."],
["item_005", "item_003", "User Research & Testing", "Methods to understand user needs and evaluate usability."],
["item_006", "item_002", "Web Frameworks & Libraries", "Tools and ecosystems for building dynamic web applications."],
["item_007", "item_006", "React.js Ecosystem", "Exploring components, state management (Redux/Context API), and routing."],
["item_008", "item_006", "Vue.js Development", "Understanding Vue instances, components, and the Vuex state management pattern."],
["item_009", "item_006", "Angular Framework", "Deep dive into TypeScript, components, services, and modules in Angular."],
["item_010", "item_002", "Mobile App Development", "Building native or cross-platform applications for mobile devices."],
["item_011", "item_010", "React Native", "Cross-platform development using JavaScript and React."],
["item_012", "item_010", "Flutter (Dart)", "Google's UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase."],
["item_013", "item_010", "Native iOS (Swift/Objective-C)", "Developing applications specifically for Apple's ecosystem."],
["item_014", "item_010", "Native Android (Kotlin/Java)", "Developing applications specifically for Google's Android ecosystem."],
["item_015", "item_001", "Backend Development", "Server-side logic, database interactions, and API construction."],
["item_016", "item_015", "API Design & Implementation", "Creating robust and scalable interfaces for data exchange."],
["item_017", "item_016", "RESTful APIs", "Designing stateless services adhering to REST principles."],
["item_018", "item_016", "GraphQL", "A query language for your API, and a runtime for fulfilling those queries with your existing data."],
["item_019", "item_016", "gRPC", "A high-performance, open-source universal RPC framework."],
["item_020", "item_015", "Database Management Systems", "Storing, retrieving, and organizing data efficiently."],
["item_021", "item_020", "Relational Databases (SQL)", "PostgreSQL, MySQL, SQL Server, and their schema design."],
["item_022", "item_020", "NoSQL Databases", "MongoDB (Document), Cassandra (Column-Family), Redis (Key-Value), Neo4j (Graph)."],
["item_023", "item_015", "Server-Side Languages & Frameworks", "Technologies used to build the application logic."],
["item_024", "item_023", "Node.js (Express, NestJS)", "JavaScript runtime for server-side applications."],
["item_025", "item_023", "Python (Django, Flask)", "Versatile language for web development, data science, and automation."],
["item_026", "item_023", "Java (Spring Boot)", "Enterprise-grade applications and microservices."],
["item_027", "item_023", ".NET (C#)", "Microsoft's platform for building a wide range of applications."],
["item_028", "item_001", "Quality Assurance & Testing", "Ensuring the software meets specified requirements and is free of defects."],
["item_029", "item_028", "Testing Methodologies", "Different approaches to validate software quality."],
["item_030", "item_029", "Unit Testing", "Verifying individual components or functions in isolation."],
["item_031", "item_029", "Integration Testing", "Testing the interactions between different modules or services."],
["item_032", "item_029", "End-to-End Testing", "Simulating real user scenarios across the entire application flow."],
["item_033", "item_029", "Performance Testing", "Evaluating system responsiveness and stability under various loads."],
["item_034", "item_028", "Test Automation Frameworks", "Tools for automating test execution."],
["item_035", "item_034", "Selenium", "Browser automation for web application testing."],
["item_036", "item_034", "Cypress", "Fast, easy and reliable testing for anything that runs in a browser."],
["item_037", "item_034", "Jest (for JavaScript)", "Delightful JavaScript Testing."],
["item_038", "item_001", "DevOps & Cloud Computing", "Practices and tools to integrate development and operations, and deploy applications."],
["item_039", "item_038", "CI/CD Pipelines", "Automating the build, test, and deployment process."],
["item_040", "item_039", "Jenkins", "An open-source automation server."],
["item_041", "item_039", "GitHub Actions", "Automate, customize, and execute your software development workflows right in your repository."],
["item_042", "item_039", "GitLab CI/CD", "Integrated CI/CD in the GitLab platform."],
["item_043", "item_038", "Containerization & Orchestration", "Packaging and managing applications in isolated environments."],
["item_044", "item_043", "Docker", "Platform for developing, shipping, and running applications in containers."],
["item_045", "item_043", "Kubernetes", "Automating deployment, scaling, and management of containerized applications."],
["item_046", "item_038", "Cloud Platforms", "Leveraging cloud infrastructure for scalability and reliability."],
["item_047", "item_046", "Amazon Web Services (AWS)", "EC2, S3, RDS, Lambda, VPC."],
["item_048", "item_046", "Google Cloud Platform (GCP)", "Compute Engine, Cloud Storage, Kubernetes Engine."],
["item_049", "item_046", "Microsoft Azure", "Virtual Machines, Azure Blob Storage, Azure Kubernetes Service."],
["item_050", null, "Project Management Disciplines", "An overview of various approaches and phases in managing projects effectively."],
["item_051", "item_050", "Agile Methodologies", "Iterative and incremental approaches focusing on flexibility and collaboration."],
["item_052", "item_051", "Scrum Framework", "Roles (Scrum Master, Product Owner, Development Team), events (sprints, stand-ups), and artifacts."],
["item_053", "item_051", "Kanban Method", "Visualizing workflow, limiting work in progress, and continuous flow."],
["item_054", "item_050", "Traditional Project Management (Waterfall)", "Sequential design process in which progress flows steadily downwards."],
["item_055", "item_054", "Requirements Gathering", "Defining all necessary project specifications upfront."],
["item_056", "item_054", "Design Phase", "Creating the architectural and functional design of the solution."],
["item_057", "item_050", "Project Lifecycle Phases", "Standard stages in any project's progression."],
["item_058", "item_057", "Initiation Phase", "Defining the project, its objectives, and scope."],
["item_059", "item_057", "Planning Phase", "Developing a roadmap including tasks, resources, and timelines."],
["item_060", "item_057", "Execution Phase", "Carrying out the project plan and managing resources."],
["item_061", "item_057", "Monitoring & Control Phase", "Tracking progress, managing risks, and ensuring quality."],
["item_062", "item_057", "Closure Phase", "Finalizing all activities, delivering outputs, and learning lessons."],
["item_063", null, "Marketing & Sales Strategies", "Exploration of modern and traditional techniques for promoting products and services."],
["item_064", "item_063", "Digital Marketing Channels", "Utilizing online platforms to reach target audiences."],
["item_065", "item_064", "Search Engine Optimization (SEO)", "Improving organic search visibility through keywords, backlinks, and content."],
["item_066", "item_064", "Social Media Marketing (SMM)", "Engaging customers and building brand awareness on platforms like Facebook, Instagram, LinkedIn."],
["item_067", "item_064", "Content Marketing", "Creating and distributing valuable, relevant, and consistent content to attract and retain a clearly defined audience."],
["item_068", "item_064", "Email Marketing", "Building and nurturing customer relationships through targeted email campaigns."],
["item_069", "item_064", "Pay-Per-Click (PPC) Advertising", "Running paid ad campaigns on search engines and social media platforms."],
["item_070", "item_063", "Sales Process Management", "Structuring the steps to convert leads into customers."],
["item_071", "item_070", "Lead Generation", "Identifying and attracting potential customers."],
["item_072", "item_070", "Qualification & Nurturing", "Assessing lead potential and guiding them through the sales funnel."],
["item_073", "item_070", "Closing Techniques", "Strategies to finalize sales and agreements."],
["item_074", "item_070", "Customer Relationship Management (CRM)", "Tools and practices for managing customer interactions and data."],
["item_075", null, "Data Science & Analytics", "Methods and tools for extracting insights from data."],
["item_076", "item_075", "Data Collection & Preprocessing", "Gathering raw data and preparing it for analysis."],
["item_077", "item_076", "Data Sources (APIs, Databases, Web Scraping)", "Various methods to acquire data."],
["item_078", "item_076", "Data Cleaning & Transformation", "Handling missing values, outliers, and formatting data."],
["item_079", "item_075", "Statistical Analysis", "Applying statistical methods to interpret data."],
["item_080", "item_079", "Descriptive Statistics", "Summarizing and organizing data (mean, median, mode)."],
["item_081", "item_079", "Inferential Statistics", "Making predictions and inferences about a population from a sample."],
["item_082", "item_075", "Machine Learning", "Algorithms that learn from data and make predictions or decisions."],
["item_083", "item_082", "Supervised Learning", "Training models on labeled data (regression, classification)."],
["item_084", "item_082", "Unsupervised Learning", "Finding patterns in unlabeled data (clustering, dimensionality reduction)."],
["item_085", "item_082", "Deep Learning", "Neural networks with multiple layers for complex pattern recognition."],
["item_086", "item_075", "Data Visualization", "Presenting data in graphical formats for easier understanding."],
["item_087", "item_086", "Tools (Tableau, Power BI, Matplotlib)", "Software for creating interactive dashboards and charts."],
["item_088", "item_086", "Chart Types (Bar, Line, Scatter, Heatmap)", "Choosing appropriate visualizations for different data types."]
]
}
03. Format 104db: Relational Matrix
The multi-entity format. 104db fuses multiple different schemas into a single file by utilizing the mandatory
Record_Type_Parent
index field and explicit
null
-padding for unassociated columns. It exposes mathematical relationships visibly to AI agents and developers.
3.1 Visual Diagram Nodes
A structural representation of a flowchart. Entity 1 defines spatial
Shapes
, and Entity 2 defines the
Connectors
linking them. Notice the heavy null padding.
{
"Format": "BEJSON",
"Format_Version": "104db",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["Shape", "Connector"],
"Fields": [
/* Discriminator */
{"name": "Record_Type_Parent", "type": "string"},
/* Shape Fields */
{"name": "shape_id", "type": "string", "Record_Type_Parent": "Shape"},
{"name": "label", "type": "string", "Record_Type_Parent": "Shape"},
/* Connector Fields */
{"name": "conn_id", "type": "string", "Record_Type_Parent": "Connector"},
{"name": "from_fk", "type": "string", "Record_Type_Parent": "Connector"},
{"name": "to_fk", "type": "string", "Record_Type_Parent": "Connector"}
],
"Values": [
/* Shapes (Connector cols are null) */
["Shape", "s1", "Start Node", null, null, null],
["Shape", "s2", "Process A", null, null, null],
/* Connectors (Shape cols are null) */
["Connector", null, null, "c1", "s1", "s2"]
]
}
3.2 E-Commerce Snapshot
A highly portable snapshot mapping a Customer to their Orders. Note the
customer_id_fk
linking the entities visually.
{
"Format": "BEJSON",
"Format_Version": "104db",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["Customer", "Order"],
"Fields": [
{"name": "Record_Type_Parent", "type": "string"},
{"name": "customer_id", "type": "string", "Record_Type_Parent": "Customer"},
{"name": "email", "type": "string", "Record_Type_Parent": "Customer"},
{"name": "order_id", "type": "string", "Record_Type_Parent": "Order"},
{"name": "total_usd", "type": number, "Record_Type_Parent": "Order"},
{"name": "customer_id_fk","type": "string", "Record_Type_Parent": "Order"}
],
"Values": [
["Customer", "CUST_01", "sarah@domain.com", null, null, null],
["Order", null, null, "ORD_A55", 129.99, "CUST_01"],
["Order", null, null, "ORD_A56", 15.50, "CUST_01"]
]
}
3.3 Version Control History
A three-entity architecture linking Authors, Commits, and File Changes. Demonstrates the scalability of null-padding across more complex data shapes.
{
"Format": "BEJSON",
"Format_Version": "104db",
"Format_Creator": "Elton Boehnen",
"Records_Type": ["Author", "Commit", "FileChange"],
"Fields": [
{"name": "Record_Type_Parent", "type": "string"},
/* Author */
{"name": "author_id", "type": "string", "Record_Type_Parent": "Author"},
/* Commit */
{"name": "hash", "type": "string", "Record_Type_Parent": "Commit"},
{"name": "author_fk", "type": "string", "Record_Type_Parent": "Commit"},
/* FileChange */
{"name": "filepath", "type": "string", "Record_Type_Parent": "FileChange"},
{"name": "commit_fk", "type": "string", "Record_Type_Parent": "FileChange"}
],
"Values": [
["Author", "E.Boehnen", null, null, null, null],
["Commit", null, "a1b2c3d", "E.Boehnen", null, null],
["FileChange", null, null, null, "core_parser.py", "a1b2c3d"],
["FileChange", null, null, null, "tests.py", "a1b2c3d"]
]
}