{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$schema-location": "Entity-Schema.json",
  "name": "Charm-Schema",
  "version": "1",
  "author": "denis",
  "description": "Represent a Juju Charm",
  "associated-tool": "Juju-CLI",
  "type": "object",
  "properties": {
    "$schema-location": {
      "enum": [
        "Charm-Schema.json"
      ]
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "default-value": "",
      "description": "name of the Charm"
    },
    "summary": {
      "type": "string",
      "default-value": "",
      "description": "summarised description of the Charm"
    },
    "description": {
      "type": "string",
      "default-value": "",
      "description": "human readable description of the charm"
    },
    "maintainer": {
      "type": "string",
      "default-value": "",
      "description": "maintainer of the Charm"
    },
    "category": {
      "type": "string",
      "default-value": "",
      "description": ""
    },
    "repository": {
      "type": "string",
      "default-value": "local",
      "description": ""
    }
  },
  "required": [
    "id",
    "name",
    "category",
    "repository"
  ]
}