dgbowl_schemas.yadg.dataschema_4_0 package

pydantic model dgbowl_schemas.yadg.dataschema_4_0.DataSchema

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "DataSchema",
   "type": "object",
   "properties": {
      "metadata": {
         "$ref": "#/definitions/Metadata"
      },
      "steps": {
         "title": "Steps",
         "type": "array",
         "items": {
            "anyOf": [
               {
                  "$ref": "#/definitions/Dummy"
               },
               {
                  "$ref": "#/definitions/BasicCSV"
               },
               {
                  "$ref": "#/definitions/MeasCSV"
               },
               {
                  "$ref": "#/definitions/FlowData"
               },
               {
                  "$ref": "#/definitions/ElectroChem"
               },
               {
                  "$ref": "#/definitions/ChromTrace"
               },
               {
                  "$ref": "#/definitions/MassTrace"
               },
               {
                  "$ref": "#/definitions/QFTrace"
               },
               {
                  "$ref": "#/definitions/XPSTrace"
               }
            ]
         }
      }
   },
   "required": [
      "metadata",
      "steps"
   ],
   "additionalProperties": false,
   "definitions": {
      "Metadata": {
         "title": "Metadata",
         "type": "object",
         "properties": {
            "schema_version": {
               "title": "Schema Version",
               "enum": [
                  "4.0",
                  "4.0.0",
                  "4.0.1"
               ],
               "type": "string"
            },
            "provenance": {
               "title": "Provenance",
               "type": "string"
            },
            "timezone": {
               "title": "Timezone",
               "default": "localtime",
               "type": "string"
            }
         },
         "required": [
            "schema_version",
            "provenance"
         ],
         "additionalProperties": false
      },
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__Dummy__Params": {
         "title": "Params",
         "type": "object",
         "properties": {}
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      },
      "Dummy": {
         "title": "Dummy",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "dummy"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__Dummy__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "Tol": {
         "title": "Tol",
         "type": "object",
         "properties": {
            "atol": {
               "title": "Atol",
               "type": "number"
            },
            "rtol": {
               "title": "Rtol",
               "type": "number"
            }
         },
         "additionalProperties": false
      },
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Timestamp": {
         "title": "Timestamp",
         "type": "object",
         "properties": {
            "timestamp": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "additionalProperties": false
      },
      "TimeDate": {
         "title": "TimeDate",
         "type": "object",
         "properties": {
            "date": {
               "$ref": "#/definitions/TimestampSpec"
            },
            "time": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "additionalProperties": false
      },
      "UTS": {
         "title": "UTS",
         "type": "object",
         "properties": {
            "uts": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__BasicCSV__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "sep": {
               "title": "Sep",
               "default": ",",
               "type": "string"
            },
            "sigma": {
               "title": "Sigma",
               "type": "object",
               "additionalProperties": {
                  "$ref": "#/definitions/Tol"
               }
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "timestamp": {
               "title": "Timestamp",
               "anyOf": [
                  {
                     "$ref": "#/definitions/Timestamp"
                  },
                  {
                     "$ref": "#/definitions/TimeDate"
                  },
                  {
                     "$ref": "#/definitions/UTS"
                  }
               ]
            },
            "convert": {
               "title": "Convert"
            },
            "units": {
               "title": "Units",
               "type": "object",
               "additionalProperties": {
                  "type": "string"
               }
            }
         },
         "additionalProperties": false
      },
      "BasicCSV": {
         "title": "BasicCSV",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "basiccsv"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__BasicCSV__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__MeasCSV__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "timestamp": {
               "title": "Timestamp",
               "default": {
                  "timestamp": {
                     "index": 0,
                     "format": "%Y-%m-%d-%H-%M-%S"
                  }
               },
               "anyOf": [
                  {
                     "$ref": "#/definitions/Timestamp"
                  },
                  {
                     "$ref": "#/definitions/TimeDate"
                  },
                  {
                     "$ref": "#/definitions/UTS"
                  }
               ]
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "convert": {
               "title": "Convert"
            }
         },
         "additionalProperties": false
      },
      "MeasCSV": {
         "title": "MeasCSV",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "meascsv"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__MeasCSV__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__FlowData__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "filetype": {
               "title": "Filetype",
               "default": "drycal",
               "enum": [
                  "drycal",
                  "drycal.csv",
                  "drycal.rtf",
                  "drycal.txt"
               ],
               "type": "string"
            },
            "convert": {
               "title": "Convert"
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "FlowData": {
         "title": "FlowData",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "flowdata"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__FlowData__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "ECInput": {
         "title": "ECInput",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "windows-1252",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__ElectroChem__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "filetype": {
               "title": "Filetype",
               "default": "eclab.mpr",
               "enum": [
                  "eclab.mpt",
                  "eclab.mpr"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "ElectroChem": {
         "title": "ElectroChem",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "electrochem"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/ECInput"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__ElectroChem__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__ChromTrace__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "ezchrom.asc",
               "enum": [
                  "ezchrom.asc",
                  "fusion.json",
                  "fusion.zip",
                  "agilent.ch",
                  "agilent.dx",
                  "agilent.csv"
               ],
               "type": "string"
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "species": {
               "title": "Species"
            },
            "detectors": {
               "title": "Detectors"
            }
         },
         "additionalProperties": false
      },
      "ChromTrace": {
         "title": "ChromTrace",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "chromtrace"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__ChromTrace__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__MassTrace__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "quadstar.sac",
               "enum": [
                  "quadstar.sac"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "MassTrace": {
         "title": "MassTrace",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "masstrace"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__MassTrace__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__QFTrace__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "labview.csv",
               "enum": [
                  "labview.csv"
               ],
               "type": "string"
            },
            "method": {
               "title": "Method",
               "default": "kajfez",
               "enum": [
                  "naive",
                  "lorentz",
                  "kajfez"
               ],
               "type": "string"
            },
            "height": {
               "title": "Height",
               "default": 1.0,
               "type": "number"
            },
            "distance": {
               "title": "Distance",
               "default": 5000.0,
               "type": "number"
            },
            "cutoff": {
               "title": "Cutoff",
               "default": 0.4,
               "type": "number"
            },
            "threshold": {
               "title": "Threshold",
               "default": 1e-06,
               "type": "number"
            }
         },
         "additionalProperties": false
      },
      "QFTrace": {
         "title": "QFTrace",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "qftrace"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__QFTrace__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__step__XPSTrace__Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "phi.spe",
               "enum": [
                  "phi.spe"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "XPSTrace": {
         "title": "XPSTrace",
         "type": "object",
         "properties": {
            "parser": {
               "title": "Parser",
               "enum": [
                  "xpstrace"
               ],
               "type": "string"
            },
            "import": {
               "$ref": "#/definitions/Input"
            },
            "parameters": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__step__XPSTrace__Params"
            },
            "tag": {
               "title": "Tag",
               "type": "string"
            },
            "externaldate": {
               "$ref": "#/definitions/ExternalDate"
            },
            "export": {
               "title": "Export",
               "type": "string"
            }
         },
         "required": [
            "parser",
            "import"
         ],
         "additionalProperties": false
      }
   }
}

field metadata: dgbowl_schemas.yadg.dataschema_4_0.metadata.Metadata [Required]
field steps: Sequence[Union[dgbowl_schemas.yadg.dataschema_4_0.step.Dummy, dgbowl_schemas.yadg.dataschema_4_0.step.BasicCSV, dgbowl_schemas.yadg.dataschema_4_0.step.MeasCSV, dgbowl_schemas.yadg.dataschema_4_0.step.FlowData, dgbowl_schemas.yadg.dataschema_4_0.step.ElectroChem, dgbowl_schemas.yadg.dataschema_4_0.step.ChromTrace, dgbowl_schemas.yadg.dataschema_4_0.step.MassTrace, dgbowl_schemas.yadg.dataschema_4_0.step.QFTrace, dgbowl_schemas.yadg.dataschema_4_0.step.XPSTrace]] [Required]

Submodules

pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ExternalDate",
   "type": "object",
   "properties": {
      "from": {
         "title": "From",
         "anyOf": [
            {
               "$ref": "#/definitions/ExternalDateFile"
            },
            {
               "$ref": "#/definitions/ExternalDateFilename"
            },
            {
               "$ref": "#/definitions/ExternalDateISOString"
            },
            {
               "$ref": "#/definitions/ExternalDateUTSOffset"
            }
         ]
      },
      "mode": {
         "title": "Mode",
         "default": "add",
         "enum": [
            "add",
            "replace"
         ],
         "type": "string"
      }
   },
   "required": [
      "from"
   ],
   "additionalProperties": false,
   "definitions": {
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      }
   }
}

field using: Union[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFile, dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFilename, dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateISOString, dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateUTSOffset] [Required] (alias 'from')
field mode: Literal['add', 'replace'] = 'add'
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFile

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ExternalDateFile",
   "type": "object",
   "properties": {
      "file": {
         "$ref": "#/definitions/Content"
      }
   },
   "required": [
      "file"
   ],
   "additionalProperties": false,
   "definitions": {
      "Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Content

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Content",
   "type": "object",
   "properties": {
      "path": {
         "title": "Path",
         "type": "string"
      },
      "type": {
         "title": "Type",
         "type": "string"
      },
      "match": {
         "title": "Match",
         "type": "string"
      }
   },
   "required": [
      "path",
      "type"
   ],
   "additionalProperties": false
}

field path: str [Required]
field type: str [Required]
field match: Optional[str] = PydanticUndefined
field file: dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFile.Content [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFilename

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ExternalDateFilename",
   "type": "object",
   "properties": {
      "filename": {
         "$ref": "#/definitions/Content"
      }
   },
   "required": [
      "filename"
   ],
   "additionalProperties": false,
   "definitions": {
      "Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Content

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Content",
   "type": "object",
   "properties": {
      "format": {
         "title": "Format",
         "type": "string"
      },
      "len": {
         "title": "Len",
         "type": "integer"
      }
   },
   "required": [
      "format",
      "len"
   ],
   "additionalProperties": false
}

field format: str [Required]
field len: int [Required]
field filename: dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateFilename.Content [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateISOString

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ExternalDateISOString",
   "type": "object",
   "properties": {
      "isostring": {
         "title": "Isostring",
         "type": "string"
      }
   },
   "required": [
      "isostring"
   ],
   "additionalProperties": false
}

field isostring: str [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDateUTSOffset

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ExternalDateUTSOffset",
   "type": "object",
   "properties": {
      "utsoffset": {
         "title": "Utsoffset",
         "type": "number"
      }
   },
   "required": [
      "utsoffset"
   ],
   "additionalProperties": false
}

field utsoffset: float [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.input.Input

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Input",
   "type": "object",
   "properties": {
      "files": {
         "title": "Files",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "folders": {
         "title": "Folders",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "prefix": {
         "title": "Prefix",
         "type": "string"
      },
      "suffix": {
         "title": "Suffix",
         "type": "string"
      },
      "contains": {
         "title": "Contains",
         "type": "string"
      },
      "exclude": {
         "title": "Exclude",
         "type": "string"
      },
      "encoding": {
         "title": "Encoding",
         "default": "UTF-8",
         "type": "string"
      }
   },
   "additionalProperties": false
}

field files: Optional[Sequence[str]] = PydanticUndefined
Validated by
field folders: Optional[Sequence[str]] = PydanticUndefined
Validated by
field prefix: Optional[str] = PydanticUndefined
Validated by
field suffix: Optional[str] = PydanticUndefined
Validated by
field contains: Optional[str] = PydanticUndefined
Validated by
field exclude: Optional[str] = PydanticUndefined
Validated by
field encoding: Optional[str] = 'UTF-8'
Validated by
validator files_or_folders  »  all fields
paths()
Return type

list[str]

pydantic model dgbowl_schemas.yadg.dataschema_4_0.metadata.Metadata

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Metadata",
   "type": "object",
   "properties": {
      "schema_version": {
         "title": "Schema Version",
         "enum": [
            "4.0",
            "4.0.0",
            "4.0.1"
         ],
         "type": "string"
      },
      "provenance": {
         "title": "Provenance",
         "type": "string"
      },
      "timezone": {
         "title": "Timezone",
         "default": "localtime",
         "type": "string"
      }
   },
   "required": [
      "schema_version",
      "provenance"
   ],
   "additionalProperties": false
}

field version: Literal['4.0', '4.0.0', '4.0.1'] [Required] (alias 'schema_version')
field provenance: str [Required]
field timezone: str = 'localtime'
pydantic model dgbowl_schemas.yadg.dataschema_4_0.parameters.Tol

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Tol",
   "type": "object",
   "properties": {
      "atol": {
         "title": "Atol",
         "type": "number"
      },
      "rtol": {
         "title": "Rtol",
         "type": "number"
      }
   },
   "additionalProperties": false
}

field atol: Optional[float] = PydanticUndefined
field rtol: Optional[float] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.BasicCSV

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "BasicCSV",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "basiccsv"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Tol": {
         "title": "Tol",
         "type": "object",
         "properties": {
            "atol": {
               "title": "Atol",
               "type": "number"
            },
            "rtol": {
               "title": "Rtol",
               "type": "number"
            }
         },
         "additionalProperties": false
      },
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Timestamp": {
         "title": "Timestamp",
         "type": "object",
         "properties": {
            "timestamp": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "additionalProperties": false
      },
      "TimeDate": {
         "title": "TimeDate",
         "type": "object",
         "properties": {
            "date": {
               "$ref": "#/definitions/TimestampSpec"
            },
            "time": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "additionalProperties": false
      },
      "UTS": {
         "title": "UTS",
         "type": "object",
         "properties": {
            "uts": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "sep": {
               "title": "Sep",
               "default": ",",
               "type": "string"
            },
            "sigma": {
               "title": "Sigma",
               "type": "object",
               "additionalProperties": {
                  "$ref": "#/definitions/Tol"
               }
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "timestamp": {
               "title": "Timestamp",
               "anyOf": [
                  {
                     "$ref": "#/definitions/Timestamp"
                  },
                  {
                     "$ref": "#/definitions/TimeDate"
                  },
                  {
                     "$ref": "#/definitions/UTS"
                  }
               ]
            },
            "convert": {
               "title": "Convert"
            },
            "units": {
               "title": "Units",
               "type": "object",
               "additionalProperties": {
                  "type": "string"
               }
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "sep": {
         "title": "Sep",
         "default": ",",
         "type": "string"
      },
      "sigma": {
         "title": "Sigma",
         "type": "object",
         "additionalProperties": {
            "$ref": "#/definitions/Tol"
         }
      },
      "calfile": {
         "title": "Calfile",
         "type": "string"
      },
      "timestamp": {
         "title": "Timestamp",
         "anyOf": [
            {
               "$ref": "#/definitions/Timestamp"
            },
            {
               "$ref": "#/definitions/TimeDate"
            },
            {
               "$ref": "#/definitions/UTS"
            }
         ]
      },
      "convert": {
         "title": "Convert"
      },
      "units": {
         "title": "Units",
         "type": "object",
         "additionalProperties": {
            "type": "string"
         }
      }
   },
   "additionalProperties": false,
   "definitions": {
      "Tol": {
         "title": "Tol",
         "type": "object",
         "properties": {
            "atol": {
               "title": "Atol",
               "type": "number"
            },
            "rtol": {
               "title": "Rtol",
               "type": "number"
            }
         },
         "additionalProperties": false
      },
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Timestamp": {
         "title": "Timestamp",
         "type": "object",
         "properties": {
            "timestamp": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "additionalProperties": false
      },
      "TimeDate": {
         "title": "TimeDate",
         "type": "object",
         "properties": {
            "date": {
               "$ref": "#/definitions/TimestampSpec"
            },
            "time": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "additionalProperties": false
      },
      "UTS": {
         "title": "UTS",
         "type": "object",
         "properties": {
            "uts": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "additionalProperties": false
      }
   }
}

field sep: str = ','
field sigma: Optional[Mapping[str, dgbowl_schemas.yadg.dataschema_4_0.parameters.Tol]] = PydanticUndefined
field calfile: Optional[str] = PydanticUndefined
field timestamp: Optional[Union[dgbowl_schemas.yadg.dataschema_4_0.timestamp.Timestamp, dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimeDate, dgbowl_schemas.yadg.dataschema_4_0.timestamp.UTS]] = PydanticUndefined
field convert: Optional[Any] = PydanticUndefined
field units: Optional[Mapping[str, str]] = PydanticUndefined
field parser: Literal['basiccsv'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.BasicCSV.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.ChromTrace

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ChromTrace",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "chromtrace"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "ezchrom.asc",
               "enum": [
                  "ezchrom.asc",
                  "fusion.json",
                  "fusion.zip",
                  "agilent.ch",
                  "agilent.dx",
                  "agilent.csv"
               ],
               "type": "string"
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "species": {
               "title": "Species"
            },
            "detectors": {
               "title": "Detectors"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "title": "Tracetype",
         "default": "ezchrom.asc",
         "enum": [
            "ezchrom.asc",
            "fusion.json",
            "fusion.zip",
            "agilent.ch",
            "agilent.dx",
            "agilent.csv"
         ],
         "type": "string"
      },
      "calfile": {
         "title": "Calfile",
         "type": "string"
      },
      "species": {
         "title": "Species"
      },
      "detectors": {
         "title": "Detectors"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['ezchrom.asc', 'fusion.json', 'fusion.zip', 'agilent.ch', 'agilent.dx', 'agilent.csv'] = 'ezchrom.asc' (alias 'tracetype')
field calfile: Optional[str] = PydanticUndefined
field species: Optional[Any] = PydanticUndefined
field detectors: Optional[Any] = PydanticUndefined
field parser: Literal['chromtrace'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.ChromTrace.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.Dummy

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Dummy",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "dummy"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {}
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {}
}

field parser: Literal['dummy'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: Optional[dgbowl_schemas.yadg.dataschema_4_0.step.Dummy.Params] = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.ElectroChem

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "ElectroChem",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "electrochem"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/ECInput"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "ECInput": {
         "title": "ECInput",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "windows-1252",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "filetype": {
               "title": "Filetype",
               "default": "eclab.mpr",
               "enum": [
                  "eclab.mpt",
                  "eclab.mpr"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "filetype": {
         "title": "Filetype",
         "default": "eclab.mpr",
         "enum": [
            "eclab.mpt",
            "eclab.mpr"
         ],
         "type": "string"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['eclab.mpt', 'eclab.mpr'] = 'eclab.mpr'
pydantic model ECInput

Bases: dgbowl_schemas.yadg.dataschema_4_0.input.Input

Show JSON schema
{
   "title": "ECInput",
   "type": "object",
   "properties": {
      "files": {
         "title": "Files",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "folders": {
         "title": "Folders",
         "type": "array",
         "items": {
            "type": "string"
         }
      },
      "prefix": {
         "title": "Prefix",
         "type": "string"
      },
      "suffix": {
         "title": "Suffix",
         "type": "string"
      },
      "contains": {
         "title": "Contains",
         "type": "string"
      },
      "exclude": {
         "title": "Exclude",
         "type": "string"
      },
      "encoding": {
         "title": "Encoding",
         "default": "windows-1252",
         "type": "string"
      }
   },
   "additionalProperties": false
}

field encoding: str = 'windows-1252'
Validated by
  • files_or_folders

field parser: Literal['electrochem'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.step.ElectroChem.ECInput [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.ElectroChem.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.FlowData

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "FlowData",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "flowdata"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "filetype": {
               "title": "Filetype",
               "default": "drycal",
               "enum": [
                  "drycal",
                  "drycal.csv",
                  "drycal.rtf",
                  "drycal.txt"
               ],
               "type": "string"
            },
            "convert": {
               "title": "Convert"
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "filetype": {
         "title": "Filetype",
         "default": "drycal",
         "enum": [
            "drycal",
            "drycal.csv",
            "drycal.rtf",
            "drycal.txt"
         ],
         "type": "string"
      },
      "convert": {
         "title": "Convert"
      },
      "calfile": {
         "title": "Calfile",
         "type": "string"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['drycal', 'drycal.csv', 'drycal.rtf', 'drycal.txt'] = 'drycal'
field convert: Optional[Any] = PydanticUndefined
field calfile: Optional[str] = PydanticUndefined
field parser: Literal['flowdata'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.FlowData.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.MassTrace

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "MassTrace",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "masstrace"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "quadstar.sac",
               "enum": [
                  "quadstar.sac"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "title": "Tracetype",
         "default": "quadstar.sac",
         "enum": [
            "quadstar.sac"
         ],
         "type": "string"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['quadstar.sac'] = 'quadstar.sac' (alias 'tracetype')
field parser: Literal['masstrace'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.MassTrace.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.MeasCSV

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "MeasCSV",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "meascsv"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Timestamp": {
         "title": "Timestamp",
         "type": "object",
         "properties": {
            "timestamp": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "additionalProperties": false
      },
      "TimeDate": {
         "title": "TimeDate",
         "type": "object",
         "properties": {
            "date": {
               "$ref": "#/definitions/TimestampSpec"
            },
            "time": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "additionalProperties": false
      },
      "UTS": {
         "title": "UTS",
         "type": "object",
         "properties": {
            "uts": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "timestamp": {
               "title": "Timestamp",
               "default": {
                  "timestamp": {
                     "index": 0,
                     "format": "%Y-%m-%d-%H-%M-%S"
                  }
               },
               "anyOf": [
                  {
                     "$ref": "#/definitions/Timestamp"
                  },
                  {
                     "$ref": "#/definitions/TimeDate"
                  },
                  {
                     "$ref": "#/definitions/UTS"
                  }
               ]
            },
            "calfile": {
               "title": "Calfile",
               "type": "string"
            },
            "convert": {
               "title": "Convert"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "timestamp": {
         "title": "Timestamp",
         "default": {
            "timestamp": {
               "index": 0,
               "format": "%Y-%m-%d-%H-%M-%S"
            }
         },
         "anyOf": [
            {
               "$ref": "#/definitions/Timestamp"
            },
            {
               "$ref": "#/definitions/TimeDate"
            },
            {
               "$ref": "#/definitions/UTS"
            }
         ]
      },
      "calfile": {
         "title": "Calfile",
         "type": "string"
      },
      "convert": {
         "title": "Convert"
      }
   },
   "additionalProperties": false,
   "definitions": {
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Timestamp": {
         "title": "Timestamp",
         "type": "object",
         "properties": {
            "timestamp": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "timestamp"
         ],
         "additionalProperties": false
      },
      "TimeDate": {
         "title": "TimeDate",
         "type": "object",
         "properties": {
            "date": {
               "$ref": "#/definitions/TimestampSpec"
            },
            "time": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "additionalProperties": false
      },
      "UTS": {
         "title": "UTS",
         "type": "object",
         "properties": {
            "uts": {
               "$ref": "#/definitions/TimestampSpec"
            }
         },
         "required": [
            "uts"
         ],
         "additionalProperties": false
      }
   }
}

field timestamp: Union[dgbowl_schemas.yadg.dataschema_4_0.timestamp.Timestamp, dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimeDate, dgbowl_schemas.yadg.dataschema_4_0.timestamp.UTS] = Timestamp(timestamp=TimestampSpec(index=0, format='%Y-%m-%d-%H-%M-%S'))
field calfile: Optional[str] = PydanticUndefined
field convert: Optional[Any] = PydanticUndefined
field parser: Literal['meascsv'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.MeasCSV.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.QFTrace

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "QFTrace",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "qftrace"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "labview.csv",
               "enum": [
                  "labview.csv"
               ],
               "type": "string"
            },
            "method": {
               "title": "Method",
               "default": "kajfez",
               "enum": [
                  "naive",
                  "lorentz",
                  "kajfez"
               ],
               "type": "string"
            },
            "height": {
               "title": "Height",
               "default": 1.0,
               "type": "number"
            },
            "distance": {
               "title": "Distance",
               "default": 5000.0,
               "type": "number"
            },
            "cutoff": {
               "title": "Cutoff",
               "default": 0.4,
               "type": "number"
            },
            "threshold": {
               "title": "Threshold",
               "default": 1e-06,
               "type": "number"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "title": "Tracetype",
         "default": "labview.csv",
         "enum": [
            "labview.csv"
         ],
         "type": "string"
      },
      "method": {
         "title": "Method",
         "default": "kajfez",
         "enum": [
            "naive",
            "lorentz",
            "kajfez"
         ],
         "type": "string"
      },
      "height": {
         "title": "Height",
         "default": 1.0,
         "type": "number"
      },
      "distance": {
         "title": "Distance",
         "default": 5000.0,
         "type": "number"
      },
      "cutoff": {
         "title": "Cutoff",
         "default": 0.4,
         "type": "number"
      },
      "threshold": {
         "title": "Threshold",
         "default": 1e-06,
         "type": "number"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['labview.csv'] = 'labview.csv' (alias 'tracetype')
field method: Literal['naive', 'lorentz', 'kajfez'] = 'kajfez'
field height: float = 1.0
field distance: float = 5000.0
field cutoff: float = 0.4
field threshold: float = 1e-06
field parser: Literal['qftrace'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.QFTrace.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.step.XPSTrace

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "XPSTrace",
   "type": "object",
   "properties": {
      "parser": {
         "title": "Parser",
         "enum": [
            "xpstrace"
         ],
         "type": "string"
      },
      "import": {
         "$ref": "#/definitions/Input"
      },
      "parameters": {
         "$ref": "#/definitions/Params"
      },
      "tag": {
         "title": "Tag",
         "type": "string"
      },
      "externaldate": {
         "$ref": "#/definitions/ExternalDate"
      },
      "export": {
         "title": "Export",
         "type": "string"
      }
   },
   "required": [
      "parser",
      "import"
   ],
   "additionalProperties": false,
   "definitions": {
      "Input": {
         "title": "Input",
         "type": "object",
         "properties": {
            "files": {
               "title": "Files",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "folders": {
               "title": "Folders",
               "type": "array",
               "items": {
                  "type": "string"
               }
            },
            "prefix": {
               "title": "Prefix",
               "type": "string"
            },
            "suffix": {
               "title": "Suffix",
               "type": "string"
            },
            "contains": {
               "title": "Contains",
               "type": "string"
            },
            "exclude": {
               "title": "Exclude",
               "type": "string"
            },
            "encoding": {
               "title": "Encoding",
               "default": "UTF-8",
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "Params": {
         "title": "Params",
         "type": "object",
         "properties": {
            "tracetype": {
               "title": "Tracetype",
               "default": "phi.spe",
               "enum": [
                  "phi.spe"
               ],
               "type": "string"
            }
         },
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "path": {
               "title": "Path",
               "type": "string"
            },
            "type": {
               "title": "Type",
               "type": "string"
            },
            "match": {
               "title": "Match",
               "type": "string"
            }
         },
         "required": [
            "path",
            "type"
         ],
         "additionalProperties": false
      },
      "ExternalDateFile": {
         "title": "ExternalDateFile",
         "type": "object",
         "properties": {
            "file": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFile__Content"
            }
         },
         "required": [
            "file"
         ],
         "additionalProperties": false
      },
      "dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content": {
         "title": "Content",
         "type": "object",
         "properties": {
            "format": {
               "title": "Format",
               "type": "string"
            },
            "len": {
               "title": "Len",
               "type": "integer"
            }
         },
         "required": [
            "format",
            "len"
         ],
         "additionalProperties": false
      },
      "ExternalDateFilename": {
         "title": "ExternalDateFilename",
         "type": "object",
         "properties": {
            "filename": {
               "$ref": "#/definitions/dgbowl_schemas__yadg__dataschema_4_0__externaldate__ExternalDateFilename__Content"
            }
         },
         "required": [
            "filename"
         ],
         "additionalProperties": false
      },
      "ExternalDateISOString": {
         "title": "ExternalDateISOString",
         "type": "object",
         "properties": {
            "isostring": {
               "title": "Isostring",
               "type": "string"
            }
         },
         "required": [
            "isostring"
         ],
         "additionalProperties": false
      },
      "ExternalDateUTSOffset": {
         "title": "ExternalDateUTSOffset",
         "type": "object",
         "properties": {
            "utsoffset": {
               "title": "Utsoffset",
               "type": "number"
            }
         },
         "required": [
            "utsoffset"
         ],
         "additionalProperties": false
      },
      "ExternalDate": {
         "title": "ExternalDate",
         "type": "object",
         "properties": {
            "from": {
               "title": "From",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ExternalDateFile"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateFilename"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateISOString"
                  },
                  {
                     "$ref": "#/definitions/ExternalDateUTSOffset"
                  }
               ]
            },
            "mode": {
               "title": "Mode",
               "default": "add",
               "enum": [
                  "add",
                  "replace"
               ],
               "type": "string"
            }
         },
         "required": [
            "from"
         ],
         "additionalProperties": false
      }
   }
}

pydantic model Params

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Params",
   "type": "object",
   "properties": {
      "tracetype": {
         "title": "Tracetype",
         "default": "phi.spe",
         "enum": [
            "phi.spe"
         ],
         "type": "string"
      }
   },
   "additionalProperties": false
}

field filetype: Literal['phi.spe'] = 'phi.spe' (alias 'tracetype')
field parser: Literal['xpstrace'] [Required]
field input: dgbowl_schemas.yadg.dataschema_4_0.input.Input [Required] (alias 'import')
field parameters: dgbowl_schemas.yadg.dataschema_4_0.step.XPSTrace.Params = PydanticUndefined
field tag: Optional[str] = PydanticUndefined
field externaldate: Optional[dgbowl_schemas.yadg.dataschema_4_0.externaldate.ExternalDate] = PydanticUndefined
field export: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimeDate

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "TimeDate",
   "type": "object",
   "properties": {
      "date": {
         "$ref": "#/definitions/TimestampSpec"
      },
      "time": {
         "$ref": "#/definitions/TimestampSpec"
      }
   },
   "additionalProperties": false,
   "definitions": {
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      }
   }
}

field date: Optional[dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec] = PydanticUndefined
field time: Optional[dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.Timestamp

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "Timestamp",
   "type": "object",
   "properties": {
      "timestamp": {
         "$ref": "#/definitions/TimestampSpec"
      }
   },
   "required": [
      "timestamp"
   ],
   "additionalProperties": false,
   "definitions": {
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      }
   }
}

field timestamp: dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec [Required]
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "TimestampSpec",
   "type": "object",
   "properties": {
      "index": {
         "title": "Index",
         "type": "integer"
      },
      "format": {
         "title": "Format",
         "type": "string"
      }
   },
   "additionalProperties": false
}

field index: Optional[int] = PydanticUndefined
field format: Optional[str] = PydanticUndefined
pydantic model dgbowl_schemas.yadg.dataschema_4_0.timestamp.UTS

Bases: pydantic.main.BaseModel

Show JSON schema
{
   "title": "UTS",
   "type": "object",
   "properties": {
      "uts": {
         "$ref": "#/definitions/TimestampSpec"
      }
   },
   "required": [
      "uts"
   ],
   "additionalProperties": false,
   "definitions": {
      "TimestampSpec": {
         "title": "TimestampSpec",
         "type": "object",
         "properties": {
            "index": {
               "title": "Index",
               "type": "integer"
            },
            "format": {
               "title": "Format",
               "type": "string"
            }
         },
         "additionalProperties": false
      }
   }
}

field uts: dgbowl_schemas.yadg.dataschema_4_0.timestamp.TimestampSpec [Required]