{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-feature-group-response-schema.json",
  "title": "DescribeFeatureGroupResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-feature-group-api-openapi.yml#/components/schemas/DescribeFeatureGroupResponse",
  "type": "object",
  "properties": {
    "FeatureGroupArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the FeatureGroup."
    },
    "FeatureGroupName": {
      "type": "string",
      "description": "he name of the FeatureGroup."
    },
    "RecordIdentifierFeatureName": {
      "type": "string",
      "description": "The name of the Feature used for RecordIdentifier, whose value uniquely identifies a record stored in the feature store."
    },
    "EventTimeFeatureName": {
      "type": "string",
      "description": "The name of the feature that stores the EventTime of a Record in a FeatureGroup. An EventTime is a point in time when a new event occurs that corresponds to the creation or update of a Record in a FeatureGroup. All Records in the FeatureGroup have a corresponding EventTime."
    },
    "FeatureDefinitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FeatureDefinition"
      },
      "description": "A list of the Features in the FeatureGroup. Each feature is defined by a FeatureName and FeatureType."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp indicating when SageMaker created the FeatureGroup."
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp indicating when the feature group was last updated."
    },
    "OnlineStoreConfig": {
      "$ref": "#/$defs/OnlineStoreConfig"
    },
    "OfflineStoreConfig": {
      "$ref": "#/$defs/OfflineStoreConfig"
    },
    "ThroughputConfig": {
      "$ref": "#/$defs/ThroughputConfigDescription"
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided."
    },
    "FeatureGroupStatus": {
      "type": "string",
      "enum": [
        "Creating",
        "Created",
        "CreateFailed",
        "Deleting",
        "DeleteFailed"
      ],
      "description": "The status of the feature group."
    },
    "OfflineStoreStatus": {
      "$ref": "#/$defs/OfflineStoreStatus"
    },
    "LastUpdateStatus": {
      "$ref": "#/$defs/LastUpdateStatus"
    },
    "FailureReason": {
      "type": "string",
      "description": "The reason that the FeatureGroup failed to be replicated in the OfflineStore. This is failure can occur because: The FeatureGroup could not be created in the OfflineStore. The FeatureGroup could not be deleted from the OfflineStore."
    },
    "Description": {
      "type": "string",
      "description": "A free form description of the feature group."
    },
    "NextToken": {
      "type": "string",
      "description": "A token to resume pagination of the list of Features (FeatureDefinitions)."
    },
    "OnlineStoreTotalSizeBytes": {
      "type": "integer",
      "description": "The size of the OnlineStore in bytes."
    }
  },
  "required": [
    "FeatureGroupArn",
    "FeatureGroupName",
    "RecordIdentifierFeatureName",
    "EventTimeFeatureName",
    "FeatureDefinitions",
    "CreationTime",
    "NextToken"
  ],
  "$defs": {
    "CollectionConfig": {
      "type": "object",
      "properties": {
        "VectorConfig": {
          "$ref": "#/$defs/VectorConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "DataCatalogConfig": {
      "type": "object",
      "properties": {
        "TableName": {
          "type": "string",
          "description": "The name of the Glue table."
        },
        "Catalog": {
          "type": "string",
          "description": "The name of the Glue table catalog."
        },
        "Database": {
          "type": "string",
          "description": "The name of the Glue table database."
        }
      },
      "required": [
        "TableName",
        "Catalog",
        "Database"
      ]
    },
    "FeatureDefinition": {
      "type": "object",
      "properties": {
        "FeatureName": {
          "type": "string",
          "description": "The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time. The name: Must start with an alphanumeric character. Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed."
        },
        "FeatureType": {
          "type": "string",
          "enum": [
            "Integral",
            "Fractional",
            "String"
          ],
          "description": "The value type of a feature. Valid values are Integral, Fractional, or String."
        },
        "CollectionType": {
          "type": "string",
          "enum": [
            "List",
            "Set",
            "Vector"
          ],
          "description": "A grouping of elements where each element within the collection must have the same feature type (String, Integral, or Fractional). List: An ordered collection of elements. Set: An unordered collection of unique elements. Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types."
        },
        "CollectionConfig": {
          "$ref": "#/$defs/CollectionConfig"
        }
      },
      "required": [
        "FeatureName",
        "FeatureType"
      ]
    },
    "LastUpdateStatus": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "Successful",
            "Failed",
            "InProgress"
          ],
          "description": "A value that indicates whether the update was made successful."
        },
        "FailureReason": {
          "type": "string",
          "description": "If the update wasn't successful, indicates the reason why it failed."
        }
      },
      "required": [
        "Status"
      ]
    },
    "OfflineStoreConfig": {
      "type": "object",
      "properties": {
        "S3StorageConfig": {
          "$ref": "#/$defs/S3StorageConfig"
        },
        "DisableGlueTableCreation": {
          "type": "boolean",
          "description": "Set to True to disable the automatic creation of an Amazon Web Services Glue table when configuring an OfflineStore. If set to True and DataCatalogConfig is provided, Feature Store associates the provided catalog configuration with the feature group without creating a table. In this case, you are responsible for creating and managing the Glue table. If set to True without DataCatalogConfig, no Glue table is created or associated with the feature group. The Iceberg table format is only supported when this is set to False. If set to False and DataCatalogConfig is provided, Feature Store creates "
        },
        "DataCatalogConfig": {
          "$ref": "#/$defs/DataCatalogConfig"
        },
        "TableFormat": {
          "type": "string",
          "enum": [
            "Default",
            "Glue",
            "Iceberg"
          ],
          "description": "Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg."
        }
      },
      "required": [
        "S3StorageConfig"
      ]
    },
    "OfflineStoreStatus": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "Active",
            "Blocked",
            "Disabled"
          ],
          "description": "An OfflineStore status."
        },
        "BlockedReason": {
          "type": "string",
          "description": "The justification for why the OfflineStoreStatus is Blocked (if applicable)."
        }
      },
      "required": [
        "Status"
      ]
    },
    "OnlineStoreConfig": {
      "type": "object",
      "properties": {
        "SecurityConfig": {
          "$ref": "#/$defs/OnlineStoreSecurityConfig"
        },
        "EnableOnlineStore": {
          "type": "boolean",
          "description": "Turn OnlineStore off by specifying False for the EnableOnlineStore flag. Turn OnlineStore on by specifying True for the EnableOnlineStore flag. The default value is False."
        },
        "TtlDuration": {
          "$ref": "#/$defs/TtlDuration"
        },
        "StorageType": {
          "type": "string",
          "enum": [
            "Standard",
            "Standard_V2",
            "InMemory"
          ],
          "description": "Option for different tiers of low latency storage for real-time data retrieval. Standard: A managed low latency data store for feature groups. Standard_V2: A managed low latency data store for feature groups that supports partial updates to individual features using the UpdateRecord operation. Choose this storage type at feature group creation time if your use case requires updating specific feature values without rewriting the entire record. InMemory: A managed data store for feature groups that supports very low latency retrieval."
        }
      }
    },
    "OnlineStoreSecurityConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption. The caller (either user or IAM role) of CreateFeatureGroup must have below permissions to the OnlineStore KmsKeyId: \"kms:Encrypt\" \"kms:Decrypt\" \"kms:DescribeKey\" \"kms:CreateGrant\" \"kms:RetireGrant\" \"kms:ReEncryptFrom\" \"kms:ReEncryptTo\" \"kms:GenerateDataKey\" \"kms:ListAliases\" \"kms:ListGrants\" \"kms:RevokeGrant\" The caller (either user or IAM role) to all DataPlane operations (PutRecord, GetRecord, DeleteRecord) must have t"
        }
      }
    },
    "S3StorageConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The S3 URI, or location in Amazon S3, of OfflineStore. S3 URIs have a format similar to the following: s3://example-bucket/prefix/."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the OfflineStore S3 location. The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below permissions to the KmsKeyId: \"kms:GenerateDataKey\""
        },
        "ResolvedOutputS3Uri": {
          "type": "string",
          "description": "The S3 path where offline records are written."
        }
      },
      "required": [
        "S3Uri"
      ]
    },
    "ThroughputConfigDescription": {
      "type": "object",
      "properties": {
        "ThroughputMode": {
          "type": "string",
          "enum": [
            "OnDemand",
            "Provisioned"
          ],
          "description": "The mode used for your feature group throughput: ON_DEMAND or PROVISIONED."
        },
        "ProvisionedReadCapacityUnits": {
          "type": "integer",
          "description": "For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. This field is not applicable for on-demand feature groups."
        },
        "ProvisionedWriteCapacityUnits": {
          "type": "integer",
          "description": "For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. This field is not applicable for on-demand feature groups."
        }
      },
      "required": [
        "ThroughputMode"
      ]
    },
    "TtlDuration": {
      "type": "object",
      "properties": {
        "Unit": {
          "type": "string",
          "enum": [
            "Seconds",
            "Minutes",
            "Hours",
            "Days",
            "Weeks"
          ],
          "description": "TtlDuration time unit."
        },
        "Value": {
          "type": "integer",
          "description": "TtlDuration time value."
        }
      }
    },
    "VectorConfig": {
      "type": "object",
      "properties": {
        "Dimension": {
          "type": "integer",
          "description": "The number of elements in your vector."
        }
      },
      "required": [
        "Dimension"
      ]
    }
  }
}