{"id":25611381,"url":"https://github.com/labex-labs/schema","last_synced_at":"2025-10-08T11:35:17.604Z","repository":{"id":278315969,"uuid":"935231119","full_name":"labex-labs/schema","owner":"labex-labs","description":"LabEx Schema","archived":false,"fork":false,"pushed_at":"2025-02-19T06:11:46.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T06:20:05.518Z","etag":null,"topics":["labex","schema"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@labex-labs/schema","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/labex-labs.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}},"created_at":"2025-02-19T05:39:49.000Z","updated_at":"2025-02-19T06:16:01.000Z","dependencies_parsed_at":"2025-02-19T06:20:08.146Z","dependency_job_id":"fd41e808-7713-44ee-b0ef-fa2dac3e0ab4","html_url":"https://github.com/labex-labs/schema","commit_stats":null,"previous_names":["labex-labs/schema"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labex-labs%2Fschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labex-labs%2Fschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labex-labs%2Fschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labex-labs%2Fschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labex-labs","download_url":"https://codeload.github.com/labex-labs/schema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100618,"owners_count":19747700,"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":["labex","schema"],"created_at":"2025-02-21T23:19:00.975Z","updated_at":"2025-10-08T11:35:12.555Z","avatar_url":"https://github.com/labex-labs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# LabEx Schema\n\n[![JSDelivr](https://data.jsdelivr.com/v1/package/gh/labex-labs/schema/badge)](https://www.jsdelivr.com/package/gh/labex-labs/schema)\n\nThis repository contains the JSON Schema definitions for LabEx configuration files. These schemas define the structure and validation rules for lab and course configurations in the LabEx platform.\n\n## index.json\n\nThe `index.json` schema defines the structure for individual lab configurations, including:\n\n- Basic lab information (title, description, difficulty)\n- Lab steps and verification rules\n- Backend configuration\n- Internationalization (i18n) support\n- Metadata for SEO\n- License and contributor information\n\n```json\n{\n  \"$schema\": \"https://cdn.jsdelivr.net/gh/labex-labs/schema/index.json\"\n}\n```\n\n## course.json\n\nThe `course.json` schema defines the structure for course configurations, including:\n\n- Course information (name, description, level)\n- Course organization (labs or stages)\n- Skill tree association\n- Course settings (fee type, ordering, visibility)\n- Internationalization (i18n) support\n- Metadata for SEO\n\n```json\n{\n  \"$schema\": \"https://cdn.jsdelivr.net/gh/labex-labs/schema/course.json\"\n}\n```\n\n## Publish to NPM\n\nUpdate the version in `package.json`, then run the following commands to publish to NPM:\n\n```bash\nnpm version patch\ngit push \u0026\u0026 git push --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabex-labs%2Fschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabex-labs%2Fschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabex-labs%2Fschema/lists"}