{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-evidently-project.json",
  "title": "AWSEvidentlyProjectProperties",
  "description": "Resource Type definition for AWS::Evidently::Project. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-evidently>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-evidently-project.json",
    "sourceSha256": "b521e27b63ce6a49383ceae27d4037ff5155d4f9182844f280912ea323b01fea"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "[-a-zA-Z0-9._]*",
          "minLength": 1,
          "maxLength": 127
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 160
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DataDelivery": {
      "$ref": "#/$defs/DataDeliveryObject"
    },
    "AppConfigResource": {
      "$ref": "#/$defs/AppConfigResourceObject"
    },
    "Tags": {
      "description": "An array of key-value pairs to apply to this resource.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Evidently::Project",
  "taggable": true,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-evidently",
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "additionalProperties": false,
  "$defs": {
    "DataDeliveryObject": {
      "type": "object",
      "description": "Destinations for data.",
      "properties": {
        "S3": {
          "$ref": "#/$defs/S3Destination"
        },
        "LogGroup": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[-a-zA-Z0-9._/]+$",
              "minLength": 1,
              "maxLength": 512
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "oneOf": [
        {
          "required": [
            "S3"
          ]
        },
        {
          "required": [
            "LogGroup"
          ]
        }
      ],
      "title": "AWSEvidentlyProjectDataDeliveryObjectDefinition",
      "additionalProperties": false
    },
    "S3Destination": {
      "type": "object",
      "properties": {
        "BucketName": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[a-z0-9][-a-z0-9]*[a-z0-9]$",
              "minLength": 3,
              "maxLength": 63
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Prefix": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[-a-zA-Z0-9!_.*'()/]*$",
              "minLength": 1,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "BucketName"
      ],
      "title": "AWSEvidentlyProjectS3DestinationDefinition",
      "additionalProperties": false
    },
    "AppConfigResourceObject": {
      "type": "object",
      "properties": {
        "ApplicationId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "[a-z0-9]{4,7}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EnvironmentId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "[a-z0-9]{4,7}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ApplicationId",
        "EnvironmentId"
      ],
      "title": "AWSEvidentlyProjectAppConfigResourceObjectDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSEvidentlyProjectTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/Name"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ]
}
