Schemas used to validate files.
renovate[bot] 8d298314b6 chore(deps): update dependency @vitest/ui to v1.3.1 (#157) | 9 months ago | |
---|---|---|
.github | 1 year ago | |
schemas | 9 months ago | |
server | 11 months ago | |
.dockerignore | 1 year ago | |
.editorconfig | 1 year ago | |
.eslintrc.cjs | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 2 years ago | |
.prettierignore | 1 year ago | |
.prettierrc.cjs | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago | |
package.json | 1 year ago | |
pnpm-lock.yaml | 9 months ago | |
pnpm-workspace.yaml | 1 year ago | |
renovate.json | 1 year ago |
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.
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.
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
).
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