Let’s say among properties of my JSON document one of them holds a collection of HTTP headers which is simply a map of string key to a string value.
{
"property": "value",
"headers": {
"Content-Type": "text/css",
"Last-Modified": "Tue, 08 Aug 2017 18:57:23 GMT",
"Etag": "123456abc"
}
}
How to define a JSON schema of such document using JSL Python library hopefully achieving something similar to this answer on how to define a map of string to an integer.
Also, I would really like to have an explanation of the resulted JSON schema (similarly to what was shown in the mentioned answer) as I am unable to clearly comprehend it.