{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-sagemaker/refs/heads/main/json-schema/amazon-sagemaker-model-schema.json",
  "title": "Model",
  "description": "Model schema from Amazon SageMaker API",
  "type": "object",
  "properties": {
    "ModelName": {
      "type": "string",
      "description": "The name of the model."
    },
    "ModelArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the model."
    },
    "PrimaryContainer": {
      "type": "object",
      "properties": {
        "Image": {
          "type": "string",
          "description": "The inference image URI."
        },
        "ModelDataUrl": {
          "type": "string",
          "description": "The S3 path where the model artifacts are stored."
        },
        "Environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Environment variables to set in the container."
        }
      }
    },
    "ExecutionRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp indicating when the model was created."
    }
  }
}