Schemas used to validate files.

renovate[bot] ae1cc22f9b chore(deps): update dependency prettier to v3 преди 9 месеца
.github fa765fc053 chore(deps): update actions/setup-node action to v4 (#146) преди 1 година
schemas 5bd37986b4 wip: 1.10 преди 9 месеца
server f4fbdb810f chore(deps): update dependency @vitest/ui to v1 (#148) преди 11 месеца
.dockerignore bec5700ded chore: update schemas преди 1 година
.editorconfig bec5700ded chore: update schemas преди 1 година
.eslintrc.cjs bec5700ded chore: update schemas преди 1 година
.gitattributes bec5700ded chore: update schemas преди 1 година
.gitignore b8dba22926 🔄 Created local '.gitignore' from remote '.gitignore' преди 2 години
.prettierignore bec5700ded chore: update schemas преди 1 година
.prettierrc.cjs bec5700ded chore: update schemas преди 1 година
Dockerfile 0a34cb8bd4 chore: fix ci преди 1 година
LICENSE 1411a53328 🔄 Synced local 'LICENSE' with remote 'LICENSE' преди 2 години
README.md bec5700ded chore: update schemas преди 1 година
package.json ae1cc22f9b chore(deps): update dependency prettier to v3 преди 9 месеца
pnpm-lock.yaml ae1cc22f9b chore(deps): update dependency prettier to v3 преди 9 месеца
pnpm-workspace.yaml bec5700ded chore: update schemas преди 1 година
renovate.json 73f119b96f move renovate преди 1 година

README.md

PreMiD Schemas

This repository contains the schemas used to validate various files over the PreMiD source code repositories. If you have found a problem with a schema, please feel free to open a pull request.

Schema versioning

Schemas are versioned using MAJOR.MINOR. Patches are applied directly to the applicable version of the schema. Minor is bumped when a new property is added and it can be extended from a previous version of the schema. Major is bumped when properties are removed or the new iteration of the schema cannot be extended from the previous version.

schemas.premid.app

All schemas are hosted under schemas.premid.app. To use a schema, use https://schemas.premid.app/:schemaName/:version as the URL. :schemaName is the name of the thing you need the schema for (e.g. metadata) and :version is the version of the schema (e.g. 1.0).

Folder structure

schemas # where the schemas are stored
├── schemaName # the name of the schema
│   ├── version.json # the schema file itself, where the name is the version
│   └── README.md # simple README to document version changelogs and what the schema is for
server # schema server files