# schema (10-schema.com) A schema is a plan or outline for how something is organized. People use it for mental frameworks, lesson plans, or any structured way of understanding the world. ## What a model may hear - database schema (SQL and database management): assume tables, columns, keys, and relationships; may generate CREATE TABLE statements or query structures - JSON Schema (APIs and data validation): enforce data types, required fields, and formats; may reject or validate JSON payloads - XML Schema (XSD) (enterprise systems and document standards): define element hierarchies, namespaces, and data constraints for XML documents - knowledge graph schema (semantic web and AI knowledge bases): map entities, properties, and relationships for reasoning or retrieval - cognitive schema (psychology and education): treat it as a mental framework, with no technical action ## Where people and models part ways - Says: "Give me a schema for my project" Means: An outline or plan for organizing the work May be taken as: Generate SQL table definitions or JSON Schema validation rules Say instead: "Give me an outline or plan for organizing my project" - Says: "Fix the schema" Means: Improve the structure of my document or idea May be taken as: Modify database tables or break API contracts Say instead: "Improve the structure and organization of this document" - Says: "This doesn't match the schema" Means: This doesn't fit my mental model May be taken as: Flag data validation errors or reject valid input Say instead: "This doesn't fit my understanding or plan" - Says: "Build a schema from this" Means: Create a structured summary or framework May be taken as: Generate formal XSD or database DDL from informal content Say instead: "Create a structured summary or framework from this information" ## Tips - Say 'outline' or 'plan' if you do not want database or code structures - Specify 'database schema' or 'JSON Schema' when you want the technical form - Mention your field, such as 'for a psychology paper' or 'for a web API' - Ask for a 'visual diagram' or 'text description' to control the output format - Clarify whether you want validation rules or just organization ## Often confused with - scheme: more often a plan or plot, less technical structure - schematic: a diagram or drawing, not a data definition - structure: broader, less tied to validation or formal rules - ontology: formal knowledge representation, more philosophical - template: a fillable form, not rules about valid data - model: can mean data model, scale model, or conceptual model