{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-variable-get-all-response-schema.json",
  "title": "VariableGetAllResponse",
  "description": "VariableGetAllResponse model for variables",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-variables-api-openapi.yml#/components/schemas/VariableGetAllResponse",
  "type": "object",
  "properties": {
    "base_type": {
      "type": "string",
      "x-go-name": "BaseType"
    },
    "created_by": {
      "type": "string",
      "x-go-name": "CreatedBy"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "CreatedOn"
    },
    "id": {
      "type": "string",
      "x-go-name": "VariableID"
    },
    "owner": {
      "type": "string",
      "x-go-name": "Owner"
    },
    "properties": {
      "$ref": "#/$defs/VariableContent"
    },
    "schema_id": {
      "type": "string",
      "x-go-name": "ViewSchemaID"
    },
    "type": {
      "type": "string",
      "x-go-name": "Type"
    },
    "unique_name": {
      "type": "string",
      "x-go-name": "UniqueName"
    },
    "updated_by": {
      "type": "string",
      "x-go-name": "UpdatedBy"
    },
    "updated_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "UpdatedOn"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "VariableContent": {
      "title": "VariableContent ...",
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "Description of variable",
          "x-go-name": "Description"
        },
        "display_on_wizard": {
          "type": "boolean",
          "description": "Should the variable be shown on wizard\nUsed in input scope variables, if it is true, then variable is displayed on wizard",
          "x-go-name": "DisplayOnWizard"
        },
        "is_invisible": {
          "type": "boolean",
          "x-go-name": "IsInvisible"
        },
        "is_required": {
          "type": "boolean",
          "description": "Is the variable Required\nUsed in input string and secure string variable, if it is true, then string can't be emptly",
          "x-go-name": "IsRequired"
        },
        "name": {
          "type": "string",
          "description": "Name of variable",
          "x-go-name": "Name"
        },
        "scope": {
          "type": "string",
          "description": "Scope of variable. Scope can be 'input', 'global', 'local', 'static' or 'workflow'",
          "x-go-name": "Scope"
        },
        "type": {
          "type": "string",
          "description": "Type of variable. Type can be 'datatype.boolean', 'datatype.string', 'datatype.number' or 'datatype.table'",
          "x-go-name": "Type"
        },
        "value": {
          "type": "object",
          "properties": {},
          "description": "Value of variable. Value can be a string, boolean, number or array",
          "x-go-name": "Value"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    }
  }
}