{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-sample-dataset-status-schema.json",
  "title": "SampleDatasetStatus",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-clusters-api-openapi.yml#/components/schemas/SampleDatasetStatus",
  "properties": {
    "_id": {
      "description": "Unique 24-hexadecimal character string that identifies this sample dataset.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "clusterName": {
      "description": "Human-readable label that identifies the cluster into which you loaded the sample dataset.",
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]*$",
      "readOnly": true,
      "type": "string"
    },
    "completeDate": {
      "description": "Date and time when the sample dataset load job completed. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "createDate": {
      "description": "Date and time when you started the sample dataset load job. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "errorMessage": {
      "description": "Details of the error returned when MongoDB Cloud loads the sample dataset. This endpoint returns null if state has a value other than FAILED.",
      "readOnly": true,
      "type": "string"
    },
    "state": {
      "description": "Status of the sample dataset load job.",
      "enum": [
        "WORKING",
        "FAILED",
        "COMPLETED"
      ],
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}