We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6f0a5 commit 2280875Copy full SHA for 2280875
jsonschema_lexer/lexer.py
@@ -12,10 +12,16 @@
12
13
class JSONSchemaLexer(JsonLexer):
14
"""
15
- For JSONSchema.
+ A Pygments lexer for dialects of the JSON Schema specification.
16
17
18
- name = "JSON Schema Lexer"
+ name = "JSON Schema"
19
+ url = "https://json-schema.org"
20
+ aliases: ClassVar[list[str]] = ["jsonschema", "json-schema"]
21
+ mimetypes: ClassVar[list[str]] = [
22
+ "application/schema+json",
23
+ "application/schema-instance+json",
24
+ ]
25
26
data_types: ClassVar[list[str]] = [
27
"object",
0 commit comments