Schemas used to validate files.

Bas950 3ef83995f1 feat(1.8): minLength 1 2 vuotta sitten
.github ddc1a456c3 test: fleet 2 vuotta sitten
schemas 3ef83995f1 feat(1.8): minLength 1 2 vuotta sitten
server 15fbdfc64a Bump async from 3.2.0 to 3.2.3 in /server (#95) 2 vuotta sitten
.dockerignore 5aa307bdd1 ♻️ Prepare for new infrastructure 3 vuotta sitten
.gitignore b8dba22926 🔄 Created local '.gitignore' from remote '.gitignore' 2 vuotta sitten
Dockerfile a9a582f103 🤦 smh 3 vuotta sitten
LICENSE 1411a53328 🔄 Synced local 'LICENSE' with remote 'LICENSE' 2 vuotta sitten
README.md 6a2169ffd6 fix folder structure 4 vuotta sitten

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