{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-create-model-card-request-schema.json",
  "title": "CreateModelCardRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-model-card-api-openapi.yml#/components/schemas/CreateModelCardRequest",
  "type": "object",
  "properties": {
    "ModelCardName": {
      "type": "string",
      "description": "The unique name of the model card."
    },
    "SecurityConfig": {
      "$ref": "#/$defs/ModelCardSecurityConfig"
    },
    "Content": {
      "type": "string",
      "description": "The content of the model card. Content must be in model card JSON schema and provided as a string."
    },
    "ModelCardStatus": {
      "type": "string",
      "enum": [
        "Draft",
        "PendingReview",
        "Approved",
        "Archived"
      ],
      "description": "The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval. Draft: The model card is a work in progress. PendingReview: The model card is pending review. Approved: The model card is approved. Archived: The model card is archived. No more updates should be made to the model card, but it can still be exported."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Key-value pairs used to manage metadata for model cards."
    }
  },
  "required": [
    "ModelCardName",
    "Content",
    "ModelCardStatus"
  ],
  "$defs": {
    "ModelCardSecurityConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "A Key Management Service key ID to use for encrypting a model card."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Tag keys must be unique per resource."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}