{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-kinesisanalytics-application.json",
  "title": "AWSKinesisAnalyticsApplicationProperties",
  "description": "Resource Type definition for AWS::KinesisAnalytics::Application. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-kinesisanalytics-application.json",
    "sourceSha256": "1fb07fc1da761c35abd44a1db0526de9409e67f7e82b70635bdbec631ab8c8c0"
  },
  "type": "object",
  "properties": {
    "ApplicationName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Inputs": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Input"
      }
    },
    "ApplicationDescription": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ApplicationCode": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::KinesisAnalytics::Application",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "Input": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationInputDefinition",
      "properties": {
        "NamePrefix": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "InputSchema": {
          "$ref": "#/$defs/InputSchema"
        },
        "KinesisStreamsInput": {
          "$ref": "#/$defs/KinesisStreamsInput"
        },
        "KinesisFirehoseInput": {
          "$ref": "#/$defs/KinesisFirehoseInput"
        },
        "InputProcessingConfiguration": {
          "$ref": "#/$defs/InputProcessingConfiguration"
        },
        "InputParallelism": {
          "$ref": "#/$defs/InputParallelism"
        }
      },
      "required": [
        "NamePrefix",
        "InputSchema"
      ],
      "additionalProperties": false
    },
    "InputProcessingConfiguration": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationInputProcessingConfigurationDefinition",
      "properties": {
        "InputLambdaProcessor": {
          "$ref": "#/$defs/InputLambdaProcessor"
        }
      },
      "additionalProperties": false
    },
    "KinesisFirehoseInput": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationKinesisFirehoseInputDefinition",
      "properties": {
        "ResourceARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RoleARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ResourceARN",
        "RoleARN"
      ],
      "additionalProperties": false
    },
    "KinesisStreamsInput": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationKinesisStreamsInputDefinition",
      "properties": {
        "ResourceARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RoleARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ResourceARN",
        "RoleARN"
      ],
      "additionalProperties": false
    },
    "InputSchema": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationInputSchemaDefinition",
      "properties": {
        "RecordEncoding": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RecordColumns": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/RecordColumn"
          }
        },
        "RecordFormat": {
          "$ref": "#/$defs/RecordFormat"
        }
      },
      "required": [
        "RecordColumns",
        "RecordFormat"
      ],
      "additionalProperties": false
    },
    "InputParallelism": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationInputParallelismDefinition",
      "properties": {
        "Count": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "RecordColumn": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationRecordColumnDefinition",
      "properties": {
        "Mapping": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SqlType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "SqlType",
        "Name"
      ],
      "additionalProperties": false
    },
    "RecordFormat": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationRecordFormatDefinition",
      "properties": {
        "MappingParameters": {
          "$ref": "#/$defs/MappingParameters"
        },
        "RecordFormatType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "RecordFormatType"
      ],
      "additionalProperties": false
    },
    "InputLambdaProcessor": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationInputLambdaProcessorDefinition",
      "properties": {
        "ResourceARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RoleARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ResourceARN",
        "RoleARN"
      ],
      "additionalProperties": false
    },
    "MappingParameters": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationMappingParametersDefinition",
      "properties": {
        "JSONMappingParameters": {
          "$ref": "#/$defs/JSONMappingParameters"
        },
        "CSVMappingParameters": {
          "$ref": "#/$defs/CSVMappingParameters"
        }
      },
      "additionalProperties": false
    },
    "JSONMappingParameters": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationJSONMappingParametersDefinition",
      "properties": {
        "RecordRowPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "RecordRowPath"
      ],
      "additionalProperties": false
    },
    "CSVMappingParameters": {
      "type": "object",
      "title": "AWSKinesisAnalyticsApplicationCSVMappingParametersDefinition",
      "properties": {
        "RecordRowDelimiter": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RecordColumnDelimiter": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "RecordColumnDelimiter",
        "RecordRowDelimiter"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Inputs"
  ],
  "createOnlyProperties": [
    "/properties/ApplicationName"
  ]
}
