// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Microsoft.TypeSpec.Generator.Input
{
    // TODO: This enum should be removed, see https://github.com/microsoft/typespec/issues/4228
    /// <summary>
    /// Represents the set of known serialization formats.
    /// </summary>
    public enum SerializationFormat
    {
        Default,
        DateTime_RFC1123,
        DateTime_RFC3339,
        DateTime_RFC7231,
        DateTime_ISO8601,
        DateTime_Unix,
        Date_ISO8601,
        Duration_ISO8601,
        Duration_Constant,
        Duration_Seconds,
        Duration_Seconds_Float,
        Duration_Seconds_Double,
        Duration_Milliseconds,
        Duration_Milliseconds_Float,
        Duration_Milliseconds_Double,
        Time_ISO8601,
        Bytes_Base64Url,
        Bytes_Base64,
        Int_String,
        Array_CommaDelimited,
        Array_SpaceDelimited,
        Array_PipeDelimited,
        Array_NewlineDelimited,
    }
}
