diff --git a/IPython/nbformat/v4/nbformat.v4.schema.json b/IPython/nbformat/v4/nbformat.v4.schema.json index 5627d15..d1b48c7 100644 --- a/IPython/nbformat/v4/nbformat.v4.schema.json +++ b/IPython/nbformat/v4/nbformat.v4.schema.json @@ -36,7 +36,10 @@ }, "codemirror_mode": { "description": "The codemirror mode to use for code in this language.", - "type": "string" + "oneOf": [ + {"type": "string"}, + {"type": "object"} + ] }, "file_extension": { "description": "The file extension for files in this language.",