{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthimaging/json-schema/amazon-healthimaging-create-datastore-request-schema.json",
  "title": "CreateDatastoreRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthimaging-datastore-api-openapi.yml#/components/schemas/CreateDatastoreRequest",
  "type": "object",
  "properties": {
    "datastoreName": {
      "type": "string",
      "description": "The data store name."
    },
    "clientToken": {
      "type": "string",
      "description": "A unique identifier for API idempotency."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags provided when creating a data store."
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data."
    },
    "lambdaAuthorizerArn": {
      "type": "string",
      "description": "The ARN of the authorizer's Lambda function."
    },
    "losslessStorageFormat": {
      "type": "string",
      "enum": [
        "HTJ2K",
        "JPEG_2000_LOSSLESS"
      ],
      "description": "The lossless storage format for the datastore."
    }
  },
  "required": [
    "clientToken"
  ]
}