/extract-terms-summarySummarize a terms/conditions page into refund_policy, cancellation_policy, data_usage and liability_limit (each null if not found) plus important_restrictions. confidence = fraction of the four fields found. Best-effort, keyword-based, EN+NL — NOT legal advice.
{
"properties": {
"url": {
"description": "Terms/conditions page URL, e.g. \"https://example.com/terms\".",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}{
"properties": {
"cancellation_policy": {
"type": [
"string",
"null"
]
},
"confidence": {
"description": "(fields found of 4) / 4, rounded to 2 decimals.",
"type": "number"
},
"data_usage": {
"type": [
"string",
"null"
]
},
"important_restrictions": {
"items": {
"type": "string"
},
"type": "array"
},
"liability_limit": {
"type": [
"string",
"null"
]
},
"refund_policy": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
},
"type": "object"
}{
"url": "https://docs.github.com/en/site-policy/github-terms/github-terms-of-service"
}{
"cancellation_policy": "Users can cancel anytime.",
"confidence": 1.0,
"data_usage": "User data may be used to provide the service.",
"important_restrictions": [],
"liability_limit": "Liability is limited to fees paid.",
"refund_policy": "Refunds are available within 14 days.",
"url": "https://example.com/terms"
}