diffcompare text or data and get a readable diffInput schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"left": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
]
},
{
"type": "array",
"items": {}
}
],
"description": "The left side of the diff."
},
"leftFormat": {
"description": "format of left side of the diff",
"default": "json5",
"type": "string",
"enum": [
"text",
"json",
"json5",
"yaml",
"toml",
"xml",
"html"
]
},
"right": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
]
},
{
"type": "array",
"items": {}
}
],
"description": "The right side of the diff (to compare with the left side)."
},
"rightFormat": {
"description": "format of right side of the diff",
"default": "json5",
"type": "string",
"enum": [
"text",
"json",
"json5",
"yaml",
"toml",
"xml",
"html"
]
},
"outputFormat": {
"default": "text",
"description": "The output format. text: (default) human readable text diff, json: a compact json diff (jsondiffpatch delta format), jsonpatch: json patch diff (RFC 6902)",
"type": "string",
"enum": [
"text",
"json",
"jsonpatch"
]
}
},
"required": [
"left",
"right"
]
} | — | | — |