Schemas used to validate files.

dependabot[bot] 0eef77859b chore(deps-dev): bump semver from 5.7.1 to 5.7.2 il y a 1 an
.github 73f119b96f move renovate il y a 1 an
schemas 292182e041 feat(1.9): allow any image urls in logo and thumbnail (#134) il y a 1 an
server 542b2bf3c1 chore(deps): update dependency @vitest/ui to ^0.33.0 (#141) il y a 1 an
.dockerignore bec5700ded chore: update schemas il y a 1 an
.editorconfig bec5700ded chore: update schemas il y a 1 an
.eslintrc.cjs bec5700ded chore: update schemas il y a 1 an
.gitattributes bec5700ded chore: update schemas il y a 1 an
.gitignore b8dba22926 🔄 Created local '.gitignore' from remote '.gitignore' il y a 2 ans
.prettierignore bec5700ded chore: update schemas il y a 1 an
.prettierrc.cjs bec5700ded chore: update schemas il y a 1 an
Dockerfile 0a34cb8bd4 chore: fix ci il y a 1 an
LICENSE 1411a53328 🔄 Synced local 'LICENSE' with remote 'LICENSE' il y a 2 ans
README.md bec5700ded chore: update schemas il y a 1 an
package.json 928e6ebcb3 chore: update version il y a 1 an
pnpm-lock.yaml 0eef77859b chore(deps-dev): bump semver from 5.7.1 to 5.7.2 il y a 1 an
pnpm-workspace.yaml bec5700ded chore: update schemas il y a 1 an
renovate.json 73f119b96f move renovate il y a 1 an

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