{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$comment": "Structured Data Transform Language",
  "type": "object",
  "properties": {
    "topLevelReferences": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Reference"
      },
      "minItems": 0,
      "description": "References to the top-level items in this container."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "oneOf": [
          {
            "allOf": [
              {
                "$ref": "#/$defs/Program"
              },
              {
                "type": "object",
                "properties": {
                  "$type": {
                    "type": "string",
                    "enum": [
                      "Program"
                    ]
                  }
                },
                "required": [
                  "$type"
                ]
              }
            ]
          }
        ],
        "unevaluatedProperties": false
      },
      "minItems": 0,
      "description": "Complete item definitions serialized in this container."
    }
  },
  "required": [
    "items"
  ],
  "additionalProperties": false,
  "$defs": {
    "boolean": {
      "type": "boolean",
      "description": "A Boolean value: true or false."
    },
    "string": {
      "type": "string",
      "description": "An XML 1.0 Unicode text string; lengths count Unicode scalar values."
    },
    "decimal": {
      "type": "number",
      "x-cogs-datatype": "decimal",
      "description": "A finite decimal value expressible as c / 10^s, where c is an integer with absolute value at most 79228162514264337593543950335 and s is an integer from 0 through 28. Its exact decimal value must be preserved when rounded to IEEE 754 binary64 (nearest, ties to even) and formatted as the shortest round-trip decimal representation. Equivalent JSON exponent forms and trailing zeros are accepted; values requiring decimal rounding are rejected."
    },
    "float": {
      "type": "number",
      "x-cogs-datatype": "float",
      "description": "A finite IEEE 754 binary32 value represented as a JSON number."
    },
    "double": {
      "type": "number",
      "x-cogs-datatype": "double",
      "description": "A finite IEEE 754 binary64 value represented as a JSON number."
    },
    "duration": {
      "type": "string",
      "format": "duration",
      "x-cogs-datatype": "duration",
      "description": "An elapsed duration without years/months: whole milliseconds in [-922337203685477, 922337203685477]."
    },
    "dateTime": {
      "type": "string",
      "format": "date-time",
      "x-cogs-datatype": "dateTime",
      "description": "A timezone-required instant in UTC years 0001 through 9999, at whole-millisecond precision."
    },
    "time": {
      "type": "string",
      "format": "time",
      "x-cogs-datatype": "time",
      "description": "A local time without timezone, at microsecond precision; 24:00:00 canonicalizes to 00:00:00."
    },
    "date": {
      "type": "string",
      "format": "date",
      "x-cogs-datatype": "date",
      "description": "A local date in years 0001 through 9999, without timezone."
    },
    "gYearMonth": {
      "type": "object",
      "properties": {
        "Year": {
          "oneOf": [
            {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": -1
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            }
          ]
        },
        "Month": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "Timezone": {
          "type": "string",
          "pattern": "^(?:Z|[\u002B-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))$"
        }
      },
      "required": [
        "Year",
        "Month"
      ],
      "additionalProperties": false,
      "x-cogs-datatype": "gYearMonth",
      "description": "An XML Schema gYearMonth represented by Year, Month, and optional Timezone components; Year is a nonzero signed 32-bit integer."
    },
    "gYear": {
      "type": "object",
      "properties": {
        "Year": {
          "oneOf": [
            {
              "type": "integer",
              "minimum": -2147483648,
              "maximum": -1
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            }
          ]
        },
        "Timezone": {
          "type": "string",
          "pattern": "^(?:Z|[\u002B-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))$"
        }
      },
      "required": [
        "Year"
      ],
      "additionalProperties": false,
      "x-cogs-datatype": "gYear",
      "description": "An XML Schema gYear represented by Year and optional Timezone components; Year is a nonzero signed 32-bit integer."
    },
    "gMonthDay": {
      "type": "object",
      "properties": {
        "Month": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "Day": {
          "type": "integer",
          "minimum": 1,
          "maximum": 31
        },
        "Timezone": {
          "type": "string",
          "pattern": "^(?:Z|[\u002B-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))$"
        }
      },
      "required": [
        "Month",
        "Day"
      ],
      "additionalProperties": false,
      "oneOf": [
        {
          "properties": {
            "Month": {
              "enum": [
                2
              ]
            },
            "Day": {
              "type": "integer",
              "minimum": 1,
              "maximum": 29
            }
          }
        },
        {
          "properties": {
            "Month": {
              "enum": [
                4,
                6,
                9,
                11
              ]
            },
            "Day": {
              "type": "integer",
              "minimum": 1,
              "maximum": 30
            }
          }
        },
        {
          "properties": {
            "Month": {
              "enum": [
                1,
                3,
                5,
                7,
                8,
                10,
                12
              ]
            },
            "Day": {
              "type": "integer",
              "minimum": 1,
              "maximum": 31
            }
          }
        }
      ],
      "x-cogs-datatype": "gMonthDay",
      "description": "An XML Schema gMonthDay represented by Month, Day, and optional Timezone components."
    },
    "gDay": {
      "type": "object",
      "properties": {
        "Day": {
          "type": "integer",
          "minimum": 1,
          "maximum": 31
        },
        "Timezone": {
          "type": "string",
          "pattern": "^(?:Z|[\u002B-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))$"
        }
      },
      "required": [
        "Day"
      ],
      "additionalProperties": false,
      "x-cogs-datatype": "gDay",
      "description": "An XML Schema gDay represented by Day and optional Timezone components."
    },
    "gMonth": {
      "type": "object",
      "properties": {
        "Month": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "Timezone": {
          "type": "string",
          "pattern": "^(?:Z|[\u002B-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))$"
        }
      },
      "required": [
        "Month"
      ],
      "additionalProperties": false,
      "x-cogs-datatype": "gMonth",
      "description": "An XML Schema gMonth represented by Month and optional Timezone components."
    },
    "anyURI": {
      "type": "string",
      "format": "uri",
      "x-cogs-datatype": "anyURI",
      "description": "An RFC 3986 relative or absolute URI reference."
    },
    "language": {
      "type": "string",
      "pattern": "^(?:(?:(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4}|[A-Za-z]{5,8})(?:-[A-Za-z]{4})?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?(?:-(?:[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(?:-[0-9A-WY-Za-wy-z](?:-[A-Za-z0-9]{2,8})\u002B)*(?:-[xX](?:-[A-Za-z0-9]{1,8})\u002B)?|[xX](?:-[A-Za-z0-9]{1,8})\u002B)|[eE][nN]-[gG][bB]-[oO][eE][dD]|[iI]-[aA][mM][iI]|[iI]-[bB][nN][nN]|[iI]-[dD][eE][fF][aA][uU][lL][tT]|[iI]-[eE][nN][oO][cC][hH][iI][aA][nN]|[iI]-[hH][aA][kK]|[iI]-[kK][lL][iI][nN][gG][oO][nN]|[iI]-[lL][uU][xX]|[iI]-[mM][iI][nN][gG][oO]|[iI]-[nN][aA][vV][aA][jJ][oO]|[iI]-[pP][wW][nN]|[iI]-[tT][aA][oO]|[iI]-[tT][aA][yY]|[iI]-[tT][sS][uU]|[sS][gG][nN]-[bB][eE]-[fF][rR]|[sS][gG][nN]-[bB][eE]-[nN][lL]|[sS][gG][nN]-[cC][hH]-[dD][eE]|[aA][rR][tT]-[lL][oO][jJ][bB][aA][nN]|[cC][eE][lL]-[gG][aA][uU][lL][iI][sS][hH]|[nN][oO]-[bB][oO][kK]|[nN][oO]-[nN][yY][nN]|[zZ][hH]-[gG][uU][oO][yY][uU]|[zZ][hH]-[hH][aA][kK][kK][aA]|[zZ][hH]-[mM][iI][nN]|[zZ][hH]-[mM][iI][nN]-[nN][aA][nN]|[zZ][hH]-[xX][iI][aA][nN][gG])$(?![\\s\\S])",
      "x-cogs-datatype": "language",
      "description": "A language tag using COGS BCP 47 syntax."
    },
    "nonPositiveInteger": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 0,
      "description": "An integer from -9007199254740991 through zero."
    },
    "negativeInteger": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": -1,
      "description": "An integer from -9007199254740991 through -1."
    },
    "long": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "An integer from -9007199254740991 through 9007199254740991."
    },
    "int": {
      "type": "integer",
      "minimum": -2147483648,
      "maximum": 2147483647,
      "description": "A signed 32-bit integer."
    },
    "nonNegativeInteger": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "An integer from zero through 9007199254740991."
    },
    "unsignedLong": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "An integer from zero through 9007199254740991."
    },
    "positiveInteger": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "An integer from 1 through 9007199254740991."
    },
    "langString": {
      "type": "object",
      "properties": {
        "@language": {
          "$ref": "#/$defs/language"
        },
        "@value": {
          "type": "string"
        }
      },
      "required": [
        "@language",
        "@value"
      ],
      "additionalProperties": false,
      "description": "A Unicode text string paired with a required BCP 47 language tag."
    },
    "cogsDate": {
      "type": "object",
      "properties": {
        "DateTime": {
          "$ref": "#/$defs/dateTime"
        },
        "Date": {
          "$ref": "#/$defs/date"
        },
        "GYearMonth": {
          "$ref": "#/$defs/gYearMonth"
        },
        "GYear": {
          "$ref": "#/$defs/gYear"
        },
        "Duration": {
          "$ref": "#/$defs/duration"
        }
      },
      "oneOf": [
        {
          "required": [
            "DateTime"
          ]
        },
        {
          "required": [
            "Date"
          ]
        },
        {
          "required": [
            "GYearMonth"
          ]
        },
        {
          "required": [
            "GYear"
          ]
        },
        {
          "required": [
            "Duration"
          ]
        }
      ],
      "additionalProperties": false,
      "description": "A date value containing exactly one DateTime, Date, GYearMonth, GYear, or Duration arm."
    },
    "Aggregate": {
      "description": "An aggregation summarizes data using aggregation functions applied to data that may be grouped\r\nby one or more variables. The resulting summary data is added to each row of the\r\nexisting dataset.  See the aggregation functions in the Function Library.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "GroupByVariables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Variables used as keys to identify groups."
            },
            "AggregateVariables": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/Compute"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The expressions that compute the aggregations. An aggregation function should be used."
            },
            "Weighting": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/$defs/Weight"
                }
              ],
              "unevaluatedProperties": false,
              "description": "Description of the weights to be used"
            }
          },
          "required": [
            "AggregateVariables"
          ]
        }
      ]
    },
    "AllNumericVariablesExpression": {
      "description": "An expression that represents all numeric variables in the dataset, similar to \u0060_all\u0060 in SPSS or Stata.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "AllTextVariablesExpression": {
      "description": "An expression that represents all text variables in the dataset, similar to \u0060_all\u0060 in SPSS or Stata.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "AllVariablesExpression": {
      "description": "An expression that represents all variables in the dataset, similar to \u0060_all\u0060 in SPSS or Stata.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "Analysis": {
      "description": "Describes an analysis command. An analysis command does not result in any data transformation.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "AppendDatasets": {
      "description": "Combines datasets by concatenation for datasets with the same or overlapping variables.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "AppendFiles": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendFileDescription"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendFileDescription"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Description of files to be appended"
            },
            "AppendFlagVariable": {
              "$ref": "#/$defs/string",
              "description": "Creates a new variable identifying the source dataframe for a row with the variable name given in the value of the property"
            }
          },
          "required": [
            "AppendFiles"
          ]
        }
      ]
    },
    "AppendFileDescription": {
      "type": "object",
      "properties": {
        "FileName": {
          "$ref": "#/$defs/string",
          "description": "Name of the file being appended.  May be the name of an active dataframe."
        },
        "RenameVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/RenamePair"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "RenamePair"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "Variables to be renamed"
        },
        "KeepVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "List of variables to keep"
        },
        "DropVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "List of variables to drop"
        },
        "KeepCasesCondition": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "Logical condition for keeping rows."
        },
        "DropCasesCondition": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "Logical condition for dropping rows."
        },
        "Software": {
          "$ref": "#/$defs/string",
          "description": "The software package that works with the file."
        },
        "FileFormat": {
          "$ref": "#/$defs/string",
          "enum": [
            "csv",
            "txt",
            "dat",
            "xls",
            "xlsx",
            "sav",
            "dta",
            "sas7bdat",
            "rds",
            "rdata"
          ],
          "description": "The name of a file format"
        },
        "IsCompressed": {
          "$ref": "#/$defs/boolean",
          "description": "Indicates whether the file format is compressed."
        }
      },
      "required": [
        "FileName"
      ],
      "description": "Describes files used in an AppendDatasets command.\r\n"
    },
    "BooleanConstantExpression": {
      "description": "BooleanConstantExpression takes values of TRUE and FALSE.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "BooleanValue": {
              "$ref": "#/$defs/boolean",
              "description": "Values of TRUE and FALSE are used in logical expressions."
            }
          },
          "required": [
            "BooleanValue"
          ]
        }
      ]
    },
    "Collapse": {
      "description": "A collapse command summarizes data using aggregation functions applied to data\r\nthat may be grouped by one or more variables. The resulting summary data is\r\nrepresented in a new dataset.  See the collapse functions in the Function Library.   \r\n   \r\nThe details of implementation of caseWise and columnWise exclusion vary in each statistical package.  The source language is indicated in this property for reference.   ",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "OutputDatasetName": {
              "$ref": "#/$defs/string",
              "description": "The name of a new, aggregated dataset to be created."
            },
            "GroupByVariables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Variables used as keys to identify groups."
            },
            "AggregateVariables": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/Compute"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The expressions that compute the aggregations. An aggregation function should be used."
            },
            "Weighting": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/$defs/Weight"
                }
              ],
              "unevaluatedProperties": false,
              "description": "Description of the weights to be used"
            },
            "CaseWise": {
              "$ref": "#/$defs/string",
              "enum": [
                "Stata"
              ],
              "description": "Observations are not included if any variable  is missing"
            },
            "ColumnWise": {
              "$ref": "#/$defs/string",
              "enum": [
                "SPSS"
              ],
              "description": "Variables are not included if any value in a column is missing"
            }
          },
          "required": [
            "AggregateVariables"
          ]
        }
      ]
    },
    "CommandBase": {
      "type": "object",
      "properties": {
        "Command": {
          "$ref": "#/$defs/string",
          "description": "The type of command"
        },
        "SourceInformation": {
          "type": "array",
          "items": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/$defs/SourceInformation"
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "Information about the source of the command."
        },
        "MessageText": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/string"
          },
          "minItems": 0,
          "description": "Adds a message that can be displayed with the command."
        }
      },
      "required": [
        "Command"
      ],
      "description": "CommandBase defines general properties available to all commands.\r\n"
    },
    "Comment": {
      "description": "Describes a source code comment.  Comments should not include special characters.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {
            "CommentText": {
              "$ref": "#/$defs/string",
              "description": "The text of the source code comment."
            }
          },
          "required": [
            "CommentText"
          ]
        }
      ]
    },
    "CompositeVariableNameExpression": {
      "description": "A composite variable name is used to describe a variable name that is computed.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {
            "ComputedVariableName": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "An expression that evaluates to the constructed variable name."
            }
          },
          "required": [
            "ComputedVariableName"
          ]
        }
      ]
    },
    "Compute": {
      "description": "Assigns the value of an expression to a variable.  ",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variable": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "The variable that is computed."
            },
            "Expression": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "The expression used to compute the value of the variable(s)"
            }
          },
          "required": [
            "Variable",
            "Expression"
          ]
        }
      ]
    },
    "DataframeDescription": {
      "type": "object",
      "properties": {
        "DataframeName": {
          "$ref": "#/$defs/string",
          "description": "Name of the dataframe."
        },
        "VariableInventory": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/string"
          },
          "minItems": 0,
          "description": "Variables in the dataframe in order"
        },
        "RowDimensions": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "An ordered list of variables used as hierarchical dimensions in a data cube or multi-index"
        },
        "ColumnDimensions": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "An ordered list of variables used as colum indexes in a multi-index"
        }
      },
      "required": [
        "DataframeName"
      ],
      "description": "Provides a name for the dataframe and an ordered list of variables (optional).   \r\n"
    },
    "DateTimeConstant": {
      "description": "A date-time constant expressed in ISO 8601 format.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "DateTimeValue": {
              "$ref": "#/$defs/dateTime",
              "description": "A specific instance of time in ISO 8601 format"
            }
          },
          "required": [
            "DateTimeValue"
          ]
        }
      ]
    },
    "DoIf": {
      "description": "A set of commands that are performed when a logical expression is true.  May also include ElseCommands to be performed if the logical expression is false.  The commands in DoIf are performed once, and it expects a logical condition that applies to the entire dataframe.  Use IfRows for commands that are performed on each row depending upon values on those rows. \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Condition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "A logical expression"
            },
            "ThenCommands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Commands to be performed if the condition is true."
            },
            "ElseCommands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Commands to be performed if the condition is false."
            }
          },
          "required": [
            "Condition",
            "ThenCommands"
          ]
        }
      ]
    },
    "DropCases": {
      "description": "Rows that match the selection condition are deleted from the dataset.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Condition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "If the logical expresion is true, the case (row) will be deleted from the working dataset."
            }
          },
          "required": [
            "Condition"
          ]
        }
      ]
    },
    "DropVariables": {
      "description": "Deletes variables from the data.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The variables to be dropped."
            }
          },
          "required": [
            "Variables"
          ]
        }
      ]
    },
    "Execute": {
      "description": "This command causes the system to execute preceding commands before continuing to process the command script.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "ExpressionBase": {
      "type": "object",
      "properties": {},
      "description": "The SDTL types in  ExpressionBase are used in expressions, which may be numeric, text or logical. \r\n"
    },
    "FunctionArgument": {
      "type": "object",
      "properties": {
        "ArgumentName": {
          "$ref": "#/$defs/string",
          "description": "The name of the parameter."
        },
        "ArgumentValue": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "The value of the parameter."
        }
      },
      "required": [
        "ArgumentName",
        "ArgumentValue"
      ],
      "description": "Describes the arguments in a function as specified in the SDTL Function Library.   \r\nNotes:\r\n1. The argumentName property must always be present.   \r\n2. The argumentValue property is required, and it must be a single object.  When the argumentValue is a list of items in the source language, the ValueListExpression or VariableListExpression should be used. "
    },
    "FunctionCallExpression": {
      "description": "An expression evaluated by reference to the Function Library.",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Function": {
              "$ref": "#/$defs/string",
              "description": "The name of the function being called."
            },
            "IsSdtlName": {
              "$ref": "#/$defs/boolean",
              "description": "When true, the Function property contains the name of a function from the SDTL function library. When false, the Function property contains the name of a system-specific or user-defined function."
            },
            "Arguments": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/FunctionArgument"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "FunctionArgument"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "A list of parameters to the function."
            }
          },
          "required": [
            "Function",
            "IsSdtlName"
          ]
        }
      ]
    },
    "GroupedExpression": {
      "description": "A group of expressions to be evaluated before expressions outside of the group.  Used to control the order of operations in a formula.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Expression": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Expression to be evaluated."
            }
          },
          "required": [
            "Expression"
          ]
        }
      ]
    },
    "IfRows": {
      "description": "A set of commands that are performed on each row in the dataframe when a logical expression is true for that row.  May also include ElseCommands to be performed if the logical expression is false.  Use DoIf for a logical condition that applies to the entire dataframe and commands that are performed once.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Condition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "A logical expression that is evaluated separately for every row in the dataframe."
            },
            "ThenCommands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Commands to be performed if the condition is true."
            },
            "ElseCommands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Commands to be performed if the condition is false."
            }
          },
          "required": [
            "Condition",
            "ThenCommands"
          ]
        }
      ]
    },
    "InformBase": {
      "description": "InformBase includes information elements that do not transform data.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/CommandBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "Invalid": {
      "description": "Describes an invalid command. A command is invalid if it uses incorrect syntax, or is otherwise not allowed by the executing system.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {
            "ProblemDescription": {
              "$ref": "#/$defs/string",
              "description": "A message describing the issue with the invalid command."
            }
          },
          "required": [
            "ProblemDescription"
          ]
        }
      ]
    },
    "IteratorDescription": {
      "type": "object",
      "properties": {
        "IteratorSymbolName": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/$defs/IteratorSymbolExpression"
            }
          ],
          "unevaluatedProperties": false,
          "description": "The name used in  IteratorCommands  for the index variable that changes value in the loop."
        },
        "IteratorValues": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/BooleanConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "BooleanConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/DateTimeConstant"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "DateTimeConstant"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/FunctionCallExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "FunctionCallExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/GroupedExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "GroupedExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/IteratorSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "IteratorSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/MissingValueConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "MissingValueConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumberRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumberRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericMaximumValueExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericMaximumValueExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericMinimumValueExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericMinimumValueExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/StringConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "StringConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/StringRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "StringRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/TimeDurationConstant"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "TimeDurationConstant"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/UnhandledValuesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "UnhandledValuesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/ValueListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "ValueListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 1,
          "description": "Describes the values that are substituted for the index variable that changes value in the loop."
        }
      },
      "required": [
        "IteratorSymbolName",
        "IteratorValues"
      ],
      "description": "Describes an iteration process consisting of an IteratorSymbolExpression and a list of values it takes.  \r\n"
    },
    "IteratorSymbolExpression": {
      "description": "The name of an iterator symbol used as an index in describing the actions of \r\na loop.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Name": {
              "$ref": "#/$defs/string",
              "description": "A name used for the index variable that takes different values inside a loop."
            }
          },
          "required": [
            "Name"
          ]
        }
      ]
    },
    "KeepCases": {
      "description": "Rows that match the selection condition are retained in the dataset.  Other rows are deleted.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Condition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "The logical expresion that must be true for a case to remain in the working dataset."
            }
          }
        }
      ]
    },
    "KeepVariables": {
      "description": "Variables to be retained in the dataset. Variables not on the list are deleted.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "The variables to be kept in the dataset."
            }
          }
        }
      ]
    },
    "Load": {
      "description": "Load data from a file.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "FileName": {
              "$ref": "#/$defs/string",
              "description": "The name of the file to be loaded."
            },
            "Software": {
              "$ref": "#/$defs/string",
              "description": "The software package that works with the file."
            },
            "FileFormat": {
              "$ref": "#/$defs/string",
              "enum": [
                "csv",
                "txt",
                "dat",
                "xls",
                "xlsx",
                "sav",
                "dta",
                "sas7bdat",
                "rds",
                "rdata"
              ],
              "description": "The name of a file format"
            },
            "IsCompressed": {
              "$ref": "#/$defs/boolean",
              "description": "Indicates whether the file format is compressed."
            }
          },
          "required": [
            "FileName"
          ]
        }
      ]
    },
    "LoopOverList": {
      "description": "A loop creates multiple versions of a set of commands by iterating over a list of variables, numbers, or strings.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Iterators": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IteratorDescription"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IteratorDescription"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Describes one or more iteration processes in this loop."
            },
            "Commands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Commands generated by the loop expanded by replacing tokens representing variables, numbers, or strings with their values."
            },
            "Updated": {
              "$ref": "#/$defs/boolean",
              "description": "When TRUE, the loop has been expanded into separate commands."
            }
          },
          "required": [
            "Iterators",
            "Commands"
          ]
        }
      ]
    },
    "LoopWhile": {
      "description": "LoopWhile iterates over a set of commands under the control of one or more logical expressions.  Since the logical conditions typically depend upon values in the data, commands executed in a LoopWhile cannot be anticipated and expanded in SDTL.",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Condition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Describes a condition required for the next iteration to begin.  "
            },
            "EndCondition": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Describes a condition that ends interation.  "
            },
            "Commands": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Aggregate"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Aggregate"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Analysis"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Analysis"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AppendDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AppendDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Collapse"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Collapse"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Comment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Comment"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Compute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Compute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DoIf"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DoIf"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DropVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DropVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Execute"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Execute"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IfRows"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IfRows"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Invalid"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Invalid"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/KeepVariables"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "KeepVariables"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Load"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Load"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopOverList"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopOverList"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/LoopWhile"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "LoopWhile"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeDatasets"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeDatasets"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Message"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Message"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NewDataframe"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NewDataframe"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NoTransformOp"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NoTransformOp"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Recode"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Recode"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Rename"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Rename"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeLong"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeLong"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeWide"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeWide"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Save"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Save"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDataType"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDataType"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDatasetProperty"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDatasetProperty"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetDisplayFormat"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetDisplayFormat"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetMissingValues"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetMissingValues"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetValueLabels"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetValueLabels"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SetVariableLabel"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SetVariableLabel"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/SortCases"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "SortCases"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/Unsupported"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "Unsupported"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Commands within the loop."
            },
            "Updated": {
              "$ref": "#/$defs/boolean",
              "description": "When TRUE, the loop has been expanded into separate commands."
            }
          },
          "required": [
            "Commands"
          ]
        }
      ]
    },
    "MergeDatasets": {
      "description": "Merges datasets holding overlapping cases but different variables.  The merge may be controlled by keys or grouping variables.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "MergeFiles": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MergeFileDescription"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MergeFileDescription"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 2,
              "description": "Description of files to be merged."
            },
            "MergeByVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "A variable or list of variables that acts as the unique case identifier across datasets.  If MergeByVariables is absent, MergeType must be \u0022sequential\u0022 on all files."
            },
            "FirstVariable": {
              "$ref": "#/$defs/string",
              "description": "The name of a variable set to 1 for the first row of each group of cases with the same value for the MergeByVariables variables and set to  0 for all other rows."
            },
            "LastVariable": {
              "$ref": "#/$defs/string",
              "description": "The name of a variable set to 1 for the last row of each group of cases with the same value for the MergeByVariables variables and set to  0 for all other rows."
            }
          },
          "required": [
            "MergeFiles"
          ]
        }
      ]
    },
    "MergeFileDescription": {
      "type": "object",
      "properties": {
        "FileName": {
          "$ref": "#/$defs/string",
          "description": "Name of the file being merged.  May be the name of an active dataframe."
        },
        "MergeType": {
          "$ref": "#/$defs/string",
          "enum": [
            "Sequential",
            "OneToOne",
            "ManyToOne",
            "OneToMany",
            "Cartesian",
            "Unmatched",
            "SASmatchMerge"
          ],
          "description": "Describes the type of merge performed. "
        },
        "MergeFlagVariable": {
          "$ref": "#/$defs/string",
          "description": "Name of a new variable indicating whether the row came from this file or a different input file."
        },
        "RenameVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/RenamePair"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "RenamePair"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "Variables to be renamed"
        },
        "Update": {
          "$ref": "#/$defs/string",
          "enum": [
            "Master",
            "Ignore",
            "FillNew",
            "UpdateMissing",
            "Replace"
          ],
          "description": "When the same variables exist in more than one dataframe. values in the \u0022Master\u0022 dataframe can be replaced by values from a different dataframe. \u0022Master\u0022 is the default value.  \u0022Ignore\u0022 means values in this dataframe are never used.  \u0022FillNew\u0022 is used on rows not found in the \u0022Master\u0022 dataframe.  \u0022UpdateMissing\u0022 replaces missing values in the \u0022Master\u0022 dataframe. \u0022Replace\u0022 changes all values in the \u0022Master\u0022 dataframe.\u0022"
        },
        "NewRow": {
          "$ref": "#/$defs/boolean",
          "description": "When TRUE,  generate new row when not matched to other files"
        },
        "KeepVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "List of variables to keep"
        },
        "DropVariables": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "List of variables to drop"
        },
        "KeepCasesCondition": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "Logical condition for keeping rows."
        },
        "DropCasesCondition": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "Logical condition for dropping rows."
        },
        "MergeByNames": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "An ordered list of variables used as keys  in this file to be matched to the variables in the mergeByVariables property of the MergeDatasets command.  This property is only used when the key variables in this file have different names than the variable names listed in the MergeDatasets command."
        },
        "Software": {
          "$ref": "#/$defs/string",
          "description": "The software package that works with the file."
        },
        "FileFormat": {
          "$ref": "#/$defs/string",
          "enum": [
            "csv",
            "txt",
            "dat",
            "xls",
            "xlsx",
            "sav",
            "dta",
            "sas7bdat",
            "rds",
            "rdata"
          ],
          "description": "The name of a file format"
        },
        "IsCompressed": {
          "$ref": "#/$defs/boolean",
          "description": "Indicates whether the file format is compressed."
        }
      },
      "required": [
        "FileName",
        "MergeType",
        "Update",
        "NewRow"
      ],
      "description": "Describes files used in a MergeData command.\r\n"
    },
    "Message": {
      "description": "Inserts message text in the SDTL file.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {
            "Severity": {
              "$ref": "#/$defs/string",
              "description": "Information, Warning, Error"
            },
            "LineNumber": {
              "$ref": "#/$defs/int",
              "description": "The line number of the source that the messages is related to, if relevant."
            },
            "CharacterPosition": {
              "$ref": "#/$defs/int",
              "description": "The character position of the source that the message is related to, if relevant."
            }
          }
        }
      ]
    },
    "MissingValueConstantExpression": {
      "description": "A missing value constant.  Some languages allow multiple missing value constants.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Value": {
              "$ref": "#/$defs/string",
              "description": "The missing value as it appears in the system (e.g., .a, .b, .c).  If Null, this is the system missing value."
            }
          }
        }
      ]
    },
    "NewDataframe": {
      "description": "The NewDataframe command copies or creates a new dataframe.  It can be used in two ways.    \r\n    \r\nAn existing dataframe can be copied to a new dataframe by using the consumesDataframe and producesDataframe properties of NewDataframe.  The new dataframe will be a \u0022deep\u0022 copy in the sense used in R and Python.      \r\n   \r\nNewDataframe can also be used to create an empty dataframe of a specific size.  In Stata, the \u0022set obs #\u0022 command will create a dataframe with a user-defined number of rows.  All values are assumed to be missing.  This may be used in simulations to preset a number of simulated observations, which are then filled with randomly generated data.\r\n\r\n\r\n\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "NumberOfRows": {
              "$ref": "#/$defs/int",
              "description": "Number of rows in new dataframe"
            },
            "NumberOfColumns": {
              "$ref": "#/$defs/int",
              "description": "Number of columns in new dataframe"
            }
          }
        }
      ]
    },
    "NoTransformOp": {
      "description": "NoTransformOp is used for a command in the original script that provides important information but does not have a function in SDTL.  For example, \u201Clibrary()\u201D in R loads a package of R functions.  Since the Parser detects the library, the SDTL will reflect the library that is used, and commands derived from the library will be translated in the SDTL script.  However, it is useful to know which library is active for auditing the R script, even if it does not perform any data transformations.  \r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "NumberRangeExpression": {
      "description": "Defines a range of numeric values.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "NumberRangeStart": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Starting value for range"
            },
            "NumberRangeEnd": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Ending value for range"
            },
            "NumberRangeIncrement": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/BooleanConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "BooleanConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/DateTimeConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "DateTimeConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/FunctionCallExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "FunctionCallExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/GroupedExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "GroupedExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/IteratorSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "IteratorSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/MissingValueConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "MissingValueConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumberRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumberRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMaximumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMaximumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/NumericMinimumValueExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "NumericMinimumValueExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringConstantExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringConstantExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/StringRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "StringRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/TimeDurationConstant"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "TimeDurationConstant"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/UnhandledValuesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "UnhandledValuesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/ValueListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "ValueListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Increment for stepping through range"
            }
          },
          "required": [
            "NumberRangeStart",
            "NumberRangeEnd"
          ]
        }
      ]
    },
    "NumericConstantExpression": {
      "description": "A numeric constant.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Value": {
              "$ref": "#/$defs/string",
              "description": "A number"
            },
            "NumericType": {
              "$ref": "#/$defs/string",
              "enum": [
                "Integer",
                "Real"
              ],
              "description": "Type of the number"
            }
          },
          "required": [
            "Value",
            "NumericType"
          ]
        }
      ]
    },
    "NumericMaximumValueExpression": {
      "description": "Represents the largest numeric value supported by a system.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "NumericMinimumValueExpression": {
      "description": "Represents the smallest numeric value supported by a system.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "Recode": {
      "description": "Describes recoding values in one or more variables according to a specified mapping.\r\n\r\nThe Recode command can either describe a recoding of one or more individual variables,\r\nor a range of variables. When one or more individual variables are described, a new\r\nvariable name can be specified. In this case, the original variable is left alone, and\r\na new variable is created with the recoded values.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "RecodedVariables": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/RecodeVariable"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "The variables that will have their values recoded. The resulting values may be either stored in the same variable, or a newly created destination variable"
            },
            "RecodedVariableRange": {
              "type": "object",
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                }
              ],
              "unevaluatedProperties": false,
              "description": "A range of variables to which the recode rules are applied. The resulting values are stored in the same variable."
            },
            "Rules": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/RecodeRule"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "A mapping describing which values will be recoded to which new values"
            }
          }
        }
      ]
    },
    "RecodeRule": {
      "type": "object",
      "properties": {
        "FromValue": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllNumericVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllNumericVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllTextVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllTextVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AllVariablesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AllVariablesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/BooleanConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "BooleanConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/CompositeVariableNameExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "CompositeVariableNameExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/DateTimeConstant"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "DateTimeConstant"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/FunctionCallExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "FunctionCallExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/GroupedExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "GroupedExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/IteratorSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "IteratorSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/MissingValueConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "MissingValueConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumberRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumberRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericMaximumValueExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericMaximumValueExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NumericMinimumValueExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NumericMinimumValueExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/StringConstantExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "StringConstantExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/StringRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "StringRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/TimeDurationConstant"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "TimeDurationConstant"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/UnhandledValuesExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "UnhandledValuesExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/ValueListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "ValueListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableListExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableListExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableRangeExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableRangeExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/VariableSymbolExpression"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "VariableSymbolExpression"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "The values to be recoded."
        },
        "To": {
          "$ref": "#/$defs/string",
          "description": "The new value"
        },
        "Label": {
          "$ref": "#/$defs/string",
          "description": "A value label for the new recoded value, if appropriate"
        }
      },
      "description": "Describes how values will be recoded.\r\n"
    },
    "RecodeVariable": {
      "type": "object",
      "properties": {
        "Source": {
          "$ref": "#/$defs/string",
          "description": "The name of the variable which will have its values recoded"
        },
        "Target": {
          "$ref": "#/$defs/string",
          "description": "The name of the new variable into which the recoded values are inserted. This may be the same as the source variable if values are recoded in place."
        }
      },
      "description": "Describes a variable that will have its values recoded.\r\n"
    },
    "Rename": {
      "description": "Rename changes the names of variables.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Renames": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/RenamePair"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "A list of variable rename objects, which includes the old name and the new name."
            }
          },
          "required": [
            "Renames"
          ]
        }
      ]
    },
    "RenamePair": {
      "type": "object",
      "properties": {
        "OldVariable": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/$defs/VariableSymbolExpression"
            }
          ],
          "unevaluatedProperties": false,
          "description": "The old name of the variable."
        },
        "NewVariable": {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/$defs/VariableSymbolExpression"
            }
          ],
          "unevaluatedProperties": false,
          "description": "The new name of the variable."
        }
      },
      "required": [
        "OldVariable",
        "NewVariable"
      ],
      "description": "Variable names before and after a variable is renamed.\r\n"
    },
    "ReshapeItemDescription": {
      "type": "object",
      "properties": {
        "TargetVariableName": {
          "$ref": "#/$defs/string",
          "description": "Name of new variable created by this command."
        },
        "TargetVariableLabel": {
          "$ref": "#/$defs/string",
          "description": "Label for new variable created by this command."
        },
        "SourceVariables": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "Source variables in the original dataset used to create this variable."
        },
        "Stub": {
          "$ref": "#/$defs/string",
          "description": "The stub is a string used in the names of variables in the wide dataset."
        },
        "IndexValues": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "A list of values that produce new rows (long) or columns (wide) for this variable."
        },
        "IndexVariableName": {
          "$ref": "#/$defs/string",
          "description": "Name of the variable that will contain the value of the index for this row."
        },
        "IndexVariableLabel": {
          "$ref": "#/$defs/string",
          "description": "Label for the variable in IndexVariableName."
        }
      },
      "description": "Descripbes a new variable created by reshaping a dataset from wide to long or vice versa.\r\n"
    },
    "ReshapeLong": {
      "description": "Creates a new dataset with multiple rows per case by assigning a set of variables in the original dataset to a single variable in the new dataset.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "MakeItems": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeItemDescription"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeItemDescription"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "New variables created by this command."
            },
            "CaseNumberVariable": {
              "$ref": "#/$defs/string",
              "description": "New variable identifying the case number in the wide data that created this row."
            },
            "IDVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "One or more variables identifying unique rows in the wide data."
            },
            "DropVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Variables to be dropped from the new dataset."
            },
            "KeepVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Variables to be kept in the new dataset."
            },
            "KeepNullCases": {
              "$ref": "#/$defs/boolean",
              "description": "When set to TRUE, rows in which all constructed variables are missing are not deleted."
            },
            "CountByID": {
              "$ref": "#/$defs/string",
              "description": "New variable with the number of cases in the long dataset that were created from the source row in the wide dataset."
            },
            "CountByIDLabel": {
              "$ref": "#/$defs/string",
              "description": "Label for the CountByID variable."
            }
          }
        }
      ]
    },
    "ReshapeWide": {
      "description": "ReshapeWide is not supported in the current version of SDTL, because it depends on values in the data.  However, it may be useful when values of the index variable are available in the metadata file or the data can be processed.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "MakeItems": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ReshapeItemDescription"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ReshapeItemDescription"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "New variables created by this command."
            },
            "IDVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "One or more variables identifying unique rows in the wide data."
            },
            "DropVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Variables to be dropped from the new dataset."
            },
            "KeepVariables": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "Variables to be kept in the new dataset."
            }
          }
        }
      ]
    },
    "Save": {
      "description": "Writes a dataset to a file.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "FileName": {
              "$ref": "#/$defs/string",
              "description": "The name of the file to be saved."
            },
            "Software": {
              "$ref": "#/$defs/string",
              "description": "The software package that works with the file."
            },
            "FileFormat": {
              "$ref": "#/$defs/string",
              "enum": [
                "csv",
                "txt",
                "dat",
                "xls",
                "xlsx",
                "sav",
                "dta",
                "sas7bdat",
                "rds",
                "rdata"
              ],
              "description": "The name of a file format"
            },
            "IsCompressed": {
              "$ref": "#/$defs/boolean",
              "description": "Indicates whether the file format is compressed."
            }
          }
        }
      ]
    },
    "SetDataType": {
      "description": "Sets the data type of a variable.   \r\nExamples:   \r\n\r\n\u0060\u0060\u0060\r\n\u0022dataType\u0022: \u0022Text\u0022,\r\n\u0022subTypeSchema\u0022: \u0022Stata 15.1\u0022,\r\n\u0022subType\u0022: \u0022str1\u0022\r\n\u0060\u0060\u0060\r\n\r\n\u0060\u0060\u0060\r\n\u0022dataType\u0022: \u0022Numeric\u0022,\r\n\u0022subTypeSchema\u0022: \u0022https://www.ddialliance.org/Specification/DDI-CV/DataType_1.0.html\u0022 ,\r\n\u0022subType\u0022: \u0022Int\u0022\r\n\u0060\u0060\u0060\r\n\r\n\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "The variables that will have their type set"
            },
            "DataType": {
              "$ref": "#/$defs/string",
              "enum": [
                "Text",
                "Numeric",
                "Boolean",
                "Date-Time",
                "Factor"
              ],
              "description": "General type of a variable,  e.g.  \u0022Text\u0022 or \u0022Numeric\u0022."
            },
            "SubTypeSchema": {
              "$ref": "#/$defs/string",
              "description": "A vendor or standards body with a controlled vocabulary.  The value can be a URL."
            },
            "SubType": {
              "$ref": "#/$defs/string",
              "description": "The name used in the associated schema."
            }
          },
          "required": [
            "DataType"
          ]
        }
      ]
    },
    "SetDatasetProperty": {
      "description": "Changes a property of a dataframe.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "PropertyName": {
              "$ref": "#/$defs/string",
              "description": "The name of the property to be set (for example, \u0027Title\u0027 or \u0027Subtitle\u0027)."
            },
            "Value": {
              "$ref": "#/$defs/string",
              "description": "The value of the property."
            }
          },
          "required": [
            "PropertyName",
            "Value"
          ]
        }
      ]
    },
    "SetDisplayFormat": {
      "description": "Sets the display or output format for a variable.    \r\nExamples:   \r\n\u0060\u0060\u0060\r\n\u0022displayFormatSchema\u0022: \u0022SAS\u0022\r\n\u0022displayFormatName\u0022: \u0022DOLLAR6.2\u0022\r\n\u0060\u0060\u0060\r\n\r\n\u0060\u0060\u0060\r\n\u0022displayFormatSchema\u0022: \u0022Stata 15.1\u0022\r\n\u0022displayFormatName\u0022: \u0022%tcDDmonCCYY_HH:MM:SS\u0022\r\n\u0060\u0060\u0060\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The variables that will have their format set"
            },
            "DisplayFormatSchema": {
              "$ref": "#/$defs/string",
              "description": "A vendor or standards body with a controlled vocabulary.  The value can be a URL."
            },
            "DisplayFormatName": {
              "$ref": "#/$defs/string",
              "description": "The name used in the associated schema."
            }
          },
          "required": [
            "Variables"
          ]
        }
      ]
    },
    "SetMissingValues": {
      "description": "Defines values that are treated as missing values for a list of variables.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The list of variables to which the missing values are assigned"
            },
            "Values": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/BooleanConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "BooleanConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DateTimeConstant"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DateTimeConstant"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/FunctionCallExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "FunctionCallExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/GroupedExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "GroupedExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IteratorSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IteratorSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MissingValueConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MissingValueConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumberRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumberRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericMaximumValueExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericMaximumValueExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericMinimumValueExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericMinimumValueExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/StringConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "StringConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/StringRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "StringRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/TimeDurationConstant"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "TimeDurationConstant"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/UnhandledValuesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "UnhandledValuesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ValueListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ValueListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The values to be considered as missing values"
            }
          },
          "required": [
            "Variables",
            "Values"
          ]
        }
      ]
    },
    "SetValueLabels": {
      "description": "Describes the assignment of labels to categorical values.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The variables to which a label will be assigned"
            },
            "Labels": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/ValueLabel"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The label to be assigned to the variables"
            }
          },
          "required": [
            "Variables",
            "Labels"
          ]
        }
      ]
    },
    "SetVariableLabel": {
      "description": "Describes the assignment of a label to a variable.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "Variable": {
              "type": "object",
              "oneOf": [
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllNumericVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllNumericVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllTextVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllTextVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/AllVariablesExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "AllVariablesExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/CompositeVariableNameExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "CompositeVariableNameExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableListExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableListExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableRangeExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableRangeExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                },
                {
                  "allOf": [
                    {
                      "$ref": "#/$defs/VariableSymbolExpression"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "$type": {
                          "type": "string",
                          "enum": [
                            "VariableSymbolExpression"
                          ]
                        }
                      },
                      "required": [
                        "$type"
                      ]
                    }
                  ]
                }
              ],
              "unevaluatedProperties": false,
              "description": "The name of the variable to which a label will be assigned"
            },
            "Label": {
              "$ref": "#/$defs/string",
              "description": "The label to be assigned to the variable"
            }
          },
          "required": [
            "Variable",
            "Label"
          ]
        }
      ]
    },
    "SortCases": {
      "description": "Sorts rows in the dataframe in a specified order.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/TransformBase"
        },
        {
          "type": "object",
          "properties": {
            "SortCriteria": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/SortCriterion"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "Describes how cases are sorted."
            }
          },
          "required": [
            "SortCriteria"
          ]
        }
      ]
    },
    "SortCriterion": {
      "type": "object",
      "properties": {
        "Variable": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "The variable used to sort."
        },
        "SortDirection": {
          "$ref": "#/$defs/string",
          "enum": [
            "Ascending",
            "Descending"
          ],
          "description": "The direction in which to sort."
        }
      },
      "required": [
        "Variable",
        "SortDirection"
      ],
      "description": "Describes a criterion by which cases are sorted, including the variable name and whether to sort ascending or descending.\r\n"
    },
    "SourceInformation": {
      "type": "object",
      "properties": {
        "LineNumberStart": {
          "$ref": "#/$defs/int",
          "description": "The line number of the beginning of the transform code"
        },
        "LineNumberEnd": {
          "$ref": "#/$defs/int",
          "description": "The line number of the end of the transform code"
        },
        "SourceStartIndex": {
          "$ref": "#/$defs/int",
          "description": "The character index of the beginning of the transform code"
        },
        "SourceStopIndex": {
          "$ref": "#/$defs/int",
          "description": "The character index of the end of the transform code"
        },
        "OriginalSourceText": {
          "$ref": "#/$defs/string",
          "description": "The original source code of the data transform code"
        },
        "ProcessedSourceText": {
          "$ref": "#/$defs/string",
          "description": "The source code of the data transform code after processing macros or loops"
        }
      },
      "description": "SourceInformation defines information about the original source of a data transform.\r\n"
    },
    "StringConstantExpression": {
      "description": "A text string.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Value": {
              "$ref": "#/$defs/string",
              "description": "A string"
            }
          },
          "required": [
            "Value"
          ]
        }
      ]
    },
    "StringRangeExpression": {
      "description": "Defines a range of string values, such as \u0022A to N\u0022.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "RangeStart": {
              "$ref": "#/$defs/string",
              "description": "Starting value for range"
            },
            "RangeEnd": {
              "$ref": "#/$defs/string",
              "description": "Ending value for range"
            }
          },
          "required": [
            "RangeStart",
            "RangeEnd"
          ]
        }
      ]
    },
    "TimeDurationConstant": {
      "description": "A time duration constant expressed in ISO 8601 format.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "TimeDurationValue": {
              "$ref": "#/$defs/duration",
              "description": "A duration of time in ISO 8601 format"
            }
          },
          "required": [
            "TimeDurationValue"
          ]
        }
      ]
    },
    "TransformBase": {
      "description": "TransformBase defines properties available for transform commands.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/CommandBase"
        },
        {
          "type": "object",
          "properties": {
            "ProducesDataframe": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/DataframeDescription"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Signify the dataframe which this transform produces."
            },
            "ConsumesDataframe": {
              "type": "array",
              "items": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/$defs/DataframeDescription"
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 0,
              "description": "Signify the dataframe which this transform acts upon."
            }
          }
        }
      ]
    },
    "UnhandledValuesExpression": {
      "description": "Represents any values not previously handled (for example, in a set of recode rules).\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "Unsupported": {
      "description": "Describes an unsupported command. An unsupported command is valid syntax, but not supported by the parsing application.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/InformBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "ValueLabel": {
      "type": "object",
      "properties": {
        "Value": {
          "$ref": "#/$defs/string",
          "description": "The value to which a label is assigned"
        },
        "Label": {
          "$ref": "#/$defs/string",
          "description": "The label to be assigned to the value"
        }
      },
      "required": [
        "Value",
        "Label"
      ],
      "description": "Associates a label with a  value in a categorical variable.\r\n"
    },
    "ValueListExpression": {
      "description": "Wraps a list of other expressions.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {
            "Values": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/BooleanConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "BooleanConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/DateTimeConstant"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "DateTimeConstant"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/FunctionCallExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "FunctionCallExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/GroupedExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "GroupedExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/IteratorSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "IteratorSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/MissingValueConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "MissingValueConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumberRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumberRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericMaximumValueExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericMaximumValueExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/NumericMinimumValueExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "NumericMinimumValueExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/StringConstantExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "StringConstantExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/StringRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "StringRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/TimeDurationConstant"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "TimeDurationConstant"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/UnhandledValuesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "UnhandledValuesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/ValueListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "ValueListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "The list of expressions."
            }
          },
          "required": [
            "Values"
          ]
        }
      ]
    },
    "VariableListExpression": {
      "description": "A list of variables which may include variable names (VariableSymbolExpression, CompositeVariableNameExpression), variable ranges (VariableRangeExpression), and variable lists.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {
            "Variables": {
              "type": "array",
              "items": {
                "type": "object",
                "oneOf": [
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllNumericVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllNumericVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllTextVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllTextVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/AllVariablesExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "AllVariablesExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/CompositeVariableNameExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "CompositeVariableNameExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableListExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableListExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableRangeExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableRangeExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  },
                  {
                    "allOf": [
                      {
                        "$ref": "#/$defs/VariableSymbolExpression"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "$type": {
                            "type": "string",
                            "enum": [
                              "VariableSymbolExpression"
                            ]
                          }
                        },
                        "required": [
                          "$type"
                        ]
                      }
                    ]
                  }
                ],
                "unevaluatedProperties": false
              },
              "minItems": 1,
              "description": "An array of variables and/or variable ranges"
            }
          },
          "required": [
            "Variables"
          ]
        }
      ]
    },
    "VariableRangeExpression": {
      "description": "A list of variables in adjacent columns defined by the variable names of first and last columns.",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {
            "First": {
              "$ref": "#/$defs/string",
              "description": "Lowest variable name in range"
            },
            "Last": {
              "$ref": "#/$defs/string",
              "description": "Highest variable name in range"
            }
          },
          "required": [
            "First",
            "Last"
          ]
        }
      ]
    },
    "VariableReferenceBase": {
      "description": "Types used to describe variables in expressions.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/ExpressionBase"
        },
        {
          "type": "object",
          "properties": {}
        }
      ]
    },
    "VariableSymbolExpression": {
      "description": "A reference to a variable.\r\n",
      "allOf": [
        {
          "$ref": "#/$defs/VariableReferenceBase"
        },
        {
          "type": "object",
          "properties": {
            "VariableName": {
              "$ref": "#/$defs/string",
              "description": "The name of a variable"
            }
          },
          "required": [
            "VariableName"
          ]
        }
      ]
    },
    "Weight": {
      "type": "object",
      "properties": {
        "WeightVariable": {
          "type": "object",
          "oneOf": [
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllNumericVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllNumericVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllTextVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllTextVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/AllVariablesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "AllVariablesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/BooleanConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "BooleanConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/CompositeVariableNameExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "CompositeVariableNameExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/DateTimeConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "DateTimeConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/FunctionCallExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "FunctionCallExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/GroupedExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "GroupedExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/IteratorSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "IteratorSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/MissingValueConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "MissingValueConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumberRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumberRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMaximumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMaximumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/NumericMinimumValueExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "NumericMinimumValueExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringConstantExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringConstantExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/StringRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "StringRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/TimeDurationConstant"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "TimeDurationConstant"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/UnhandledValuesExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "UnhandledValuesExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/ValueListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "ValueListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableListExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableListExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableRangeExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableRangeExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            },
            {
              "allOf": [
                {
                  "$ref": "#/$defs/VariableSymbolExpression"
                },
                {
                  "type": "object",
                  "properties": {
                    "$type": {
                      "type": "string",
                      "enum": [
                        "VariableSymbolExpression"
                      ]
                    }
                  },
                  "required": [
                    "$type"
                  ]
                }
              ]
            }
          ],
          "unevaluatedProperties": false,
          "description": "The variable used as a weight in the operation."
        },
        "WeightType": {
          "$ref": "#/$defs/string",
          "enum": [
            "frequency",
            "probability",
            "Stata_aweight",
            "Stata_iweight"
          ],
          "description": "Type of weight to use"
        }
      },
      "description": "Weight describes the type of weight to apply and variables holding weights.   \r\n"
    },
    "Program": {
      "type": "object",
      "properties": {
        "$type": {
          "type": "string",
          "enum": [
            "Program"
          ]
        },
        "ID": {
          "$ref": "#/$defs/string",
          "description": "ID of the object being referenced."
        },
        "SourceFileName": {
          "$ref": "#/$defs/string",
          "description": "The name of the file containing the source code."
        },
        "SourceLanguage": {
          "$ref": "#/$defs/string",
          "description": "The language of the source code."
        },
        "ScriptMD5": {
          "$ref": "#/$defs/string",
          "description": "The MD5 hash of the contents of the file."
        },
        "ScriptSHA1": {
          "$ref": "#/$defs/string",
          "description": "The SHA-1 hash of the contents of the file."
        },
        "SourceFileLastUpdate": {
          "$ref": "#/$defs/dateTime",
          "description": "The date and time the file was last updated."
        },
        "SourceFileSize": {
          "$ref": "#/$defs/long",
          "description": "The size of the file in bytes."
        },
        "LineCount": {
          "$ref": "#/$defs/int",
          "description": "The number of lines in the source file."
        },
        "CommandCount": {
          "$ref": "#/$defs/int",
          "description": "The number of commands detected in the source file."
        },
        "Messages": {
          "type": "array",
          "items": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/$defs/Message"
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "Messages related to the parsing of the source file."
        },
        "Parser": {
          "$ref": "#/$defs/string",
          "description": "The name of the parser used to generate the SDTL."
        },
        "ParserVersion": {
          "$ref": "#/$defs/string",
          "description": "The version of the parser used to generate the SDTL."
        },
        "ModelVersion": {
          "$ref": "#/$defs/string",
          "description": "The version of the SDTL model."
        },
        "ModelCreatedTime": {
          "$ref": "#/$defs/dateTime",
          "description": "The date and time the SDTL was generated."
        },
        "Commands": {
          "type": "array",
          "items": {
            "type": "object",
            "oneOf": [
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Aggregate"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Aggregate"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Analysis"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Analysis"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/AppendDatasets"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "AppendDatasets"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Collapse"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Collapse"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Comment"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Comment"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Compute"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Compute"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/DoIf"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "DoIf"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/DropCases"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "DropCases"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/DropVariables"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "DropVariables"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Execute"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Execute"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/IfRows"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "IfRows"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Invalid"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Invalid"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/KeepCases"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "KeepCases"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/KeepVariables"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "KeepVariables"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Load"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Load"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/LoopOverList"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "LoopOverList"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/LoopWhile"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "LoopWhile"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/MergeDatasets"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "MergeDatasets"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Message"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Message"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NewDataframe"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NewDataframe"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/NoTransformOp"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "NoTransformOp"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Recode"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Recode"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Rename"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Rename"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/ReshapeLong"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "ReshapeLong"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/ReshapeWide"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "ReshapeWide"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Save"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Save"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetDataType"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetDataType"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetDatasetProperty"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetDatasetProperty"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetDisplayFormat"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetDisplayFormat"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetMissingValues"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetMissingValues"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetValueLabels"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetValueLabels"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SetVariableLabel"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SetVariableLabel"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/SortCases"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "SortCases"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              },
              {
                "allOf": [
                  {
                    "$ref": "#/$defs/Unsupported"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "$type": {
                        "type": "string",
                        "enum": [
                          "Unsupported"
                        ]
                      }
                    },
                    "required": [
                      "$type"
                    ]
                  }
                ]
              }
            ],
            "unevaluatedProperties": false
          },
          "minItems": 0,
          "description": "The list of commands that make up the program."
        }
      },
      "required": [
        "$type",
        "ID"
      ],
      "description": "The program represents a list of commands from a statistical package.\r\n"
    },
    "Reference": {
      "type": "object",
      "description": "A reference to an item containing its concrete $type and every configured identification property.",
      "properties": {
        "$type": {
          "type": "string",
          "enum": [
            "Program"
          ]
        },
        "ID": {
          "$ref": "#/$defs/string",
          "description": "ID of the object being referenced."
        }
      },
      "required": [
        "$type",
        "ID"
      ],
      "additionalProperties": false
    }
  },
  "x-cogs-version": "2.0",
  "x-cogs-vocabulary": "https://cogsdata.org/schema/vocabulary/2.0"
}