{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://json.schemastore.org/clib.json",
  "additionalProperties": true,
  "properties": {
    "name": {
      "description": "The name of the package\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#name",
      "type": "string",
      "pattern": "^[0-9a-z-_]+$"
    },
    "version": {
      "description": "The semantic version number of the package. This number should also be a git tag.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#version",
      "type": "string"
    },
    "src": {
      "description": "An array of source files that make up the implementation of your package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#src",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "dependencies": {
      "description": "A dictionary of packages and their versions. Each entry represents a package dependency. A dependency must be a clib package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#dependencies",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "development": {
      "description": "Development dependencies are for testing and development purposes.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#development",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "repo": {
      "description": "he GitHub slug for your package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#repo",
      "type": "string"
    },
    "description": {
      "description": "A short-and-sweet description of your package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#description",
      "type": "string"
    },
    "keywords": {
      "description": "An array of keywords which describe your package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#keywords",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "license": {
      "description": "The license your package is released under.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#license",
      "type": "string"
    },
    "makefile": {
      "description": "Your package's Makefile.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#makefile",
      "type": "string"
    },
    "install": {
      "description": "Define a script to install your package. This is for executables and libraries only.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#install",
      "type": "string"
    },
    "uninstall": {
      "description": "Define a script to uninstall your package.\n\nhttps://github.com/clibs/clib/wiki/Explanation-of-clib.json#uninstall",
      "type": "string"
    }
  },
  "type": "object"
}
