{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/micro-syntax.json","$comment":"Port this schema to https://github.com/zyedidia/micro repository.","additionalProperties":false,"definitions":{"string-or-region":{"oneOf":[{"title":"rule","type":"string","minLength":1},{"type":"object","properties":{"start":{"description":"A region start\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"string","minLength":1,"examples":["//"]},"end":{"description":"A region end\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"string","minLength":1,"examples":["$"]},"skip":{"description":"Ignored region sequences\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"string","minLength":1,"examples":["\\\\."]},"rules":{"$ref":"#/definitions/rules"}},"additionalProperties":false}]},"rules":{"description":"Rules\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"array","uniqueItems":true,"items":{"description":"A rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"object","properties":{"comment":{"$ref":"#/definitions/string-or-region","title":"comment rule region","description":"A comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"comment.line":{"$ref":"#/definitions/string-or-region","title":"line comment rule region","description":"A line comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"comment.block":{"$ref":"#/definitions/string-or-region","title":"block comment rule region","description":"A block comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier":{"$ref":"#/definitions/string-or-region","title":"identifier rule region","description":"An identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin identifier rule region","description":"A builtin identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.type":{"$ref":"#/definitions/string-or-region","title":"type identifier rule region","description":"A type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.type.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin type identifier rule region","description":"A builtin type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.callable":{"$ref":"#/definitions/string-or-region","title":"callable identifier rule region","description":"A callable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.callable.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin callable identifier rule region","description":"A builtin callable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.macro":{"$ref":"#/definitions/string-or-region","title":"macro identifier rule region","description":"A macro rule\nAlso used for functions\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.macro.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin macro identifier rule region","description":"A builtin macro rule\nAlso used for functions\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.var":{"$ref":"#/definitions/string-or-region","title":"variable identifier rule region","description":"A variable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.var.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin variable identifier rule region","description":"A builtin variable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant":{"$ref":"#/definitions/string-or-region","title":"constant rule region","description":"A constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"identifier.null":{"$ref":"#/definitions/string-or-region","title":"null identifier rule region","description":"A null rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.bool":{"$ref":"#/definitions/string-or-region","title":"bool constant rule region","description":"A bool constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.bool.true":{"$ref":"#/definitions/string-or-region","title":"true bool constant rule region","description":"A true bool constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.bool.false":{"$ref":"#/definitions/string-or-region","title":"false bool constant rule region","description":"A false bool constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.number":{"$ref":"#/definitions/string-or-region","title":"number constant rule region","description":"A number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.number.integer":{"$ref":"#/definitions/string-or-region","title":"integer number constant rule region","description":"A integer number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.number.float":{"$ref":"#/definitions/string-or-region","title":"float number constant rule region","description":"A float number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.number.complex":{"$ref":"#/definitions/string-or-region","title":"complex number constant rule region","description":"A complex number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.string":{"$ref":"#/definitions/string-or-region","title":"string constant rule region","description":"A string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.string.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin string constant rule region","description":"A builtin string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.string.url":{"$ref":"#/definitions/string-or-region","title":"url string constant rule region","description":"A url string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.string.escape":{"$ref":"#/definitions/string-or-region","title":"escape string constant rule region","description":"A escape string constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"constant.string.format":{"$ref":"#/definitions/string-or-region","title":"string format specifier constant rule region","description":"A string format specifier constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"statement":{"$ref":"#/definitions/string-or-region","title":"statement rule region","description":"A statement rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"symbol":{"$ref":"#/definitions/string-or-region","title":"symbol rule region","description":"A symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"symbol.brackets":{"$ref":"#/definitions/string-or-region","title":"bracket symbol rule region","description":"A bracket symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"symbol.operator":{"$ref":"#/definitions/string-or-region","title":"operator symbol rule region","description":"An operator symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"symbol.tag":{"$ref":"#/definitions/string-or-region","title":"tag symbol rule region","description":"A tag symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"preproc":{"$ref":"#/definitions/string-or-region","title":"preprocessor rule region","description":"A preprocessor rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"preproc.shebang":{"$ref":"#/definitions/string-or-region","title":"shebang preprocessor rule region","description":"A shebang preprocessor rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"type":{"$ref":"#/definitions/string-or-region","title":"type rule region","description":"A type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"type.builtin":{"$ref":"#/definitions/string-or-region","title":"builtin type rule region","description":"A builtin type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"type.keyword":{"$ref":"#/definitions/string-or-region","title":"keyword type rule region","description":"A keyword type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"},"todo":{"$ref":"#/definitions/string-or-region","title":"todo region","description":"A todo rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","examples":["(TODO|XXX|FIXME)"]},"include":{"description":"An include\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules","type":"string","examples":["javascript"]}},"additionalProperties":{"$ref":"#/definitions/string-or-region","title":"rule region","description":"A rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules"}}}},"description":"A syntax\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-files","properties":{"filetype":{"description":"A file type\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#filetype-definition","type":"string","minLength":1,"examples":["go"]},"detect":{"title":"detection options","description":"Detection options\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition","type":"object","properties":{"filename":{"description":"A file name\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition","type":"string","minLength":1,"examples":["\\.go$"]},"header":{"description":"A file header\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition","type":"string","minLength":1,"examples":["%YAML"]}},"additionalProperties":false},"rules":{"$ref":"#/definitions/rules","title":"rule"}},"title":"syntax","type":"object"}