<commit_before><?php
return [
	/*
    |--------------------------------------------------------------------------
    | Operations
    |--------------------------------------------------------------------------
    |
    | This array of operations is translated into methods that complete these
    | requests based on their configuration.
    |
    */
	"operations" => [
		/**
         *    send() method
         *
         *    reference: https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream-http-messages-json
         */
		"send" => [
			"httpMethod" => "POST",
			"uri" => "send",
			"summary" => "Send notification(s) to one or multiple registered tokens",
			"responseModel" => "defaultJsonResponse",
			"parameters" => [
				"registration_ids" => [
					"type" => "array",
					"location" => "json",
					"description" => "Registration tokens to send the notification to",
					"required" => true,
				],
				"notification" => [
					"location" => "json",
					"required" => true,
					"type" => "object",
					"properties" => [
						"body_loc_key" => [
							"type" => "string",
							"location" => "json",
							"description" => "The notification text",
							"required" => true,
						],
						"badge" => [
							"type" => "integer",
							"location" => "json",
							"description" => "The badge value",
							"required" => true,
							"default" => 1,
						],
						"sound" => [
							"type" => "string",
							"location" => "json",
							"description" => "Filename of the notification sound",
							"required" => false,
							"default" => "notif.caf",
						],
					]
				],
				"priority" => [
					"type" => "string",
					"location" => "json",
					"description" => "The notification priority",
					"default" => "high",
				],
				"data" => [
					"type" => "array",
					"location" => "json",
					"description" => "The additional data to send in the notification",
				],
			]
		],
	],

	/*
    |--------------------------------------------------------------------------<commit_msg>Notification field is not required<commit_after><?php
return [
	/*
    |--------------------------------------------------------------------------
    | Operations
    |--------------------------------------------------------------------------
    |
    | This array of operations is translated into methods that complete these
    | requests based on their configuration.
    |
    */
	"operations" => [
		/**
         *    send() method
         *
         *    reference: https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream-http-messages-json
         */
		"send" => [
			"httpMethod" => "POST",
			"uri" => "send",
			"summary" => "Send notification(s) to one or multiple registered tokens",
			"responseModel" => "defaultJsonResponse",
			"parameters" => [
				"registration_ids" => [
					"type" => "array",
					"location" => "json",
					"description" => "Registration tokens to send the notification to",
					"required" => true,
				],
				"notification" => [
					"location" => "json",
					"required" => false,
					"type" => "object",
					"properties" => [
						"body_loc_key" => [
							"type" => "string",
							"location" => "json",
							"description" => "The notification text",
							"required" => false,
						],
						"badge" => [
							"type" => "integer",
							"location" => "json",
							"description" => "The badge value",
							"required" => false,
							"default" => 1,
						],
						"sound" => [
							"type" => "string",
							"location" => "json",
							"description" => "Filename of the notification sound",
							"required" => false,
							"default" => "notif.caf",
						],
					]
				],
				"priority" => [
					"type" => "string",
					"location" => "json",
					"description" => "The notification priority",
					"default" => "high",
				],
				"data" => [
					"type" => "array",
					"location" => "json",
					"description" => "The additional data to send in the notification",
				],
			]
		],
	],

	/*
    |--------------------------------------------------------------------------
{'fraction_non_alphanumeric': 0.2724171539961014, 'fraction_numerical': 0.0004873294346978557, 'mean_word_length': 1.5449473031618104, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 89, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3477972', 'n_tokens_mistral': 1565, 'n_tokens_neox': 1116, 'n_words': 260}