{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-quicksight-refreshschedule.json",
  "title": "AWSQuickSightRefreshScheduleProperties",
  "description": "Definition of the AWS::QuickSight::RefreshSchedule 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-quicksight-refreshschedule.json",
    "sourceSha256": "89e9fef7f52d943a19217283bd7c784ee0a361fef469a7171567b062ab7b0cfa"
  },
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 12,
          "minLength": 12,
          "pattern": "^[0-9]{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DataSetId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Schedule": {
      "$ref": "#/$defs/RefreshScheduleMap"
    }
  },
  "typeName": "AWS::QuickSight::RefreshSchedule",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/AwsAccountId",
    "/properties/DataSetId",
    "/properties/Schedule/ScheduleId"
  ],
  "$defs": {
    "RefreshScheduleMap": {
      "type": "object",
      "properties": {
        "ScheduleId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>An unique identifier for the refresh schedule.</p>"
        },
        "ScheduleFrequency": {
          "type": "object",
          "description": "<p>Information about the schedule frequency.</p>",
          "properties": {
            "Interval": {
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "MINUTE15",
                    "MINUTE30",
                    "HOURLY",
                    "DAILY",
                    "WEEKLY",
                    "MONTHLY"
                  ]
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ]
            },
            "RefreshOnDay": {
              "type": "object",
              "description": "<p>The day scheduled for refresh.</p>",
              "properties": {
                "DayOfWeek": {
                  "oneOf": [
                    {
                      "type": "string",
                      "enum": [
                        "SUNDAY",
                        "MONDAY",
                        "TUESDAY",
                        "WEDNESDAY",
                        "THURSDAY",
                        "FRIDAY",
                        "SATURDAY"
                      ]
                    },
                    {
                      "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                    }
                  ]
                },
                "DayOfMonth": {
                  "oneOf": [
                    {
                      "type": "string",
                      "maxLength": 128,
                      "minLength": 1
                    },
                    {
                      "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                    }
                  ],
                  "description": "<p>The Day Of Month for scheduled refresh.</p>"
                }
              },
              "required": [],
              "additionalProperties": false
            },
            "TimeZone": {
              "oneOf": [
                {
                  "type": "string",
                  "maxLength": 128,
                  "minLength": 1
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ],
              "description": "<p>The timezone for scheduled refresh.</p>"
            },
            "TimeOfTheDay": {
              "oneOf": [
                {
                  "type": "string",
                  "maxLength": 128,
                  "minLength": 1
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ],
              "description": "<p>The time of the day for scheduled refresh.</p>"
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "StartAfterDateTime": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The date time after which refresh is to be scheduled</p>"
        },
        "RefreshType": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "FULL_REFRESH",
                "INCREMENTAL_REFRESH"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSQuickSightRefreshScheduleRefreshScheduleMapDefinition",
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [],
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "createOnlyProperties": [
    "/properties/AwsAccountId",
    "/properties/DataSetId",
    "/properties/Schedule/ScheduleId"
  ]
}
