{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-omics-annotationstore.json",
  "title": "AWSOmicsAnnotationStoreProperties",
  "description": "Definition of AWS::Omics::AnnotationStore Resource Type. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-omics-annotationstore.json",
    "sourceSha256": "6c63a7e2c86effa5cbae1a55371751fd184be09a3a36b225ef68b2d4f325b419"
  },
  "type": "object",
  "properties": {
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 0
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^([a-z]){1}([a-z0-9_]){2,254}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Reference": {
      "$ref": "#/$defs/ReferenceItem"
    },
    "SseConfig": {
      "$ref": "#/$defs/SseConfig"
    },
    "StoreFormat": {
      "$ref": "#/$defs/StoreFormat"
    },
    "StoreOptions": {
      "$ref": "#/$defs/StoreOptions"
    },
    "Tags": {
      "$ref": "#/$defs/TagMap"
    }
  },
  "typeName": "AWS::Omics::AnnotationStore",
  "$defs": {
    "AnnotationType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "GENERIC",
            "CHR_POS",
            "CHR_POS_REF_ALT",
            "CHR_START_END_ONE_BASE",
            "CHR_START_END_REF_ALT_ONE_BASE",
            "CHR_START_END_ZERO_BASE",
            "CHR_START_END_REF_ALT_ZERO_BASE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreAnnotationTypeDefinition"
    },
    "EncryptionType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "KMS"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreEncryptionTypeDefinition"
    },
    "FormatToHeader": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSOmicsAnnotationStoreFormatToHeaderDefinition",
      "patternProperties": {
        ".+": {
          "type": "string",
          "maxLength": 1000,
          "minLength": 0
        }
      }
    },
    "FormatToHeaderKey": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CHR",
            "START",
            "END",
            "REF",
            "ALT",
            "POS"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreFormatToHeaderKeyDefinition"
    },
    "ReferenceItem": {
      "type": "object",
      "properties": {
        "ReferenceArn": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 127,
              "minLength": 1,
              "pattern": "^arn:.+$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ReferenceArn"
      ],
      "title": "AWSOmicsAnnotationStoreReferenceItemDefinition",
      "additionalProperties": false
    },
    "SchemaItem": {
      "type": "object",
      "maxProperties": 1,
      "minProperties": 1,
      "additionalProperties": false,
      "title": "AWSOmicsAnnotationStoreSchemaItemDefinition",
      "patternProperties": {
        "^[a-z0-9_]{1,255}$": {
          "$ref": "#/$defs/SchemaValueType"
        }
      }
    },
    "SchemaValueType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "LONG",
            "INT",
            "STRING",
            "FLOAT",
            "DOUBLE",
            "BOOLEAN"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreSchemaValueTypeDefinition"
    },
    "SseConfig": {
      "type": "object",
      "properties": {
        "Type": {
          "$ref": "#/$defs/EncryptionType"
        },
        "KeyArn": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 20,
              "pattern": "arn:([^:\n]*):([^:\n]*):([^:\n]*):([0-9]{12}):([^:\n]*)"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Type"
      ],
      "title": "AWSOmicsAnnotationStoreSseConfigDefinition",
      "additionalProperties": false
    },
    "StoreFormat": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "GFF",
            "TSV",
            "VCF"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreStoreFormatDefinition"
    },
    "StoreOptions": {
      "oneOf": [
        {
          "type": "object",
          "title": "TsvStoreOptions",
          "properties": {
            "TsvStoreOptions": {
              "$ref": "#/$defs/TsvStoreOptions"
            }
          },
          "required": [
            "TsvStoreOptions"
          ],
          "additionalProperties": false
        }
      ],
      "title": "AWSOmicsAnnotationStoreStoreOptionsDefinition"
    },
    "StoreStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CREATING",
            "UPDATING",
            "DELETING",
            "ACTIVE",
            "FAILED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSOmicsAnnotationStoreStoreStatusDefinition"
    },
    "TagMap": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSOmicsAnnotationStoreTagMapDefinition",
      "patternProperties": {
        ".+": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        }
      }
    },
    "TsvStoreOptions": {
      "type": "object",
      "properties": {
        "AnnotationType": {
          "$ref": "#/$defs/AnnotationType"
        },
        "FormatToHeader": {
          "$ref": "#/$defs/FormatToHeader"
        },
        "Schema": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SchemaItem"
          },
          "maxItems": 5000,
          "minItems": 1,
          "insertionOrder": false
        }
      },
      "title": "AWSOmicsAnnotationStoreTsvStoreOptionsDefinition",
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true
  },
  "required": [
    "Name",
    "StoreFormat"
  ],
  "readOnlyProperties": [
    "/properties/CreationTime",
    "/properties/Id",
    "/properties/Status",
    "/properties/StatusMessage",
    "/properties/StoreArn",
    "/properties/StoreSizeBytes",
    "/properties/UpdateTime"
  ],
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/Reference",
    "/properties/SseConfig",
    "/properties/StoreFormat",
    "/properties/StoreOptions",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/Name"
  ]
}
