<?php
/*
 * Copyright (c) 2023. RTM Business
 */

namespace WordpressModels\Serialization;

use Attribute;

#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_PROPERTY)]
class JsonSchemaProps
{

    public function __construct(
        public readonly ?string $title = null,
        public readonly ?string $description = null,
        public readonly bool    $required = false,
        public readonly mixed   $default = null,
    )
    {
    }

}