// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.Responses
{
    internal partial class InternalResponsesTextFormatJsonSchema : ResponseTextFormat
    {
        public InternalResponsesTextFormatJsonSchema(string name, BinaryData schema) : base(InternalResponsesTextFormatType.JsonSchema)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(schema, nameof(schema));

            Name = name;
            Schema = schema;
        }

        internal InternalResponsesTextFormatJsonSchema(InternalResponsesTextFormatType internalType, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, BinaryData schema, string description, bool? strict) : base(internalType, additionalBinaryDataProperties)
        {
            Name = name;
            Schema = schema;
            Description = description;
            Strict = strict;
        }

        public string Name { get; set; }

        public BinaryData Schema { get; set; }

        public string Description { get; set; }

        public bool? Strict { get; set; }
    }
}
