{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-modelcard.json",
  "title": "AWSSageMakerModelCardProperties",
  "description": "Resource Type definition for AWS::SageMaker::ModelCard.. 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-modelcard.json",
    "sourceSha256": "dd286eca21aa80e4dc0315a8aad7be09263fbb6f316b424223dfc8959a547e74"
  },
  "type": "object",
  "properties": {
    "ModelCardName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 63,
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The unique name of the model card."
    },
    "SecurityConfig": {
      "$ref": "#/$defs/SecurityConfig"
    },
    "ModelCardStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "Draft",
            "PendingReview",
            "Approved",
            "Archived"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval."
    },
    "Content": {
      "$ref": "#/$defs/Content"
    },
    "CreatedBy": {
      "description": "Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.",
      "$ref": "#/$defs/UserContext"
    },
    "LastModifiedBy": {
      "description": "Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.",
      "$ref": "#/$defs/UserContext"
    },
    "Tags": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "description": "Key-value pairs used to manage metadata for model cards.",
      "insertionOrder": true,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::SageMaker::ModelCard",
  "createOnlyProperties": [
    "/properties/ModelCardName",
    "/properties/SecurityConfig"
  ],
  "$defs": {
    "SecurityConfig": {
      "type": "object",
      "description": "An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.\n\n",
      "title": "AWSSageMakerModelCardSecurityConfigDefinition",
      "properties": {
        "KmsKeyId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "pattern": ".*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A Key Management Service key ID to use for encrypting a model card."
        }
      },
      "additionalProperties": false
    },
    "UserContext": {
      "description": "Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.",
      "type": "object",
      "title": "AWSSageMakerModelCardUserContextDefinition",
      "properties": {
        "UserProfileArn": {
          "oneOf": [
            {
              "type": "string",
              "default": "UnsetValue"
            },
            {
              "$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 the user's profile."
        },
        "UserProfileName": {
          "oneOf": [
            {
              "type": "string",
              "default": "UnsetValue"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the user's profile."
        },
        "DomainId": {
          "oneOf": [
            {
              "type": "string",
              "default": "UnsetValue"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The domain associated with the user."
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSSageMakerModelCardTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The tag key. Tag keys must be unique per resource."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The tag value."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    },
    "Content": {
      "type": "object",
      "description": "The content of the model card.",
      "title": "AWSSageMakerModelCardContentDefinition",
      "properties": {
        "ModelOverview": {
          "$ref": "#/$defs/ModelOverview"
        },
        "ModelPackageDetails": {
          "$ref": "#/$defs/ModelPackageDetails"
        },
        "IntendedUses": {
          "$ref": "#/$defs/IntendedUses"
        },
        "BusinessDetails": {
          "$ref": "#/$defs/BusinessDetails"
        },
        "TrainingDetails": {
          "$ref": "#/$defs/TrainingDetails"
        },
        "EvaluationDetails": {
          "$ref": "#/$defs/EvaluationDetails"
        },
        "AdditionalInformation": {
          "$ref": "#/$defs/AdditionalInformation"
        }
      },
      "additionalProperties": false
    },
    "ModelOverview": {
      "type": "object",
      "description": "Overview about the model.",
      "title": "AWSSageMakerModelCardModelOverviewDefinition",
      "properties": {
        "ModelDescription": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "description of model."
        },
        "ModelOwner": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Owner of model."
        },
        "ModelCreator": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Creator of model."
        },
        "ProblemType": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Problem being solved with the model."
        },
        "AlgorithmType": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Algorithm used to solve the problem."
        },
        "ModelId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "SageMaker Model Arn or Non SageMaker Model id."
        },
        "ModelArtifact": {
          "description": "Location of the model artifact.",
          "type": "array",
          "insertionOrder": true,
          "maxItems": 15,
          "items": {
            "type": "string",
            "maxLength": 1024
          }
        },
        "ModelName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Name of the model."
        },
        "ModelVersion": {
          "description": "Version of the model.",
          "type": "number",
          "minimum": 1
        },
        "InferenceEnvironment": {
          "description": "Overview about the inference.",
          "type": "object",
          "properties": {
            "ContainerImage": {
              "description": "SageMaker inference image uri.",
              "type": "array",
              "insertionOrder": true,
              "maxItems": 15,
              "items": {
                "type": "string",
                "maxLength": 1024
              }
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "ModelPackageDetails": {
      "description": "Metadata information related to model package version",
      "type": "object",
      "title": "AWSSageMakerModelCardModelPackageDetailsDefinition",
      "properties": {
        "ModelPackageDescription": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A brief summary of the model package"
        },
        "ModelPackageArn": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "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 the model package"
        },
        "CreatedBy": {
          "description": "Information about the user who created model package.",
          "$ref": "#/$defs/ModelPackageCreator"
        },
        "ModelPackageStatus": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Pending",
                "InProgress",
                "Completed",
                "Failed",
                "Deleting"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Current status of model package"
        },
        "ModelApprovalStatus": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Approved",
                "Rejected",
                "PendingManualApproval"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Current approval status of model package"
        },
        "ApprovalDescription": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A description provided for the model approval"
        },
        "ModelPackageGroupName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 63
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "If the model is a versioned model, the name of the model group that the versioned model belongs to."
        },
        "ModelPackageName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 63
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Name of the model package"
        },
        "ModelPackageVersion": {
          "description": "Version of the model package",
          "type": "number",
          "minimum": 1
        },
        "Domain": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing."
        },
        "Task": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification."
        },
        "SourceAlgorithms": {
          "description": "A list of algorithms that were used to create a model package.",
          "$ref": "#/$defs/SourceAlgorithms"
        },
        "InferenceSpecification": {
          "description": "Details about inference jobs that can be run with models based on this model package.",
          "$ref": "#/$defs/InferenceSpecification"
        }
      },
      "additionalProperties": false
    },
    "IntendedUses": {
      "description": "Intended usage of model.",
      "type": "object",
      "title": "AWSSageMakerModelCardIntendedUsesDefinition",
      "properties": {
        "PurposeOfModel": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Why the model was developed?"
        },
        "IntendedUses": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "intended use cases."
        },
        "FactorsAffectingModelEfficiency": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RiskRating": {
          "$ref": "#/$defs/RiskRating"
        },
        "ExplanationsForRiskRating": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "BusinessDetails": {
      "description": "Business details.",
      "type": "object",
      "title": "AWSSageMakerModelCardBusinessDetailsDefinition",
      "properties": {
        "BusinessProblem": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "What business problem does the model solve?"
        },
        "BusinessStakeholders": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Business stakeholders."
        },
        "LineOfBusiness": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Line of business."
        }
      },
      "additionalProperties": false
    },
    "TrainingDetails": {
      "description": "Overview about the training.",
      "type": "object",
      "title": "AWSSageMakerModelCardTrainingDetailsDefinition",
      "properties": {
        "ObjectiveFunction": {
          "$ref": "#/$defs/ObjectiveFunction"
        },
        "TrainingObservations": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TrainingJobDetails": {
          "type": "object",
          "properties": {
            "TrainingArn": {
              "oneOf": [
                {
                  "type": "string",
                  "maxLength": 1024
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ],
              "description": "SageMaker Training job arn."
            },
            "TrainingDatasets": {
              "description": "Location of the model datasets.",
              "type": "array",
              "insertionOrder": true,
              "maxItems": 15,
              "items": {
                "type": "string",
                "maxLength": 1024
              }
            },
            "TrainingEnvironment": {
              "type": "object",
              "properties": {
                "ContainerImage": {
                  "description": "SageMaker training image uri.",
                  "type": "array",
                  "insertionOrder": true,
                  "maxItems": 15,
                  "items": {
                    "type": "string",
                    "maxLength": 1024
                  }
                }
              },
              "additionalProperties": false
            },
            "TrainingMetrics": {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "maxItems": 50,
                "$ref": "#/$defs/TrainingMetric"
              }
            },
            "UserProvidedTrainingMetrics": {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "maxItems": 50,
                "$ref": "#/$defs/TrainingMetric"
              }
            },
            "HyperParameters": {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "maxItems": 100,
                "$ref": "#/$defs/TrainingHyperParameter"
              }
            },
            "UserProvidedHyperParameters": {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "maxItems": 100,
                "$ref": "#/$defs/TrainingHyperParameter"
              }
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "EvaluationDetails": {
      "type": "array",
      "default": [],
      "insertionOrder": true,
      "items": {
        "$ref": "#/$defs/EvaluationDetail"
      },
      "title": "AWSSageMakerModelCardEvaluationDetailsDefinition"
    },
    "EvaluationDetail": {
      "description": "item of evaluation details",
      "type": "object",
      "required": [
        "Name"
      ],
      "title": "AWSSageMakerModelCardEvaluationDetailDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,63}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EvaluationObservation": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2096
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EvaluationJobArn": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Datasets": {
          "type": "array",
          "insertionOrder": true,
          "items": {
            "type": "string",
            "maxLength": 1024
          },
          "maxItems": 10
        },
        "Metadata": {
          "description": "additional attributes associated with the evaluation results.",
          "type": "object",
          "additionalProperties": false,
          "patternProperties": {
            "[a-zA-Z_][a-zA-Z0-9_]*": {
              "type": "string",
              "maxLength": 1024
            }
          }
        },
        "MetricGroups": {
          "type": "array",
          "insertionOrder": true,
          "default": [],
          "items": {
            "$ref": "#/$defs/MetricGroup"
          }
        }
      },
      "additionalProperties": false
    },
    "MetricGroup": {
      "type": "object",
      "description": "item in metric groups",
      "title": "AWSSageMakerModelCardMetricGroupDefinition",
      "required": [
        "Name",
        "MetricData"
      ],
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,63}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "MetricData": {
          "type": "array",
          "insertionOrder": true,
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/SimpleMetric"
              },
              {
                "$ref": "#/$defs/LinearGraphMetric"
              },
              {
                "$ref": "#/$defs/BarChartMetric"
              },
              {
                "$ref": "#/$defs/MatrixMetric"
              }
            ]
          }
        }
      },
      "additionalProperties": false
    },
    "AdditionalInformation": {
      "type": "object",
      "title": "AWSSageMakerModelCardAdditionalInformationDefinition",
      "properties": {
        "EthicalConsiderations": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Any ethical considerations that the author wants to provide."
        },
        "CaveatsAndRecommendations": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Caveats and recommendations for people who might use this model in their applications."
        },
        "CustomDetails": {
          "type": "object",
          "description": "customer details.",
          "additionalProperties": false,
          "patternProperties": {
            "[a-zA-Z_][a-zA-Z0-9_]*": {
              "type": "string",
              "maxLength": 1024
            }
          }
        }
      },
      "additionalProperties": false
    },
    "ModelPackageCreator": {
      "type": "object",
      "title": "AWSSageMakerModelCardModelPackageCreatorDefinition",
      "properties": {
        "UserProfileName": {
          "oneOf": [
            {
              "type": "string",
              "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 user's profile in Studio"
        }
      },
      "additionalProperties": false
    },
    "SourceAlgorithms": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1,
      "insertionOrder": true,
      "items": {
        "$ref": "#/$defs/SourceAlgorithm"
      },
      "title": "AWSSageMakerModelCardSourceAlgorithmsDefinition"
    },
    "SourceAlgorithm": {
      "type": "object",
      "title": "AWSSageMakerModelCardSourceAlgorithmDefinition",
      "required": [
        "AlgorithmName"
      ],
      "properties": {
        "AlgorithmName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 170
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to."
        },
        "ModelDataUrl": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Amazon S3 path where the model artifacts, which result from model training, are stored."
        }
      },
      "additionalProperties": false
    },
    "InferenceSpecification": {
      "type": "object",
      "title": "AWSSageMakerModelCardInferenceSpecificationDefinition",
      "required": [
        "Containers"
      ],
      "properties": {
        "Containers": {
          "description": "Contains inference related information which were used to create model package.",
          "type": "array",
          "insertionOrder": true,
          "minItems": 1,
          "maxItems": 15,
          "items": {
            "$ref": "#/$defs/Container"
          }
        }
      },
      "additionalProperties": false
    },
    "Container": {
      "type": "object",
      "title": "AWSSageMakerModelCardContainerDefinition",
      "required": [
        "Image"
      ],
      "properties": {
        "ModelDataUrl": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Amazon S3 path where the model artifacts, which result from model training, are stored."
        },
        "Image": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Inference environment path. The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored."
        },
        "NearestModelName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model."
        }
      },
      "additionalProperties": false
    },
    "RiskRating": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "High",
            "Medium",
            "Low",
            "Unknown"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Risk rating of model.",
      "title": "AWSSageMakerModelCardRiskRatingDefinition"
    },
    "ObjectiveFunction": {
      "description": "the objective function the model will optimize for.",
      "type": "object",
      "title": "AWSSageMakerModelCardObjectiveFunctionDefinition",
      "properties": {
        "Function": {
          "description": "objective function that training job is optimized for.",
          "type": "object",
          "properties": {
            "Function": {
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "Maximize",
                    "Minimize"
                  ]
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ]
            },
            "Facet": {
              "oneOf": [
                {
                  "type": "string",
                  "maxLength": 63
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ]
            },
            "Condition": {
              "oneOf": [
                {
                  "type": "string",
                  "maxLength": 63
                },
                {
                  "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "TrainingMetric": {
      "description": "training metric data.",
      "type": "object",
      "required": [
        "Name",
        "Value"
      ],
      "title": "AWSSageMakerModelCardTrainingMetricDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "TrainingHyperParameter": {
      "description": "training hyper parameter",
      "type": "object",
      "required": [
        "Name",
        "Value"
      ],
      "title": "AWSSageMakerModelCardTrainingHyperParameterDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "LinearGraphMetric": {
      "description": "Linear graph metric.",
      "type": "object",
      "required": [
        "Name",
        "Type",
        "Value"
      ],
      "title": "AWSSageMakerModelCardLinearGraphMetricDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "linear_graph"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "anyOf": [
            {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "type": "array",
                "insertionOrder": true,
                "items": {
                  "type": "number"
                },
                "minItems": 2,
                "maxItems": 2
              },
              "minItems": 1
            }
          ]
        },
        "XAxisName": {
          "$ref": "#/$defs/AxisNameString"
        },
        "YAxisName": {
          "$ref": "#/$defs/AxisNameString"
        }
      },
      "additionalProperties": false
    },
    "BarChartMetric": {
      "type": "object",
      "required": [
        "Name",
        "Type",
        "Value"
      ],
      "title": "AWSSageMakerModelCardBarChartMetricDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "bar_chart"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "anyOf": [
            {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "type": "number"
              },
              "minItems": 1
            }
          ]
        },
        "XAxisName": {
          "$ref": "#/$defs/AxisNameArray"
        },
        "YAxisName": {
          "$ref": "#/$defs/AxisNameString"
        }
      },
      "additionalProperties": false
    },
    "MatrixMetric": {
      "type": "object",
      "required": [
        "Name",
        "Type",
        "Value"
      ],
      "title": "AWSSageMakerModelCardMatrixMetricDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "matrix"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "anyOf": [
            {
              "type": "array",
              "insertionOrder": true,
              "items": {
                "type": "array",
                "insertionOrder": true,
                "items": {
                  "type": "number"
                },
                "minItems": 1,
                "maxItems": 20
              },
              "minItems": 1,
              "maxItems": 20
            }
          ]
        },
        "XAxisName": {
          "$ref": "#/$defs/AxisNameArray"
        },
        "YAxisName": {
          "$ref": "#/$defs/AxisNameArray"
        }
      },
      "additionalProperties": false
    },
    "SimpleMetric": {
      "description": "metric data",
      "type": "object",
      "required": [
        "Name",
        "Type",
        "Value"
      ],
      "title": "AWSSageMakerModelCardSimpleMetricDefinition",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".{1,255}"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Notes": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "number",
                "string",
                "boolean"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string",
              "maxLength": 63
            },
            {
              "type": "boolean"
            }
          ]
        },
        "XAxisName": {
          "$ref": "#/$defs/AxisNameString"
        },
        "YAxisName": {
          "$ref": "#/$defs/AxisNameString"
        }
      },
      "additionalProperties": false
    },
    "AxisNameString": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 63
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSSageMakerModelCardAxisNameStringDefinition"
    },
    "AxisNameArray": {
      "type": "array",
      "insertionOrder": true,
      "items": {
        "type": "string",
        "maxLength": 63
      },
      "title": "AWSSageMakerModelCardAxisNameArrayDefinition"
    }
  },
  "primaryIdentifier": [
    "/properties/ModelCardName"
  ],
  "additionalProperties": false,
  "required": [
    "ModelCardName",
    "Content",
    "ModelCardStatus"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "readOnlyProperties": [
    "/properties/ModelCardArn",
    "/properties/ModelCardVersion",
    "/properties/CreatedBy/DomainId",
    "/properties/CreatedBy/UserProfileArn",
    "/properties/CreatedBy/UserProfileName",
    "/properties/LastModifiedBy/DomainId",
    "/properties/LastModifiedBy/UserProfileArn",
    "/properties/LastModifiedBy/UserProfileName",
    "/properties/CreationTime",
    "/properties/LastModifiedTime",
    "/properties/ModelCardProcessingStatus"
  ]
}
