{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/ping-identity/main/json-schema/ping-identity-com-pingidentity-pingone-davinci-variables-data-create-variable-schema.json", "title": "DaVinci Variable Create Request", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/ping-identity-davinci-admin-variables-api-openapi.yml#/components/schemas/com.pingidentity.pingone.davinci.variables.data.CreateVariable", "type": "object", "additionalProperties": true, "properties": { "name": { "pattern": "^(?=\\S)[\\p{L}\\p{M}\\p{N}\\p{So}/.'_ -]*(?!.*((<)|(\\$\\{)))", "maxLength": 256, "type": "string", "minLength": 1, "title": "DaVinci Variable Create Request Name" }, "context": { "type": "string", "enum": [ "company", "flow", "flowInstance", "user" ], "minLength": 1, "title": "DaVinci Variable Create Request Context" }, "dataType": { "type": "string", "enum": [ "boolean", "number", "object", "secret", "string" ], "minLength": 1, "title": "DaVinci Variable Create Request Data Type" }, "mutable": { "type": "boolean", "title": "DaVinci Variable Create Request Mutable" }, "displayName": { "pattern": "^(?=\\S)[\\p{L}\\p{M}\\p{N}\\p{So}/.'_ -]*(?!.*((<)|(\\$\\{)))", "maxLength": 256, "type": "string", "title": "DaVinci Variable Create Request Display Name" }, "flow": { "$ref": "#/$defs/com.pingidentity.api.Relationship.DaVinci" }, "max": { "type": "integer", "minimum": 0, "default": 2000, "title": "DaVinci Variable Create Request Max" }, "min": { "type": "integer", "minimum": 0, "default": 0, "title": "DaVinci Variable Create Request Min" }, "value": { "oneOf": [ { "type": "boolean", "title": "DaVinci Variable Create Request Value Choice 1" }, { "type": "number", "title": "DaVinci Variable Create Request Value Choice 2" }, { "type": "object", "title": "DaVinci Variable Create Request Value Choice 3" }, { "type": "string", "title": "DaVinci Variable Create Request Value Choice 4" } ], "title": "DaVinci Variable Create Request Value" } }, "required": [ "name", "context", "dataType", "mutable" ], "$defs": { "com.pingidentity.api.Relationship.DaVinci": { "type": "object", "properties": { "id": { "type": "string", "pattern": "^(?=\\S)[\\p{L}\\p{M}\\p{N}\\p{So}/.'_ -]*(?!.*((<)|(\\$\\{)))", "minLength": 1, "title": "Resource Relationship DaVinci Id" } }, "required": [ "id" ], "title": "Resource Relationship DaVinci" } } }