{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-studio-v2-flow-schema.json", "title": "studio.v2.flow", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/twilio-flows-api-openapi.yml#/components/schemas/studio.v2.flow", "type": "object", "properties": { "sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^FW[0-9a-fA-F]{32}$", "description": "The unique string that we created to identify the Flow resource." }, "account_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^AC[0-9a-fA-F]{32}$", "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flow resource." }, "friendly_name": { "type": [ "string", "null" ], "description": "The string that you assigned to describe the Flow." }, "definition": { "description": "JSON representation of flow definition." }, "status": { "type": [ "string", "null" ], "$ref": "#/$defs/flow_enum_status", "description": "The status of the Flow. Can be: `draft` or `published`." }, "revision": { "type": [ "integer", "null" ], "description": "The latest revision number of the Flow's definition." }, "commit_message": { "type": [ "string", "null" ], "description": "Description of change made in the revision." }, "valid": { "type": [ "boolean", "null" ], "description": "Boolean if the flow definition is valid." }, "errors": { "type": [ "array", "null" ], "items": {}, "description": "List of error in the flow definition." }, "warnings": { "type": [ "array", "null" ], "items": {}, "description": "List of warnings in the flow definition." }, "date_created": { "type": [ "string", "null" ], "format": "date-time", "description": "The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." }, "date_updated": { "type": [ "string", "null" ], "format": "date-time", "description": "The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." }, "webhook_url": { "type": [ "string", "null" ], "format": "uri" }, "url": { "type": [ "string", "null" ], "format": "uri", "description": "The absolute URL of the resource." }, "links": { "type": [ "object", "null" ], "format": "uri-map", "description": "The URLs of the Flow's nested resources." } }, "$defs": { "flow_enum_status": { "type": "string", "enum": [ "draft", "published" ] } } }