{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chemaxon/json-schema/chemaxon-submission-search-request-params-schema.json",
  "title": "SubmissionSearchRequestParams",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chemaxon-submission-api-openapi.yml#/components/schemas/SubmissionSearchRequestParams",
  "type": "object",
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "maxItems": 1000,
      "minItems": 0
    },
    "lnbRef": {
      "type": "string"
    },
    "fromDate": {
      "type": "string",
      "format": "date-time"
    },
    "toDate": {
      "type": "string",
      "format": "date-time"
    },
    "source": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "inProgressUserId": {
      "type": "string"
    },
    "chemistId": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "orderBy": {
      "$ref": "#/$defs/FieldId"
    },
    "orderDirection": {
      "type": "string",
      "enum": [
        "ASC",
        "DESC"
      ]
    },
    "isSuccessful": {
      "type": "boolean"
    },
    "format": {
      "type": "string"
    },
    "library": {
      "type": "string"
    },
    "uploadId": {
      "type": "integer",
      "format": "int32"
    },
    "structureType": {
      "type": "string",
      "enum": [
        "SINGLE",
        "MIXTURE",
        "FORMULATION",
        "ISOMER",
        "MARKUSH",
        "ALTERNATE",
        "POLYMER",
        "NO_STRUCTURE",
        "PEPTIDE"
      ]
    },
    "pagination": {
      "$ref": "#/$defs/PaginationRequestParams"
    },
    "statusFilter": {
      "type": "string",
      "enum": [
        "ALL_STATUS",
        "FIRST_STATUS"
      ]
    },
    "creatorId": {
      "type": "string",
      "writeOnly": true
    }
  },
  "$defs": {
    "FieldId": {
      "type": "object",
      "properties": {
        "fieldName": {
          "type": "string"
        },
        "additional": {
          "type": "boolean",
          "description": "True in case of additional data field, false otherwise"
        }
      },
      "required": [
        "additional",
        "fieldName"
      ]
    },
    "PaginationRequestParams": {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer",
          "format": "int32"
        },
        "limit": {
          "type": "integer",
          "format": "int32"
        }
      }
    }
  }
}