{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-modelbiasjobdefinition.json",
  "title": "AWSSageMakerModelBiasJobDefinitionProperties",
  "description": "Resource Type definition for AWS::SageMaker::ModelBiasJobDefinition. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-sagemaker-modelbiasjobdefinition.json",
    "sourceSha256": "8d5fa441d5ae6e844ce5784b4e01d7260087bfce517ecceaeb65fedfcf6eef73"
  },
  "type": "object",
  "properties": {
    "JobDefinitionName": {
      "$ref": "#/$defs/JobDefinitionName"
    },
    "ModelBiasBaselineConfig": {
      "$ref": "#/$defs/ModelBiasBaselineConfig"
    },
    "ModelBiasAppSpecification": {
      "$ref": "#/$defs/ModelBiasAppSpecification"
    },
    "ModelBiasJobInput": {
      "$ref": "#/$defs/ModelBiasJobInput"
    },
    "ModelBiasJobOutputConfig": {
      "$ref": "#/$defs/MonitoringOutputConfig"
    },
    "JobResources": {
      "$ref": "#/$defs/MonitoringResources"
    },
    "NetworkConfig": {
      "$ref": "#/$defs/NetworkConfig"
    },
    "EndpointName": {
      "$ref": "#/$defs/EndpointName"
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$",
          "minLength": 20,
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf."
    },
    "StoppingCondition": {
      "$ref": "#/$defs/StoppingCondition"
    },
    "Tags": {
      "type": "array",
      "maxItems": 50,
      "description": "An array of key-value pairs to apply to this resource.",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::SageMaker::ModelBiasJobDefinition",
  "createOnlyProperties": [
    "/properties/JobDefinitionName",
    "/properties/ModelBiasAppSpecification",
    "/properties/ModelBiasBaselineConfig",
    "/properties/ModelBiasJobInput",
    "/properties/ModelBiasJobOutputConfig",
    "/properties/JobResources",
    "/properties/NetworkConfig",
    "/properties/RoleArn",
    "/properties/StoppingCondition",
    "/properties/Tags"
  ],
  "$defs": {
    "ModelBiasBaselineConfig": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionModelBiasBaselineConfigDefinition",
      "description": "Baseline configuration used to validate that the data conforms to the specified constraints and statistics.",
      "properties": {
        "BaseliningJobName": {
          "$ref": "#/$defs/ProcessingJobName"
        },
        "ConstraintsResource": {
          "$ref": "#/$defs/ConstraintsResource"
        }
      },
      "additionalProperties": false
    },
    "ConstraintsResource": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionConstraintsResourceDefinition",
      "description": "The baseline constraints resource for a monitoring job.",
      "properties": {
        "S3Uri": {
          "description": "The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against.",
          "$ref": "#/$defs/S3Uri"
        }
      },
      "additionalProperties": false
    },
    "S3Uri": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^(https|s3)://([^/]+)/?(.*)$",
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon S3 URI.",
      "title": "AWSSageMakerModelBiasJobDefinitionS3UriDefinition"
    },
    "ModelBiasAppSpecification": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionModelBiasAppSpecificationDefinition",
      "description": "Container image configuration object for the monitoring job.",
      "properties": {
        "ImageUri": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*",
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The container image to be run by the monitoring job."
        },
        "ConfigUri": {
          "description": "The S3 URI to an analysis configuration file",
          "$ref": "#/$defs/S3Uri"
        },
        "Environment": {
          "type": "object",
          "additionalProperties": false,
          "description": "Sets the environment variables in the Docker container",
          "patternProperties": {
            "[a-zA-Z_][a-zA-Z0-9_]*": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "[\\S\\s]*": {
              "type": "string",
              "maxLength": 256
            }
          }
        }
      },
      "required": [
        "ImageUri",
        "ConfigUri"
      ],
      "additionalProperties": false
    },
    "ModelBiasJobInput": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionModelBiasJobInputDefinition",
      "description": "The inputs for a monitoring job.",
      "properties": {
        "EndpointInput": {
          "$ref": "#/$defs/EndpointInput"
        },
        "BatchTransformInput": {
          "$ref": "#/$defs/BatchTransformInput"
        },
        "GroundTruthS3Input": {
          "$ref": "#/$defs/MonitoringGroundTruthS3Input"
        }
      },
      "required": [
        "GroundTruthS3Input"
      ],
      "additionalProperties": false
    },
    "EndpointInput": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionEndpointInputDefinition",
      "description": "The endpoint for a monitoring job.",
      "properties": {
        "EndpointName": {
          "$ref": "#/$defs/EndpointName"
        },
        "LocalPath": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Path to the filesystem where the endpoint data is available to the container."
        },
        "S3DataDistributionType": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "FullyReplicated",
                "ShardedByS3Key"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated"
        },
        "S3InputMode": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Pipe",
                "File"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File."
        },
        "StartTimeOffset": {
          "description": "Monitoring start time offset, e.g. -PT1H",
          "$ref": "#/$defs/MonitoringTimeOffsetString"
        },
        "EndTimeOffset": {
          "description": "Monitoring end time offset, e.g. PT0H",
          "$ref": "#/$defs/MonitoringTimeOffsetString"
        },
        "FeaturesAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "JSONpath to locate features in JSONlines dataset"
        },
        "InferenceAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Index or JSONpath to locate predicted label(s)"
        },
        "ProbabilityAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Index or JSONpath to locate probabilities"
        },
        "ProbabilityThresholdAttribute": {
          "type": "number",
          "format": "double"
        }
      },
      "required": [
        "EndpointName",
        "LocalPath"
      ],
      "additionalProperties": false
    },
    "BatchTransformInput": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionBatchTransformInputDefinition",
      "description": "The batch transform input for a monitoring job.",
      "properties": {
        "DataCapturedDestinationS3Uri": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(https|s3)://([^/]+)/?(.*)$",
              "maxLength": 512
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data."
        },
        "DatasetFormat": {
          "$ref": "#/$defs/DatasetFormat"
        },
        "LocalPath": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Path to the filesystem where the endpoint data is available to the container."
        },
        "S3DataDistributionType": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "FullyReplicated",
                "ShardedByS3Key"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated"
        },
        "S3InputMode": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Pipe",
                "File"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File."
        },
        "StartTimeOffset": {
          "description": "Monitoring start time offset, e.g. -PT1H",
          "$ref": "#/$defs/MonitoringTimeOffsetString"
        },
        "EndTimeOffset": {
          "description": "Monitoring end time offset, e.g. PT0H",
          "$ref": "#/$defs/MonitoringTimeOffsetString"
        },
        "FeaturesAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "JSONpath to locate features in JSONlines dataset"
        },
        "InferenceAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Index or JSONpath to locate predicted label(s)"
        },
        "ProbabilityAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Index or JSONpath to locate probabilities"
        },
        "ProbabilityThresholdAttribute": {
          "type": "number",
          "format": "double"
        }
      },
      "required": [
        "DataCapturedDestinationS3Uri",
        "DatasetFormat",
        "LocalPath"
      ],
      "additionalProperties": false
    },
    "MonitoringOutputConfig": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionMonitoringOutputConfigDefinition",
      "description": "The output configuration for monitoring jobs.",
      "properties": {
        "KmsKeyId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption."
        },
        "MonitoringOutputs": {
          "type": "array",
          "description": "Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.",
          "minLength": 1,
          "maxLength": 1,
          "items": {
            "$ref": "#/$defs/MonitoringOutput"
          }
        }
      },
      "required": [
        "MonitoringOutputs"
      ],
      "additionalProperties": false
    },
    "MonitoringOutput": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionMonitoringOutputDefinition",
      "description": "The output object for a monitoring job.",
      "properties": {
        "S3Output": {
          "$ref": "#/$defs/S3Output"
        }
      },
      "required": [
        "S3Output"
      ],
      "additionalProperties": false
    },
    "S3Output": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionS3OutputDefinition",
      "description": "Information about where and how to store the results of a monitoring job.",
      "properties": {
        "LocalPath": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data."
        },
        "S3UploadMode": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Continuous",
                "EndOfJob"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Whether to upload the results of the monitoring job continuously or after the job completes."
        },
        "S3Uri": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(https|s3)://([^/]+)/?(.*)$",
              "maxLength": 512
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job."
        }
      },
      "required": [
        "LocalPath",
        "S3Uri"
      ],
      "additionalProperties": false
    },
    "MonitoringResources": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionMonitoringResourcesDefinition",
      "description": "Identifies the resources to deploy for a monitoring job.",
      "properties": {
        "ClusterConfig": {
          "$ref": "#/$defs/ClusterConfig"
        }
      },
      "required": [
        "ClusterConfig"
      ],
      "additionalProperties": false
    },
    "ClusterConfig": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionClusterConfigDefinition",
      "description": "Configuration for the cluster used to run model monitoring jobs.",
      "properties": {
        "InstanceCount": {
          "description": "The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.",
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "InstanceType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ML compute instance type for the processing job."
        },
        "VolumeKmsKeyId": {
          "oneOf": [
            {
              "type": "string",
              "minimum": 1,
              "maximum": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job."
        },
        "VolumeSizeInGB": {
          "description": "The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.",
          "type": "integer",
          "minimum": 1,
          "maximum": 16384
        }
      },
      "required": [
        "InstanceCount",
        "InstanceType",
        "VolumeSizeInGB"
      ],
      "additionalProperties": false
    },
    "NetworkConfig": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionNetworkConfigDefinition",
      "description": "Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.",
      "properties": {
        "EnableInterContainerTrafficEncryption": {
          "description": "Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.",
          "type": "boolean"
        },
        "EnableNetworkIsolation": {
          "description": "Whether to allow inbound and outbound network calls to and from the containers used for the processing job.",
          "type": "boolean"
        },
        "VpcConfig": {
          "$ref": "#/$defs/VpcConfig"
        }
      },
      "additionalProperties": false
    },
    "VpcConfig": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionVpcConfigDefinition",
      "description": "Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC.",
      "properties": {
        "SecurityGroupIds": {
          "description": "The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.",
          "type": "array",
          "minItems": 1,
          "maxItems": 5,
          "items": {
            "type": "string",
            "maxLength": 32,
            "pattern": "[-0-9a-zA-Z]+"
          }
        },
        "Subnets": {
          "description": "The ID of the subnets in the VPC to which you want to connect to your monitoring jobs.",
          "type": "array",
          "minItems": 1,
          "maxItems": 16,
          "items": {
            "type": "string",
            "maxLength": 32,
            "pattern": "[-0-9a-zA-Z]+"
          }
        }
      },
      "required": [
        "SecurityGroupIds",
        "Subnets"
      ],
      "additionalProperties": false
    },
    "StoppingCondition": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionStoppingConditionDefinition",
      "description": "Specifies a time limit for how long the monitoring job is allowed to run.",
      "properties": {
        "MaxRuntimeInSeconds": {
          "description": "The maximum runtime allowed in seconds.",
          "type": "integer",
          "minimum": 1,
          "maximum": 86400
        }
      },
      "required": [
        "MaxRuntimeInSeconds"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$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 127 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",
              "maxLength": 256,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$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 1 to 255 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"
      ],
      "additionalProperties": false
    },
    "EndpointName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*",
          "maxLength": 63
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the endpoint used to run the monitoring job.",
      "title": "AWSSageMakerModelBiasJobDefinitionEndpointNameDefinition"
    },
    "JobDefinitionName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "maxLength": 63
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the job definition.",
      "title": "AWSSageMakerModelBiasJobDefinitionJobDefinitionNameDefinition"
    },
    "ProcessingJobName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "minLength": 1,
          "maxLength": 63
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of a processing job",
      "title": "AWSSageMakerModelBiasJobDefinitionProcessingJobNameDefinition"
    },
    "MonitoringTimeOffsetString": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^.?P.*",
          "minLength": 1,
          "maxLength": 15
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The time offsets in ISO duration format",
      "title": "AWSSageMakerModelBiasJobDefinitionMonitoringTimeOffsetStringDefinition"
    },
    "MonitoringGroundTruthS3Input": {
      "type": "object",
      "title": "AWSSageMakerModelBiasJobDefinitionMonitoringGroundTruthS3InputDefinition",
      "description": "Ground truth input provided in S3 ",
      "properties": {
        "S3Uri": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(https|s3)://([^/]+)/?(.*)$",
              "maxLength": 512
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job."
        }
      },
      "required": [
        "S3Uri"
      ],
      "additionalProperties": false
    },
    "DatasetFormat": {
      "description": "The dataset format of the data to monitor",
      "type": "object",
      "properties": {
        "Csv": {
          "$ref": "#/$defs/Csv"
        },
        "Json": {
          "$ref": "#/$defs/Json"
        },
        "Parquet": {
          "$ref": "#/$defs/Parquet"
        }
      },
      "title": "AWSSageMakerModelBiasJobDefinitionDatasetFormatDefinition"
    },
    "Csv": {
      "description": "The CSV format",
      "type": "object",
      "properties": {
        "Header": {
          "description": "A boolean flag indicating if given CSV has header",
          "type": "boolean"
        }
      },
      "title": "AWSSageMakerModelBiasJobDefinitionCsvDefinition"
    },
    "Json": {
      "description": "The Json format",
      "type": "object",
      "properties": {
        "Line": {
          "description": "A boolean flag indicating if it is JSON line format",
          "type": "boolean"
        }
      },
      "title": "AWSSageMakerModelBiasJobDefinitionJsonDefinition"
    },
    "Parquet": {
      "description": "A flag indicate if the dataset format is Parquet",
      "type": "boolean",
      "title": "AWSSageMakerModelBiasJobDefinitionParquetDefinition"
    }
  },
  "readOnlyProperties": [
    "/properties/CreationTime",
    "/properties/JobDefinitionArn"
  ],
  "additionalProperties": false,
  "required": [
    "ModelBiasAppSpecification",
    "ModelBiasJobInput",
    "ModelBiasJobOutputConfig",
    "JobResources",
    "RoleArn"
  ],
  "primaryIdentifier": [
    "/properties/JobDefinitionArn"
  ]
}
