{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getsmileapi/json-schema/getsmileapi-consent-template-create-request-schema.json",
  "title": "ConsentTemplateCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getsmileapi-consent-templates-api-openapi.yml#/components/schemas/ConsentTemplateCreateRequest",
  "properties": {
    "consentType": {
      "type": "string",
      "description": "The type of consent template, e.g. Terms and Conditions",
      "maxLength": 200,
      "minLength": 1
    },
    "title": {
      "type": "string",
      "description": "The name of the consent document that will be visible to end users if you choose to make it visible.",
      "maxLength": 200,
      "minLength": 1
    },
    "version": {
      "type": "string",
      "description": "The version of the consent template",
      "maxLength": 64,
      "minLength": 1
    },
    "consentMethod": {
      "type": "string",
      "description": "The method of consent",
      "maxLength": 200,
      "minLength": 0
    },
    "consentText": {
      "type": "string",
      "description": "The content of the consent template",
      "maxLength": 65535,
      "minLength": 1
    }
  },
  "required": [
    "consentType",
    "version",
    "consentText"
  ]
}