{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-global-variable-create-schema.json",
  "title": "GlobalVariableCreate",
  "description": "Request model for creating a global variable.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-global-variables-api-openapi.yml#/components/schemas/GlobalVariableCreate",
  "properties": {
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Description of the variable",
      "title": "Description"
    },
    "is_secret": {
      "default": false,
      "description": "Whether the value should be encrypted and masked",
      "title": "Is Secret",
      "type": "boolean"
    },
    "variable_name": {
      "description": "Name of the variable",
      "title": "Variable Name",
      "type": "string"
    },
    "variable_value": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Value of the variable",
      "title": "Variable Value"
    }
  },
  "required": [
    "variable_name"
  ],
  "type": "object"
}