{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/updatecli-policy-metadata/latest.json",
  "x-lintel": {
    "source": "https://www.updatecli.io/schema/latest/policy/metadata/config.json",
    "sourceSha256": "0df7e786516156c50bde611f15295199fc0765712fccd1afee7729d296e45615",
    "fileMatch": [
      "**/updatecli/**/Policy.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "authors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "Authors is a list of authors of the policy"
    },
    "changelog": {
      "type": "string",
      "description": "Changelog is the URL of the policy changelog"
    },
    "description": {
      "type": "string",
      "description": "Description is the policy description"
    },
    "documentation": {
      "type": "string",
      "description": "Documentation is the URL of the policy documentation"
    },
    "licenses": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "Licenses is the policy license"
    },
    "source": {
      "type": "string",
      "description": "Source is the URL of the policy source code"
    },
    "vendor": {
      "type": "string",
      "description": "Vendor is the policy vendor"
    },
    "version": {
      "type": "string",
      "description": "Version is the policy version, it must be semantic versioning compliant without the leading v"
    },
    "url": {
      "type": "string",
      "description": "URL is the URL of the policy source code"
    }
  },
  "additionalProperties": false
}
