generateJsonSchema
Since pyck v0.27.0
Served by: management
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
jsonData |
String! |
Returns
Section titled “Returns”Example
Section titled “Example”Generates a JSON Schema from an example JSON data object.
mutation GenerateJsonSchema($jsonData: String!) { generateJsonSchema(jsonData: $jsonData) { jsonSchema }}Variables
{ "jsonData": "{\"name\":\"Acme Corp\",\"tier\":3,\"active\":true}"}