{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/schema-catalog/latest.json",
  "title": "JSON schema for SchemaStore.org catalog files",
  "x-lintel": {
    "source": "https://www.schemastore.org/schema-catalog.json",
    "sourceSha256": "405956b4a8e9fe1dba41246d67516e60e6e73cc2eb051a179ed42280c726e85a"
  },
  "type": "object",
  "properties": {
    "$schema": {
      "description": "Link to <https://json.schemastore.org/schema-catalog.json>",
      "type": "string",
      "enum": [
        "https://json.schemastore.org/schema-catalog.json"
      ]
    },
    "schemas": {
      "type": "array",
      "description": "A list of JSON schema references.",
      "items": {
        "type": "object",
        "required": [
          "name",
          "url",
          "description"
        ],
        "properties": {
          "fileMatch": {
            "description": "A Minimatch glob expression for matching up file names with a schema.",
            "uniqueItems": true,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "description": "An absolute URL to the schema location",
            "type": "string",
            "format": "uri"
          },
          "name": {
            "description": "The name of the schema",
            "type": "string"
          },
          "description": {
            "description": "A description of the schema",
            "type": "string"
          },
          "versions": {
            "type": "object",
            "description": "A set of specific version to schema mappings",
            "additionalProperties": {
              "type": "string",
              "format": "uri"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "version": {
      "description": "The schema version of the catalog",
      "type": "number"
    }
  },
  "required": [
    "schemas",
    "version",
    "$schema"
  ],
  "additionalProperties": false
}
