{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-segment-update-schema.json", "title": "segment_update", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sendgrid-segmenting-contacts-v2-api-openapi.yml#/components/schemas/SegmentUpdate", "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 100, "description": "Name of the segment." }, "query_dsl": { "type": "string", "description": "SQL query which will filter contacts based on the conditions provided" } } }