package com.correx.core.artifacts.kind

import kotlinx.serialization.Serializable

@Serializable
data class JsonSchema(
    val type: String,
    val properties: Map<String, JsonSchemaProperty> = emptyMap(),
    val required: List<String> = emptyList(),
    val additionalProperties: Boolean = false,
)

@Serializable
data class JsonSchemaProperty(
    val type: String,
    val description: String = "",
    val default: String? = null,
)
