I'm working with a draft-06 schema and have seen markup that's new to me:
"properties":{
".+":{
"type":"string"
}
},
What does the ".+" signify? Is this why, for example, jsonschema2pojo won't generate Java from this?
I'm working with a draft-06 schema and have seen markup that's new to me:
"properties":{
".+":{
"type":"string"
}
},
What does the ".+" signify? Is this why, for example, jsonschema2pojo won't generate Java from this?
Okay so by looking at your json
I can figure it out that(a json-schema validator) the String represents a regular expression which denotes the "type":"String"
of the JSON object can contain every character except for the line terminators(say \n
).
The above regex
will be applied to each and every json object
of type properties
. You can also get a better insight from the answer mentioned in here.
You can also refer this link to enhance your understanding better about the use of JSON regex
.
Regards :)