We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 255142a commit 22adad3Copy full SHA for 22adad3
src/core/plugins/json-schema-2020-12/fn.js
@@ -96,7 +96,9 @@ export const makeGetType = (fnAccessor) => {
96
Object.hasOwn(schema, "pattern") ||
97
Object.hasOwn(schema, "format") ||
98
Object.hasOwn(schema, "minLength") ||
99
- Object.hasOwn(schema, "maxLength")
+ Object.hasOwn(schema, "maxLength") ||
100
+ Object.hasOwn(schema, "contentEncoding") ||
101
+ Object.hasOwn(schema, "contentMediaType")
102
) {
103
return "string"
104
} else if (typeof schema.const !== "undefined") {
0 commit comments