Hi, Forum
I’ve faced with a validation error for the uploaded Json file while testing with creating test Queue from the Orchestrator. Can anyone help me out to find the cause?
The below is the Json format used for this testing.
{
“$schema”:“http://json-schema.org/draft-07/schema# ”,
“type”:“object”,
“properties”:{
“ClientName”:“Object”,
“ClientID”:“Object”,
“ClientCountry”:“Object”,
“WIID”:“Object”,
“WIDate”:“Object”
}
}
Best regards
@hongjoo.choi
Check for any syntax errors in your JSON file. Even a small syntax error can cause validation issues.
Cheers!!
@hongjoo.choi
-It seems like there’s an issue with the JSON Schema syntax, and it might be causing the validation error.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"ClientName": { "type": "string" },
"ClientID": { "type": "string" },
"ClientCountry": { "type": "string" },
"WIID": { "type": "string" },
"WIDate": { "type": "string" }
},
"required": ["ClientName", "ClientID", "ClientCountry", "WIID", "WIDate"]
}
-Replaced the curly quotes (“
and ”
) with straight quotes ("
).
-Specified the data type for each property using the "type"
property inside each property definition.
1 Like
system
(system)
Closed
December 10, 2023, 6:29am
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.