{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-dataset-schema.json",
  "title": "Dataset",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-datasets-api-openapi.yml#/components/schemas/Dataset",
  "allOf": [
    {
      "properties": {
        "archiveRecord": {
          "allOf": [
            {
              "$ref": "#/$defs/ArchiveRecord"
            }
          ],
          "description": "ArchiveRecord Resource if the dataset is archived. This is null if the dataset is not archived.\n"
        },
        "createdAt": {
          "description": "Date and time the dataset was created",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "creator": {
          "allOf": [
            {
              "$ref": "#/$defs/UserSummary"
            },
            {
              "description": "UserSummary of the user who created the dataset"
            },
            {
              "readOnly": true
            }
          ]
        },
        "customFields": {
          "allOf": [
            {
              "$ref": "#/$defs/CustomFields"
            }
          ],
          "description": "Custom field values of the dataset"
        },
        "dataFrameId": {
          "description": "ID of the data frame to link to this dataset",
          "type": "string"
        },
        "displayId": {
          "description": "User-friendly ID of the dataset",
          "readOnly": true,
          "type": "string"
        },
        "folderId": {
          "description": "ID of the folder that contains the dataset",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "modifiedAt": {
          "description": "Date and time the dataset was last modified",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "description": "The user-facing name for this Dataset.",
          "type": "string"
        }
      },
      "type": "object"
    }
  ],
  "$defs": {
    "ArchiveRecord": {
      "properties": {
        "reason": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "CustomField": {
      "properties": {
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "CustomFields": {
      "additionalProperties": {
        "$ref": "#/$defs/CustomField"
      },
      "type": "object"
    },
    "PartySummary": {
      "properties": {
        "handle": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "UserSummary": {
      "allOf": [
        {
          "$ref": "#/$defs/PartySummary"
        },
        {}
      ]
    }
  }
}