Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save morisono/025d2d6d3308743f61472c320c6c204e to your computer and use it in GitHub Desktop.

Select an option

Save morisono/025d2d6d3308743f61472c320c6c204e to your computer and use it in GitHub Desktop.
Short schema for Zapier-OpenAI step: validates a payload containing only subject and email strings for the confirmation message.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ConfirmationEmailPayload",
"type": "object",
"additionalProperties": false,
"properties": {
"subject": {
"type": "string",
"minLength": 1
},
"email": {
"type": "string",
"minLength": 1
}
},
"required": ["subject", "email"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment