{"id":21766090,"url":"https://github.com/narazaka/withschemaeditor","last_synced_at":"2026-03-06T20:03:23.000Z","repository":{"id":70968052,"uuid":"45321150","full_name":"Narazaka/WithSchemaEditor","owner":"Narazaka","description":"JSON/YAML Editor with schemas","archived":false,"fork":false,"pushed_at":"2025-11-17T10:51:47.000Z","size":44,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T20:52:13.610Z","etag":null,"topics":["json-schema","json-schema-form"],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Narazaka.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-10-31T22:59:26.000Z","updated_at":"2025-03-12T12:04:33.000Z","dependencies_parsed_at":"2023-03-11T09:35:23.185Z","dependency_job_id":null,"html_url":"https://github.com/Narazaka/WithSchemaEditor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Narazaka/WithSchemaEditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2FWithSchemaEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2FWithSchemaEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2FWithSchemaEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2FWithSchemaEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Narazaka","download_url":"https://codeload.github.com/Narazaka/WithSchemaEditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2FWithSchemaEditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30195570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["json-schema","json-schema-form"],"created_at":"2024-11-26T13:15:15.393Z","updated_at":"2026-03-06T20:03:22.990Z","avatar_url":"https://github.com/Narazaka.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"WithSchemaEditor\n===================\n\nJSON/YAML or any structured data Editor with schemas - using [JSON Editor](https://github.com/jdorn/json-editor)\n\n![preview](wse.png)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FNarazaka%2FWithSchemaEditor.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FNarazaka%2FWithSchemaEditor?ref=badge_shield)\n\n[Schema Plugin](https://www.npmjs.com/search?q=with-schema-editor-schema)\n-------------------\nWithSchemaEditor requires \"schema plugins\", node modules whose package name starts with `with-schema-editor-schema-`.\n\nSince node modules' minimal form only requires `index.js`, minimal schema plugin is like below.\n\n- node_modules/with-schema-editor-schema-foo/index.js\n\n```javascript\n\nvar fs = require('fs');\n\nmodule.exports = {\n  name: 'foo plugin', // schema plugin name\n  read_type: 'file', // file / directory / both\n  filters: function(app) { // file dialog filters (electron)\n    return [\n      {\n        name: 'JSON',\n        extensions: ['json']\n      }, {\n        name: 'All files',\n        extensions: ['*']\n      }\n    ];\n  },\n  load: function(app) { // load target(file or directory) function\n    var data = JSON.parse(fs.readFileSync(app.target()));\n    app.editor().setValue(data);\n  },\n  save: function(app) { // save function\n    var data = JSON.stringify(app.editor().getValue());\n    fs.writeFileSync(app.target(), data);\n  },\n  schema: function(app) { // JSON schema (JSON Editor)\n    return {\n      title: 'config',\n      type: 'object',\n      format: 'grid',\n      properties: {\n        target: {\n          title: 'Target',\n          type: 'string'\n        },\n        schema: {\n          title: 'Schema Name',\n          type: 'string'\n        }\n      }\n    };\n  }\n};\n```\n\nLicense\n-------------------\nThis is released under [MIT License](http://narazaka.net/license/MIT?2015).\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FNarazaka%2FWithSchemaEditor.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FNarazaka%2FWithSchemaEditor?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Fwithschemaeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarazaka%2Fwithschemaeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Fwithschemaeditor/lists"}