{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-dataset-response-schema.json",
  "title": "GetDatasetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-datasets-api-openapi.yml#/components/schemas/GetDatasetResponse",
  "type": "object",
  "properties": {
    "datasetArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the dataset."
    },
    "datasetId": {
      "type": "string",
      "description": "The unique identifier of the dataset."
    },
    "datasetVersion": {
      "type": "string",
      "description": "The resolved version: \"DRAFT\" (default) or the requested version number."
    },
    "datasetName": {
      "type": "string",
      "description": "The name of the dataset."
    },
    "description": {
      "type": "string",
      "description": "The description of the dataset."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "UPDATING",
        "DELETING",
        "ACTIVE",
        "CREATE_FAILED",
        "UPDATE_FAILED",
        "DELETE_FAILED"
      ],
      "description": "The current status of the dataset."
    },
    "draftStatus": {
      "type": "string",
      "enum": [
        "MODIFIED",
        "UNMODIFIED"
      ],
      "description": "Publish synchronization state. Only authoritative when status is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version."
    },
    "failureReason": {
      "type": "string",
      "description": "Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED. Describes the reason for the failure."
    },
    "schemaType": {
      "type": "string",
      "enum": [
        "AGENTCORE_EVALUATION_PREDEFINED_V1",
        "AGENTCORE_EVALUATION_SIMULATED_V1",
        "THIRD_PARTY_EVALUATION_V1"
      ],
      "description": "The schema type declared at create time. Immutable after creation."
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "KMS key ARN used for server-side encryption on service Amazon S3 writes, if configured."
    },
    "exampleCount": {
      "type": "integer",
      "description": "The number of examples in the DRAFT."
    },
    "downloadUrl": {
      "type": "string",
      "description": "Presigned Amazon S3 URL to download the consolidated dataset file for the resolved version. Expires after 5 minutes. Omitted if the file does not yet exist."
    },
    "downloadUrlExpiresAt": {
      "type": "string",
      "description": "Expiry timestamp for the download URL."
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the dataset was created."
    },
    "updatedAt": {
      "type": "string",
      "description": "The timestamp when the dataset was last updated."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags associated with the dataset."
    }
  },
  "required": [
    "datasetArn",
    "datasetId",
    "datasetVersion",
    "datasetName",
    "status",
    "schemaType",
    "exampleCount",
    "createdAt",
    "updatedAt"
  ]
}