{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": false,
  "id": "https://json.schemastore.org/schema-catalog.json",
  "properties": {
    "schemas": {
      "type": "array",
      "description": "A list of JSON schema references.",
      "items": {
        "type": "object",
        "required": ["name", "url", "description"],
        "additionalProperties": false,
        "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",
            "pattern": "^https://"
          },
          "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",
              "pattern": "^https://"
            }
          }
        }
      }
    },
    "version": {
      "description": "The schema version of the catalog",
      "type": "number"
    },
    "$schema": {
      "description": "Link to https://json.schemastore.org/schema-catalog.json",
      "type": "string",
      "enum": ["https://json.schemastore.org/schema-catalog.json"]
    }
  },
  "required": ["schemas", "version", "$schema"],
  "title": "JSON schema for SchemaStore.org catalog files",
  "type": "object"
}
