{"id":29016498,"url":"https://github.com/memgraph/schema","last_synced_at":"2026-02-03T00:06:43.605Z","repository":{"id":242046258,"uuid":"803705775","full_name":"memgraph/schema","owner":"memgraph","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-29T13:20:54.000Z","size":30,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-29T14:36:31.457Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cypher","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memgraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-21T08:30:24.000Z","updated_at":"2025-04-29T13:20:57.000Z","dependencies_parsed_at":"2025-01-07T17:33:46.802Z","dependency_job_id":"f24a6da3-02c8-4dfe-8ac3-ec54816bbf74","html_url":"https://github.com/memgraph/schema","commit_stats":null,"previous_names":["memgraph/schema"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/memgraph/schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memgraph%2Fschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memgraph%2Fschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memgraph%2Fschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memgraph%2Fschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memgraph","download_url":"https://codeload.github.com/memgraph/schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memgraph%2Fschema/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261962050,"owners_count":23236859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-25T22:30:28.499Z","updated_at":"2026-02-03T00:06:43.600Z","avatar_url":"https://github.com/memgraph.png","language":"Cypher","readme":"# schema\n\nThe goal here is to define a schema standard that would be returned for a given graph by running a query like `SHOW SCHEMA INFO;`. The first few versions of the standard aim to focus on getting the statistical data about the schemaless label-property graphs. Over the long run, the goal is to incorporate the full definition of any schema the user defines.\n\nNOTE: `.json` examples are formatted using https://jsonformatter.curiousconcept.com/ (2 Space Tab).\n\n## use cases\n\nThe standard should be the basis for building many different applications leveraging the specification. Examples of such applications are:\n* What's the right data model in the first place (how should people model, and what's the right approach), helping in communication\n* data validity checks\n* semantic rules and derived knowledge (AKA inference)\n* graph schema visualizers\n* graph query language code completion\n* tools to assist with schema changes by estimating the implications\n* tools to generate mock graphs for testing and staging (AKA fakers)\n* Graph coloring based on the schema\n* LLM and, in general, AI applications:\n  * providing LLMs the right context to generate relevant knowledge retrieval queries\n  * implementing a generator of a diverse set of queries to, e.g., fine-tune an LLM.\n\n## usage\n\n* [memgraph](https://github.com/memgraph/memgraph) outputs [v1](#v1) under `SHOW SCHEMA INFO;` query\n* [memgraph lab](https://memgraph.com/docs/memgraph-lab) uses [v1](#v1) under graph schema and auto completion features\n* [Data modeling under Lab](https://memgraph.com/docs/memgraph-lab) helps you build the model/schema/ontology\n* [ai-toolkit](https://github.com/memgraph/ai-toolkit) uses [v1](#v1) under the [automatic SQL to graph agent](https://github.com/memgraph/ai-toolkit/tree/main/agents/sql2graph).\n\n## versions\n\n### v1\n* [example graph](v1/examples/create_example.cypher)\n* [example schema](v1/examples/schema_example.json)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemgraph%2Fschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemgraph%2Fschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemgraph%2Fschema/lists"}