curl --request POST \
--url https://{hostname}.gable.ai/v0/contract/check-compliance \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"contract": {
"contractSchema": [
{
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true,
"constraints": {}
}
],
"dataAssetResourceName": "<string>"
}
}'