Skip to content

Instantly share code, notes, and snippets.

@Subtixx
Last active February 29, 2024 13:06
Show Gist options
  • Save Subtixx/85ab724c3a91a938dcca7ab59345393b to your computer and use it in GitHub Desktop.
Save Subtixx/85ab724c3a91a938dcca7ab59345393b to your computer and use it in GitHub Desktop.

Revisions

  1. Subtixx revised this gist Feb 29, 2024. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion schema.json
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,8 @@
    "type": "object",
    "properties": {
    "name": {
    "type": "string"
    "type": "string",
    "pattern": "^[A-Za-z0-9 -_]+$"
    },
    "alias": {
    "type": "string"
  2. Subtixx revised this gist Feb 29, 2024. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions schema.json
    Original file line number Diff line number Diff line change
    @@ -44,13 +44,9 @@
    "name",
    "alias",
    "description",
    "version",
    "keywords",
    "order",
    "providers",
    "aliases",
    "files",
    "requires"
    "files"
    ]
    }

  3. Subtixx created this gist Feb 29, 2024.
    56 changes: 56 additions & 0 deletions schema.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@


    {
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
    "name": {
    "type": "string"
    },
    "alias": {
    "type": "string"
    },
    "description": {
    "type": "string"
    },
    "version": {
    "type": "string"
    },
    "keywords": {
    "type": "array",
    "items": {}
    },
    "order": {
    "type": "integer"
    },
    "providers": {
    "type": "array",
    "items": {}
    },
    "aliases": {
    "type": "array",
    "items": {}
    },
    "files": {
    "type": "array",
    "items": {}
    },
    "requires": {
    "type": "array",
    "items": {}
    }
    },
    "required": [
    "name",
    "alias",
    "description",
    "version",
    "keywords",
    "order",
    "providers",
    "aliases",
    "files",
    "requires"
    ]
    }