5 ms·
{ “/*These are the ports we use”: “*/”, “ports”: [22, 80, 443] }
by bogwog 4y ago
{
“/*These are the ports we use”: “*/”,
“ports”: [22, 80, 443]
}
- ok123456 4y agoNow, write a json-schema for that.
- deterministic 4y ago“Comment”: ”This is a comment that is optional and ignored by code”
- zvr 4y ago"Comment": "but you can only have one per object"
- deterministic 4y ago"Comment1": "This is the first comment" "Comment2": "This is the next comment" or "Comments": ["Here is one", "Here is another!"] or "Comments": { "Name": "This is the name of the customer", "Age": "This is the age (0 to 1000) of the customer" } or "Values": [ {"Name":"Age", "Value":"20", "Comment":"This is the age of the customer"}, {"Name":"Name", "Value":"Mr. Foo Bar", "Comment":"This is the name of the customer"} ] The only limit is your imagination.