<commit_before><?php declare(strict_types=1);

/**
 * @license Apache 2.0
 */

namespace OpenApi\Attributes;

use OpenApi\Generator;

#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
class Schema extends \OpenApi\Annotations\Schema
{
    /**
     * @param string[]                                        $required
     * @param Property[]                                      $properties
     * @param int|float                                       $maximum
     * @param int|float                                       $minimum
     * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum
     * @param array<Schema|\OpenApi\Annotations\Schema>       $allOf
     * @param array<Schema|\OpenApi\Annotations\Schema>       $anyOf<commit_msg>Allow `Schema` attribute to be repeatable (#1330)<commit_after><?php declare(strict_types=1);

/**
 * @license Apache 2.0
 */

namespace OpenApi\Attributes;

use OpenApi\Generator;

#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)]
class Schema extends \OpenApi\Annotations\Schema
{
    /**
     * @param string[]                                        $required
     * @param Property[]                                      $properties
     * @param int|float                                       $maximum
     * @param int|float                                       $minimum
     * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum
     * @param array<Schema|\OpenApi\Annotations\Schema>       $allOf
     * @param array<Schema|\OpenApi\Annotations\Schema>       $anyOf
{'fraction_non_alphanumeric': 0.12379227053140096, 'fraction_numerical': 0.006038647342995169, 'mean_word_length': 1.907017543859649, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6057508', 'n_tokens_mistral': 434, 'n_tokens_neox': 421, 'n_words': 80}