<commit_before>﻿using System;
using System.Collections.Generic;
using Stripe.Infrastructure;
using Newtonsoft.Json; 

namespace Stripe
{
    public class StripeSku : StripeEntityWithId
    {
        [JsonProperty("object")]
        public string Object => "sku";

        /// <summary>
        /// Whether or not the SKU is available for purchase.
        /// </summary>
        [JsonProperty("active")]
        public bool Active { get; set; }

        /// <summary>
        /// A dictionary of attributes and values for the attributes defined by the product. If, for example, a product’s attributes are ["size", "gender"], a valid SKU has the following dictionary of attributes: {"size": "Medium", "gender": "Unisex"}.
        /// </summary>
        [JsonProperty("attributes")]
        public string[] Attributes { get; set; }

        /// <summary>
        /// Time at which the object was created.
        /// </summary>
        [JsonProperty("created")]
        [JsonConverter(typeof(StripeDateTimeConverter))]
        public DateTime Created { get; set; }

        /// <summary>
        /// Three-letter ISO currency code, in lowercase. Must be a supported currency.
        /// </summary>
        [JsonProperty("currency")]
        public string Currency { get; set; }

        /// <summary>
        /// The URL of an image for this SKU, meant to be displayable to the customer.
        /// </summary>
        [JsonProperty("image")]
        public string image { get; set; }

        /// <summary>
        /// Description of the SKU’s inventory.
        /// </summary>
        [JsonProperty("inventory")]<commit_msg>attributes on skus is now a dictionary. thanks @tjmcnaboe!<commit_after>﻿using System;
using System.Collections.Generic;
using Stripe.Infrastructure;
using Newtonsoft.Json; 

namespace Stripe
{
    public class StripeSku : StripeEntityWithId
    {
        [JsonProperty("object")]
        public string Object => "sku";

        /// <summary>
        /// Whether or not the SKU is available for purchase.
        /// </summary>
        [JsonProperty("active")]
        public bool Active { get; set; }

        /// <summary>
        /// A dictionary of attributes and values for the attributes defined by the product. If, for example, a product’s attributes are ["size", "gender"], a valid SKU has the following dictionary of attributes: {"size": "Medium", "gender": "Unisex"}.
        /// </summary>
        [JsonProperty("attributes")]
        public Dictionary<string, string> Attributes { get; set; }

        /// <summary>
        /// Time at which the object was created.
        /// </summary>
        [JsonProperty("created")]
        [JsonConverter(typeof(StripeDateTimeConverter))]
        public DateTime Created { get; set; }

        /// <summary>
        /// Three-letter ISO currency code, in lowercase. Must be a supported currency.
        /// </summary>
        [JsonProperty("currency")]
        public string Currency { get; set; }

        /// <summary>
        /// The URL of an image for this SKU, meant to be displayable to the customer.
        /// </summary>
        [JsonProperty("image")]
        public string image { get; set; }

        /// <summary>
        /// Description of the SKU’s inventory.
        /// </summary>
        [JsonProperty("inventory")]
{'fraction_non_alphanumeric': 0.12858436462420766, 'fraction_numerical': 0.0, 'mean_word_length': 2.147198480531814, 'pattern_counts': {'":': 4, '<': 28, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6184770', 'n_tokens_mistral': 863, 'n_tokens_neox': 836, 'n_words': 298}