{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yesrelay-com/json-schema/yesrelay-com-flow-create-req-schema.json",
  "title": "FlowCreateReq",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yesrelay-com-openapi.json#/components/schemas/FlowCreateReq",
  "properties": {
    "number": {
      "type": "string",
      "maxLength": 20,
      "minLength": 3,
      "title": "Number",
      "description": "Numéro E.164 à router."
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "template": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 20
        },
        {
          "type": "null"
        }
      ],
      "title": "Template",
      "default": "team"
    }
  },
  "type": "object",
  "required": [
    "number"
  ]
}