{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthomics/json-schema/amazon-healthomics-create-annotation-store-response-schema.json",
  "title": "CreateAnnotationStoreResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthomics-annotation-store-api-openapi.yml#/components/schemas/CreateAnnotationStoreResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The store's ID."
    },
    "reference": {
      "$ref": "#/$defs/ReferenceItem"
    },
    "storeFormat": {
      "type": "string",
      "description": "The annotation file format of the store."
    },
    "storeOptions": {
      "$ref": "#/$defs/StoreOptions"
    },
    "status": {
      "type": "string",
      "description": "The store's status."
    },
    "name": {
      "type": "string",
      "description": "The store's name."
    },
    "versionName": {
      "type": "string",
      "description": "The name given to an annotation store version to distinguish it from other versions."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the store was created."
    }
  },
  "required": [
    "id",
    "status",
    "name",
    "versionName",
    "creationTime"
  ],
  "$defs": {
    "ReferenceItem": {
      "type": "object",
      "properties": {
        "referenceArn": {
          "type": "string",
          "description": "The reference's ARN."
        }
      },
      "description": "Exactly one member is set."
    },
    "StoreOptions": {
      "type": "object",
      "properties": {
        "tsvStoreOptions": {
          "$ref": "#/$defs/TsvStoreOptions"
        }
      },
      "description": "Exactly one member is set."
    },
    "TsvStoreOptions": {
      "type": "object",
      "properties": {
        "annotationType": {
          "type": "string",
          "description": "The store's annotation type."
        },
        "formatToHeader": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The store's header key to column name mapping."
        },
        "schema": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": "The store's schema."
        }
      }
    }
  }
}