{"id":14155560,"url":"https://github.com/accordproject/concerto","last_synced_at":"2025-05-14T21:06:53.714Z","repository":{"id":37502758,"uuid":"151294285","full_name":"accordproject/concerto","owner":"accordproject","description":"Business schema language and runtime","archived":false,"fork":false,"pushed_at":"2025-04-29T16:12:24.000Z","size":115566,"stargazers_count":146,"open_issues_count":31,"forks_count":153,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-05-06T13:54:03.066Z","etag":null,"topics":["hacktoberfest","json","models","schema","types","typescript","validate","validator"],"latest_commit_sha":null,"homepage":"https://concerto.accordproject.org","language":"JavaScript","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/accordproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["accordproject"]}},"created_at":"2018-10-02T17:22:06.000Z","updated_at":"2025-04-30T23:48:29.000Z","dependencies_parsed_at":"2024-05-03T16:31:23.638Z","dependency_job_id":"e25e3470-f380-43ae-9977-5be1bc24b121","html_url":"https://github.com/accordproject/concerto","commit_stats":{"total_commits":4295,"total_committers":138,"mean_commits":31.1231884057971,"dds":0.7636786961583236,"last_synced_commit":"85366be18b5deb3efaa6acfbc7319b14a0219c05"},"previous_names":["hyperledger/composer-concerto"],"tags_count":213,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accordproject%2Fconcerto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accordproject%2Fconcerto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accordproject%2Fconcerto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accordproject%2Fconcerto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/accordproject","download_url":"https://codeload.github.com/accordproject/concerto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253318688,"owners_count":21889939,"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":["hacktoberfest","json","models","schema","types","typescript","validate","validator"],"created_at":"2024-08-17T08:03:56.177Z","updated_at":"2025-05-14T21:06:53.647Z","avatar_url":"https://github.com/accordproject.png","language":"JavaScript","readme":"\u003ch1\u003e\n\u003ca href=\"https://www.accordproject.org/projects/concerto\"\u003e\nConcerto\n\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/accordproject/concerto/actions/workflows/build.yml/badge.svg\"\u003e\u003cimg src=\"https://github.com/accordproject/concerto/actions/workflows/build.yml/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/accordproject/concerto?branch=main\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/accordproject/concerto/badge.svg?branch=main\" alt=\"Coverage Status\"\u003e\u003c/a\u003e\n\u003ca href=\"./LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/accordproject/concerto?color=bright-green\" alt=\"GitHub license\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@accordproject/concerto-core\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@accordproject/concerto-core\" alt=\"downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://badge.fury.io/js/%40accordproject%2Fconcerto-cli\"\u003e\u003cimg src=\"https://badge.fury.io/js/%40accordproject%2Fconcerto-cli.svg\" alt=\"npm version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/Zm99SKhhtA\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/Accord%20Project-Join%20Discord-blue\" alt=\"Join the Accord Project Discord\"/\u003e\n\u003c/a\u003e\n\nA lightweight schema language and runtime for business concepts.\n\n```cs\nconcept Person identified by name  {\n  o String name\n  o Address address optional\n  @description(\"Height (cm)\")\n  o Double height range=[0,]\n  o DateTime dateOfBirth \n}\n```\n\n🏢 Concerto gives you “just enough” expressivity to capture real-world business models, while remaining easy to map to most runtime environments.\n\n⛳ An object-oriented language that is much easier to read and write than JSON/XML Schema, XMI or equivalents.\n\n📄 Serialize your instances to JSON\n\n🍪 Deserialize (and validate) instances from JSON\n\n🔎 Introspect the model using a [powerful set of APIs](https://docs.accordproject.org/docs/model-api.html)\n\n🎛 Convert the model to other formats:\n- JSON Schema\n- XML Schema\n- OData CDSL\n- GraphQL Schema\n- Java Classes\n- Go Types\n- C# Classes\n- TypeScript Classes\n- Protobuf Messages\n- PlantUML Diagrams\n- Mermaid UML Diagrams\n- Markdown (with embedded Mermaid)\n- OpenAPI v3 specification document\n- Apache Avro\n\n🕸 Publish your reusable models to any website, including the Accord Project [model repository](https://models.accordproject.org)\n\nInfer models from other formats:\n- JSON document\n- JSON Schema\n- OpenAPI v3 specification document\n\n## Getting Started\n\n- Install the [Command Line Tool](https://concerto.accordproject.org/docs/tools/ref-concerto-cli)\n- Read the [Concerto specification](https://docs.accordproject.org/docs/model-concerto.html)\n\n```console\n$ npm i -g @accordproject/concerto-cli\n$ concerto compare --old model.cto --new model-with-changes.cto \n[required-field-added]: The required field \"weight\" was added to the concept \"Person\" (major) \n```\n\n- Open VSCode ([on the web](https://github.dev/accordproject/models/blob/master/src/address%400.2.0.cto), [on your machine](https://marketplace.visualstudio.com/items?itemName=accordproject.cicero-vscode-extension))\n\n![VSCode Editor](https://accordproject.org/wp-content/uploads/2022/10/af57b31d0eb66154bce4e0ffec780027.png)\n\n- Add to your [Node.js project](https://docs.accordproject.org/docs/model-api.html)\n- Add to your [.NET project](https://www.nuget.org/packages/AccordProject.Concerto)\n\n## Structure of the Code\n\nTop level repository (concerto), with sub packages. Each sub-package is published as an independent npm module using npm workspaces:\n* [concerto-core](https://github.com/accordproject/concerto/tree/master/packages/concerto-core) : core library for model management/parsing/validation/serialization\n* [concerto-util](https://github.com/accordproject/concerto/tree/master/packages/concerto-util) : contains utility functions used in other parts of the code and fundamentally independent from Concerto as a modeling language\n* [concerto-cto](https://github.com/accordproject/concerto/tree/master/packages/concerto-cto) : contains the parser for the .cto syntax for Concerto. The parser now outputs a proper Concerto object, instance of the metamodel rather than a custom JSON object.\n* [concerto-vocabulary](https://github.com/accordproject/concerto/tree/master/packages/concerto-vocabulary) : functionality to handle model vocabularies and localization\n* [concerto-analysis](https://github.com/accordproject/concerto/tree/master/packages/concerto-analysis) : tools for comparing model files\n* [concerto-types](https://github.com/accordproject/concerto/tree/master/packages/concerto-types) : TypeScript type definitions for Concerto\n* [concerto-dotnet](https://github.com/accordproject/concerto-dotnet) : .NET type definitions for Concerto, and serialization tools\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.accordproject.org/\"\u003e\n    \u003cimg src=\"assets/APLogo.png\" alt=\"Accord Project Logo\" width=\"400\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"./LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/accordproject/cicero?color=bright-green\" alt=\"GitHub license\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/Zm99SKhhtA/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Accord%20Project-Join%20Discord-blue\" alt=\"Join the Accord Project Discord\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nAccord Project is an open source, non-profit, initiative working to transform contract management and contract automation by digitizing contracts. Accord Project operates under the umbrella of the [Linux Foundation][linuxfound]. The technical charter for the Accord Project can be found [here][charter].\n\n## Learn More About Accord Project\n\n### [Overview][apmain]\n\n### [Documentation][apdoc]\n\n## Contributing\n\nThe Accord Project technology is being developed as open source. All the software packages are being actively maintained on GitHub and we encourage organizations and individuals to contribute requirements, documentation, issues, new templates, and code.\n\nFind out what’s coming on our [blog][apblog].\n\nJoin the Accord Project Technology Working Group [Discord Community][apdiscord] to get involved!\n\nFor code contributions, read our [CONTRIBUTING guide][contributing] and information for [DEVELOPERS][developers].\n\n### README Badge\n\nUsing Accord Project? Add a README badge to let everyone know: [![accord project](https://img.shields.io/badge/powered%20by-accord%20project-19C6C8.svg)](https://www.accordproject.org/)\n\n```\n[![accord project](https://img.shields.io/badge/powered%20by-accord%20project-19C6C8.svg)](https://www.accordproject.org/)\n```\n\n## License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nAccord Project source code files are made available under the [Apache License, Version 2.0][apache].\nAccord Project documentation files are made available under the [Creative Commons Attribution 4.0 International License][creativecommons] (CC-BY-4.0).\n\nCopyright 2018-2019 Clause, Inc. All trademarks are the property of their respective owners. See [LF Projects Trademark Policy](https://lfprojects.org/policies/trademark-policy/).\n\n[linuxfound]: https://www.linuxfoundation.org\n[charter]: https://github.com/accordproject/governance/blob/master/accord-project-technical-charter.md\n[apmain]: https://accordproject.org/ \n[apblog]: https://medium.com/@accordhq\n[apdoc]: https://docs.accordproject.org/\n[apdiscord]: https://discord.com/invite/Zm99SKhhtA\n\n[contributing]: https://github.com/accordproject/concerto/blob/master/CONTRIBUTING.md\n[developers]: https://github.com/accordproject/concerto/blob/master/DEVELOPERS.md\n\n[apache]: https://github.com/accordproject/concerto/blob/master/LICENSE\n[creativecommons]: http://creativecommons.org/licenses/by/4.0/\n","funding_links":["https://github.com/sponsors/accordproject"],"categories":["typescript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccordproject%2Fconcerto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccordproject%2Fconcerto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccordproject%2Fconcerto/lists"}